Repository navigation
Conversation
…at follows its skill halts the run Entire-Checkpoint: 4c21c595c23a
Entire-Checkpoint: 4c21c595c23a
Contributor
Author
Read firstComputed from the diff, the issue's Residue
Tests
Explained
AC verdict: the |
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.
Summary
parseSpecDivergencenow reads markers through a sharedscanMarkerJsonand validates withPhaseMarkerSchema.omit({ timestamp: true }). The spec skill's marker has notimestamp, so the old read dropped it and the run went on to exec.parsePhaseMarkersand phase detection are unchanged.AC verification
phase-executor.test.ts"divergence without timestamp" (3 cases: spec shape, fenced, exec shape), passingbatch-executor.test.ts"spec divergence without timestamp halts before exec" runs raw output through the realmapAgentSuccessToPhaseResult, then the batch loop; exec is not invokedphase-detection.test.ts57 passedChecks: build, lint pass. Affected set
vitest run --changed origin/mainin 3 shards: all green exceptworktree-manager.test.ts"1405 AC-3 a stale tracking ref…", which is outside the diff.Settled against base
scripts/settle-against-base.shon that test: passes at HEAD and at base when run alone, so it failed only under shard load (flake, not this change).Closes #1691
🤖 Generated with Claude Code
Runner verification (2026-11-16)
I ran each AC's Evidence command verbatim in the worktree at ec86064.
-t "divergence without timestamp", 3 passed, 0 failed.-t "spec divergence without timestamp", 1 passed, 0 failed.phase-detection.test.ts, 57 passed, 0 failed.The real case: the exact marker #1688's spec emitted on 2026-11-16 (no
timestamp) now returns{"acs":"AC-3", …}fromparseSpecDivergence; onmainit returnedundefined. The same marker inside a fenced code block still returnsundefined.Follow-ups
None raised by spec or QA.