Repository navigation
v1.91.72.0 feat(autoplan): unattended runner gstack-autoplan next|submit, pluggable outside voice, review checklists, spec-loop cap (multi-agent wave B-runner) - #3117
Merged
Conversation
…nd, findings-derived review log, gate list Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…attended-artifact Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…utside voice, review checklists, spec-loop cap Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…ps runner-only sections, fixture env spelling - lib/spend-ledger.ts: create the lock by linking a complete temp file so a contender never reads an empty lock and breaks a live owner (CI admitted 20 of a cap of 8 under contention); unreadable locks break only by mtime age. - test/helpers/workflow-judge-input.ts: exclude manifest runner_only sections (the B4 checklists) from the judge bundle; the judge rates the interactive workflow. test/workflow-judge-input.test.ts expects the same set. - test/helpers/autoplan-run-fixture.ts: spell the runner's session kind without the literal the free-suite environment scan rejects. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…child Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
E2E Evals: ❌ FAIL121 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $91.14 rule/judge cost | reconcile exit: 1 Profile: pr / mode Derived dependents (scripts/pr-dependencies.ts):
Rule and judge shards
Fail-closed reconciliationSliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry. Failures and split verdicts |
levi85
pushed a commit
to levi85/gstack
that referenced
this pull request
Oct 14, 2026
…bmit`, pluggable outside voice, review checklists, spec-loop cap (multi-agent wave B-runner) (garrytan#3117) * v1.91.70.0 feat(unattended): artifact contract, unattended session kind, findings-derived review log, gate list Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * v1.91.72.0 feat(autoplan): unattended runner next|submit, pluggable outside voice, review checklists, spec-loop cap Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(b-runner): atomic lock creation in spend-ledger, judge bundle skips runner-only sections, fixture env spelling - lib/spend-ledger.ts: create the lock by linking a complete temp file so a contender never reads an empty lock and breaks a live owner (CI admitted 20 of a cap of 8 under contention); unreadable locks break only by mtime age. - test/helpers/workflow-judge-input.ts: exclude manifest runner_only sections (the B4 checklists) from the judge bundle; the judge rates the interactive workflow. test/workflow-judge-input.test.ts expects the same set. - test/helpers/autoplan-run-fixture.ts: spell the runner's session kind without the literal the free-suite environment scan rejects. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * test(spend-ledger): accept Windows' status-only report of the killed child Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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.
Multi-agent wave B-runner (plan:
docs/designs/MULTI_AGENT_WAVE_2026_10_10.md, items B2, B3, B4, B8, B11), on top of B-core (#3115) and PR A (#3116), both on main.What a parent agent gets
bin/gstack-autoplanoverlib/autoplan-run.ts+lib/autoplan-state.tsas an explicit durable state machine.next --out <dir>prepares the phase (snapshot, methodology, prompt), persists dispatch intent with an attempt id, prints voice / prompt path / expected result path / required model family and exitsGSTACK_RESULT: status=awaiting_result;submit --phase --voice --result --model --attemptvalidates the full-read receipt, canonical findings and model family, binds the hash intorun.jsonatomically, runs the B11 reconciliation and phase-close, and advances.status,export,answer --gate-rev --reply(stale/unparsed/conflicting replies write nothing; a scope-changing non-recommended choice reopens only the dependent phases, Eng last;allfinalizes with no new attempts),resume(exclusive ownership;EXECUTION_UNKNOWNfor an attempt with intent but no terminal record; never auto-redispatches),run(in-process loop, typechecked only).autoplan/sections/unattended.mdprofile;docs/unattended.mdhas the parent loop, theRESULT FORMATcontract and the runner table.bin/gstack-outside-voice run --runner codex-cli|api|host-subagentoverlib/outside-voice-runner.tswith one adapter interface (capabilities, input digest, actual model metadata, cancellation, terminal result, usage);apiis labeledsupplied-input reviewunless it runs a repo tool loop;host-subagentaccepts a cross-family subagent's result file and records the model, enforcing the same-family rule.bin/gstack-codex-loginfromOPENAI_API_KEY.lib/spend-ledger.ts: atomicspent + reserved + next_estimate <= capunder a file lock; reservations retained after a crash; host-subagent spendunknown.sections/checklist.md.tmplin the four plan review skills (27–34 lines) with an output → producing-section → scope table; manifests gain optionalscope(defaultalways) andrunner_only, the passive note updated; the runner is the only consumer, printsSkipped sections: <ids> (scope: …), and loads the deep section whenever scope is uncertain.gstack-office-hours-review finalize [--fixes]lists numbered gaps and recordsissues verified: k of N(deterministic, never a verdict, never a fourth launch) orN fixes unconfirmed+Decision: spec not re-verified.lib/autoplan-reconcile.tscomputes consensus from canonical finding ids (confirmed / disagree / new); the Eng prompt refuses without prior consensus (CONSENSUS_MISSING).lib/headless-artifacts.ts:ackRununderwithFileLock(exactly-once ack);native_counterpartnullable.Proof
The wave plan itself ran end to end on a Capy machine with no Claude Code harness:
gstack-autoplan next --light→ fixture reviewers → 4×PHASE_CLOSED→status=gate_pending→export→gstack-artifact validate=ARTIFACT_VALID: run=run-20261010235526 status=gate_pending;jq 'select(.status=="pending")'lists the gate items;plan.mdopens with## URGENT, outside this plan.Validation
typecheck,typecheck:test(no new),gen:skill-docs --host allidempotent, parity (plan-ceo-review headroom 110 B, plan-eng 265, office-hours 383, autoplan 65 after trimming Phase 0 output and the gate prose; ship/review/qa unchanged), module-size ratchet (12 modules registered), troubleshooting anchors, free-fixtures, egress wiring, carve guards, section manifests, Codex-pinned tests. New suites:autoplan-run-recovery9,autoplan-run-concurrency4,autoplan-answer-invalidation5,review-checklists10,outside-runner-contract12,spend-ledger6;office-hours-review77 andoffice-hours-completion134 pass. Final focused run post-merge: 1040 pass / 0 fail.test:quickleftovers (Chromium-less image, PTY, CSO core) reproduce on the unmodified merge base.Deferred
The rendered Codex prose still shells to
codexdirectly (scripts/resolvers/outside-voice-steps.ts); namingbin/gstack-outside-voicethere touches 21 Codex-pinned tests and ship/review byte budgets, so it ships separately. Plan corrections: B8'sspec-review.ts:182-192is actually:191-201(CEO stop rules) with the office-hours loop at:32-141;exportlives inbin/gstack-autoplan, not the frozen snapshot bin.Version 1.91.72.0 (PATCH, clean bump from base).