Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli provides the public entry point for embedding Forge's CLI as a subcommand in other cobra-based CLIs.
|
Package cli provides the public entry point for embedding Forge's CLI as a subcommand in other cobra-based CLIs. |
|
cmd
|
|
|
contractlint
command
|
|
|
forge
command
|
|
|
internal
|
|
|
buildinfo
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). |
|
buildtarget
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. |
|
bundle
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. |
|
checksums
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. |
|
cigate
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. |
|
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. |
|
cli/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. |
|
cli/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). |
|
cli/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). |
|
cli/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. |
|
cli/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 / ...). |
|
cli/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. |
|
cli/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. |
|
cli/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: |
|
clickstack
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. |
|
cliutil
Package cliutil holds small helpers shared across forge's CLI surface.
|
Package cliutil holds small helpers shared across forge's CLI surface. |
|
cloud
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: |
|
cluster
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. |
|
codegen
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. |
|
commitpolicy
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: |
|
config
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. |
|
contractcheck
Package contractcheck inspects a project's internal/ tree for contract-shape violations.
|
Package contractcheck inspects a project's internal/ tree for contract-shape violations. |
|
deadcodeguard
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. |
|
debug
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. |
|
deploytarget
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. |
|
devpg
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. |
|
devstack
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. |
|
envutil
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. |
|
flux
Package flux holds the identity of the Flux chart forge pins.
|
Package flux holds the identity of the Flux chart forge pins. |
|
forgecompat
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. |
|
frontenddeps
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. |
|
generator
Package generator: checksums shim.
|
Package generator: checksums shim. |
|
generator/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. |
|
gitsource
Cache eviction for the machine-local source cache.
|
Cache eviction for the machine-local source cache. |
|
goexec
Package goexec configures the `go` subprocesses forge runs on its own behalf.
|
Package goexec configures the `go` subprocesses forge runs on its own behalf. |
|
hostedimage
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. |
|
hostinfra
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. |
|
hostlaunch
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. |
|
kcleval
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. |
|
kclmigrate
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. |
|
kcloptions
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. |
|
kclplugin
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. |
|
kclrender
Package kclrender is the single seam through which forge evaluates KCL.
|
Package kclrender is the single seam through which forge evaluates KCL. |
|
kcltest
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). |
|
kclvendor
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. |
|
kubeconfig
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. |
|
ledgerfile
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. |
|
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). |
|
linter/forgeconv
File: internal/linter/forgeconv/allocate_port_spacing.go
|
File: internal/linter/forgeconv/allocate_port_spacing.go |
|
linter/scaffolds
Package scaffolds — `forge lint --check-workarounds` rule.
|
Package scaffolds — `forge lint --check-workarounds` rule. |
|
linter/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. |
|
linter/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). |
|
migrationgit
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. |
|
migrationver
Package migrationver allocates migration version prefixes.
|
Package migrationver allocates migration version prefixes. |
|
mockheaderguard
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. |
|
obsdash
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. |
|
openfiles
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? |
|
procguard
Package procguard keeps forge from signalling the processes it is running inside.
|
Package procguard keeps forge from signalling the processes it is running inside. |
|
projectstore
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. |
|
removalguard
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. |
|
scaffold
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. |
|
secrets
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. |
|
shadowdb
Package shadowdb resolves WHICH postgres server hosts the generate-time schema-introspection shadow database.
|
Package shadowdb resolves WHICH postgres server hosts the generate-time schema-introspection shadow database. |
|
shellbuildtokens
Package shellbuildtokens finds retired forge substitution tokens left in a ShellBuild `cmd`.
|
Package shellbuildtokens finds retired forge substitution tokens left in a ShellBuild `cmd`. |
|
shellrun
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. |
|
sqlident
Package sqlident reads postgres identifiers out of SQL text.
|
Package sqlident reads postgres identifiers out of SQL text. |
|
statefile
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. |
|
storage
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. |
|
templates
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. |
|
testreport
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. |
|
tierguard
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. |
|
vacuousguard
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. |
|
webruntimepeers
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 kcl embeds the forge KCL module — the typed schemas + manifest render layer that generated projects' deploy/kcl env files import (`import forge`, `import forge.workloads`).
|
Package kcl embeds the forge KCL module — the typed schemas + manifest render layer that generated projects' deploy/kcl env files import (`import forge`, `import forge.workloads`). |
|
pkg
module
|
|
|
accesstoken
Package accesstoken is the security primitive behind Reliant Labs' ONE machine credential, `rlat_`: its wire format, generation, hashing, constant-time comparison, the closed scope vocabulary, the rule that a token may never grant authority it does not hold, and the Principal a presented token resolves to.
|
Package accesstoken is the security primitive behind Reliant Labs' ONE machine credential, `rlat_`: its wire format, generation, hashing, constant-time comparison, the closed scope vocabulary, the rule that a token may never grant authority it does not hold, and the Principal a presented token resolves to. |
|
alerting
Package alerting is a SQL alert-rule evaluator in the Prometheus shape.
|
Package alerting is a SQL alert-rule evaluator in the Prometheus shape. |
|
alerting/chquery
Package chquery is a single-owner alerting.Querier over one ClickHouse connection: the owner key is ignored and every rule runs against the connection's database.
|
Package chquery is a single-owner alerting.Querier over one ClickHouse connection: the owner key is ignored and every rule runs against the connection's database. |
|
alerting/pgstore
Package pgstore is the Postgres alerting.StateStore.
|
Package pgstore is the Postgres alerting.StateStore. |
|
apikey
Package apikey provides the security-sensitive primitives for issuing and verifying API keys: cryptographically-random key generation, hashing, and constant-time verification.
|
Package apikey provides the security-sensitive primitives for issuing and verifying API keys: cryptographically-random key generation, hashing, and constant-time verification. |
|
appkit
Package appkit holds the worker/operator supervised-component contracts that the generated internal/app composition layer re-uses.
|
Package appkit holds the worker/operator supervised-component contracts that the generated internal/app composition layer re-uses. |
|
appkit/operatorkit
Package operatorkit owns the controller-manager runtime behind the generated App.RunOperators method in forge projects.
|
Package operatorkit owns the controller-manager runtime behind the generated App.RunOperators method in forge projects. |
|
audit
Package audit provides the durable write-side of forge's audit trail: an Entry record, a Store persistence interface, and a Postgres-backed DBAuditStore that writes and queries the audit_log table.
|
Package audit provides the durable write-side of forge's audit trail: an Entry record, a Store persistence interface, and a Postgres-backed DBAuditStore that writes and queries the audit_log table. |
|
auth
Package auth provides JWT and API-key authentication for forge-generated Connect RPC services.
|
Package auth provides JWT and API-key authentication for forge-generated Connect RPC services. |
|
authn
Package authn provides the authentication interceptor mechanism that forge-generated services wire from their thin, user-owned pkg/middleware file.
|
Package authn provides the authentication interceptor mechanism that forge-generated services wire from their thin, user-owned pkg/middleware file. |
|
cloudcred
Package cloudcred is the PUBLIC seam between forge and a HOST APPLICATION that already holds the user's session — the credential-helper protocol.
|
Package cloudcred is the PUBLIC seam between forge and a HOST APPLICATION that already holds the user's session — the credential-helper protocol. |
|
cmdkit
Package cmdkit is the paved path for forge's non-server binary shapes: CLI subcommands, one-shot admin tools, and standalone long-running binaries that ship in the same image as the Connect server but are not themselves Connect services.
|
Package cmdkit is the paved path for forge's non-server binary shapes: CLI subcommands, one-shot admin tools, and standalone long-running binaries that ship in the same image as the Connect server but are not themselves Connect services. |
|
config
Package config resolves a project's typed configuration from proto field annotations at runtime, with no per-field generated loader.
|
Package config resolves a project's typed configuration from proto field annotations at runtime, with no per-field generated loader. |
|
contractkit
Package contractkit provides runtime helpers used by the per-package mock_gen.go file forge generates from contract.go.
|
Package contractkit provides runtime helpers used by the per-package mock_gen.go file forge generates from contract.go. |
|
controller
Package controller provides opinionated runtime helpers for controller-runtime reconcilers.
|
Package controller provides opinionated runtime helpers for controller-runtime reconcilers. |
|
controller/controllertest
Package controllertest provides a small envtest harness that generated `<crd>_controller_test.go` files use in their TestMain setup.
|
Package controllertest provides a small envtest harness that generated `<crd>_controller_test.go` files use in their TestMain setup. |
|
credentials
Package credentials is the ONE on-disk store of control-plane access tokens, shared by every CLI that talks to a Reliant Labs control plane — `forge login` and `reliant auth login` both write it, and every command of both reads it.
|
Package credentials is the ONE on-disk store of control-plane access tokens, shared by every CLI that talks to a Reliant Labs control plane — `forge login` and `reliant auth login` both write it, and every command of both reads it. |
|
crud
Package crud provides runtime helpers used by the per-service handlers_crud_gen.go file forge generates from a service's CRUD RPCs.
|
Package crud provides runtime helpers used by the per-service handlers_crud_gen.go file forge generates from a service's CRUD RPCs. |
|
crypto
Package crypto provides at-rest AES-256-GCM encryption under a VERSIONED KEYRING, so a key can be rotated without making every already-sealed value permanently unreadable.
|
Package crypto provides at-rest AES-256-GCM encryption under a VERSIONED KEYRING, so a key can be rotated without making every already-sealed value permanently unreadable. |
|
deploy
Package deploy is forge's deploy-tier library: the pure functions that operate on the tier specs in pkg/deploy/v1alpha1.
|
Package deploy is forge's deploy-tier library: the pure functions that operate on the tier specs in pkg/deploy/v1alpha1. |
|
deploy/v1alpha1
Package v1alpha1 is the ONE declaration of forge's deploy kinds — Workload, StaticSite and ManagedDatabase — in API group forge.dev.
|
Package v1alpha1 is the ONE declaration of forge's deploy kinds — Workload, StaticSite and ManagedDatabase — in API group forge.dev. |
|
deploystate
Package deploystate is the pluggable backend for forge's reconcile state: what forge last shipped to a target, what it last OBSERVED running there, and the per-environment policy that says whether forge is allowed to do anything about the difference.
|
Package deploystate is the pluggable backend for forge's reconcile state: what forge last shipped to a target, what it last OBSERVED running there, and the per-environment policy that says whether forge is allowed to do anything about the difference. |
|
devidp
Package devidp provisions a project's dev identity provider (Zitadel): registering the project and its single-page application, and publishing the values Zitadel GENERATES (client_id, project id) so the rest of the stack can reference them by name instead of by value.
|
Package devidp provisions a project's dev identity provider (Zitadel): registering the project and its single-page application, and publishing the values Zitadel GENERATES (client_id, project id) so the rest of the stack can reference them by name instead of by value. |
|
diagnostics
Package diagnostics surfaces unwired forge scaffolds at runtime.
|
Package diagnostics surfaces unwired forge scaffolds at runtime. |
|
kcleval
Package kcleval reads values out of a forge project's KCL from Go, so a test can assert against what the project DECLARES instead of restating it.
|
Package kcleval reads values out of a forge project's KCL from Go, so a test can assert against what the project DECLARES instead of restating it. |
|
lease
Package lease is a named, process-level singleton lock over Postgres advisory locks: at most one replica at a time runs a given job, every other replica waits as a hot standby and takes over when the holder exits, crashes or loses its database connection.
|
Package lease is a named, process-level singleton lock over Postgres advisory locks: at most one replica at a time runs a given job, every other replica waits as a hot standby and takes over when the holder exits, crashes or loses its database connection. |
|
lifecyclekit
Package lifecyclekit owns the uniform worker/operator supervised-component machinery that the generated internal/app/lifecycle_gen.go delegates to.
|
Package lifecyclekit owns the uniform worker/operator supervised-component machinery that the generated internal/app/lifecycle_gen.go delegates to. |
|
middleware
Package middleware provides the commodity HTTP middlewares and Connect interceptors that every forge-generated service ships with.
|
Package middleware provides the commodity HTTP middlewares and Connect interceptors that every forge-generated service ships with. |
|
migratekit
Package migratekit is the invariant half of a forge project's `db migrate` command tree: opening a migrator over an embedded migration set, closing it, and reporting what the schema is doing.
|
Package migratekit is the invariant half of a forge project's `db migrate` command tree: opening a migrator over an embedded migration set, closing it, and reporting what the schema is doing. |
|
migratekit/compat
Package compat reads the contracts a migration declares about itself: that it is BACKWARD-COMPATIBLE (this file), and which foreign migration history a baseline ADOPTS (adopt.go).
|
Package compat reads the contracts a migration declares about itself: that it is BACKWARD-COMPATIBLE (this file), and which foreign migration history a baseline ADOPTS (adopt.go). |
|
money
Package money provides a small, allocation-free value type for representing monetary amounts as an integer number of minor units ("cents") plus a currency, together with overflow-checked arithmetic and locale-neutral formatting.
|
Package money provides a small, allocation-free value type for representing monetary amounts as an integer number of minor units ("cents") plus a currency, together with overflow-checked arithmetic and locale-neutral formatting. |
|
mountkit
Package mountkit mounts a forge Connect service onto an http.ServeMux.
|
Package mountkit mounts a forge Connect service onto an http.ServeMux. |
|
mountkit/inventory
Package inventory owns the DATA-ONLY service descriptor type and reader helpers behind the generated internal/app/inventory_gen.go's `var Inventory = []inventory.ComponentInfo{...}`.
|
Package inventory owns the DATA-ONLY service descriptor type and reader helpers behind the generated internal/app/inventory_gen.go's `var Inventory = []inventory.ComponentInfo{...}`. |
|
oauth2
Package oauth2 implements the client half of the OAuth 2.0 authorization-code flow with PKCE (RFC 7636) using only the standard library.
|
Package oauth2 implements the client half of the OAuth 2.0 authorization-code flow with PKCE (RFC 7636) using only the standard library. |
|
observe
File: client.go — the OUTBOUND Connect client stack.
|
File: client.go — the OUTBOUND Connect client stack. |
|
observe/metrics
Package metrics is forge's declared metrics registry: a typed layer over the OpenTelemetry metrics API in which every instrument is DECLARED before it is created.
|
Package metrics is forge's declared metrics registry: a typed layer over the OpenTelemetry metrics API in which every instrument is DECLARED before it is created. |
|
orm
Package orm is forge's typed data-access layer: a postgres-pinned query builder over uptrace/bun, plus the schema-truth machinery that projects entity types out of the applied migrations.
|
Package orm is forge's typed data-access layer: a postgres-pinned query builder over uptrace/bun, plus the schema-truth machinery that projects entity types out of the applied migrations. |
|
pgtest
Package pgtest provides a REAL ephemeral postgres for generate-time schema introspection and for hermetic tests that need a database.
|
Package pgtest provides a REAL ephemeral postgres for generate-time schema introspection and for hermetic tests that need a database. |
|
profilequery
Package profilequery reads continuous profiles back out of ClickHouse and writes them in formats other tools open.
|
Package profilequery reads continuous profiles back out of ClickHouse and writes them in formats other tools open. |
|
release
Package release is forge's release ledger vocabulary: what a RELEASE is (an immutable, content-addressed set of artifacts under a version label), what a PROMOTION is (one append-only event binding an environment to a release), and the invariants both must hold no matter where they are stored.
|
Package release is forge's release ledger vocabulary: what a RELEASE is (an immutable, content-addressed set of artifacts under a version label), what a PROMOTION is (one append-only event binding an environment to a release), and the invariants both must hold no matter where they are stored. |
|
schemadef
Package schemadef projects a project's APPLIED database schema — db/migrations/*.up.sql executed in order against a REAL ephemeral postgres — into a typed model that code generation consumes.
|
Package schemadef projects a project's APPLIED database schema — db/migrations/*.up.sql executed in order against a REAL ephemeral postgres — into a typed model that code generation consumes. |
|
seedplan
Package seeddata materializes deterministic, FK-coherent demo data directly into a development database — at RUNTIME, never as a persisted seed file in the user's project.
|
Package seeddata materializes deterministic, FK-coherent demo data directly into a development database — at RUNTIME, never as a persisted seed file in the user's project. |
|
serverkit
Package serverkit runs an already-composed forge server: HTTP/Connect listener, healthz/readyz probes, the HTTP edge (CORS / security-headers / request-id / h2c), worker supervisor, operator manager, and graceful shutdown sequence.
|
Package serverkit runs an already-composed forge server: HTTP/Connect listener, healthz/readyz probes, the HTTP edge (CORS / security-headers / request-id / h2c), worker supervisor, operator manager, and graceful shutdown sequence. |
|
svcerr
Package svcerr provides the canonical service-error → Connect-error mapping used by every forge handler package.
|
Package svcerr provides the canonical service-error → Connect-error mapping used by every forge handler package. |
|
tdd
Package tdd is a generics-based table-driven test library for Forge projects.
|
Package tdd is a generics-based table-driven test library for Forge projects. |
|
testkit
Package testkit provides a small set of test helpers that every forge-generated bootstrap_testing.go reinvents: a discard logger, a real-postgres ORM context (bare, or with the project's embedded migrations applied), an httptest harness that wraps a Connect-mounted service, and a claims-bearing AuthedContext for handlers that read the current user.
|
Package testkit provides a small set of test helpers that every forge-generated bootstrap_testing.go reinvents: a discard logger, a real-postgres ORM context (bare, or with the project's embedded migrations applied), an httptest harness that wraps a Connect-mounted service, and a claims-bearing AuthedContext for handlers that read the current user. |
|
validate
Package validate provides a Connect interceptor that enforces protovalidate (buf.validate) field rules at the RPC boundary.
|
Package validate provides a Connect interceptor that enforces protovalidate (buf.validate) field rules at the RPC boundary. |
Click to show internal directories.
Click to hide internal directories.