Repository navigation
fix(#1213): spec self-skip on a re-run emits a SEQUANT_SPEC marker restating the prior plan - #1219
Merged
admarble merged 2 commits intoSep 29, 2026
Conversation
Entire-Checkpoint: c8213200d2ea
Entire-Checkpoint: 996937aeb8dc
admarble
deleted the
feature/1213-fix-spec-self-skip-on-a-re-run-must-emit-a-sequant
branch
September 29, 2026 19:03
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
SEQUANT_SPECmarker, but/spec's phase-detection self-skip (whenspec:completedis already found) wrote only a skip message and no marker — latent today because the detection grep never matches escaped JSON, live the day that grep is fixed.SKILL.mdcopies now instructs the agent to fetch the latestSEQUANT_SPECmarker comment and restate it verbatim before exiting, prefixed with a one-line skip note. If no valid prior marker exists, it falls through to normal execution instead of skipping.mapAgentSuccessCore's guard (phase-executor.ts) already accepts a marker found anywhere in the agent's output — the gap was purely that/specnever told the agent to emit one on self-skip.Pre-PR AC Verification
SEQUANT_SPECmarker.claude/skills/spec/SKILL.md(+2 mirrors), § Phase Detection; gate testsrc/lib/__tests__/spec-skill-self-skip-marker.test.tssrc/lib/workflow/phase-executor.test.ts— 2 new cases indescribe("spec phase (#1193)")Mutation records
Test plan
npx vitest run src/lib/__tests__/spec-skill-self-skip-marker.test.ts— 9 passednpx vitest run src/lib/workflow/phase-executor.test.ts— all passed (12 in thespec phase (#1193)block)npm run build— passednpm run lint— passednpm test(full suite) — exit code 0Closes #1213
Refs #1203
🤖 Generated with Claude Code