Repository navigation
v1.91.273.0 feat(ship): PR bodies open with the problem and a Blast radius line, and gstack-prose-lint catches autopilot phrasing before /ship publishes a CHANGELOG entry or PR body - #3501
Conversation
…line, and gstack-prose-lint checks the CHANGELOG entry and PR body drafts Absorb lane B (Garry, 2026-10-26: "Do it, send" on plans/absorb-tstack.md item 4 and plans/absorb-pstack.md items 2(a) and 11). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…inputs Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…dropped-article example, keep NOTICE.md unmapped 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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ction in the contributor docs Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…root path that does not exist yet test/runtime-root-assets.test.ts checks every $GSTACK_ROOT/<path> literal in a host render against the staged root; investigate/sections/blast-radius.md lands with its own lane, so the Blast radius item and the Capy body step now say "the /investigate skill's Blast radius section, when present". Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
The docs re-audit found capy/skill/gstack/SKILL.md (Merge asks) and docs/capy-install.md still listing the Capy PR body as What changed, Why, Approvals; both now match capy-pr.md.tmpl. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
… the publication-gates fixture stages gstack-prose-lint beside gstack-post test/ship-publication-gates.test.ts runs the real compose block under a HOME whose installed bin dir held only gstack-post, so the block's new gstack-prose-lint call failed with "No such file" on every CI free lane; the fixture now stages both bins the blocks call, and the lint's ok line goes to stderr so the composed body is the only stdout. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…radius-prose-lint (rule 19 grant, GSTA-36; CHANGELOG via mergeChangelogs) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
E2E Evals: ✅ PASS125 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $31.57 rule/judge cost | reconcile exit: 0 Profile: pr / mode Full gate restored by:
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 |
…radius-prose-lint (rule 19 grant, GSTA-36; CHANGELOG via mergeChangelogs, NOTICE.md additive) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…radius-prose-lint (rule 19 grant 3, GSTA-36) CHANGELOG via mergeChangelogs; NOTICE.md additive (main's pstack blocks first, this PR's unslop entry after); docs/capy-install.md takes #3496's sentence with "Blast radius" added; result codes, troubleshooting anchors and the doctor-components render additive (regenerated); ship parity cap re-measured on the merged tree: 328,319 / 187,706 = 1.7491, pinned at 1.7500. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
MERGE_CONDITION: sha=2876f377765c4655cf2f4aee1f328bfbf4c54a68 next: NEW_VERSION=1.91.273.0; commit and push only the stamp diff above (FILES), with no edit of your own: the train's verify accepts the CHANGELOG only as the base's plus this PR's entry re-headed; merge with the expected head 2876f37 and recompute on a stale queue. GSTACK_RESULT: skill=restamp status=complete run=/workspace/gstack/.gstack/tmp/restamp-journal.json Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
What changed
The /ship PR body now opens with the problem in the user's words and then the fix, and carries a
## Blast radiusline, so a reviewer learns why the change exists and what else it could break before reading the file list.Before/after as text: The Summary now opens with the user's problem and the fix, and a Blast radius line says what else the change touches and why that is safe
gstack-prose-lintnames each autopilot tell in the CHANGELOG entry and the PR body drafts before /ship publishes them, and the Quality gate workflow runs the same check over## [Unreleased]on every PR.Before/after as text: gstack-prose-lint names each autopilot tell in a slopped CHANGELOG entry and exits 1 under --gate; the rewritten entry passes
Why
"Write every idea in gstack's own words"; the absorb plans (plans/absorb-tstack.md §4 item 4, plans/absorb-pstack.md §4 items 2(a) and 11) found that a /ship PR body opened with an inventory of files, said nothing about what else the change could break, and let autopilot phrasing through because nothing checked prose mechanically. The body now opens with the problem and the fix, carries a Blast radius line with the evidence rung it reached, and a regular-expression lint gates the CHANGELOG entry and the body drafts, with the lint advisory everywhere else.
Blast radius
Three lazy /ship sections (pr-body, capy-pr, changelog) and the quality-gate workflow; no skeleton byte moves in this lane (ship/SKILL.md is byte-identical to main's, 82,697 bytes since #3487; 82,645 before it), and the only pinned size that moved is the ship parity union cap, raised from main's 1.7400 (#3487's value) to 1.7500 to hold the two sections' new prose (the merged tree at 2876f37, main f27a760 / v1.91.270.0 included, measures 328,319 / 187,706 = 1.7491, a script that ran; main's own 1.7400 would fail here, and #3434's hoist lowers the union, so the cap is re-measured once more after #3434 lands). The lint reads only the
## [Unreleased]block or the lines this branch added, so no released entry can turn the Quality gate red (test/prose-lint.test.ts, 24 tests, a script that ran), and the two docs-facing templates name the evidence ladder by skill because test/runtime-root-assets.test.ts checks every runtime-root path a host render names (a walked failure path: it failed once on the remote free suite before the rename).Approvals
Source: gstack-approvals record for absorb-b-pr-body-blast-radius-prose-lint (display only; not an approval citation).
Summary
Nobody reads a CHANGELOG entry or a PR body twice, so a /ship PR opened with a file inventory, said nothing about what else the change could break, and let autopilot phrasing through. The body template and its Capy counterpart now ask for the problem first and then the fix, add the
## Blast radiusitem (what else the change touches, the one fact that makes that safe, and the evidence-ladder rung that fact reached; the ladder itself is the/investigateskill's Blast radius section, landing with GSTA-122), and the new-PR title rule asks for what the user gets.lib/prose-lint.tsandbin/gstack-prose-lintdecide eight tells a regular expression can decide (not-just-but, metaphor nouns, dropped articles, mid-sentence colons, inline header lists, arrows that stand for a sentence, a vocabulary list, and an unclosed fence or comment), skip fenced code, inline code, URLs, HTML comments and quoted words, and select the[Unreleased]block, the lines a branch added (--base), or named sections (--sections);--gateexits 1 withPROSE_LINT_FOUNDand a line per finding to rewrite. /ship Step 13 lints the CHANGELOG entry before the commit, Step 19 gates the body drafts' Why, Summary and Blast radius sections before composing, and.github/workflows/quality-gate.ymllints## [Unreleased]on every PR. Themes: the ship templates, the lint and its bin with fixtures and tests, the quality-gate step, the result code and its troubleshooting anchor, the NOTICE.md courtesy entry for pstack's word lists, and the contributor docs naming the gate.Test Coverage
Tests: test/prose-lint.test.ts is new (24 tests, 158 expect calls) and covers each rule with a positive and a negative row, the skipped classes (fences of both kinds and lengths, inline code, URLs, single- and multi-line HTML comments, quoted words), the three selections,
--gateexits, the usage exits, and the wiring of Step 13, Step 19, the Capy section and the quality-gate step. Two fixtures under test/fixtures/prose-lint/ carry the slopped and the rewritten entry. The adversarial-regex timing probe (a 40,000-token line and 1,500 masked fence lines) ran during review and is not a committed test.Tests ran: free (remote Ubicloud, whole free tier) 21879
Tests ran: focused bun test (prose-lint, parity-suite, runtime-root-assets, capy-skill-wrapper, context-budget-ratchet, ship-publication-gates, paid-free-boundary, carve-guard-completeness, doctor-components, troubleshooting-anchors) 341
Pre-Landing Review
Eight passes under
review_scope frozen. Pass 1 (6 specialists + Red Team) found one blocking finding: the compose gate linted the verbatim tool sections, so an arrow likeProblem → what you didin the review legend would have dead-ended Step 19; fixed with--sections. Pass 2 found that an inline-code<!--opened a comment and blanked the rest of the file, and that a##heading inside a fence re-selected sections; fixed. Pass 3 converged. Step 11 (Claude adversarial, GPT outside voice) found that the gate rejected the person's quoted problem under## Why; quoted words are now never read, and pass 4 returned only below-floor notes. Pass 5 reviewed the 27-line range after the ladder-reference rename and pass 6 the 19-line range after the CI fix (the publication-gates fixture staged only gstack-post, so the compose block's new lint call failed on every CI free lane; the fixture now stages both bins and the lint trailer goes to stderr), each with the state-machines specialist, a Claude adversarial read and the GPT outside voice: NO FINDINGS on both. Pass 7 read only the merge of origin/main d9b0d60 (v1.91.267.0) into the branch (commit 5619199, the second rule-19 grant): the three voices confirmed NOTICE.md additive (10 added lines, nothing of main's lost), CHANGELOG.md as the branch's## [Unreleased]block over main's 680 unchanged headings, the 26-file branch set identical before and after the merge, and generated docs FRESH; the one note (a stale measured figure in the cap comment) was overtaken by pass 8. Pass 8 read only the merge of origin/main f27a760 (v1.91.270.0, carrying #3494, #3496 and #3487) as commit 2876f37, the third rule-19 grant: NOTICE.md additive after main's two pstack entries, CHANGELOG.md as the## [Unreleased]block over main's 683 unchanged headings, docs/capy-install.md keeping #3496's sentence with "Blast radius" added, PROSE_LINT_FOUND beside main's three new result codes with the doctor-components render regenerated, th... (line truncated to 2000 chars)REVIEW_LOOP: passes=8 blocking_found=2 deferred=0 noted=14 fixed=9 scope=frozen
Gate edits: 1 listed, 1 read, 0 findings — 0 kept, 0 restored, 0 open
maxSizeRatio1.7400 → 1.7500 on the merged tree; 1.7150 → 1.7250 before v1.91.270.0 feat(ship): version-less repos, docs-audit record and caps, the frozen-scope paid case, and the review-loop follow-ups #3487 landed): the ship parity union cap, raised to hold the two lazy sections' new prose; the merged tree measures 1.7491 and this lane did not grow the skeleton.Outside review: GPT (openai/gpt-6.1-sol) as the outside voice on passes 4 to 8; pass 4 found 5 issues (one P1, fixed in cc5ff0f), passes 5 to 8 NO FINDINGS. The Codex CLI is not installed in Capy, so the GPT subagent is the outside voice, not degraded coverage.
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
lib/prose-lint.ts:247in --base mode an unclosed-block finding sits on the opener line, which is filtered out when only the closer (or only later lines) were added; the added lines after it go unread and --gate passeslib/prose-lint.ts:208sectionsOnly drops walkBlocks' unclosed-block result, so a fence or comment left open in an ungated section (## What changed) hides every later gated heading and --sections --gate passeslib/prose-lint.ts:150straight quotes are paired by position, so a stray inch mark or lone quote shifts the pairing and masks prose between unrelated quotes; a quoted phrase of up to 400 chars is also an authoring escapelib/prose-lint.ts:104a line opening with an inline triple-backtick span (xis a span) is read as a fence opener and becomes a false unclosed-block findinglib/prose-lint.ts:137the unclosed-comment check runs before quote and link-text masking, so a quoted<!--inside quotes or link text opens a comment and blanks the following lineslib/prose-lint.ts:100NUMERIC_SIDE now needs a leading digit, so.5 → .6and~12ms → 8msare arrow findingslib/prose-lint.ts:210blanking a selected heading line that carries a trailing<!--loses the comment opener, so the hidden comment text is lintedbin/gstack-prose-lint:59--sections --gate exits 2 only when none of the headings is present; a missing one among several passes unread, and with two files the exit-2 check runs before the first file's findings printlib/prose-lint.ts:184the arrow rule's empty-side guard has no test rowbin/gstack-prose-lint:23the first --help line omits quoted words from the skipped classes and the header does not mention the --sections --gate exit 2Exploratory QA
CLI surface bin/gstack-prose-lint, report-only, 37 captures across smoke (97d562c) and revalidation at a681c00, 0a74193 and cc5ff0f: clean block ok exit 0; slopped block under
--gateexit 1 with 12 findings on the fixture's own lines; two selections at once exit 2; unreadable file exit 2; the Step 13 shape (--base origin/main --gate) exit 0; the Step 19 shape over a sample body with arrows in the review legend exit 0 and over a slopped Summary exit 1 with findings only on that line; the inline-code<!--case exit 1 with 2 findings; a body quoting the person's problem under## Whyexit 0; a body with none of the gated headings exit 2;--jsoncontract exit 0. No finding reproduced after the fix passes. The gstack-post step around the lint and the quality-gate.yml step were not run end to end; CI exercises both on this PR.Design Review
No frontend files changed — design review skipped.
Eval Results
Prompt files changed (three ship sections), so the paid cases run in the train gate and the READY screen, not here:
bun run eval:select --base origin/mainresolves to profilepr (full-fallback)because NOTICE.md is a deliberately unmapped dependency, which restores every gate case and judge. Free checks on this tree:bun test test/parity-suite.test.tspasses, the ship union ratio is 1.7491 under the 1.7500 cap on the tree with v1.91.270.0 merged in,bun run gen:skill-docs --host alland the ship goldens report fresh, andgstack-prose-lint CHANGELOG.md --unreleased --gateis ok. Paid spend by this lane: $0.Plan Completion
plans/absorb-tstack.md §4 item 4 and plans/absorb-pstack.md §4 items 2(a) and 11: 21 items audited, 20 done, 1 partial. The partial item is the evidence ladder itself, which lives in the
/investigateskill's Blast radius section (GSTA-122, #3500); this PR links to it by name. A 6-gram overlap check against the tstack and pstack sources found one leaked example sentence in a test fixture, replaced; overlap is now 0.Verification Results
Step 8.1 obligations: 21 PASS, 0 FAIL, 0 BLOCKED, 0 NOT RUN. The pregate preflight (regen, secrets, strays, literals, timing, guards) passed on the final tree and the remote gate ran the whole free tier on it: 21,682 tests on 966b261908f8, 21,689 on 07b088d9c06a, 21,718 on the first merged tree 952f131d104b, 21,835 on ebf89760ac3b (main d9b0d60 merged in) and 21,879 on the pinned tree e2b6ded452fd (main f27a760 merged in), 0 failed each time. The three platform lanes (free-tests.yml/cso-macos-launcher, free-tests.yml/macos-named-regressions, windows-free-tests.yml/windows-free-shard) are cleared with the pull_request runs 40473291375 and 40473291106 on the pin;
gstack-pregate verifyis ok for tree e2b6ded452fd.TODOS
No TODO items completed in this PR.
Documentation
Status: updated. Two stale PR-body order lists now name the new
## Blast radiussection; no blockers.Scope. Base 576839c, head b3d3e73 (23 committed files; no staged, unstaged or untracked content before this run). Re-audit after b3d3e73 changed the evidence-ladder reference to "the
/investigateskill's Blast radius section, when present". Audited the repository's docs and authored templates against bin/gstack-prose-lint, lib/prose-lint.ts, the quality-gate workflow, PROSE_LINT_FOUND and the pr-body, capy-pr and changelog templates. No authored doc cites investigate/sections/blast-radius.md as existing. Generated files, templates, CHANGELOG, VERSION, TODOS and manifests were not edited, so no regeneration is required.Documentation health:
README.md, CLAUDE.md, AGENTS.md Current (no mention of the touched surface)
CONTRIBUTING.md Current (Quality gate bullet matches the workflow step)
docs/CHANGELOG_STYLE.md Current (Step 13 lint bullet matches changelog.md.tmpl)
docs/PROJECT_STRUCTURE.md Current
docs/captain.md Current (step 7 order matches capy-pr.md.tmpl)
docs/troubleshooting.md Current (rules, selections, exit 2 on a missing --sections heading under --gate, anchor and Step 13/19 references verified)
NOTICE.md Current
CHANGELOG.md Current, not edited
capy/skill/gstack/SKILL.md Updated: Merge asks body order now What changed, Why, Blast radius, Approvals
docs/capy-install.md Updated: Working under a Captain body order now names Blast radius
TODOS.md Not edited (out of scope)
Documentation coverage (Step 1.5):
gstack-prose-lint reference: troubleshooting, CONTRIBUTING, bin help | how-to: CHANGELOG_STYLE | tutorial: none | explanation: NOTICE.md, lib header
Blast radius reference: pr-body, capy-pr, docs/captain.md, capy SKILL.md, capy-install.md | how-to: none | tutorial: none | explanation: the /investigate Blast radius section does not exist yet (cited as when present)
PROSE_LINT_FOUND reference: result-codes-release.ts and the troubleshooting anchor | covered
Documentation debt: docs/skills.md /ship section has no how-to for the prose lint or the problem-first Summary (new narrative, left for the author or /document-generate). The merge-ask shape C docs and bin/gstack-pr-shots usage caption do not list Blast radius; left for the parent (contract text and script text). Diagram drift: none.
Test plan
bun test test/prose-lint.test.ts test/parity-suite.test.ts test/runtime-root-assets.test.ts test/capy-skill-wrapper.test.ts test/context-budget-ratchet.test.ts test/ship-publication-gates.test.ts test/paid-free-boundary.test.ts test/carve-guard-completeness.test.ts test/doctor-components.test.ts test/troubleshooting-anchors.test.ts: 341 pass, 0 failbun run typecheckandbun run typecheck:test: zero product errors, no new test diagnosticsbun run gen:skill-docs --host all --dry-runandbun scripts/gen-ship-goldens.ts: fresh on the merged treebun --no-env-file --config=/dev/null bin/gstack-prose-lint CHANGELOG.md --unreleased --gate: PROSE_LINT: ok files=1gstack-pregate --stage all --remote(Ubicloud, run gsta121-merged3-1): 21879 tests, 0 failed on tree e2b6ded452fd🤖 Generated with Claude Code