Repository navigation
v1.91.247.0 fix(plan-eng-review): define the three references its judged text left dangling (GSTA-91) - #3421
Conversation
…t dangling (GSTA-91) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
E2E Evals: ✅ PASS125 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $32.63 rule/judge cost | reconcile exit: 0 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. Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit |
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>
test/plan-reality.test.ts asserts each phase's gstack-plan-reality check line names PLAN_REALITY (Step 7 gap). docs/unattended.md names the unattended-session block the skill prose now cites (Step 14.5 audit). CHANGELOG [Unreleased] covers the hook pointer fix and the new tests. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…egenerated against #3422) 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>
…(GSTA-91) 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>
The failure fallback's unattended branch now says a consent, destructive or irreversible option, unrecommended question or approval gate stays pending, keeping the carve-out. Item 1 drops its dangling '(per its printed unattended-session block)' pointer. CQ3 now asserts no section or block pointer remains in item 1; CQ4 is retitled to the block and hook; the plan-reality pointer loop drops devex, which renders no reality rows. Every host and the /ship goldens are regenerated and all 89 pins go down versus 4814b3d (78 by 62, 11 by 38). 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>
…(GSTA-91) 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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nattended runs (GSTA-91) Dropping item 1's block pointer also dropped its only route to the printed block's destructive/irreversible carve-out. Item 1 now lists them in its unattended pending set, matching the failure-fallback branch, the hook and the printed block; the shared Exception is unchanged. CQ3 requires destructive and irreversible. Regenerated every host and the /ship goldens; every pin still goes down versus 4814b3d (78 by 32, 11 by 8). Includes the /ship Step 7 test that docs/unattended.md names the printed block header and END. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…3438; Captain-approved) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…(train slot 2) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ded) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
What changed
The rendered text before and after: each dangling reference now resolves inside the text the skill ships, and unattended runs still keep destructive or irreversible options pending.
Text before → after
unattendedbranchgstack-plan-reality check …: a missing row isincomplete". Nothing introduced thePLAN_REALITYline the summary row asks for.gstack-plan-reality check …(printsPLAN_REALITY)"Why
The plan-eng-review sections judge (
test/skill-llm-eval.test.ts, a judge case) marked a #3408 run down on clarity 3 and actionability 3, against a bar of 4. The failing samples cited three references that the judged bundle never defines, all reproduced on main cb99df4. Each comes from a shared resolver, so the fix reaches every skill that renders it, and an agent running any of them no longer searches for a section that doesn't exist.Approvals
Source: gstack-approvals record for capy/gsta-91-plan-eng-refs (display only; not an approval citation).
/ship additions
hosts/claude/hooks/auq-error-fallback-hook.tsand dropped it.unattended-sessionblock and the hook.test/resolver-ask-user-format.test.ts(item 1 states the pending set with no block or section pointer in any spelling, and keeps destructive/irreversible),test/gstack-skill-start.test.ts(the printed block keeps destructive or irreversible options pending; the doc names the block header and END), a hook assertion, and a per-phasePLAN_REALITYcheck.docs/unattended.md.bin/gstack-skill-start:657) and the hook all make any destructive or irreversible option pending; whether that should mean "the recommended option is destructive" is one change across all three. Item 1's shared spawned Exception ("take the conservative non-destructive choice") sits beside the unattended sentence in the same item.generate-completion-status.ts:34; pre-existing).gstack-plan-reality checkprints noPLAN_REALITYline when the review or plan file is unreadable (stderr, exit 1), so "(printsPLAN_REALITY)" holds only on a successful read.docs/unattended.mdsays theunattended-sessionblock is printed; an install refusal printsinstall-refusedand exits 3 instead.(docs/unattended.md names each skill's record)(main's text) is a bare relative path that the runtime root does not install.Size and tests
test/fixtures/skill-md-size-allowlist.jsongo down against main 7ee7e8b: 78 by 32 characters, and the 11 non-Claude plan-eng-review pins by 8 (they also inline the 24-character "printsPLAN_REALITY" pointer). None go up. The /ship goldens are regenerated.test/honesty-kernel.test.tsdrops the required "Reuse rules: Step 16" token and now rejects anyStep <n>pointer in the kernel.--screen.Documentation
Status: current. No documentation edits needed. Every authored doc that describes the changed contracts already matches the branch.
Audited scope. Base
7ee7e8bddto headec195285eoncapy/gsta-91-plan-eng-refs: 58 committed files and 15 commits. Nothing was staged, unstaged or untracked. The authored source changes are three shared resolvers (generate-evidence-directive.ts,generate-ask-user-format.ts,plan-reality.ts), the AUQ fallback hook,docs/unattended.mdand the[Unreleased]CHANGELOG entry. Everything else is generated SKILL.md output, /ship goldens, the size-pin fixture and tests. I inventoried the 113 docs in the candidate's list and searched every tracked.md/.tmploutside generated output, CHANGELOG and tests for the removed pointers ("Reuse rules: Step 16", "Unattended session block", "per its Unattended", the old "becomes a pending gate item" wording). No live copy remains. I also checked thePLAN_REALITY,unattended-session, Claims Need Evidence and hook references against the source.gstack-banned-terms checkprintedBANNED_TERMS: none(the repo keeps no list).Documentation health:
docs/unattended.md: Current. I read it in full. The branch's edit (skill-start prints theunattended-sessionblock) matchesbin/gstack-skill-start:656. Its rule that any destructive or irreversible option stays pending matches the new item 1, the fallback branch, the hook directive and the printed block.docs/troubleshooting.md: Current.REALITY_ROW_MISSINGalready saysgstack-plan-reality checkprintsPLAN_REALITY: …, which matches the new "(printsPLAN_REALITY)" pointer.review/gate-integrity.md: Current. Its Claims Need Evidence rows list execution, evidence kind, failure disclosure, null results and the stderr rule, with no reuse pointer. Its Step 16 citations name /ship's own Step 16, which still exists.capy/skill/gstack/captain.md: Current. It says an unattended workflow writes everything else as a pending gate item.docs/spikes/claude-code-hook-mutation.md,docs/OPENCLAW.md: Current. They reference the hook and unattended.md without the removed wording.CHANGELOG.md: Not touched (the parent owns it). The[Unreleased]entry agrees with the diff on every point I checked.README.md,CLAUDE.md,AGENTS.md,CONTRIBUTING.md,ARCHITECTURE.md: Current by targeted search. None names the changed resolvers, the hook or the removed pointers, and none of their skill or command lists changed.Coverage map (Step 1.5). The branch adds no command, flag, environment variable or skill. The changed contracts are the unattended pending set (reference coverage in
docs/unattended.md) and where thePLAN_REALITYline comes from (reference coverage indocs/troubleshooting.md#reality-row-missing). There are no critical gaps. Diagram drift: none. No ARCHITECTURE or other diagram names these resolvers or the hook.Documentation debt.
docs/unattended.mdis one hop from README (README →docs/troubleshooting.md:2281→ unattended.md) but is not linked directly from README.md or CLAUDE.md. This predates the branch and I left it alone.docs/unattended.mddoes not cover the install-refused path, the plan-reality read-failure path prints noPLAN_REALITYline, and the hook still points at baredocs/unattended.md.Pre-landing review
Gate integrity
No threshold, rubric, trial count, case kind or judge prompt changed. The size pins only go down.
Issues
Fixes #3348
Refs #3422
Refs #3438