Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0

Directories

Path Synopsis
Command apigate is the Go API-compatibility gate for forge/pkg: the packages every generated project imports.
Command apigate is the Go API-compatibility gate for forge/pkg: the packages every generated project imports.
Package atomicfile is the one way forge writes a file it generates or scaffolds.
Package atomicfile is the one way forge writes a file it generates or scaffolds.
Package bugreport files a defect in forge itself with the Reliant engineering team: `forge report-bug`.
Package bugreport files a defect in forge itself with the Reliant engineering team: `forge report-bug`.
Package buildinfo exposes the forge binary's version metadata to packages that cannot depend on internal/cli (to avoid import cycles).
Package buildinfo exposes the forge binary's version metadata to packages that cannot depend on internal/cli (to avoid import cycles).
Package buildtarget owns the per-service build dispatch for services whose source lives outside the project's Go module — sibling repos, third-party binaries, language runtimes forge doesn't natively build.
Package buildtarget owns the per-service build dispatch for services whose source lives outside the project's Go module — sibling repos, third-party binaries, language runtimes forge doesn't natively build.
Package bundle produces and consumes the artifact that answers "exactly what bytes, from exactly which source" for one environment.
Package bundle produces and consumes the artifact that answers "exactly what bytes, from exactly which source" for one environment.
Package checksums owns forge's file-ownership machinery: which bytes does forge certify as its own render, which files has the user taken over, and what may a generate run overwrite.
Package checksums owns forge's file-ownership machinery: which bytes does forge certify as its own render, which files has the user taken over, and what may a generate run overwrite.
Package cigate is the local CI gate: the one definition of what "CI passes" means for a forge project, runnable on a laptop and from a workflow.
Package cigate is the local CI gate: the one definition of what "CI passes" means for a forge project, runnable on a laptop and from a workflow.
Package ciguard holds forge's own CI wiring to the invariants that keep a sharded, path-filtered pipeline from silently testing less than it claims.
Package ciguard holds forge's own CI wiring to the invariants that keep a sharded, path-filtered pipeline from silently testing less than it claims.
cli
Package cli — `forge project annotations`: dump forge's authoritative entity-authoring annotation spec as structured data.
Package cli — `forge project annotations`: dump forge's authoritative entity-authoring annotation spec as structured data.
audit
Package audit holds the `forge project audit` command group — a comprehensive snapshot of project state designed to orient an LLM (or human) without forcing them to grep ten different directories.
Package audit holds the `forge project audit` command group — a comprehensive snapshot of project state designed to orient an LLM (or human) without forcing them to grep ten different directories.
audittype
Package audittype holds the small, neutral value types shared by the `forge project audit` command group (internal/cli/audit) and the internal/cli code that contributes audit categories it cannot compute without package-cli internals (the KCL-entity-typed ingress / external-builds categories, and friction.go's auditFriction).
Package audittype holds the small, neutral value types shared by the `forge project audit` command group (internal/cli/audit) and the internal/cli code that contributes audit categories it cannot compute without package-cli internals (the KCL-entity-typed ingress / external-builds categories, and friction.go's auditFriction).
cmdutil
Package cmdutil holds cross-cutting helpers shared by forge's own CLI across MORE THAN ONE command group (internal/cli and its dir-nested subpackages).
Package cmdutil holds cross-cutting helpers shared by forge's own CLI across MORE THAN ONE command group (internal/cli and its dir-nested subpackages).
component
Package component holds the `forge component` command group — list, search, and install UI components from forge's built-in component library.
Package component holds the `forge component` command group — list, search, and install UI components from forge's built-in component library.
debug
Package debug holds the `forge debug` command group — a Delve-backed interactive debugger driver (start / break / continue / eval / ...).
Package debug holds the `forge debug` command group — a Delve-backed interactive debugger driver (start / break / continue / eval / ...).
factory
Package factory carries the shared dependency set ("the factory") threaded through forge's own CLI command tree, plus the command REGISTRY that lets dir-nested command-group subpackages (internal/cli/scaffold, internal/cli/lint, ...) attach to the root without a group↔root import cycle.
Package factory carries the shared dependency set ("the factory") threaded through forge's own CLI command tree, plus the command REGISTRY that lets dir-nested command-group subpackages (internal/cli/scaffold, internal/cli/lint, ...) attach to the root without a group↔root import cycle.
fix
Package fix holds the `forge fix` command group: codemods that rewrite the project's own code to what a lint asks for, run on request.
Package fix holds the `forge fix` command group: codemods that rewrite the project's own code to what a lint asks for, run on request.
lint
Package lint holds the `forge lint` command group — the project linter pipeline (golangci / buf / frontend / forge-convention / scaffold / migration-safety / wire-coverage …) plus the targeted single-rule flags and the --json aggregator.
Package lint holds the `forge lint` command group — the project linter pipeline (golangci / buf / frontend / forge-convention / scaffold / migration-safety / wire-coverage …) plus the targeted single-rule flags and the --json aggregator.
scaffold
Package scaffold holds the `forge scaffold` command — the one verb that writes new code into a forge project, at two granularities picked by ARITY:
Package scaffold holds the `forge scaffold` command — the one verb that writes new code into a forge project, at two granularities picked by ARITY:
Package clickstack names the facts about the local ClickStack compose service that `forge env up`, the doctor checks and the integration gate all have to agree on, so none of them learns a name from another's source.
Package clickstack names the facts about the local ClickStack compose service that `forge env up`, the doctor checks and the integration gate all have to agree on, so none of them learns a name from another's source.
Package cliutil holds small helpers shared across forge's CLI surface.
Package cliutil holds small helpers shared across forge's CLI surface.
Package closedset keeps a database CHECK constraint's value list equal to the Go set it mirrors.
Package closedset keeps a database CHECK constraint's value list equal to the Go set it mirrors.
Package cloud resolves the two things forge needs to talk to a hosted control plane, and keeps them apart on purpose:
Package cloud resolves the two things forge needs to talk to a hosted control plane, and keeps them apart on purpose:
Package cluster owns the render-KCL → kubectl-apply → wait-rollouts pipeline that `forge env deploy`, `forge cluster reload`, and the deploy phase of `forge env up` all execute.
Package cluster owns the render-KCL → kubectl-apply → wait-rollouts pipeline that `forge env deploy`, `forge cluster reload`, and the deploy phase of `forge env up` all execute.
Package codegen — config_native_emit.go wires the KCL config emitters (config_schema_gen.go, config_projection_gen.go, and the per-env config.k scaffolder below) into the generate pipeline.
Package codegen — config_native_emit.go wires the KCL config emitters (config_schema_gen.go, config_projection_gen.go, and the per-env config.k scaffolder below) into the generate pipeline.
Package codemod holds forge's deterministic rewrites of a project's OWN files: the mechanical half of a release that changed a shape the project wrote down.
Package codemod holds forge's deterministic rewrites of a project's OWN files: the mechanical half of a release that changed a shape the project wrote down.
Package commitpolicy checks a forge project's git state against forge's commit policy:
Package commitpolicy checks a forge project's git state against forge's commit policy:
internal/config is a pure schema/data/constants package: it declares the canonical forge.yaml types plus package-level lookup tables (e.g.
internal/config is a pure schema/data/constants package: it declares the canonical forge.yaml types plus package-level lookup tables (e.g.
Package configproto names where a project's typed config is declared: the proto file path, the proto package and the Go package its messages generate into.
Package configproto names where a project's typed config is declared: the proto file path, the proto package and the Go package its messages generate into.
Command consumercanary builds forge's consumers (reliant, control-plane) against the forge checkout under test.
Command consumercanary builds forge's consumers (reliant, control-plane) against the forge checkout under test.
Package contractcheck inspects a project's internal/ tree for contract-shape violations.
Package contractcheck inspects a project's internal/ tree for contract-shape violations.
Package deadcodeguard is the repository-wide proof that forge's own code cannot make a claim its own data refutes.
Package deadcodeguard is the repository-wide proof that forge's own code cannot make a claim its own data refutes.
Package debug wraps a Delve debugger so forge can drive a debugging session from the CLI layer.
Package debug wraps a Delve debugger so forge can drive a debugging session from the CLI layer.
Package deploytarget owns the deploy dispatch — the surface that maps a rendered workload's RUNTIME (and each frontend's and database's deploy target) to a concrete pipeline that ships it somewhere.
Package deploytarget owns the deploy dispatch — the surface that maps a rendered workload's RUNTIME (and each frontend's and database's deploy target) to a concrete pipeline that ships it somewhere.
Package depsurface reads what a component KNOWS through its Deps (docs/design/composition-graph.md §2, "least knowledge"): for every Deps field, the type it declares and the part of that type the package actually uses through it.
Package depsurface reads what a component KNOWS through its Deps (docs/design/composition-graph.md §2, "least knowledge"): for every Deps field, the type it declares and the part of that type the package actually uses through it.
Package devidentity is `forge env up`'s half of managed identity: it converges an env whose identity runs on the env's own host-run Zitadel (forge.IdentityOnHost) with the SAME library the control plane runs against hosted instances, pkg/identity.
Package devidentity is `forge env up`'s half of managed identity: it converges an env whose identity runs on the env's own host-run Zitadel (forge.IdentityOnHost) with the SAME library the control plane runs against hosted instances, pkg/identity.
Package devpg owns ONE fact: the host coordinates of the dev postgres a forge project's docker-compose publishes.
Package devpg owns ONE fact: the host coordinates of the dev postgres a forge project's docker-compose publishes.
Package devstack owns forge's parallel-dev-stack primitives: the raw git facts that distinguish one working tree from another, and a memoized port-block allocator.
Package devstack owns forge's parallel-dev-stack primitives: the raw git facts that distinguish one working tree from another, and a memoized port-block allocator.
Command e2eshard plans and maintains the sharding of forge's `-tags e2e` suite (.github/workflows/e2e-suite.yml).
Command e2eshard plans and maintains the sharding of forge's `-tags e2e` suite (.github/workflows/e2e-suite.yml).
Package envutil holds the small, shared environment-handling helpers the build, deploy, and host-launch paths all need: a minimal .env parser and two env-overlay merges whose precedence is encoded in the name.
Package envutil holds the small, shared environment-handling helpers the build, deploy, and host-launch paths all need: a minimal .env parser and two env-overlay merges whose precedence is encoded in the name.
Package exitcode is the one place an error becomes a process status.
Package exitcode is the one place an error becomes a process status.
Package flux is the pre-1.0 home of what now lives in the public forge/pkg/flux.
Package flux is the pre-1.0 home of what now lives in the public forge/pkg/flux.
Package forgecompat decides whether the running forge binary may generate into a project, from the forge version that project ACTUALLY resolves.
Package forgecompat decides whether the running forge binary may generate into a project, from the forge version that project ACTUALLY resolves.
Package forgedelegate finds, and if need be builds, the forge a project pins, so a forge of another version can hand a command to it.
Package forgedelegate finds, and if need be builds, the forge a project pins, so a forge of another version can hand a command to it.
Package forgereach answers one question for forge's CI gates: can this diff change what a consumer of forge sees?
Package forgereach answers one question for forge's CI gates: can this diff change what a consumer of forge sees?
Package frontenddeps ensures a frontend's node_modules is installed and current against its lockfile.
Package frontenddeps ensures a frontend's node_modules is installed and current against its lockfile.
Package generator: checksums shim.
Package generator: checksums shim.
contract
Package contract drives the four *_gen.go files (mock, middleware, tracing, metrics) emitted from a single hand-written contract.go.
Package contract drives the four *_gen.go files (mock, middleware, tracing, metrics) emitted from a single hand-written contract.go.
Cache eviction for the machine-local source cache.
Cache eviction for the machine-local source cache.
Package goexec configures the `go` subprocesses forge runs on its own behalf.
Package goexec configures the `go` subprocesses forge runs on its own behalf.
Package hostedimage holds the ONE vocabulary for "can the control plane pull this hosted image": the push-base resolution rule, the off-base finding, and its wording.
Package hostedimage holds the ONE vocabulary for "can the control plane pull this hosted image": the push-base resolution rule, the off-base finding, and its wording.
Package hostinfra runs a project's declared dev infrastructure as HOST PROCESSES, with no container runtime involved.
Package hostinfra runs a project's declared dev infrastructure as HOST PROCESSES, with no container runtime involved.
Package hostlaunch composes exec.Cmds for host-mode services and frontends, plus the small env-file helpers both call sites need.
Package hostlaunch composes exec.Cmds for host-mode services and frontends, plus the small env-file helpers both call sites need.
Package installers holds the tests for forge's no-Go-toolchain install paths: install.sh, install.ps1, the npm shim in npm/, the Homebrew formula renderer and the release-asset builder they all download from.
Package installers holds the tests for forge's no-Go-toolchain install paths: install.sh, install.ps1, the npm shim in npm/, the Homebrew formula renderer and the release-asset builder they all download from.
Package k3dkmsg lets `k3d cluster create` work on a Linux host that has no /dev/kmsg, as a kata or gVisor sandbox does.
Package k3dkmsg lets `k3d cluster create` work on a Linux host that has no /dev/kmsg, as a kata or gVisor sandbox does.
Package kcleval evaluates ONE KCL file of a project and selects fields out of the result, so nothing outside forge ever has to run `kcl` itself.
Package kcleval evaluates ONE KCL file of a project and selects fields out of the result, so nothing outside forge ever has to run `kcl` itself.
Package kclmigrate rewrites a project's deploy/kcl tree across a forge change that moved a declaration from one place to another.
Package kclmigrate rewrites a project's deploy/kcl tree across a forge change that moved a declaration from one place to another.
Package kcloptions discovers the `-D` render options a project's KCL declares, so forge can validate and list them WITHOUT knowing what any of them mean.
Package kcloptions discovers the `-D` render options a project's KCL declares, so forge can validate and list them WITHOUT knowing what any of them mean.
Package kclplugin registers forge's in-process KCL plugin namespace (kcl_plugin.forge.*), letting KCL pull host-runtime values during evaluation instead of forge having to pre-enumerate and inject them.
Package kclplugin registers forge's in-process KCL plugin namespace (kcl_plugin.forge.*), letting KCL pull host-runtime values during evaluation instead of forge having to pre-enumerate and inject them.
Package kclprojects lets one forge project's KCL import another forge project's KCL package, at the version the importing project's Go module already pins.
Package kclprojects lets one forge project's KCL import another forge project's KCL package, at the version the importing project's Go module already pins.
Package kclrender is the single seam through which forge evaluates KCL.
Package kclrender is the single seam through which forge evaluates KCL.
Package kcltest runs the external `kcl` binary for tests that need to assert against a REAL render (as opposed to internal/kclrender, which is the embedded kcl-go seam production uses).
Package kcltest runs the external `kcl` binary for tests that need to assert against a REAL render (as opposed to internal/kclrender, which is the embedded kcl-go seam production uses).
Package kclvendor supplies the forge KCL module to every KCL evaluation forge performs, straight from the binary that is performing it.
Package kclvendor supplies the forge KCL module to every KCL evaluation forge performs, straight from the binary that is performing it.
Package kubeconfig answers one question: where on THIS machine does the default kubeconfig live.
Package kubeconfig answers one question: where on THIS machine does the default kubeconfig live.
Package ledgerfile is the MACHINE-SCOPED file ledger: one model, the non-hosted store.
Package ledgerfile is the MACHINE-SCOPED file ledger: one model, the non-hosted store.
lint
secrets
Package secrets is the `forge lint --secrets` lane: the rules about platform secrets (forge.ExternalSecret sources, External Secrets Operator objects, OpenBao grants) that the KCL schema cannot see because they span a whole rendered environment, or because they judge the objects it renders.
Package secrets is the `forge lint --secrets` lane: the rules about platform secrets (forge.ExternalSecret sources, External Secrets Operator objects, OpenBao grants) that the KCL schema cannot see because they span a whole rendered environment, or because they judge the objects it renders.
linter
finding
Package finding is the single canonical home for the lint-finding vocabulary shared by every internal linter (forgeconv, scaffolds, migrationlint).
Package finding is the single canonical home for the lint-finding vocabulary shared by every internal linter (forgeconv, scaffolds, migrationlint).
forgeconv
File: internal/linter/forgeconv/allocate_port_spacing.go
File: internal/linter/forgeconv/allocate_port_spacing.go
scaffolds
Package scaffolds — `forge lint --check-workarounds` rule.
Package scaffolds — `forge lint --check-workarounds` rule.
slowtest
Package slowtest is the static half of forge's fast/slow test tiers: an analyzer that flags a Go test doing slow work without being marked slow, and that reads the inputs a slow test declares, from source.
Package slowtest is the static half of forge's fast/slow test tiers: an analyzer that flags a Go test doing slow work without being marked slow, and that reads the inputs a slow test declares, from source.
staticexport
Package staticexport reports what a Next.js App Router frontend contains that a static export (`output: "export"`) cannot serve.
Package staticexport reports what a Next.js App Router frontend contains that a static export (`output: "export"`) cannot serve.
suppress
Package suppress is the single suppression mechanism shared by every forge-owned linter (forgeconv, scaffolds, migrationlint, and the deadcode/vacuous guards once they are exposed to user projects).
Package suppress is the single suppression mechanism shared by every forge-owned linter (forgeconv, scaffolds, migrationlint, and the deadcode/vacuous guards once they are exposed to user projects).
tracinglint
Package tracinglint implements `forge lint --tracing`: the rules that keep a request's work inside ONE trace.
Package tracinglint implements `forge lint --tracing`: the rules that keep a request's work inside ONE trace.
Package mergeproperty checks forge's merge invariant for one generated file: two branches that change independent inputs merge with plain `git merge` — no merge driver, no attributes, exactly as GitHub's server-side merge does — into the bytes forge generate writes for the merged inputs.
Package mergeproperty checks forge's merge invariant for one generated file: two branches that change independent inputs merge with plain `git merge` — no merge driver, no attributes, exactly as GitHub's server-side merge does — into the bytes forge generate writes for the merged inputs.
Package migrationgit answers, from git, the one question both the version lint and `forge db migration rebase` have to agree on: which migrations were already on the default branch when this branch was cut.
Package migrationgit answers, from git, the one question both the version lint and `forge db migration rebase` have to agree on: which migrations were already on the default branch when this branch was cut.
Package migrationver allocates migration version prefixes.
Package migrationver allocates migration version prefixes.
Package mockheaderguard proves that the generated mock-data header describes a layout forge actually creates.
Package mockheaderguard proves that the generated mock-data header describes a layout forge actually creates.
Package nodeengine refuses to run npm in a frontend on a Node the frontend's package.json says it does not support.
Package nodeengine refuses to run npm in a frontend on a Node the frontend's package.json says it does not support.
Package npmoverlay serves an npm registry that is the public one plus packages packed from a local checkout, so a test installs the code it is testing rather than the last release.
Package npmoverlay serves an npm registry that is the public one plus packages packed from a local checkout, so a test installs the code it is testing rather than the last release.
cmd/npm-overlay command
Command npm-overlay serves this checkout's npm packages beside the public registry (package npmoverlay) until it is stopped.
Command npm-overlay serves this checkout's npm packages beside the public registry (package npmoverlay) until it is stopped.
Code generated by forge.
Code generated by forge.
obstest
Package obstest boots a throwaway ClickHouse holding the OpenTelemetry exporter's tables and seeds it with a known set of traces, logs and metrics, for the tests of the obs verbs (obsbackend's own, and the CLI's end to end).
Package obstest boots a throwaway ClickHouse holding the OpenTelemetry exporter's tables and seeds it with a known set of traces, logs and metrics, for the tests of the obs verbs (obsbackend's own, and the CLI's end to end).
Package obsdash turns a forge project's own service metadata into observability dashboards.
Package obsdash turns a forge project's own service metadata into observability dashboards.
Package obsout is the agent output layer of the feedback-loop verbs (`forge obs …`, `forge env releases …`, `forge db query`): the one place that decides what a machine-readable document looks like, so every verb an agent calls answers in the same shape.
Package obsout is the agent output layer of the feedback-loop verbs (`forge obs …`, `forge env releases …`, `forge db query`): the one place that decides what a machine-readable document looks like, so every verb an agent calls answers in the same shape.
Package openfiles answers the one question every reclaimer that deletes from a shared directory must ask first: is a live process using this path?
Package openfiles answers the one question every reclaimer that deletes from a shared directory must ask first: is a live process using this path?
Package pkgdirective reads forge's package-level comment directives — `//forge:exclude-contract: <why>`, `//forge:not-a-component: <why>` and their kin — from a package directory's source.
Package pkgdirective reads forge's package-level comment directives — `//forge:exclude-contract: <why>`, `//forge:not-a-component: <why>` and their kin — from a package directory's source.
Package procguard keeps forge from signalling the processes it is running inside.
Package procguard keeps forge from signalling the processes it is running inside.
Package projectstore is the single read surface for a forge project's PROJECT-GLOBAL state.
Package projectstore is the single read surface for a forge project's PROJECT-GLOBAL state.
Package releasecompose adapts the shared public release composition engine.
Package releasecompose adapts the shared public release composition engine.
Package releasetimeline answers "what was released to this environment, when, by whom, and what changed" from the deploy ledger, and "which release was live at time T".
Package releasetimeline answers "what was released to this environment, when, by whom, and what changed" from the deploy ledger, and "which release was live at time T".
Package removalguard is the repository-wide proof that a removed feature is gone from EVERY surface forge ships — not just the Go tree.
Package removalguard is the repository-wide proof that a removed feature is gone from EVERY surface forge ships — not just the Go tree.
Package repowalk walks this repository's tree for the tests that scan it (the guard tests: goexec's toolchain guards, trimpathguard, vacuousguard), in a way Go's test cache can replay.
Package repowalk walks this repository's tree for the tests that scan it (the guard tests: goexec's toolchain guards, trimpathguard, vacuousguard), in a way Go's test cache can replay.
Package scaffold holds forge's BIRTH-TIME, SCAFFOLD-ONCE emitters: code that renders user-owned artifacts exactly once, at an explicit `forge scaffold ...` moment, and never touches them again.
Package scaffold holds forge's BIRTH-TIME, SCAFFOLD-ONCE emitters: code that renders user-owned artifacts exactly once, at an explicit `forge scaffold ...` moment, and never touches them again.
Package secrets resolves declared secret REFERENCES (which live in git: EnvVar.secret_ref / secret_key) to secret VALUES (which never live in git) for one environment.
Package secrets resolves declared secret REFERENCES (which live in git: EnvVar.secret_ref / secret_key) to secret VALUES (which never live in git) for one environment.
Package shadowdb resolves WHICH postgres server hosts the generate-time schema-introspection shadow database, and — inside a generate run — makes every reader of the applied schema share ONE application of the migrations to it (applied.go).
Package shadowdb resolves WHICH postgres server hosts the generate-time schema-introspection shadow database, and — inside a generate run — makes every reader of the applied schema share ONE application of the migrations to it (applied.go).
Package shellbuildtokens finds retired forge substitution tokens left in a ShellBuild `cmd`.
Package shellbuildtokens finds retired forge substitution tokens left in a ShellBuild `cmd`.
Package shellrun runs a POSIX shell script in-process (mvdan.cc/sh), so the same script behaves identically on every OS — including Windows, where no `sh` binary is on PATH.
Package shellrun runs a POSIX shell script in-process (mvdan.cc/sh), so the same script behaves identically on every OS — including Windows, where no `sh` binary is on PATH.
Package sqlident reads postgres identifiers out of SQL text.
Package sqlident reads postgres identifiers out of SQL text.
Package statefile is the one place forge's JSON-record-under-.forge/state helpers live.
Package statefile is the one place forge's JSON-record-under-.forge/state helpers live.
Package storage owns host storage budgets and the lifecycle of explicitly registered local development caches.
Package storage owns host storage budgets and the lifecycle of explicitly registered local development caches.
Package suspect finds the commits most likely to have introduced an error: the commits of a release's range that touched the files the error was raised from.
Package suspect finds the commits most likely to have introduced an error: the commits of a release's range that touched the files the error was raised from.
Package templates owns the embedded forge template tree and renders it into scaffolded code.
Package templates owns the embedded forge template tree and renders it into scaffolded code.
Package testbudget is the measured half of forge's fast/slow test tiers: it reads a `go test -short -json` run and reports every test that took longer than the budget.
Package testbudget is the measured half of forge's fast/slow test tiers: it reads a `go test -short -json` run and reports every test that took longer than the budget.
Package testreport turns the record of a `go test -json` run into a verdict about whether that run actually proved anything.
Package testreport turns the record of a `go test -json` run into a verdict about whether that run actually proved anything.
Package tierguard proves that every Tier-1 (regenerated-every-run) file forge writes is actually DERIVED from something the user wrote.
Package tierguard proves that every Tier-1 (regenerated-every-run) file forge writes is actually DERIVED from something the user wrote.
Package toolcache is the one machine-wide directory every tool forge installs for itself lives in: the gate's pinned linters and scanners (internal/cigate), forge lint's golangci-lint build (internal/cli/lint), and the codegen plugins and air that `forge generate` and `forge env up` pin (internal/cli).
Package toolcache is the one machine-wide directory every tool forge installs for itself lives in: the gate's pinned linters and scanners (internal/cigate), forge lint's golangci-lint build (internal/cli/lint), and the codegen plugins and air that `forge generate` and `forge env up` pin (internal/cli).
Package toolpin answers one question for every forge surface that runs buf: which buf does THIS project pin?
Package toolpin answers one question for every forge surface that runs buf: which buf does THIS project pin?
tools
mockgen command
Command mockgen regenerates every contract mock (mock_gen.go) under a project's internal/ tree WITHOUT building forge.
Command mockgen regenerates every contract mock (mock_gen.go) under a project's internal/ tree WITHOUT building forge.
Package vacuousguard is the repository-wide proof that a green test actually ran something.
Package vacuousguard is the repository-wide proof that a green test actually ran something.
Package webruntimepeers is the SINGLE source of truth for which packages must resolve to exactly one copy when a project links @reliantlabs/forge-web-runtime.
Package webruntimepeers is the SINGLE source of truth for which packages must resolve to exactly one copy when a project links @reliantlabs/forge-web-runtime.
Package writeguard fails the build when forge's own code writes a file with os.WriteFile.
Package writeguard fails the build when forge's own code writes a file with os.WriteFile.

Jump to

Keyboard shortcuts

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