Repository navigation
v1.91.285.0 docs(captain): plan before build — a sized /autoplan is a building lane's first act, the owner's word gates the build - #3521
Merged
Conversation
…ne's first act, the owner's word gates the build (GSTA-130) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…oplan sized to the work, ELI5 with rec and do it, APPROVED before the build, /ship at the final head, no merge without the owner's word) (GSTA-130) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…en written over a truncated read (GSTA-130) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…the Capy skill stays under its 4120-token eager ceiling (GSTA-130) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e controller checks the row against its relay, brief.md spells the full answer command and carries the run dir, first act after the install check (GSTA-130) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…plate command lines docs/skills.md and docs/PROJECT_STRUCTURE.md enumerate captain/templates/ and omitted brief.md (document-release audit gsta130-docs-1). brief.md's restore line now names the checkpoint dir that resume --from takes, and plan-ask.md's answer line carries --rec-hash like brief.md (ship review pass 2). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Merge origin/main (10b77de) into gsta-130-plan-before-build and stamp slot 1. FILES: CHANGELOG.md VERSION agents-digest/gstack-AGENTS.md package.json MERGE_CONDITION: sha=158850a44c14de6980211ff716bb839457edd5b4 next: NEW_VERSION=1.91.285.0 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.
What changed
Before/after as text: The /captain skill's approvals part names Plan before build and the brief template
Before/after as text: The crew contract gains rule 24; crew rules now number from 25
Before/after as text: Lanes now start with the brief, which says whether a plan is required
Before/after as text: Every Capy thread gets the short form: autoplan sized to the work, ELI5 with rec as the default, build after APPROVED, /ship at the final head, no merge without the owner's word
New:
docs/captain.md§ Plan before build (the rule in full: who plans, the first act sized to the work, what the lane sends, what the controller relays, the build gate atAPPROVED, the record, the exemptions),captain/templates/brief.md(the controller's brief, with aPlan: required | approved: <run dir> | exempt: <reason>line, three steps and a done line naming the approval row) andcapy/skill/gstack/SKILL.md§ Plan, approve, ship (the same rule in the short form every Capy thread reads, withcapy/skill/gstack/captain.md§ 3 pointing at it).docs/skills.mdanddocs/PROJECT_STRUCTURE.mdname the lane brief in their template lists.Why
The owner asked that a thread which makes something new, or takes on new functionality, plan it with /autoplan first and bring the plan as an ELI5 for approval. Until now that rule lived only in one crew's rules file, which no crew set up from gstack's templates would read; the first chance to say "smaller" or "not that way" was a finished PR with a paid gate behind it. The /captain skill,
docs/captain.mdand the crew templates now carry the rule, so every crew inherits it and the crew file can shrink to a pointer.Blast radius
Prose and templates only:
docs/captain.md, four files undercaptain/(the skill template and its generated SKILL.md, the CREW and plan-ask templates, the new brief), the two Capy skill files (capy/skill/gstack/SKILL.md,captain.md), two template lists (docs/skills.md,docs/PROJECT_STRUCTURE.md),test/captain-skill.test.tsand the CHANGELOG. No tool, flag, threshold or READY field changes; the merge-train and READY sections are linked, not edited, andcaptain/templates/slot-call.md,docs/ship-policy.md,bin/gstack-ship-queueandlib/restamp.tsare untouched. The paid selection for this diff is empty (captain/templates/**, docs and the changelog select no case), so the evidence is the free tier: the whole free suite on one Ubicloud VM (18,045 tests, 0 failed, tree 0b8eea0b21f0),bun run typecheck,bun test test/captain-skill.test.ts(pins the template set at 12 files, the CREW template at 24 rules and the docs table at 24 rows), the skill size guard, the context-budget ratchet (captain eager tokens under the 6,551 ceiling; the Capy skill under its 4,120 ceiling), the parity suite andgstack-prose-lint CHANGELOG.md --unreleased --gate, all green at this head; Free Tests and Windows Free Tests ran at this head by dispatch because the only conflict with main is CHANGELOG.md, which the train's stamp resolves additively.Approvals
Documentation
Scope: the two blockers of gsta130-docs-1 (captain/templates/ enumerations in docs/skills.md and docs/PROJECT_STRUCTURE.md). Result: both now name the lane brief; no other enumeration in docs/ or README.md omits brief.md. Debt: none.
Pre-Landing Review
REVIEW_LOOP: passes=3 blocking_found=0 deferred=0 noted=1 fixed=10 scope=frozen
Three review passes in total, with 10 fixed, 1 noted, 0 deferred and nothing at the blocking floor. Pass 1 (core + adversarial, the whole diff): 0 critical, 9 adversarial findings, eight of them changed in the diff (the import
--byflag, the controller's compare rule,--estimate-usdbeside the spend cap, run dir instead of run id, the fullanswercommand, one "first act" after the install check, the launch env and checkpoint dir in the brief, the CHANGELOG pointer wording). Pass 2 (the fix range): 0 critical, 2 informational, both changed (theresume --fromtarget is the checkpoint dir;plan-ask.md'sanswerline carries--rec-hash). Pass 3 (the four-line fix batch, one reviewer): NO FINDINGS, GATE: kept. Outside voice: not run, docs-only diff. Gate edits: none detected (the test hunk tightens the template pin from 23 to 24 and removes nothing).Review notes
captain/templates/CREW.mdrule 24, the "daily flaky pass's repairs" exemption is wide: those repairs can touch detectors and judged prose. Kept as the owner worded the rule; narrowing it is a separate ask.