internal/

directory
v1.6.16 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package approval resolves the operator's global auto-approve policy (--auto + --confirm=<tier>) and gates every y/n confirmation against it.
Package approval resolves the operator's global auto-approve policy (--auto + --confirm=<tier>) and gates every y/n confirmation against it.
Package assets exposes the single embedded asset tree for gh-optivem.
Package assets exposes the single embedded asset tree for gh-optivem.
sync
Package sync writes the embedded runtime/references/ asset tree to per-user paths so reference docs are reachable on the user's filesystem without per-repo install ceremony.
Package sync writes the embedded runtime/references/ asset tree to per-user paths so reference docs are reachable on the user's filesystem without per-repo install ceremony.
Package atdd hosts ATDD doctrinal allowlists that sit outside the runtime subtree.
Package atdd hosts ATDD doctrinal allowlists that sit outside the runtime subtree.
runtime/actions
Bindings — Go implementations of every service-task `action:` referenced in internal/atdd/runtime/statemachine/process-flow.yaml.
Bindings — Go implementations of every service-task `action:` referenced in internal/atdd/runtime/statemachine/process-flow.yaml.
runtime/agents
Package agents holds the user-task agent-dispatch registry.
Package agents holds the user-task agent-dispatch registry.
runtime/architecture
Package architecture renders the canonical Mermaid markdown for the ATDD layered-architecture diagram.
Package architecture renders the canonical Mermaid markdown for the ATDD layered-architecture diagram.
runtime/clauderun
Package clauderun shells out to the `claude` CLI to dispatch a named ATDD agent for the current phase, replacing v1's "pause and let the operator launch the agent in a second window" workflow.
Package clauderun shells out to the `claude` CLI to dispatch a named ATDD agent for the current phase, replacing v1's "pause and let the operator launch the agent in a second window" workflow.
runtime/diagram
Package diagram renders the canonical Mermaid markdown for the ATDD process flow.
Package diagram renders the canonical Mermaid markdown for the ATDD process flow.
runtime/driver
Package driver wires together the ATDD pipeline runtime: it loads the process-flow YAML, registers gates / actions / agents, applies override and verify decorators, and walks the named process end to end.
Package driver wires together the ATDD pipeline runtime: it loads the process-flow YAML, registers gates / actions / agents, applies override and verify decorators, and walks the named process end to end.
runtime/gates
Bindings — Go implementations of every gateway `binding:` referenced in internal/atdd/runtime/statemachine/process-flow.yaml.
Bindings — Go implementations of every gateway `binding:` referenced in internal/atdd/runtime/statemachine/process-flow.yaml.
runtime/intake
Package intake holds the deterministic markdown parser that replaces the three LLM-driven intake agents (atdd-story / atdd-bug / task).
Package intake holds the deterministic markdown parser that replaces the three LLM-driven intake agents (atdd-story / atdd-bug / task).
runtime/outlog
Package outlog provides level-tagged byte-stream multiplexing for the ATDD runtime.
Package outlog provides level-tagged byte-stream multiplexing for the ATDD runtime.
runtime/override
Package override implements the per-step override-hook decorator.
Package override implements the per-step override-hook decorator.
runtime/preflight
Package preflight validates that the consumer's gh-optivem.yaml maps onto a real on-disk layout and a real remote setup before any ATDD agent or board work runs.
Package preflight validates that the consumer's gh-optivem.yaml maps onto a real on-disk layout and a real remote setup before any ATDD agent or board work runs.
runtime/release
Package release owns the end-of-cycle release mechanics for the ATDD pipeline driver: commit and close the GitHub issue.
Package release owns the end-of-cycle release mechanics for the ATDD pipeline driver: commit and close the GitHub issue.
runtime/repolocator
Package repolocator turns a parsed projectconfig.Config into a map from repo slug → absolute local clone path.
Package repolocator turns a parsed projectconfig.Config into a map from repo slug → absolute local clone path.
runtime/statemachine
Embed binds the canonical process-flow document into the statemachine package binary.
Embed binds the canonical process-flow document into the statemachine package binary.
runtime/trace
Package trace adds a per-node logging decorator to the engine, producing a chronological audit trail of every step the ATDD pipeline takes:
Package trace adds a per-node logging decorator to the engine, producing a chronological audit trail of every step the ATDD pipeline takes:
runtime/tracker
Package tracker is the seam between the ATDD pipeline driver and the concrete issue-tracker backend (GitHub Projects today, markdown files for the local/offline path, Jira tomorrow).
Package tracker is the seam between the ATDD pipeline driver and the concrete issue-tracker backend (GitHub Projects today, markdown files for the local/offline path, Jira tomorrow).
runtime/tracker/factory
Package factory wires projectconfig.Project values to concrete tracker.Tracker adapters.
Package factory wires projectconfig.Project values to concrete tracker.Tracker adapters.
runtime/tracker/github
Package github implements tracker.Tracker against GitHub Projects v2.
Package github implements tracker.Tracker against GitHub Projects v2.
runtime/tracker/internal/parse
Package parse is the shared markdown body parser consumed by the github and markdown tracker adapters.
Package parse is the shared markdown body parser consumed by the github and markdown tracker adapters.
runtime/tracker/markdown
Package markdown implements tracker.Tracker against a local board laid out as a tree of `<board>/<status>/<id>.md` files.
Package markdown implements tracker.Tracker against a local board laid out as a tree of `<board>/<status>/<id>.md` files.
runtime/verify
Bindings — per-node pre/post-condition checks.
Bindings — per-node pre/post-condition checks.
Package cmdctx threads the resolved auto-approve policy from the root command's PersistentPreRunE down to every Cobra subcommand's Run via a typed context key.
Package cmdctx threads the resolved auto-approve policy from the root command's PersistentPreRunE down to every Cobra subcommand's Run via a typed context key.
Package compiler runs source-level compile sequences for one tier of a scaffolded project, dispatching by language.
Package compiler runs source-level compile sequences for one tier of a scaffolded project, dispatching by language.
Package config provides CLI parsing, validation, and the Config struct.
Package config provides CLI parsing, validation, and the Config struct.
Package configinit owns the shared "produce a gh-optivem.yaml" code path.
Package configinit owns the shared "produce a gh-optivem.yaml" code path.
Package expand provides the shared ${name} placeholder substitution primitive used by both ATDD agent-prompt rendering (clauderun) and phase-doc sync materialization (assets/sync).
Package expand provides the shared ${name} placeholder substitution primitive used by both ATDD agent-prompt rendering (clauderun) and phase-doc sync materialization (assets/sync).
Package files provides file manipulation helpers: replace, rename, walk.
Package files provides file manipulation helpers: replace, rename, walk.
Package ghbulk ports the paginated bulk-delete helpers from github-utils/scripts/{delete-releases,delete-packages,delete-repos}.sh.
Package ghbulk ports the paginated bulk-delete helpers from github-utils/scripts/{delete-releases,delete-packages,delete-repos}.sh.
Package log provides colored logging helpers.
Package log provides colored logging helpers.
Package pathx contains small cross-platform path helpers shared across packages that exec subprocesses.
Package pathx contains small cross-platform path helpers shared across packages that exec subprocesses.
Package projectconfig loads the consumer repo's per-project configuration file at gh-optivem.yaml (project root).
Package projectconfig loads the consumer repo's per-project configuration file at gh-optivem.yaml (project root).
Package promptio centralises every human y/n decision the CLI surfaces.
Package promptio centralises every human y/n decision the CLI surfaces.
Package runner orchestrates docker-compose-backed system tests using two YAML config files (with legacy JSON fallback): a systems.yaml (compose + health probes) and a tests.yaml (setup commands + suites).
Package runner orchestrates docker-compose-backed system tests using two YAML config files (with legacy JSON fallback): a systems.yaml (compose + health probes) and a tests.yaml (setup commands + suites).
Package shell provides GitHub CLI wrapper and subprocess helpers.
Package shell provides GitHub CLI wrapper and subprocess helpers.
Package sonar wraps the SonarCloud REST endpoints the cleanup command uses (api/projects/search, api/projects/delete).
Package sonar wraps the SonarCloud REST endpoints the cleanup command uses (api/projects/search, api/projects/delete).
Package spinner shows an animated liveness indicator for long-running waits where the duration is unknown.
Package spinner shows an animated liveness indicator for long-running waits where the duration is unknown.
Package steps implements the scaffold pipeline steps.
Package steps implements the scaffold pipeline steps.
Package templates provides template helpers: copy workflows, fixups.
Package templates provides template helpers: copy workflows, fixups.
Package userstate owns the user-level gh-optivem state directory and the schemas of the small files written there.
Package userstate owns the user-level gh-optivem state directory and the schemas of the small files written there.
Package version provides build-time version information.
Package version provides build-time version information.
Package workspace resolves the cross-repo scope for a command invocation.
Package workspace resolves the cross-repo scope for a command invocation.

Jump to

Keyboard shortcuts

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