docs: design + protocol for /abcd:run autonomous-run loop - #39
Merged
Conversation
Record the design for /abcd:run — the ADR-27 host-workflow autonomous-run loop: SOTA-researched against primary sources, reviewed against abcd principles + the current CLI, and reconciled with itd-29 (which owns this surface and reserves the 'run' name). Includes the seed learnings note + adversarial panel, and the SOTA-verdict and itd-29 naming decisions in DECISIONS.md. Assisted-by: Claude:claude-opus-4-8
The generic run protocol (future commands/abcd/run.md, C-phase draft) plus the first dogfood run-plan draining abcd-cli's open ledger. The protocol encodes lean-orchestrator delegation, a JSON attempt-journal where a dangling entry counts toward the strike limit, advisory review with the deterministic gate as authority, action-class STOP checkpoints, chain-fragility stops, and a secret scrub. The run-plan is backlog:ledger, detector-first, and skips iss-35 (a maintainer design-STOP). Assisted-by: Claude:claude-opus-4-8
A maintainer runbook for dogfooding abcd locally: an always-latest binary wrapper (rebuilds from source each call, fails loudly on a broken build) plus a private local plugin marketplace, and how to iterate. Developer-facing (under .abcd/development/) because it names the agent harness, which the host-agnostic docs/ rule forbids. Assisted-by: Claude:claude-opus-4-8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Records the design and the C-phase build for
/abcd:run— the ADR-27host-workflow autonomous-run loop (one PR per work item, resuming from a durable
handoff across timeboxed bursts).
plans/2026-07-12-abcd-auto-loop-skill.md): SOTA-researched againstprimary sources, an adversarial panel, and a review against abcd's own principles +
the current CLI. Reconciled with itd-29, which already owns this surface and
reserves the
runname;/abcd:runis its host-delegated realization.plans/2026-07-12-abcd-run-protocol.md): the generic loop (futurecommands/abcd/run.md) — lean-orchestrator delegation, a JSON attempt-journal wherea dangling entry counts toward the strike limit, advisory review with the
deterministic gate as authority, action-class STOP checkpoints, chain-fragility
stops, and a secret scrub.
plans/2026-07-12-abcd-cli-ledger-drain-run.md): drainsabcd-cli's open ledger, detector-first, skipping iss-35 (a maintainer design-STOP).
research/notes/2026-07-12-dogfood-abcd-locally.md): dogfood abcdlocally as a private plugin, tracking the latest CLI build.
Why
Sequence C→A: run the loop as a plan+protocol under the harness loop now to dogfood on
abcd-cli and generate itd-29's real evidence (its revisit trigger #5), then formalize
commands/abcd/run.mdafter 1–2 successful runs. Docs/records only — no code, no newdependency, no core change.
Assisted-by: Claude:claude-opus-4-8