Repository navigation
Doc-sync eval fixture allows /ship's format repair, so a dropped result field no longer fails ship-docsync-current - #4555
Merged
Conversation
…lt field no longer fails ship-docsync-current The fixture interface and observer admit gstack-docs-candidate repair-prompt and result --repair-of, the two commands Step 14.5 runs after FORMAT_REPAIR:, and the case accepts a repaired line once result --repair-of applied it. Census 44432023197 went red because the parent correctly stopped without them. 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>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
A format repair now stands for a doc-sync attempt only when the applied result call names that dispatch's audit id. Review-Finding: p1/specialist-batched#1 reader=testing Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
The format-repair check reads the result call's arguments the way the fixture grammar does, so quoted audit ids and paths still count. Review-Finding: p1/outside-voice#1 reader=outside-voice Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 20, 2026
- Two /ship approval records stop needing workarounds. (#4549) - For contributors: the paid auto-decide check counts a start step that ran while the skill loaded. (#4543) - The destructive-command check closes three ways past its disk-wipe and force-push blocks. (#4534) - A green CI run still counts when the repository's artifact storage is full. (#4536) - `/cso` now audits repositories that track symlinks. (#4567) - A doc-sync eval stops failing when the audit child drops one field from its result line. (#4555) - The browse daemon no longer picks port 10080, which Chromium refuses to open. (#4554) - Opted-in telemetry now says why a skill run ended, which coding agent and model family ran it, and whether an upgrade worked. (#4542) - A preregistration with only its write-up and plain data now gets the write-up review: one reviewer, one round. (#4544) - When owner rulings don't clear a stopped review, `gstack-review-read` now says which findings are left. (#4553) - The prompt-routing hook now names your installed bug-fix skill on bug reports, alone, and never puts /verify ahead of it. (#4539) - Owner rulings now close a stopped review whose findings were logged in a findings file. (#4568) - /ship can finish after the owner accepts a stopped review's findings as open notes. (#4552) - /ship no longer starts the full test suite on your machine when CI's earlier run can't be reused (GST-3277). (#4565) - The prompt-routing hook no longer acts on words inside backticks. (#4566) - In Claude Code, a gstack skill's start step now runs when the skill loads, so the model can't skip it. (#4509) - gstack's telemetry backend only accepts writes through its own validated endpoint, and the community dashboard now counts real use. (#4537) - gstack now says what it's adding before it adds a background job or a browser extension. (#4538) - For contributors: every flaky pass in Free Tests is now recorded. (#4572) - For contributors: Free Tests on pull requests starts its test shards one round of small jobs sooner. (#4570) - Secret values written as `name=value` at the end of a path are now hidden. (#4571) 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.
The doc-sync eval fixture now allows /ship's one free format repair, so
ship-docsync-currentno longer fails when the audit child drops one field from its result line.This fixes a flaky paid eval at its cause: the fixture's command list was missing the two commands /ship's documentation step uses for that repair.
Nothing to do.
What changed
The
ship-docsync-currenteval sometimes went red with "completion fields: missing documentation_section". The audit child had done its job, but its last line dropped one field. /ship answers that with a free format repair (gstack-docs-candidate repair-prompt, thenresult --repair-of), and the eval's fixture refused both commands, so the parent correctly stopped. The fixture now allows exactly those two command shapes, and the eval accepts a repaired line only afterresult --repair-ofprintedFORMAT_REPAIR: appliedfor that dispatch's own audit id. The repair agent is not counted as another writer dispatch.Evidence
ship-docsync-currentred oncompletion fields: missing documentation_section; extra none, in-run rerun green. The child audited correctly (docs current), but its last line had nodocumentation_section;resultprintedFORMAT_REPAIR: format-only, and the parent stopped blocked because the fixture did not allowrepair-prompt(its own report says so).test/fixtures/docsync-format-repair-public.jsonreplays that capture: the recorded red reproduces, the product classes it as repairable (checkDocsResult), and a replycheckDocsRepairaccepts stands for the attempt. Negative controls stay red: noresult --repair-of, a refused repair, an applied line from a plainresult, a repair before its result, and a repair after a second dispatch. A repair prompt quotingdocument-release/SKILL.mdis still not a dispatch.Why
The paid gate should fail only on real regressions. This case was red on census 44432023197 and green on its in-run rerun, so it was a fixture gap, not a product bug.
Blast radius
Only test code changes. That is the doc-sync fixture interface, its command observer and the eval's contract helper, which are used by the 13
ship-docsync-*paid cases and two free test files. No product code, prompt, threshold, trial count or case kind changed (read ingit diff origin/main; the free tests below ran).Pre-Landing Review
Two findings, both fixed. A testing reader noted that the repair check did not tie an applied repair to its own dispatch, so it now requires the result call's audit id to match that dispatch. A second-model reader then found that this check kept shell quotes on the audit id, so a quoted id would make a real repair look not applied. The check now splits arguments the way the fixture's command grammar does, and a quoted case was added. A narrower second read of those two fixes found nothing more.
Eval Results
ship-docsync-current focused paid run PASS 1/1 $0.94 at 4bad7a3 (EVALS_RUN_ID gsta668-docsync-current-4bad7a3), reused at 47f1c82: the paid prompt bytes are unchanged since then, and the later docsync-contract.ts change only alters the branch after a repair agent is found, which that run never reached (no repair agent in its transcript).
Documentation
Status: current. No documentation edits were needed.
Scope: the branch
flaky-fix-2026-11-20-docsync-format-repairagainst basebd04289. It holds committed changes only, with nothing staged, unstaged or new. The changes are test helpers and fixtures for the doc-sync eval's one-time format repair (repair-prompt,result --repair-of) and one changelog fragment.Documentation health:
docs/evals/detector-inventory.md: current. Its line citations for the ship-docsync cases still match the code.docs/TEST_PORTFOLIO.md: current. No docsync case or file was renamed.docs/pregate.md: current. It has no reference to the changed behavior.changelog.d/docsync-eval-format-repair.md: current. It matches the diff.Coverage debt: none. The repair flow is already documented in
ship/sections/documentation.md.tmpl. Diagram drift: none.Tests
bun test test/docsync-command-grammar.test.ts test/ship-document-release-dispatch.test.ts test/free-fixtures.test.ts: 242 pass, 0 fail at 47f1c82bun run typecheck:test: 812 known diagnostics, none newAgent notes
Agent notes
Daily flaky pass 2026-11-20 (GSTA-668, GST-3276), ledger entry ship-docsync-current (REPEAT 2026-11-19).
Approvals
No approvals recorded for branch flaky-fix-2026-11-20-docsync-format-repair.
Plan: exempt: flaky
Plan check: exempt flaky
REVIEW_LOOP: passes=2 blocking_found=1 deferred=0 noted=0 fixed=2 scope=frozen unbound=1 ledgers_read=3 fix_checks=1 dispatches=1
Gate edits: none detected (10 listed, 6 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
🤖 Generated with Claude Code