Repository navigation
Release check's docs-audit tests accept /ship's step for a stopped docs audit (GST-3569) - #4731
Merged
Merged
Conversation
…cs audit (GST-3569) The ship doc-sync fixture's Prepare snapshot now passes --run like /ship's Prepare, and its command checker admits the stopped-audit snapshot flag with a private .json. Release check 45090367252 held the stable release on ship-docsync-recovery, -stale-before and -stale-after because of both gaps. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…cs audit (GST-3569) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…ad of a cast (GST-3569) 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
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.
The release check's three ship doc-sync tests pass again when the model follows /ship's instruction for a docs audit that stopped before its snapshot.
Why: these tests have held the stable release since main 5962f0d; the test fixture left out the
--runrecord /ship always passes, and its command checker didn't know the new snapshot flag.Nothing to do: test-harness change only; product code is unchanged.
What changed
The release check went red on ship-docsync-recovery, -stale-before and -stale-after, so stable couldn't move. /ship's docs steps now tell the model to record a docs audit that stopped before its post snapshot with a new snapshot flag, and every trial that followed that instruction failed inside the test fixture, not in /ship. Two fixture gaps caused it. The fixture's own audit snapshot left out
--run <invocation record>, which /ship's Prepare line always passes and the new flag requires, so the model's post snapshot was refused and it stopped as blocked. And the fixture's command checker didn't know the flag, so it called the command "outside declared docs observation interface". The fixture now passes--runlike /ship does, and the checker accepts the flag with the same private-file rule as--pre. A new free test replays the two commands captured from the failing release check and a real snapshot sequence.Why
A red release check blocks the stable channel, and main holds a security fix and several blockers that should already be on stable.
Blast radius
Only the paid ship doc-sync fixture and its free tests. All 13 doc-sync cases share the fixture; the added
--runputs arun_idin their audit records, which /ship's own Prepare already does (ship/sections/documentation.md, Prepare step 3, read). Nine paid trials of the three red cases passed at the fix, all of them using the new flag.Test Coverage
No new product code paths: the diff changes only test helpers, one new test, the Windows exclusion list and a release-note fragment. Tests: 1893 → 1894 (+1 new file). The new test's captured-command and replay checks fail on main's helpers (2 of 3 tests) and pass after the fix.
Tests ran: test 1774 (files, from CI)
Pre-Landing Review
No issues found. The second-model review was skipped by the review plan (code change with no numeric claims).
Exploratory QA
Smoke, 2 of 2 passed: the new regression test at HEAD, and the checker's refusal controls (relative, in-repo, non-JSON, skills-folder and /etc paths, missing value, misspelled flag). No plan checks are bound.
Design Review
No frontend files changed — design review skipped.
Eval Results
Paid proof, planned before launch: 3 trials each of ship-docsync-recovery, ship-docsync-stale-before and ship-docsync-stale-after at 8f97c23, which has the same fixture bytes as this head. Result: 9 of 9 passed, about $4. Before the fix, every trial of these cases at main 17afb68 or later in the release check's bisect failed.
Review bot comments
No review bot comments.
Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches).
Verification Results
No Step 8.1 obligations: no plan is bound.
TODOS
No TODO items completed in this PR.
Documentation
Status: current. The docs needed no changes.
What was checked: the 6 committed files from base ccd80de to head aa265c3 (no staged, unstaged or new files). These are the docs-sync test fixtures (
test/helpers/docsync-repo.ts,docsync-observer.ts,docsync-fault-actor.ts), a new regression testtest/docsync-stopped-audit-snapshot.test.ts, aKNOWN_WINDOWS_INCOMPATIBLEentry inscripts/lib/windows-curation.tsand a changelog.d fragment.Documentation health:
--carry-stopped)Coverage debt: none, because nothing user-facing changed. Diagram drift: none.
Tests
bun test test/docsync-stopped-audit-snapshot.test.ts: 3 pass (2 fail on main's helpers)bun run typecheckandbun run typecheck:test: clean, no new diagnosticsAgent notes
Agent notes
Diagnosis (GST-3569): release gate runs 45090367252 (main 79f3052) and 45043202812 (5962f0d) were both red on the same three cases. The red started at 25bf93c (#4693, which added
--carry-stopped) and became near-certain at 45e33b5 (#4703, which moved it into Parent processing). The bisect was non-monotone (GGGRGRR) because the parent used the flag on only some trials, not because of load. Not caused by #4708, #4712, #4717, #4719, #4722 or #4723. docsync-spawned's one flaky failure is a separate observer atomic-write shape and is not touched here.Paid proof EVALS_RUN_ID gsta818-docsync-8f97c23: recovery 3/3, stale-before 3/3, stale-after 3/3, every trial running
--carry-stopped.REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen ledgers_read=2 dispatches=1
Gate edits: none detected (4 listed, 3 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Approvals
No approvals recorded for branch fix/docsync-fixture-stopped-audit-flag.
Plan: exempt: s1
Plan check: exempt s1
Refs GST-3569