tools

module
v0.0.0-...-043add5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2026 License: MIT

Directories

Path Synopsis
Importable rule body for ADAPTER-RETURNS-DECLARED-TYPES-01.
Importable rule body for ADAPTER-RETURNS-DECLARED-TYPES-01.
internal/bcryptcostredfixture
Package bcryptcostredfixture is a known-positive for BCRYPT-COST-FUNNEL-01 rule A1: it deliberately calls bcrypt.GenerateFromPassword outside corecells/accesscore/internal/credential/hasher.go.
Package bcryptcostredfixture is a known-positive for BCRYPT-COST-FUNNEL-01 rule A1: it deliberately calls bcrypt.GenerateFromPassword outside corecells/accesscore/internal/credential/hasher.go.
internal/callresolver
Package callresolver is an archtest-internal convenience layer over internal/typeseval + internal/scanner for the recurring "walk every FuncDecl body, resolve a callee, assert a receiver" shape that several rules (audit_hash_input_frozen, serviceowned_handler_owner_check, changepassword_inactive_gate, …) previously hand-wrote and copy-drifted.
Package callresolver is an archtest-internal convenience layer over internal/typeseval + internal/scanner for the recurring "walk every FuncDecl body, resolve a callee, assert a receiver" shape that several rules (audit_hash_input_frozen, serviceowned_handler_owner_check, changepassword_inactive_gate, …) previously hand-wrote and copy-drifted.
internal/scanner
Package scanner provides shared walk + parse + report primitives for tools/archtest scanners.
Package scanner provides shared walk + parse + report primitives for tools/archtest scanners.
internal/taggrouploopfixtures
Package taggrouploopfixtures holds typed-loadable .go fixtures for TAGGROUP-LOOP-FORBIDS-TYPED-RUN-01 (and its red/green reverse self-tests).
Package taggrouploopfixtures holds typed-loadable .go fixtures for TAGGROUP-LOOP-FORBIDS-TYPED-RUN-01 (and its red/green reverse self-tests).
internal/typeseval
Package typeseval provides go/types-backed helpers for archtest scanners.
Package typeseval provides go/types-backed helpers for archtest scanners.
internal/usage02fixtures
Package usage02fixtures holds typed-loadable .go fixtures for SCANNER-FRAMEWORK-USAGE-02 (main detector + BS1/BS2/BS3 reverse self-tests + BS4/BS5 main-detector-handled forms, on both EachInChildren and EachInSubtree depth axes).
Package usage02fixtures holds typed-loadable .go fixtures for SCANNER-FRAMEWORK-USAGE-02 (main detector + BS1/BS2/BS3 reverse self-tests + BS4/BS5 main-detector-handled forms, on both EachInChildren and EachInSubtree depth axes).
internal/walkdepthfixtures
Package walkdepthfixtures holds typed-loadable .go fixtures for WALK-DEPTH-API-EACHCHILDREN-01 (tools/archtest/walk_depth_funcdecl_children_test.go).
Package walkdepthfixtures holds typed-loadable .go fixtures for WALK-DEPTH-API-EACHCHILDREN-01 (tools/archtest/walk_depth_funcdecl_children_test.go).
scoperules
Package scoperules is the single, zero-dependency source of truth for which archtest rule IDs constitute the FRAMEWORK scope — the curated, module-path- agnostic / portable rule set that applies to any repository building Cells on the GoCell framework (#1878 / #2331).
Package scoperules is the single, zero-dependency source of truth for which archtest rule IDs constitute the FRAMEWORK scope — the curated, module-path- agnostic / portable rule set that applies to any repository building Cells on the GoCell framework (#1878 / #2331).
Package codegen provides the shared rendering, writing, and verification pipeline for GoCell code generators.
Package codegen provides the shared rendering, writing, and verification pipeline for GoCell code generators.
cellgen
Package cellgen renders cell_gen.go and slice_gen.go from cell.yaml / slice.yaml metadata.
Package cellgen renders cell_gen.go and slice_gen.go from cell.yaml / slice.yaml metadata.
contractgen
Package contractgen renders typed Go scaffolding from a single contract.yaml + its referenced JSON schemas.
Package contractgen renders typed Go scaffolding from a single contract.yaml + its referenced JSON schemas.
markergen
Package markergen scans cell.go marker comments (// +cell:listener, // +slice:route) and projects them into a per-cell WireBundle that drives cellgen wire generation.
Package markergen scans cell.go marker comments (// +cell:listener, // +slice:route) and projects them into a per-cell WireBundle that drives cellgen wire generation.
requireddepsgen
Package requireddepsgen generates validateRequired() methods for Service structs by reading gocell:"required" struct field tags.
Package requireddepsgen generates validateRequired() methods for Service structs by reading gocell:"required" struct field tags.
sagacoveragegen
Package sagacoveragegen renders the saga fanout artifacts derived from the saga.Status / journal.EventKind const sets — the single source of truth for SAGA-STATUS-FANOUT-COVERAGE-01.
Package sagacoveragegen renders the saga fanout artifacts derived from the saga.Status / journal.EventKind const sets — the single source of truth for SAGA-STATUS-FANOUT-COVERAGE-01.
sharedschema
Package sharedschema derives byte-identical mirror copies of the shared error envelope schema from its single canonical source.
Package sharedschema derives byte-identical mirror copies of the shared error envelope schema from its single canonical source.
Package depgraph provides the golang.org/x/tools/go/packages integration for building a GoCell dependency graph from live module source.
Package depgraph provides the golang.org/x/tools/go/packages integration for building a GoCell dependency graph from live module source.
Package e2egate parses `go test -json` event streams and decides whether the run satisfies the e2e execution gate: at least one test must have actually executed (passed or failed), and no package may declare tests yet have all of them skipped — that pattern indicates require.Docker / PG / RMQ gates were not opened, producing a misleading green CI.
Package e2egate parses `go test -json` event streams and decides whether the run satisfies the e2e execution gate: at least one test must have actually executed (passed or failed), and no package may declare tests yet have all of them skipped — that pattern indicates require.Docker / PG / RMQ gates were not opened, producing a misleading green CI.
cmd/e2egate command
Command e2egate is a stdin-based gate over `go test -json` event streams.
Command e2egate is a stdin-based gate over `go test -json` event streams.
Package generatedcatalog emits the build-time package dependency catalog.
Package generatedcatalog emits the build-time package dependency catalog.
Package generatedverify verifies checked-in generated artifacts from project-derived expectations.
Package generatedverify verifies checked-in generated artifacts from project-derived expectations.
Package gomodutil is the single shared go.mod module-path reader used by codegen, scaffold, the gocell CLI, and archtest.
Package gomodutil is the single shared go.mod module-path reader used by codegen, scaffold, the gocell CLI, and archtest.
internal
fileroles
Package fileroles classifies module-relative file paths into the two disjoint roles that the GoCell archtest suite needs: production code and test code.
Package fileroles classifies module-relative file paths into the two disjoint roles that the GoCell archtest suite needs: production code and test code.
Package metricschema builds the generated metrics schema from type-checked assembly reachability.
Package metricschema builds the generated metrics schema from type-checked assembly reachability.
Package modrelease is the synchronized multi-module release tool for the GoCell workspace.
Package modrelease is the synchronized multi-module release tool for the GoCell workspace.
cmd command
Command modrelease drives the synchronized multi-module release transform for the GoCell workspace.
Command modrelease drives the synchronized multi-module release transform for the GoCell workspace.
nogo
unconditionalskip
Package unconditionalskip defines a go/analysis analyzer that flags test functions whose first statement is an unconditional t.Skip / t.Skipf / t.SkipNow call.
Package unconditionalskip defines a go/analysis analyzer that flags test functions whose first statement is an unconditional t.Skip / t.Skipf / t.SkipNow call.
unconditionalskip/cmd/gocell-vet command
Command gocell-vet is a standalone vet driver that runs the unconditionalskip analyzer via singlechecker.Main.
Command gocell-vet is a standalone vet driver that runs the unconditionalskip analyzer via singlechecker.Main.
Package packagesload is the single sanctioned entry point for golang.org/x/tools/go/packages.Load across GoCell tooling.
Package packagesload is the single sanctioned entry point for golang.org/x/tools/go/packages.Load across GoCell tooling.
Command pg-migrate applies all embedded postgres migrations against the database at GOCELL_PG_DSN (or the -dsn flag if provided).
Command pg-migrate applies all embedded postgres migrations against the database at GOCELL_PG_DSN (or the -dsn flag if provided).
Package protobuild is the home of the GoCell proto -> .pb.go toolchain conformance check.
Package protobuild is the home of the GoCell proto -> .pb.go toolchain conformance check.
Package releasesmoke holds the external-consumer smoke test for the synchronized multi-module release (#1843).
Package releasesmoke holds the external-consumer smoke test for the synchronized multi-module release (#1843).
Command slowgate enforces a wall-clock budget on individual Go tests by reading `go test -json` events from stdin.
Command slowgate enforces a wall-clock budget on individual Go tests by reading `go test -json` events from stdin.
Package typesutil exposes small, dependency-light helpers around go/types for test and tool code in this module.
Package typesutil exposes small, dependency-light helpers around go/types for test and tool code in this module.
Package wiresummary provides the shared BuildCellWireSummaries helper used by both the HTTP catalog (cmd/corebundle) and the CLI export (cmd/gocell/app).
Package wiresummary provides the shared BuildCellWireSummaries helper used by both the HTTP catalog (cmd/corebundle) and the CLI export (cmd/gocell/app).
Package workspace enumerates the Go modules of a GoCell workspace.
Package workspace enumerates the Go modules of a GoCell workspace.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL