internal/

directory
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT

Directories

Path Synopsis
conformance
Package conformance provides a shared assertion suite that any Backend implementation must satisfy.
Package conformance provides a shared assertion suite that any Backend implementation must satisfy.
cli
agent
Package agent is a thin alias for `statebox sandbox run`.
Package agent is a thin alias for `statebox sandbox run`.
clienv
Package clienv assembles the per-command runtime: locates the repo root, loads statebox.yml, runs preflight, registers adapters, applies adapter defaults, opens the ledger, and constructs the backend.
Package clienv assembles the per-command runtime: locates the repo root, loads statebox.yml, runs preflight, registers adapters, applies adapter defaults, opens the ledger, and constructs the backend.
diff
Package diffcmd is a thin alias for `statebox sandbox diff`.
Package diffcmd is a thin alias for `statebox sandbox diff`.
discard
Package discard is a thin alias for `statebox sandbox discard`.
Package discard is a thin alias for `statebox sandbox discard`.
init
Package initcmd implements the `statebox init` cobra command.
Package initcmd implements the `statebox init` cobra command.
list
Package list is a thin alias for `statebox sandbox list`.
Package list is a thin alias for `statebox sandbox list`.
preflight
Package preflight provides a shared preflight check used by every post-init statebox command: refuses if `.statebox/` is git-tracked.
Package preflight provides a shared preflight check used by every post-init statebox command: refuses if `.statebox/` is git-tracked.
promote
Package promote is a thin alias for `statebox sandbox promote`.
Package promote is a thin alias for `statebox sandbox promote`.
show
Package show is a thin alias for `statebox sandbox show`.
Package show is a thin alias for `statebox sandbox show`.
diff
Package ledger continued.
Package ledger continued.
promote
runner
finalize
Package finalize wraps up a statebox run: commit any outstanding agent changes in the worktree, compute file/schema/db diffs, write summary.json, transition state to completed (or to the caller's declared terminal state).
Package finalize wraps up a statebox run: commit any outstanding agent changes in the worktree, compute file/schema/db diffs, write summary.json, transition state to completed (or to the caller's declared terminal state).
runid
Package runid centralizes run-id generation.
Package runid centralizes run-id generation.
supervisor
Package supervisor orchestrates a full agent run.
Package supervisor orchestrates a full agent run.
Package testharness provides shared helpers for end-to-end tests: a CLI runner that invokes the compiled statebox binary and a fixture loader that materializes a real git repo + dev.db from testdata.
Package testharness provides shared helpers for end-to-end tests: a CLI runner that invokes the compiled statebox binary and a fixture loader that materializes a real git repo + dev.db from testdata.

Jump to

Keyboard shortcuts

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