Repository navigation
Keep reviewer product challenges open on the approval page - #4431
Merged
capy-ai[bot] merged 6 commits intoNov 17, 2026
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…g the gate Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…n the cut list changes A challenge with no change kind and no real owner quote now becomes a proposal instead of vanishing. An ordinary finding that only mentions an earlier challenge no longer closes it. The cut list and confirm-direction items carry their content in their origin, so an earlier answer is not reused for a changed list. Review-Finding: p1/specialist-batched#1 reader=specialist-batched Review-Finding: p1/red-team#2 reader=red-team Review-Finding: p1/red-team#3 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ng tasks when declined Public exports now redact the Owner's words from every plan text the run kept, so a quote a revision removed stays hidden in earlier reviewer results. A paired proposal takes the heaviest change either reviewer named, so an ordering-plus-scope pair is re-reviewed instead of settled. A proposal behind a Critical or High finding offers b as keep the draft and carry it into the build as a blocking task, and only a settles it. Review-Finding: p1v/outside-voice#1 reader=outside-voice Review-Finding: p1v/outside-voice#2 reader=outside-voice Review-Finding: p1v/adversarial-native#2 reader=adversarial-native Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…pproval page Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-Authored-By: Claude <[email protected]> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 17, 2026
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 17, 2026
- /autoplan's approval page no longer hides a reviewer's product objection behind "keep your direction". (#4431) - Every skill that loads the shared preamble, on every host, now says to ask a question once and to check a file before handing it over. (#4383) - The Captain manuals now name the `Failed or skipped:` and `Also changed:` lines that READY and lane reports carry. (#4432) - gstack's shell locks hold again on Ubuntu 26.04, where `mkdir` reports success when another process won the race (GST-2247). (#4262) - `test/gstack-lock-race.test.ts` runs the old pattern and the helper against a PATH shim that behaves like uutils 0.8.0 `mkdir`, so it runs on any runner image: the old pattern lets two of four racers win, the helper admits exactly one in each of 60 races and never overlaps across take, hold and release loops, and parallel `gstack-config` writers keep every key. (#4262) - Windows Setup E2E now runs when `bin/gstack-lock.sh` changes. (#4433) - Claude Code's skill list now says when to use each gstack skill, so Opus loads /review and /plan-eng-review when a request fits. (#4387) - A pull request's merge head can no longer keep its `/ship` receipt without a full review. (#4365) - `/ship` now counts review rounds per pull request, and the head that merges always gets a full review. (#4360) - /ship's documentation audit no longer accepts a passing result when an earlier line from the same audit said "blocked". (#4434) - /ship's documentation audit no longer spends an attempt when the audit child writes text after its result. (#4285) - The README lists the two new guides, and the install doc counts its hooks right. (#4403) - docs/releases.md now says the stable release cut treats a failed commit status as red and a pending one as still going, as it has since #4257. (#4436) - /ship's `finish --docs-requested` now accepts a docs fix when the audit named the file with a line number. (#4437) - Document the `.gstack/approval-classes.json` schema, `gstack-approval-classes` CLI commands, and owner approval citation format in `docs/ship-policy.md#approval-classes`. (#4355) - `/eval-plan` now runs four result checks instead of leaving them to judgment. (#4384) - The /review coverage-audit eval no longer fails a run that really read the source file when zsh stops a command line at an `echo ====` separator. (#4364) - Sixteen in-repo documentation links reach their section again. (#4394) - gstack agents now open every status report with what failed, what they didn't verify and what else they changed. (#4273) - Two new short guides. (#4380) - A skill you wrote whose contract still lists `check_after_last_edit` keeps the rest of its contract. (#4439) - The ship policy guide now explains how to merge any pull request with `gstack-ship-queue land`, even in a repository with one maintainer. (#4377) - /ship's test step runs a large unit suite on Linux. (#4426) - Every skill that loads the shared preamble, on every host, now says never to print a whole environment, git config or process table. (#4382) - Pull requests from /ship now open with at most three plain lines, and every merge lands as one commit titled with the PR title. (#4438) - `gstack-pr-wait`, `gstack-ci-gate` and the release cut no longer call a commit green while a check on it failed. (#4257) - `gstack-runaway` now says what a thread's cold and empty wakes cost, not just how many there were (GST-2770). (#4385) - The optional Stop hook no longer checks for a test run after the last edit, and /verify asks for it in plain words instead. (#4428) - /ship's test step says when it ran out of time, and you can set its budget. (#4429) - The remote test command no longer puts every file on one command line. (#4429) - The stable release no longer waits on the nightly Windows tests (GST-2815). (#4400) - Ubicloud fan-outs can no longer overshoot the vCPU limit, and owners no longer delete each other's VMs. (#4430) - hono is pinned to 4.13.16, which fixes five advisories the weekly OSV scan found in 4.13.13 (gstack#4406). (#4408) - `package.json` overrides (#4408) - `test/dependency-security.test.ts`: the lockfile floor check now covers `hono >= 4.13.16`. (#4408) - The nightly Windows test run finishes again. (#4409) - A short write-up checklist in ETHOS.md. (#4381) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 17, 2026
capy-ai Bot
added a commit
that referenced
this pull request
Nov 17, 2026
…' confirmation prose (GST-2975, GST-2972) (#4458) /ship no longer stops for an owner's ruling when a base merge only changes base-side text, such as the preamble hash in regenerated SKILL.md files, and a reviewer's confirmation prose becomes a finding the lead can lower with a reason. Why: each of these cost a stopped /ship and an owner ruling on recent PRs (#4383, ghome#16, #4431), which keeps unattended shipping from finishing. Nothing to do. 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.
/autoplan's approval page no longer turns a reviewer's objection to a plan's scope, build order or direction into a default "keep your direction", because only lines the owner actually wrote now count as the owner's direction. The person approving a plan sees every reviewer's product challenge as a lettered choice instead of missing it.
What changed, why, review and tests
What changed
Before: in the replayed GHome-shaped run, round 1's build-order (F4) and promise-scope (F18) challenges disappeared once round 2 stayed silent about them, and round 2's one-voice ordering challenge (d1) was recommended as "keep your direction", because the planning agent's own draft counted as the owner's direction. The page had 2 lettered items. After: F4, F18 and d1 are lettered proposals recommending the reviewer's change (a: take the change, b: keep the plan's draft), the day-one table is the first thing on the page, and the page has 7 lettered items.
lib/autoplan-owner-text.tsparses### Owner's words(one quoted bullet each),### Day oneand### What it won't do yet. Reviewers reportchangeson any finding that changes scope, cost, direction, packaging or ordering, at any severity, anduser_challengewithowner_quote: <n>only when the change goes against quote n. Quotes feed the owner-words redaction index from every plan text the run kept, so a quote a later revision removed stays redacted in public exports.lib/autoplan-gate-items.ts). A challenge to a quoted owner line keeps today's both-voices rule. A finding withchangesagainst agent-written text becomes aproposalitem; itschangesis scope, cost or direction when any row names one, so its cost line reopens the phase. Declining a proposal behind a Critical or High finding keeps the plan's draft and carries the finding into the build as a blocking task. A plan with no Owner's words section keeps today's defaults plus oneconfirm_directionitem. App plans get day-one and cut questions.resolves. A later round staying silent closes nothing.render --captainand the owner brief open with the day-one table, the cuts and the owner's words.docs/unattended.md,docs/troubleshooting.mdand the Capy captain guide describe the new items.Why
"The approval page hid the reviewer's build-order and scope objections behind keep your direction." The planning agent's draft was treated as the owner's own direction, so a one-voice product challenge defaulted to no change and an earlier round's challenge vanished when the next round said nothing. Now only the owner's quoted words are direction, and every other recommended change reaches the owner as a choice.
Blast radius
The change touches the /autoplan gate builder, its reviewer prompt (
autoplan/DRIVER.md, regenerated), the confirm and revise paths, the captain and owner briefs, and public exports. A plan with no Owner's words section keeps today's defaults plus one auto item, which the replay controls show (script ran: lettered items on main 5b4fa9e vs this branch, below), and the redaction index was reproduced leaking before the fix and redacted after it (repro).Summary
Reviewers' product objections were being defaulted away on the approval page. The gate now separates the owner's quoted words from the agent's draft, turns any other recommended change into a lettered proposal whose cost line matches what revise does, keeps earlier rounds' challenges open until answered, and opens briefs with the day-one table. Review fixes in this PR keep removed owner quotes redacted, pick the strongest
changesvalue for a proposal, and keep a declined High proposal as a blocking build task.Test Coverage
Every changed source file has changed tests that reference it (per-file map from the coverage step: for example
lib/autoplan-gate-items.ts2 changed tests,lib/gate-list.ts4,lib/headless-artifacts.ts2 of 119 referencing).test/autoplan-day-one-gate.test.ts(24 tests): a synthetic, public-safe replay (titles and fields only; no owner replies or real quotes) plus negative controls. Lettered items, same fixture on main 5b4fa9e → this branch: replay 2 → 7; (a) a challenge to a quoted owner line: 2 → 7, keeps "keep your direction"; (b) no Owner's words section: 2 → 8, today's default plus one confirm item; (c) a round-1 challenge resolved or answered: 2 → 5, does not resurface. The review fixes add an ordering-plus-scope proposal test, a declined-High-proposal test and a removed-quote redaction test; the pair and redaction tests fail when their fixes are reverted.autoplan-gate-judgment"b, as-is, or a token reply…" hits Bun's 5 s default timeout on main 5b4fa9e too (same machine, same file set: 490 pass, 1 fail). The /ship lane runs with--timeout=30000, where it passes.Tests ran: targeted 1665
Pre-Landing Review
Full-depth review of a gate-class change: batched specialist and red team, a fix-check, the native adversarial voice and a cross-family outside voice, the targeted money reader, then two owner-granted scoped fix-checks (the review fixes, then the docs-audit edits). Six findings were fixed, both fix-checks were clean once two prose lines the collector misread as Critical were ruled false positives, and the outside voice ran on GPT-6.1 Sol because the Codex CLI is not installed.
Known gaps
lib/autoplan-gate.ts,n.changes ?? o.changes, unchanged from main), an ordering plus scope pair answered b can settle a scope change without re-review. It gets fixed after this PR lands, in one small follow-up PR off main with a failing-first test.ledgerWordscan mark a quote verified from another repo's approvals record when the branch names match (red-team fix: harden /browse lifecycle and ref safety #5, adversarial Project-local .claude/skills/gstack install breaks /browse and setup can report false success #3). It gets fixed in the same follow-up PR, with a failing-first test.Review notes
Below the blocking floor; recorded here and not fixed in this PR.
parseRecordFindings(lib/autoplan-reconcile.ts) reads noowner_quoteorresolvescolumn, so hand-run records cannot carry them (red-team Fix project-local /browse installs and harden setup #4).openEarlier(first fix-check docs: add README and CLAUDE.md #1).decisions.jsonlor the report's conservative choices; the finding still appears under Findings (granted fix-check refactor: reorganize codebase into modular structure #2).buildTasksassertion holds with or without the fix; only itssettledIdsassertion depends on it (granted fix-check Fix project-local /browse installs and harden setup #4).Exploratory QA
Functional surface: the gate builder on synthetic run directories, 6 captures, verdict pass. A below-High
changesfinding in a plan with Owner's words becomes one lettered proposal; a Medium challenge with a bad owner quote, which reached the gate as nothing before the fix, is now a proposal; a round-2 Low row that only correlates with a round-1 challenge no longer closes it.Design Review
No frontend files changed — design review skipped.
Eval Results
The PR eval selector picked 0 of 253 cases (narrow screen; the train gate's full census covers the derived gate cases), $0.
Review bot comments
No review bot comments.
Plan Completion
This run's invocation record holds no plan-completion audit result, so no plan items are claimed here.
Issues
Refs p1/red-team#2
Refs p1/red-team#3
Refs p1/specialist-batched#1
Refs p1v/adversarial-native#2
Refs p1v/outside-voice#1
Refs p1v/outside-voice#2
Verification Results
No Step 8.1 verification obligations were recorded for this run.
TODOS
No TODO items completed in this PR.
Documentation
Status: updated. Three authored docs were stale against the new /autoplan approval page. Each now gets a small factual fix, and nothing is blocked.
Scope: base
5b4fa9ea3to head247b77fdeonapproval-page-keeps-reviewer-product-challenges-open. That covers 19 committed files, one unstaged edit (the changelog.d fragment), and nothing staged or untracked. The new public surface is /autoplan's### Owner's words,### Day oneand### What it won't do yetplan sections. It also adds the reviewer finding fieldsowner_quoteandresolves,changesvaluespackagingandorderingat any severity, and the gate item classesproposal,confirm_direction,day_one,cutandcuts. The owner and captain briefs now open with a day-one block, and public exports redact quotes from the plan's Owner's words. I found related docs by searching all tracked docs and templates. No banned-terms list exists.Documentation health:
docs/unattended.md: Updated. The RESULT FORMAT contract now coverschangesat any severity (packaging and ordering included),user_challengewithowner_quote, and the no-section fallback. The gate step lists proposal, confirm-direction, day-one and cut items, plus earlier-round challenges that stay open. The agent-words rule lists everyucitem kind. The public-copy "Whose words" bullet includes Owner's words quotes, removed ones included. The shadowitem_classlist has the five new classes. The owner brief opens with the day-one block.docs/troubleshooting.md: Updated. TheOWNER_REPLY_REQUIREDMeaning lists proposals and day-one or cut questions as owner-onlyucitems. TheARTIFACT_OWNER_WORDSMeaning includes quotes from the plan's Owner's words.capy/skill/gstack/captain.md: Updated. Thegstack-owner-brief render --captainoutput now lists the day-one table, the cuts and the owner's words before the ELI5 summary.autoplan/DRIVER.md: Current. This is generated output, and its RESULT FORMAT already matcheslib/autoplan-prompts.tson this branch.changelog.d/approval-page-keeps-reviewer-product-challenges-open.md: Current. The parent owns it, so I did not edit it.README.md,CLAUDE.md,AGENTS.md,CONTRIBUTING.md,docs/captain.md: Current. None of them covers the changed gate.CHANGELOG.md,TODOS.md: Skipped. Ship-owned audits do not edit them. CHANGELOG's latest entry (1.99.5.0) matches VERSION.Documentation Debt
### Owner's wordsplan section has reference docs (unattended.md and DRIVER.md) but no how-to for plan authors. capy/skill/gstack/captain.md section 3 lists only the ELI5 and the four plan sections.### Day onetable (columns action, frequency, source, feature, route, first build, check, withassumedas a source) and### What it won't do yethave reference docs only. No how-to shows the expected format.lib/autoplan-gate-items.tsandlib/autoplan-owner-text.ts./document-generatecould fill the how-to gaps.Test plan
bun test --timeout=30000 test/autoplan-*.test.ts test/captain-brief.test.ts test/gate-list.test.ts test/headless-artifacts.test.ts test/owner-brief-contributor-banned.test.ts test/agent-notes.test.ts: 1665 pass, 6 skip, 0 fail across 70 files at ed1dd85bun run gen:skill-docs: no diff; typecheck, module-size ratchet and conflict markers pass🤖 Generated with Claude Code
Agent notes
Do not land before 2026-11-21 (freeze). GStack Minder lands it after the freeze. PR 2 (skill text) stays on a pushed branch for GST-2944's eval arm and is not part of this PR. No VERSION or CHANGELOG edits; the entry is in
changelog.d/.REVIEW_LOOP: passes=1 blocking_found=2 deferred=0 noted=6 fixed=3 scope=frozen unbound=3 fix_checks=3 dispatches=6 est_input_tokens=58004
Gate edits: none detected (6 listed, 4 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Ruled note: lib/autoplan-gate.ts:257:fix-check at 3c01f91 ruled by Captain GStack Minder (GSTA-36) at 2026-11-17T10:08:19.319Z: false positive: the collector parsed a prose sentence in the fix-check reply as a Critical; no defect (approval a-ac6ea1b1f719)
Ruled note: docs/unattended.md:533:fix-check at ed1dd85 ruled by Captain GStack Minder (GSTA-36) at 2026-11-17T10:29:30.232Z: false positive: the collector parsed a prose bullet in the fix-check reply (blocking=0, NO FINDINGS) as a Critical; no defect (approval a-3f319eaf2b73)
Outside review: ran on gpt-6.1-sol (Codex CLI not installed); its two Blocks: yes findings were fixed under grant a-276cbb27154d.
Approvals
Approved: yes (record r-99e12055288e). The full approval record stays private.
Plan: approved (record r-a9fcbafe14c6)
Plan check: approved (record r-a9fcbafe14c6)
Refs GST-2947