Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd is the dispatcher for the agentic-dev-harness CLI.
|
Package cmd is the dispatcher for the agentic-dev-harness CLI. |
|
approve
Package approve implements the "approve" CLI command: satisfy a pending human safety gate on an arc (SPEC §5.2).
|
Package approve implements the "approve" CLI command: satisfy a pending human safety gate on an arc (SPEC §5.2). |
|
arc
Package arc implements the "arc" CLI command: create, list, and show work arcs.
|
Package arc implements the "arc" CLI command: create, list, and show work arcs. |
|
autonomy
Package autonomy implements the "autonomy" CLI command: show or set the autonomy ladder level (SPEC §6).
|
Package autonomy implements the "autonomy" CLI command: show or set the autonomy ladder level (SPEC §6). |
|
closecmd
Package closecmd implements the "close" CLI command: ship an arc that is waiting, approved, at the ops gate.
|
Package closecmd implements the "close" CLI command: ship an arc that is waiting, approved, at the ops gate. |
|
contextcmd
Package contextcmd implements the "context" CLI command: inspect the just-in-time context store (SPEC-ADDITIONS §10) — list units, show one unit's text and provenance, route a working set by labels, lint the store, or verify that routed units have not drifted from their canonical source.
|
Package contextcmd implements the "context" CLI command: inspect the just-in-time context store (SPEC-ADDITIONS §10) — list units, show one unit's text and provenance, route a working set by labels, lint the store, or verify that routed units have not drifted from their canonical source. |
|
device
Package device implements the "device" CLI command: on-device validation (SPEC §4).
|
Package device implements the "device" CLI command: on-device validation (SPEC §4). |
|
docscmd
Package docscmd implements the "docs" CLI command: generate man pages for the whole command tree straight from the live ff.Command definitions, so the pages never drift from the flags.
|
Package docscmd implements the "docs" CLI command: generate man pages for the whole command tree straight from the live ff.Command definitions, so the pages never drift from the flags. |
|
doctorcmd
Package doctorcmd implements the "doctor" CLI command: the harness-integrity self-check (SPEC-ADDITIONS §10.4).
|
Package doctorcmd implements the "doctor" CLI command: the harness-integrity self-check (SPEC-ADDITIONS §10.4). |
|
evalcmd
Package evalcmd implements the "eval" CLI command: the deterministic Evaluation stage (SPEC-ADDITIONS §19.2).
|
Package evalcmd implements the "eval" CLI command: the deterministic Evaluation stage (SPEC-ADDITIONS §19.2). |
|
failurescmd
Package failurescmd implements the "failures" CLI command (SPEC §2.5): show the failure registry (§4.1) and the §11 lesson candidates, grouped into governing classes so a recurring one is visible.
|
Package failurescmd implements the "failures" CLI command (SPEC §2.5): show the failure registry (§4.1) and the §11 lesson candidates, grouped into governing classes so a recurring one is visible. |
|
gatecmd
Package gatecmd implements the "gate" CLI command (SPEC §2.3): list the pending human gates across arcs — the arcs parked blocked, awaiting an approve/reject.
|
Package gatecmd implements the "gate" CLI command (SPEC §2.3): list the pending human gates across arcs — the arcs parked blocked, awaiting an approve/reject. |
|
harnesscmd
Package harnesscmd implements the "harness" CLI command, the self-optimization surface (SPEC-ADDITIONS §18.2, §11) with real nested subcommands: `eval` scores a guiding artifact (rubric floor + judge-only dimensions, optionally beside a decoded skillsaw score), `gate` runs the comparative validation ratchet on candidate/current/best scores, `hash` reports an artifact's content identity (sha256[:16]), and `calibrate` checks the judge against labeled fixtures.
|
Package harnesscmd implements the "harness" CLI command, the self-optimization surface (SPEC-ADDITIONS §18.2, §11) with real nested subcommands: `eval` scores a guiding artifact (rubric floor + judge-only dimensions, optionally beside a decoded skillsaw score), `gate` runs the comparative validation ratchet on candidate/current/best scores, `hash` reports an artifact's content identity (sha256[:16]), and `calibrate` checks the judge against labeled fixtures. |
|
initcmd
Package initcmd implements the "init" CLI command: scaffold the .adh workspace so later commands have somewhere to store arcs, a starter config to tailor, and a context store so the cold critic can be grounded out of the box (SPEC §2.1, §3.1, §19.1).
|
Package initcmd implements the "init" CLI command: scaffold the .adh workspace so later commands have somewhere to store arcs, a starter config to tailor, and a context store so the cold critic can be grounded out of the box (SPEC §2.1, §3.1, §19.1). |
|
judgecmd
Package judgecmd implements the "judge" CLI command: score an output against a JSON array of deterministic rule checks (SPEC-ADDITIONS §11).
|
Package judgecmd implements the "judge" CLI command: score an output against a JSON array of deterministic rule checks (SPEC-ADDITIONS §11). |
|
kpicmd
Package kpicmd implements the "kpi" CLI command: measure each context unit's and declared tool's KPIs against how they actually behaved — the failure-record log for units, the tool-run log for tools — and report the degradation proposals a breach earned (SPEC-ADDITIONS §16/§18).
|
Package kpicmd implements the "kpi" CLI command: measure each context unit's and declared tool's KPIs against how they actually behaved — the failure-record log for units, the tool-run log for tools — and report the degradation proposals a breach earned (SPEC-ADDITIONS §16/§18). |
|
lessoncmd
Package lessoncmd implements the "lesson" CLI command: distill the failure registry into candidate lessons and promote one to a durable owner (SPEC-ADDITIONS §11).
|
Package lessoncmd implements the "lesson" CLI command: distill the failure registry into candidate lessons and promote one to a durable owner (SPEC-ADDITIONS §11). |
|
loopcmd
Package loopcmd implements the "loop" CLI command: list, run, tick, and retire maintenance loops (SPEC-ADDITIONS §15).
|
Package loopcmd implements the "loop" CLI command: list, run, tick, and retire maintenance loops (SPEC-ADDITIONS §15). |
|
metricscmd
Package metricscmd implements the "metrics" CLI command: report effectiveness accounting — attention per accepted arc and compute (SPEC-ADDITIONS §16).
|
Package metricscmd implements the "metrics" CLI command: report effectiveness accounting — attention per accepted arc and compute (SPEC-ADDITIONS §16). |
|
nfrcmd
Package nfrcmd implements the "nfr" CLI command: inspect the nonfunctional- requirement specs (SPEC-ADDITIONS §10.5) — list them, show one, or lint them for Planguage well-formedness (taxonomy, thresholds ordered, a meter and scale).
|
Package nfrcmd implements the "nfr" CLI command: inspect the nonfunctional- requirement specs (SPEC-ADDITIONS §10.5) — list them, show one, or lint them for Planguage well-formedness (taxonomy, thresholds ordered, a meter and scale). |
|
oracle
Package oracle implements the "oracle" CLI command: the differential oracle (diff), the invariant checks (invariants), and the planted-defect self-test (selftest) of the eval layer (SPEC §4, SPEC-ADDITIONS §18).
|
Package oracle implements the "oracle" CLI command: the differential oracle (diff), the invariant checks (invariants), and the planted-defect self-test (selftest) of the eval layer (SPEC §4, SPEC-ADDITIONS §18). |
|
proof
Package proof implements the "proof" CLI command with real nested subcommands: `create` hashes an arc's artifacts into a manifest and records it on the arc, and `verify` checks a manifest under NO-PROOF-NO-CLOSE (SPEC §5.4).
|
Package proof implements the "proof" CLI command with real nested subcommands: `create` hashes an arc's artifacts into a manifest and records it on the arc, and `verify` checks a manifest under NO-PROOF-NO-CLOSE (SPEC §5.4). |
|
reject
Package reject implements the "reject" CLI command: the negative half of the human gate (SPEC §5.2, §2.3).
|
Package reject implements the "reject" CLI command: the negative half of the human gate (SPEC §5.2, §2.3). |
|
root
Package root defines the root configuration for the CLI.
|
Package root defines the root configuration for the CLI. |
|
run
Package run implements the "run" CLI command: relay an arc through stages until it reaches a human gate or closes (SPEC §2.1), honoring the autonomy level and rework budget resolved from config.
|
Package run implements the "run" CLI command: relay an arc through stages until it reaches a human gate or closes (SPEC §2.1), honoring the autonomy level and rework budget resolved from config. |
|
selfeval
Package selfeval implements the "selfeval" CLI command (SPEC §2.5): a periodic self-evaluation that reports effectiveness health (§16) and the failure taxonomy (§4.1, §11).
|
Package selfeval implements the "selfeval" CLI command (SPEC §2.5): a periodic self-evaluation that reports effectiveness health (§16) and the failure taxonomy (§4.1, §11). |
|
sessionscmd
Package sessionscmd implements the "sessions" CLI command: mine foreign agent-session stores for corrections that never became arcs, and report what was found.
|
Package sessionscmd implements the "sessions" CLI command: mine foreign agent-session stores for corrections that never became arcs, and report what was found. |
|
sleep
Package sleep implements the "sleep" CLI command: the offline consolidation cycle (SPEC-ADDITIONS §18.4).
|
Package sleep implements the "sleep" CLI command: the offline consolidation cycle (SPEC-ADDITIONS §18.4). |
|
stagecmd
Package stagecmd implements the per-stage direct commands (SPEC §2.2): strategy, execute, and critic each run one stage on an arc already at that stage, through the mock model, for debugging or manual re-runs — normal operation uses `adh run`/`adh step`.
|
Package stagecmd implements the per-stage direct commands (SPEC §2.2): strategy, execute, and critic each run one stage on an arc already at that stage, through the mock model, for debugging or manual re-runs — normal operation uses `adh run`/`adh step`. |
|
status
Package status implements the "status" CLI command: a summary of the harness state — open arcs, arcs blocked at a gate, and the current autonomy level.
|
Package status implements the "status" CLI command: a summary of the harness state — open arcs, arcs blocked at a gate, and the current autonomy level. |
|
step
Package step implements the "step" CLI command: run exactly one stage transition on an arc through the model seam, then stop (SPEC §2.1).
|
Package step implements the "step" CLI command: run exactly one stage transition on an arc through the model seam, then stop (SPEC §2.1). |
|
toolcmd
Package toolcmd implements the "tool" CLI command: inspect and invoke the tool registry (SPEC-ADDITIONS §13) — list declared tools, run doctor to validate them, or run one so the worker can invoke an external capability in-loop and interpret its output.
|
Package toolcmd implements the "tool" CLI command: inspect and invoke the tool registry (SPEC-ADDITIONS §13) — list declared tools, run doctor to validate them, or run one so the worker can invoke an external capability in-loop and interpret its output. |
|
vcscmd
Package vcscmd implements the "vcs" CLI command: inspect and mutate the git working tree through the internal/vcs seam (go-git).
|
Package vcscmd implements the "vcs" CLI command: inspect and mutate the git working tree through the internal/vcs seam (go-git). |
|
version
Package version implements the "version" CLI command.
|
Package version implements the "version" CLI command. |
|
workercmd
Package workercmd implements the "worker" CLI command: show the adoption epoch or requalify it after a worker change (SPEC §14).
|
Package workercmd implements the "worker" CLI command: show the adoption epoch or requalify it after a worker change (SPEC §14). |
|
internal
|
|
|
adh
Package adh is the foundational domain package for the agentic-dev-harness CLI: the shared language every other package speaks.
|
Package adh is the foundational domain package for the agentic-dev-harness CLI: the shared language every other package speaks. |
|
adr
Package adr is the architecture-decision-record format (SPEC-ADDITIONS §12): the durable, routable home for a team's local trade-off decisions — Status, Context, Decision, and Consequences split into Easier and Harder.
|
Package adr is the architecture-decision-record format (SPEC-ADDITIONS §12): the durable, routable home for a team's local trade-off decisions — Status, Context, Decision, and Consequences split into Easier and Harder. |
|
authority
Package authority holds the pure authority decisions of the harness: the autonomy ladder (SPEC §6), the model-gate (SPEC §5.1), and the human safety gate (SPEC §5.2).
|
Package authority holds the pure authority decisions of the harness: the autonomy ladder (SPEC §6), the model-gate (SPEC §5.1), and the human safety gate (SPEC §5.2). |
|
config
Package config resolves the harness configuration by SPEC §3 precedence: built-in defaults, then the user config, then the repo .adh/config.toml, then the .adh/autonomy runtime override, then ADH_* environment variables (each overriding the last); command-line flags override the result at the call site.
|
Package config resolves the harness configuration by SPEC §3 precedence: built-in defaults, then the user config, then the repo .adh/config.toml, then the .adh/autonomy runtime override, then ADH_* environment variables (each overriding the last); command-line flags override the result at the call site. |
|
consolidate
Package consolidate is the pure core of the offline self-optimization cycle (SPEC-ADDITIONS §18.4): harvest closed arcs, mine recurring checkable tasks and assign each a stable held-out split, then reflect-and-gate a bounded candidate edit on a strict held-out improvement.
|
Package consolidate is the pure core of the offline self-optimization cycle (SPEC-ADDITIONS §18.4): harvest closed arcs, mine recurring checkable tasks and assign each a stable held-out split, then reflect-and-gate a bounded candidate edit on a strict held-out improvement. |
|
contextstore
Package contextstore holds the just-in-time context units the harness routes to stages (SPEC-ADDITIONS §10): a large navigable store and a small active working set selected by an arc's labels and touched paths.
|
Package contextstore holds the just-in-time context units the harness routes to stages (SPEC-ADDITIONS §10): a large navigable store and a small active working set selected by an arc's labels and touched paths. |
|
critic
Package critic assembles the cold critic's grounding (SPEC-ADDITIONS §19.1): the repository-owned working set a critic reviews against — the arc's touched paths, its acceptance bar, the proof packet the builder left, and the context units routed for its labels and paths (§10).
|
Package critic assembles the cold critic's grounding (SPEC-ADDITIONS §19.1): the repository-owned working set a critic reviews against — the arc's touched paths, its acceptance bar, the proof packet the builder left, and the context units routed for its labels and paths (§10). |
|
device
Package device abstracts on-device (adb) validation (SPEC §4).
|
Package device abstracts on-device (adb) validation (SPEC §4). |
|
edit
Package edit holds the pure guards an optimize/apply step enforces before committing a harness edit (SPEC-ADDITIONS §18.2): the size budget and the hash-based no-op check.
|
Package edit holds the pure guards an optimize/apply step enforces before committing a harness edit (SPEC-ADDITIONS §18.2): the size budget and the hash-based no-op check. |
|
evaluation
Package evaluation is the deterministic Evaluation stage (SPEC-ADDITIONS §19.2): it adjudicates the cold critic's findings by running the repository artifact each one names, then disposes of the arc.
|
Package evaluation is the deterministic Evaluation stage (SPEC-ADDITIONS §19.2): it adjudicates the cold critic's findings by running the repository artifact each one names, then disposes of the arc. |
|
evidence
Package evidence is the append-only audit log for the self-optimization loop (SPEC-ADDITIONS §18.6).
|
Package evidence is the append-only audit log for the self-optimization loop (SPEC-ADDITIONS §18.6). |
|
failures
Package failures owns the append-only failure registry (SPEC §4.1): a JSON array of failure notes under a repository path, distilled into lessons (§11).
|
Package failures owns the append-only failure registry (SPEC §4.1): a JSON array of failure notes under a repository path, distilled into lessons (§11). |
|
harness
Package harness holds the self-optimization decisions (SPEC-ADDITIONS §18): classify a miss as a harness defect or an execution lapse (§18.3), and accept a candidate only on a strict held-out improvement via the gate ratchet (§18.2).
|
Package harness holds the self-optimization decisions (SPEC-ADDITIONS §18): classify a miss as a harness defect or an execution lapse (§18.3), and accept a candidate only on a strict held-out improvement via the gate ratchet (§18.2). |
|
harnesscheck
Package harnesscheck is the pure harness-integrity self-check (SPEC-ADDITIONS §10.4): given the loaded context store, tool registry, loop registry, and NFR specs, it reports whether the harness is intact and internally consistent — every registry is structurally valid, unit ids are unique, and the cross- references between the pieces resolve (a routed unit's integrity check names a declared §13 tool).
|
Package harnesscheck is the pure harness-integrity self-check (SPEC-ADDITIONS §10.4): given the loaded context store, tool registry, loop registry, and NFR specs, it reports whether the harness is intact and internally consistent — every registry is structurally valid, unit ids are unique, and the cross- references between the pieces resolve (a routed unit's integrity check names a declared §13 tool). |
|
judge
Package judge is the deterministic rule-judge for scoring an output against a set of checks (SPEC-ADDITIONS §11 test-checks; ported from skillsaw's judge, itself a port of SkillOpt-Sleep's judges.py).
|
Package judge is the deterministic rule-judge for scoring an output against a set of checks (SPEC-ADDITIONS §11 test-checks; ported from skillsaw's judge, itself a port of SkillOpt-Sleep's judges.py). |
|
kpi
Package kpi turns declared KPIs on §10 units and §13 tools (SPEC-ADDITIONS §16/§18) into gated improvement proposals: it measures a subject against the log of how it actually behaved — the failure-record log for units, the tool-run log for tools — and when a KPI's threshold is breached across enough independent time strata to trust it (§18.2), proposes a change to that subject.
|
Package kpi turns declared KPIs on §10 units and §13 tools (SPEC-ADDITIONS §16/§18) into gated improvement proposals: it measures a subject against the log of how it actually behaved — the failure-record log for units, the tool-run log for tools — and when a KPI's threshold is breached across enough independent time strata to trust it (§18.2), proposes a change to that subject. |
|
lesson
Package lesson turns recurring corrections into promotions to a durable owner (SPEC-ADDITIONS §11): it distills failures into governing classes and routes each to its smallest owner.
|
Package lesson turns recurring corrections into promotions to a durable owner (SPEC-ADDITIONS §11): it distills failures into governing classes and routes each to its smallest owner. |
|
loop
Package loop models maintenance loops (SPEC-ADDITIONS §15): a named invariant kept true by a sensor and an authorized action, with an explicit retirement condition.
|
Package loop models maintenance loops (SPEC-ADDITIONS §15): a named invariant kept true by a sensor and an authorized action, with an explicit retirement condition. |
|
metrics
Package metrics is effectiveness accounting (SPEC-ADDITIONS §16): it optimizes useful outcomes per unit of scarce human attention, not raw activity.
|
Package metrics is effectiveness accounting (SPEC-ADDITIONS §16): it optimizes useful outcomes per unit of scarce human attention, not raw activity. |
|
model
Package model is the LLM seam for the five stages (SPEC §1-2).
|
Package model is the LLM seam for the five stages (SPEC §1-2). |
|
nfr
Package nfr is the nonfunctional-requirement spec format (SPEC-ADDITIONS §10.5): a Planguage-quantified quality attribute named by an agreed taxonomy.
|
Package nfr is the nonfunctional-requirement spec format (SPEC-ADDITIONS §10.5): a Planguage-quantified quality attribute named by an agreed taxonomy. |
|
oracle
Package oracle implements the differential oracle and invariant checks of the eval layer (SPEC §4, SPEC-ADDITIONS §18): two independently written implementations of the same match rules grade each other, and a planted-defect self-test proves the oracle rejects a known regression.
|
Package oracle implements the differential oracle and invariant checks of the eval layer (SPEC §4, SPEC-ADDITIONS §18): two independently written implementations of the same match rules grade each other, and a planted-defect self-test proves the oracle rejects a known regression. |
|
prompt
Package prompt renders a stage's model prompt from templates.
|
Package prompt renders a stage's model prompt from templates. |
|
redact
Package redact removes secrets from text before it is persisted (SPEC-ADDITIONS §18.4): the sleep consolidation cycle harvests arc history and stages guiding text that can carry credentials, so every staged string passes through here first.
|
Package redact removes secrets from text before it is persisted (SPEC-ADDITIONS §18.4): the sleep consolidation cycle harvests arc history and stages guiding text that can carry credentials, so every staged string passes through here first. |
|
relay
Package relay is the shared engine for the out-of-band model relay (SPEC §1-2): it emits a stage's prompt and parks a pending turn, then on a later invocation validates the operator's reply and advances the arc.
|
Package relay is the shared engine for the out-of-band model relay (SPEC §1-2): it emits a stage's prompt and parks a pending turn, then on a later invocation validates the operator's reply and advances the arc. |
|
rubric
Package rubric scores a harness guiding artifact against adh's own five-dimension rubric (SPEC-ADDITIONS §18.2) — distinct from the external skillsaw 9-dimension rubric adh consumes at its gate.
|
Package rubric scores a harness guiding artifact against adh's own five-dimension rubric (SPEC-ADDITIONS §18.2) — distinct from the external skillsaw 9-dimension rubric adh consumes at its gate. |
|
schedule
Package schedule persists cron jobs that fire an adh command on a cadence and fires the ones that are due (SPEC-ADDITIONS §15, §18).
|
Package schedule persists cron jobs that fire an adh command on a cadence and fires the ones that are due (SPEC-ADDITIONS §15, §18). |
|
session
Package session normalises foreign agent-session stores into one digest the harness can mine, and mines them for corrections that never became arcs.
|
Package session normalises foreign agent-session stores into one digest the harness can mine, and mines them for corrections that never became arcs. |
|
shell
Package shell runs a repository-owned command through the system shell.
|
Package shell runs a repository-owned command through the system shell. |
|
skillsaw
Package skillsaw decodes the eval JSON the external skillsaw CLI emits (SPEC- ADDITIONS §18, Loops B/C), so adh can feed skillsaw's score into its own strict-`>` ratchet (`harness gate`) — skillsaw as the cheap floor under adh's Evaluation bar, never a replacement for human approval or proof (§18.2).
|
Package skillsaw decodes the eval JSON the external skillsaw CLI emits (SPEC- ADDITIONS §18, Loops B/C), so adh can feed skillsaw's score into its own strict-`>` ratchet (`harness gate`) — skillsaw as the cheap floor under adh's Evaluation bar, never a replacement for human approval or proof (§18.2). |
|
stage
Package stage sequences the five-stage loop (SPEC §1): it runs an arc's current stage through the model seam and advances it, and decides whether the relay may auto-launch the next stage under the autonomy level (SPEC §6).
|
Package stage sequences the five-stage loop (SPEC §1): it runs an arc's current stage through the model seam and advances it, and decides whether the relay may auto-launch the next stage under the autonomy level (SPEC §6). |
|
state
Package state persists arcs to the .adh workspace as JSON and provides the lifecycle operations the arc commands drive.
|
Package state persists arcs to the .adh workspace as JSON and provides the lifecycle operations the arc commands drive. |
|
toolreg
Package toolreg is the tool registry (SPEC-ADDITIONS §13): declared capabilities a stage can discover, select by what they verify, and repair.
|
Package toolreg is the tool registry (SPEC-ADDITIONS §13): declared capabilities a stage can discover, select by what they verify, and repair. |
|
toolrun
Package toolrun owns the append-only tool-run outcome log (SPEC-ADDITIONS §16/§18): one record per `adh tool run`, stamped so a §13 tool's declared KPIs can be measured against how it actually behaves over time.
|
Package toolrun owns the append-only tool-run outcome log (SPEC-ADDITIONS §16/§18): one record per `adh tool run`, stamped so a §13 tool's declared KPIs can be measured against how it actually behaves over time. |
|
vcs
Package vcs is the version-control seam: the small set of git operations the harness needs — inspect the working tree, branch, and commit.
|
Package vcs is the version-control seam: the small set of git operations the harness needs — inspect the working tree, branch, and commit. |
|
verdict
Package verdict is the replication-gated outcome-eval verdict (SPEC-ADDITIONS §18.2): a pure decision core that layers a trust taxonomy over the cheap strict-`>` gate.
|
Package verdict is the replication-gated outcome-eval verdict (SPEC-ADDITIONS §18.2): a pure decision core that layers a trust taxonomy over the cheap strict-`>` gate. |
|
worker
Package worker models the adoption epoch and requalification gate (SPEC §14 / fixed-worker): a model or agent change opens a new epoch that must be requalified before normal runs resume.
|
Package worker models the adoption epoch and requalification gate (SPEC §14 / fixed-worker): a model or agent change opens a new epoch that must be requalified before normal runs resume. |
|
worktree
Package worktree reads the git working tree to ground the relay (§19.1): the unified diff of the change under review, the changed code paths, and the arc footprint (paths + area labels) an execution turn leaves.
|
Package worktree reads the git working tree to ground the relay (§19.1): the unified diff of the change under review, the changed code paths, and the arc footprint (paths + area labels) an execution turn leaves. |
Click to show internal directories.
Click to hide internal directories.