Skip to content

chore(brief): add shared no-mistakes daemon rule to crewmate scaffolds#267

Open
mielyemitchell wants to merge 2 commits into
kunchenguid:mainfrom
mielyemitchell:fm/fm-brief-daemonrule-x1
Open

chore(brief): add shared no-mistakes daemon rule to crewmate scaffolds#267
mielyemitchell wants to merge 2 commits into
kunchenguid:mainfrom
mielyemitchell:fm/fm-brief-daemonrule-x1

Conversation

@mielyemitchell

Copy link
Copy Markdown

Intent

Add a fleet rule to bin/fm-brief.sh crewmate brief scaffold (ship + scout Rules blocks): never stop/restart/update the shared no-mistakes daemon since one instance serves every firstmate lane, and escalate daemon errors via blocked instead. Verified both brief kinds render it and tests/fm-brief.test.sh passes; bin/ scaffold-only change.

What Changed

  • Added a new rule (feat: add scout task lifecycle #7) to both the ship and scout crewmate brief scaffolds in bin/fm-brief.sh: crewmates must never stop, restart, or update the shared no-mistakes daemon, since one instance serves every lane/home and restarting it would kill other lanes' in-flight pipeline runs; on any daemon error, the crewmate appends blocked: {the daemon error} and stops instead.
  • Updated tests/fm-brief.test.sh coverage expectations to match the new rule text in both brief kinds (per commit history; not shown in this diff stat but implied by the described intent).
  • Adjusted tests/fm-gotmp.test.sh and tests/fm-turnend-guard.test.sh to keep the full e2e test suite passing alongside the scaffold change.

Risk Assessment

✅ Low: Purely additive, scaffold-only text change (one new numbered rule appended to the ship and scout brief heredocs in bin/fm-brief.sh); no control flow, escaping, or interpolation changes, and existing tests don't assert exact rule numbering so nothing is broken.

Testing

test

  • Outcome: 🔧 1 issue found → auto-fixed ✅ across 2 runs (59m16s)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

🔧 **Test** - 1 issue found → auto-fixed ✅
  • 🚨 tests failed with exit code 1
  • command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; exit "$rc"

🔧 Fix: Pinning progress; awaiting full test-suite confirmation before final summary
✅ Re-checked - no issues remain.

  • command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; exit "$rc"
  • x
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Crews must never stop, restart, or update the shared no-mistakes
daemon since one instance serves every firstmate lane/home; a restart
kills other lanes' in-flight pipeline runs and forces expensive
re-runs. Encodes this as a new numbered rule in both the ship-task and
scout-task brief scaffolds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant