Repository navigation
Write down what a lighter gate for crew-only pull requests would save, and how Phase 2 will switch crew steps (GST-1833) - #4144
Merged
Conversation
…ed, and the switch for Phase 2 (GST-1833) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: docs/designs/GSTACK_ON_CAPY.md:89:documentation reader=core Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
3 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.
Adds a design note that measures what a lighter gate for crew-only pull requests would have saved, and specifies the one switch Phase 2 will use so
/ship,/reviewand/autoplanrun crew steps only on Capy. It serves gstack's goal of shipping without wasted spend, and changes no code or gate policy.What changed
gstack-crew-stepwrapper, shared code calls them only throughlib/crew-hooks.ts, and each step has a defined result when crew is absent. The note has a table of the absent behaviour per step and the checks Phase 2 must pass (a no-crew install job, byte-identical Capy output, focused evals with a no-loss bar).Picture: not attached. The picture tool refused the note's text because an 11-digit CI run id in the method section matches its phone-number pattern; the text above stands in for it.
Why
Garry asked for a measured number before deciding whether crew-only pull requests should get a lighter gate. This note gives that number from recorded CI runs, for free, with its caveats, and fixes the interface Phase 2 builds so gstack works without the crew tools outside Capy.
Blast radius
Two new files:
docs/designs/GSTACK_ON_CAPY.mdand onechangelog.d/fragment. Nothing imports, generates from or tests against either file (pregate mapsdocs/**andchangelog.dto no tests; regen and guard checks report no registered input touched), so no behavior can change (evidence: pregate and finish ran on this tree).Approvals
Approved: yes (record r-99e90e0c8eb1). The full approval record stays private: this repository is public or its visibility is unknown.
Plan: approved (record r-dade9f38e7ca)
Plan check: approved (record r-dade9f38e7ca)
Summary
Phase 0 (a) and (b) of making crew tooling an optional gstack-on-Capy layer: a cost measurement for Garry's gate decision and the Phase 2 hook spec. Review added one small wording fix, so the note now says the Capy-machine check and its test come from #4143, since they are not on main yet.
Test Coverage
No runtime file changed, so there is no coverage diagram (Step 7 audit: skipped, no runtime file changed).
Tests ran: test 1631 files (carried from the free-tests CI run at 976ec4f, tree 6b70b88; 6 CI-skipped files owed nothing here)
Pre-Landing Review
Pre-Landing Review: 1 issue — 1 auto-fixed, 0 asked, 0 deferred, 0 noted
gstack_on_capy,onCapyMachineandtest/crew-skills-on-capy.test.tsas existing today, but they arrive with Install /captain only on Capy machines (GST-1833) #4143 → now says so (below the blocking floor; fixed on pass 1).REVIEW_LOOP: passes=2 blocking_found=0 deferred=0 noted=0 fixed=1 scope=frozen ledgers_read=2
Gate edits: none detected (0 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: clean. A cross-family reader (openai/gpt-6.1-sol, medium) read the final tree and found nothing blocking; it did not reproduce the spend totals itself. The parent checked the published numbers against the measurement files instead (see Verification Results).
Exploratory QA
Not applicable: docs-only diff with no runtime behavior. In place of probes, the parent checked every repository path the note names (all exist on main except the three names #4143 adds, now marked as such) and cross-checked the numbers against the per-PR data (see Verification Results).
Design Review
No frontend files changed — design review skipped.
Eval Results
No prompt-related files changed — evals skipped. Paid budget for this run was $0.
Review bot comments
No review bot comments.
Scope Drift
Scope Check: CLEAN
Intent: record the crew-only gate cost measurement and the Phase 2 crew switch spec (GST-1833 Phase 0 (a) and (b)).
Delivered: one design note and one changelog fragment, docs only.
Plan Completion
Plan: docs/designs/GSTACK_ON_CAPY.md (the only design file this branch changed; it is also the deliverable). 3/3 DONE, 0 PARTIAL, 0 NOT DONE, 0 CHANGED, 0 UNVERIFIABLE: the measurement (section 1), the Phase 2 spec (section 2) and the changelog fragment. Phase 1 and Phase 2 implementation are later phases.
Acceptance edits: baseline unavailable (the plan is new on this branch).
Issues
Refs #4143
Verification Results
The plan names no executable checks for this phase (0 PASS, 0 FAIL, 0 BLOCKED, 0 NOT RUN). Published numbers, checked by the parent against the Captain drive's measurement-prs.tsv and measurement-raw.md: 54 crew-only pull requests (40 strict plus 14 with non-crew tests); $711 recorded paid evals ($245 screens plus $465 train share); 5,454 cases and $1,878 through today's selector; 3 of 54 select zero cases; 16 crew-only pull requests merged on or after 2026-11-04, all $0; widening to the 22 adds up to $1,044 and $2,659; group totals add up (260 = 54 + 22 + 184; $4,467; 373 extra rounds). The modelled column was not re-run here (
scripts/gate-cost-replay.ts, read from the measurement record).TODOS
No TODO items completed in this PR.
Documentation
Scope: the diff from 5f9b7ef to HEAD adds two files, docs/designs/GSTACK_ON_CAPY.md (a new design note on what crew-only pull requests cost and the Phase 2 crew switch) and one changelog.d fragment. There were no staged, unstaged or untracked changes.
Result: current. The note's references to files that exist today check out. Three names come from #4143 and are not on main yet: test/crew-skills-on-capy.test.ts, gstack_on_capy and onCapyMachine. No user-facing docs (README, docs/skills.md, AGENTS.md) describe behavior this change touches, since the change alters no behavior.
Debt: if #4143 lands without those names, the note's switch section needs a follow-up edit.
Test plan
Agent notes
GST-1833 Phase 0 (a) and (b), approved by Garry in FOUN-32, 2026-11-07. The number goes to Garry through the Captain before any gate policy changes. Raw per-PR data and scripts: Captain drive handoffs/GST-1833/measurement-raw.md and measurement-prs.tsv. Docs only; no release-path files.