Repository navigation
captain docs: the lane sleeps while /ship runs; READY duty owners (GST-1573) - #4055
Merged
Merged
Conversation
…T-1573) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…te, base-red and catch-up read (GST-1573) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Trim the Capy skill's 'Sleep while /ship runs' bullet back under the eagerPerInvocation.capy/skill/gstack context-budget ceiling (5372 > 5315 tok failed test/context-budget-ratchet.test.ts in Free Tests run 42169300422). Review-Finding: capy/skill/gstack/SKILL.md:58:testing reader=core Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
3 tasks done
capy-ai Bot
added a commit
that referenced
this pull request
Nov 6, 2026
…628) (#4075) * review collect: a rating verb denies a severity like "is" does (GST-1628) A reader closing sentence such as "None of these rises to CRITICAL." (gstack-evals#247) or "Nothing reaches the CRITICAL floor." (#4055) collected as CRITICAL because the denial grammar only knew copulas. Rating verbs now deny in closingSummary and summaryCandidate; a regression corpus of 12 captured reader outputs pins 16 real CRITICALs and both phantoms. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes A rating verb no longer denies a severity it takes as its object ("Neither fix clears the P0."): "the <label>" rates only with a floor noun after it, and clear is no rating verb. The floor nouns apply only after a rating verb and end at a word boundary, so "no CRITICAL barrier" keeps its label and the pre-GST-1628 denial branch is unchanged. Review-Finding: v1/adversarial-native#1 reader=adversarial-native Review-Finding: v1/outside-voice#1 reader=outside-voice 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>
Merged
5 tasks done
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 changed
The Capy skill's /ship-subagent bullet now says the lane sleeps while /ship runs, then subscribes, reads the PR once, stops the subagent and runs ready itself.
Before/after as text: The Capy skill's /ship-subagent bullet now says the lane sleeps while /ship runs, then subscribes, reads the PR once, stops the subagent and runs ready itself
The same sequence is written out in
docs/captain.md(the lane's /ship sequence, with a table naming who owns each READY duty) and in step 3 ofcaptain/templates/brief.md.Why
A lane stayed awake beside its /ship subagent, and no doc said whether /ship or the lane owned each READY step, so
train buildrefused pins withQUEUE_NOT_READYfor a step nobody ran (seen twice on 2026-10-28). Now the lane dispatches /ship and goes to sleep. It wakes once when /ship completes, catches up on the PR's checks and comments, and runsgstack-ship-queue readyitself. Every READY duty has one named owner.Blast radius
This is prose only: two docs, one template and the Capy skill. No code, gate or test changed. The one thing a reader can trip on is the context budget for the Capy skill. CI showed the first version of the bullet over its ceiling (Free Tests run 42169300422, 5372 > 5315 tokens). The trimmed bullet passes
test/context-budget-ratchet.test.tslocally and in Free Tests run 42170325004 at b19fc09 (script ran).Approvals
No approvals recorded for branch capy/gst-1573-lane-sleeps-during-ship.
Summary
A lane used to stay awake while its /ship subagent ran, with no written split of the READY steps between them. Now it sleeps through /ship, does one catch-up read and owns
ready, the decision-trail audit and theAttentionsection. /ship owns the receipt and the pregate record. ASHIP_PAUSED: base-redcompletion takes step 8 instead, and the docs say what to do with it. The tradeoff: a red check that lands while /ship runs waits for /ship to finish instead of being fixed in parallel.Test Coverage
No application code paths changed: the diff is docs and prose only (
captain/templates/brief.md,capy/skill/gstack/SKILL.md,docs/captain.md, one changelog.d fragment). No test asserts the removed wording.Tests: 1726 → 1726 (+0)
Tests ran: free 1601 (files, carried from Free Tests run 42170325004/1 at tree dda86f6e4afb)
Pre-Landing Review
Pass 1 (batched specialist: testing, security, state-machines, red-team; plus the Step 7 coverage audit) found two informational notes. CI then failed
test/context-budget-ratchet.test.tson the Capy skill bullet (CRITICAL, core). It was fixed in b19fc09 by tightening the bullet without dropping a duty. Pass 2 was a scoped pass: red-team found nothing, the fix-check found two informational notes, the native adversarial reader found four non-blocking notes, and the outside voice (openai/gpt-6.1-sol) found no findings and recommended approval.Noted, below the blocking floor (not looped, per the crew's floor rule):
docs/captain.mdroutes aSHIP_PAUSED: base-red/ship completion to step 8. The brief and the skill bullet don't mention it, and a base-red, budget-STOP or failed /ship leaves the PR unwatched until the lane acts.pregate.jsonover) may not carry remote clearances held in the /ship machine's state root. Unverified.docs/captain.mdstill says both.fc/fix-check#3. It is not a finding, and judge refuses a downgrade, so it is shown asunrecorded=1below.REVIEW_LOOP: passes=2 blocking_found=2 deferred=0 noted=4 fixed=1 scope=frozen unrecorded=1 ledgers_read=4 fix_checks=1 dispatches=2
Gate edits: none detected (GATE_SCAN tagged=0 at b19fc09)
Outside review: openai/gpt-6.1-sol (host subagent), completed, no findings: "approve because the deferred PR-watch handoff preserves fail-closed READY admission".
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
docs/captain.md:327A non-READY /ship completion (SHIP_PAUSED: base-red, budget STOP, failure) leaves the PR unwatched; brief.md and the Capy skill bullet do not mention base-red.docs/captain.md:280Step-ownership header ('steps 3 to 8 run inside /ship') contradicts step 8's lane-owned base-red wait and resume.docs/captain.md:321Fresh-machine fallback (copy pregate.json) may not carry remote clearances held in the /ship machine's state root; unverified.docs/captain.md:331Accepted tradeoff: notices during a re-READY /ship go unread until the completion wake's single read; documented.Exploratory QA
Not applicable: no runtime surface changed.
Design Review
No frontend files changed — design review skipped.
Eval Results
No prompt-related files changed — evals skipped.
Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). Fix: add "Plan: " to the PR body, or run /autoplan.
TODOS
No TODO items completed in this PR.
Documentation
Status: current. The lane-sleeps-during-/ship docs change is consistent across every affected doc, so no edits were needed.
Scope: committed diff 8d712d6..b19fc09 (4 files, all docs); nothing staged, unstaged or untracked. Repo-wide searches for the retired 'stop a finished /ship subagent' and 'subscribe as soon as the subagent opens the PR' wording found no stale copies. capy/skill/gstack/captain.md, runaway-stopper and docs/skills.md agree with the new sequence.
Documentation health:
Coverage debt: none. The change is process prose with no new commands, flags or code. Diagram drift: none, because no changed doc has a diagram.
Test plan
bun run test(free lane): carried from Free Tests run 42170325004/1 at tree dda86f6e4afb, 1601 files.gstack-pregate --allow-repo-commands: PREGATE pass tree=dda86f6e4afb head=b19fc0917de0 checks=7.🤖 Generated with Claude Code