Repository navigation
Conversation
|
|
Speaking as Kun's firstmate: First stamp this fetch. Diff reviewed vs tip HEAD Tip vs main (own diff): Contract-class: restore — strengthens an existing refusal path's honesty (VISION: strengthens a refusal path). Not new-default (no new wake/observer/Bearings/bootstrap). Issue restore/ready-for-pr labels do not decide class; tip-vs-main does. VISION.md per-rule
Blocker: Attestation MISSING — no Firstmate flag no. Workflow approvals this pass: none (fork CI already ran). |
…tion A level-2 subsection that opens with another unfenced ## heading parses as empty, and spawn only said the subsections must be nonempty. Keep that refusal as one message and name the heading that ended the section, plus that nested headings must be ### or deeper. Co-authored-by: AnPod <[email protected]>
Spawn's empty-section note compared the ending heading to the exact contract strings, so up to three leading spaces made an indented sibling look like a nested heading. Trim that indent before the comparison. Co-authored-by: AnPod <[email protected]>
e6fd510 to
fa0060d
Compare
Intent
Fix issue #5073: when spawn refuses a brief whose '## Captain's intent' or '## Firstmate spec' section is present but parses empty, the error now names the unfenced same-level heading that ended the subsection and says nested headings must be ### or deeper. An indented sibling contract heading (' ## Firstmate spec', up to three leading spaces) is compared after that indent is removed, so it stays the sibling heading instead of a cutoff that tells the author to change heading level.
What Changed
###or deeper for nested headings.Risk Assessment
✅ Low: The change adds a bounded refusal diagnostic while preserving parsing and validation behavior, and correctly excludes indented sibling contract headings.
Testing
All 15 live CLI checks passed, covering cutoff diagnostics, indentation boundaries, parser exclusions, and refusal side effects. Captured product error messages; cleaned up the disposable environment.
Evidence: Live spawn refusal transcripts
Source: Live spawn refusal transcripts
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
Inspected the base-to-target change and existing focused regression cases.Created a disposable marked home usingbin/fm-lab-home.sh createand initialized an isolated project.Executed 15 realbin/fm-spawn.sh <id> <project> claude --mode direct-PR --yolo offcalls; asserted exit status, diagnostic messages, and absence of launch artifacts.Captured CLI transcripts and removed the disposable home.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.