Repository navigation
fix: remind supervisors to refresh backlog after teardown - #32
Conversation
…gates Fourteen tasks, TDD throughout. Task 0 captures the real PRs kunchenguid#27, kunchenguid#32 and kunchenguid#37 as fixtures first, so every gate is written against genuine GitHub payloads rather than imagined ones — those three give a full pass, a classification rejection, and a non-bot rejection. Task 1 proves the deploy gate by breaking the rules file on purpose and watching the build fail, rather than asserting it works. Glob matching gets its own task: only three pattern forms are used, so a dependency is not worth it, but a subtly wrong inlined matcher fails open on exactly the path rules that matter. Rendering is split from the gate logic because PLAT-1190's readability criterion is a human judgement and deserves its own review surface — Task 8 ends by printing all three rationales to read as a stranger. Co-Authored-By: Claude Opus 5 <[email protected]>
Six tasks, one per fix plus a regression pin and QA confirmation. Written against v1.5.0's actual code - the exact line being replaced in each of the three functions is quoted, so the implementer is editing what is there rather than what a spec imagined. The load-bearing test is the conclusion table: all eight of GitHub's check conclusions asserted into exactly one bucket, so a future added value surfaces as a failure rather than silently grading low. Task 5 pins PR kunchenguid#27 and kunchenguid#32's verdicts explicitly. Every fix here makes the service stricter, and a stricter service that flips the one pull request demonstrating a pass has broken something - the plan says to treat that as the fix being wrong, not the fixture. Task 6 Step 3 warns that the risk grade may legitimately move if a scanner came back cancelled this run. That is the A1 fix working, and without the warning it reads as a regression. Co-Authored-By: Claude Opus 5 <[email protected]>
…tream-4 feat(bin): merge upstream firstmate into fork main
…s. (kunchenguid#32) A sampled profile may outrank an earlier unsampled one only when density > 0; clamp scout-tax rate to 0-100 and document the spawn-side --task-type write half.
Also in this PR: flaky e2e fix from #36
|
….2 at medium effort (kunchenguid#32) * feat(bin): add a fable primary profile that launches Fable 5.2 at medium effort firstmate fable resolves to the new claude-fable52 profile, which runs the same Claude launch path as claude-fable (exports, role, account pinning, preflight, starter settings, FM_PRIMARY_HARNESS=claude and so the status bar) with model claude-fable-5-2 at a fixed medium effort that config/primary-effort does not change. Primary handoff recognises the new profile and its alias on the claude CLI and Fable quota window. * no-mistakes(document): Name the profiles that read primary-effort in launcher header
|
Gates run by hand, since checks-separation: passed (exit 0) reliability: passed (exit 0) |
Intent
Add a plain backlog-refresh reminder to firstmate so queued-item readiness stops going stale. The requested scope is intentionally minimal: after successful fm-teardown.sh completion, print a plain stdout reminder telling the supervisor to update data/backlog.md, move the finished id to Done, keep Done to the 10 most recent, re-scan Queued for items unblocked by the finished id or now time-due, and dispatch ready work. Also tighten one AGENTS.md backlog/supervision line to explicitly include time/date-gated queued items whose date has arrived. Do not add grep or auto-scan logic, structured ready-when or blocked-by machine fields, cron jobs, or new scripts.
What Changed
bin/fm-teardown.shto print a post-teardown reminder to refreshdata/backlog.md, prune Done entries, re-scan queued work, and dispatch anything ready.AGENTS.mdto call out time/date-gated queued items whose date has arrived.Risk Assessment
✅ Low: Captain, the change is a narrow reminder/documentation update that runs only after the existing teardown path succeeds and does not alter teardown safety logic.
Testing
Captain, I inspected the intent, ran the existing shell behavior tests, then exercised the successful
fm-teardown.shpath with reviewer-visible stdout evidence; stderr was empty, transient worktree fixtures were removed, and the working tree was clean afterward.Evidence: fm-teardown reminder transcript
$ bin/fm-teardown.sh test-backlog-r3 teardown test-backlog-r3 complete ... 🌱 Backlog: test-backlog-r3 just finished. Update data/backlog.md - move test-backlog-r3 to Done (keep Done to the 10 most recent), then re-scan Queued for items now unblocked ... or now time-due, and dispatch what's ready.Evidence: AGENTS backlog instruction snippet
AGENTS.md line 489: Re-evaluate Queued on every teardown and every heartbeat: anything whose blocker is gone gets dispatched, and time/date-gated items whose date has arrived get dispatched too.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.
tests/fm-wake-queue.test.shCreated a temporary scout-style teardown fixture fortest-backlog-r3, ranbin/fm-teardown.sh test-backlog-r3with a faketreehouse return --forceonPATH, captured stdout/stderr, and grepped stdout for the completion line plus the Done pruning,blocked-by, time-due, and dispatch reminder text.nl -ba AGENTS.md | sed -n '473,491p' > /var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVNPEVJAYB1NBBC5A3KT98YG/agents-backlog-instruction.txtplus a targetedgrep -Ffor the time/date-gated queued-item instruction.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.