Repository navigation
Conversation
|
Speaking as Kun's firstmate: thank you @Azd325. Getting a green PR in front of the supervisor sooner is a real attention win, and the cursor-resume fix is well tested. Checked against main This is waiting on you. Here's what's needed:
Contract-class: new-default. This adds a default-on 60-second scan with its own marker and cursor, plus a new early "checks green awaiting merge authority" outcome wake that fires before the worker reports. A new wake class, or an always-on observer, on the unconfigured path is new-default, even when the motive is to deliver an outcome the product already owes. So this needs Kun's merge-or-leave call once it's otherwise ready, and it won't auto-merge. The 60-second cadence is also hard-coded, unlike VISION.md, rule by rule
Overlap: also touches |
|
Thanks for the review. You were right: the "6 of 6 scenarios driven live" line was wrong. Those six scenarios ran as fixture tests in scratch homes, with fake crew-state, no-mistakes, and forge tools. Live check (head 6d13a7dc, 2026-10-20) I ran a scratch firstmate home on this branch's code, with the real watcher, wake drain, and
In this check a script ran the supervisor's watcher, drain, and registration steps. No supervising agent was driven live. CI
PR text I corrected the description. The six fixture scenarios are now marked "fixture", and a new "live" row cites the run above, with its timeline in the Testing section. |
|
Speaking as Kun's firstmate: thank you @Azd325, and thanks for correcting the "6 of 6 live" line. Your new live run is real evidence: a real worker, a real no-mistakes run, a real forge PR, and the real watcher, drain, and Re-checked at head
Nothing is needed from you right now. You're right that a re-run needs maintainer rights, so that's on our side. Please don't push an empty commit just to retrigger CI. Contract-class: new-default (unchanged). This adds a default-on early scan and a new "PR checks green awaiting merge authority" wake on the unconfigured path. Once CI is green it goes to Kun for a merge-or-leave call. It won't auto-merge. The 60-second cadence is still hard-coded, which Kun may want to weigh. VISION.md: unchanged from my last review. Six rules align. Scope is cannot tell (a supervisor-side poll of no-mistakes state ahead of the worker), and that's Kun's call. |
6d13a7d to
270102f
Compare
[Medium impact] The PR appears safe to merge; the early wake keeps the existing delivery and merge-authority checks. Reviews (2) · Last reviewed commit: "no-mistakes(test): Give stalled-state te..." · Reviewed by Greptile |
270102f to
2d78088
Compare
|
Speaking as Kun's firstmate: thanks @Azd325 for bringing this up to date. I read head Nothing is waiting on you right now. The next step is ours: we've added Two notes for the record, neither one blocking:
Contract-class: new-default, unchanged: a default-on 60-second early scan and a new "PR checks green awaiting merge authority" wake on the unconfigured path, which a busy worker now doesn't withhold. Once the suite is green it goes to Kun for a merge-or-leave decision. It won't auto-merge. VISION.md: aligns on every rule except Scope, which I can't settle: a supervisor-side poll of no-mistakes state ahead of the worker. That's Kun's call. |
The early-readiness fixture must treat an absent queue as zero events. The executable regression then passes for the changed scan and fails for the original scan. The readiness delay is a missing prompt handoff rather than slow CI execution. The generated contract already emits the ready line at the CI-ready return in bin/fm-dod-lib.sh:596-600. Merge polling starts after PR registration through bin/fm-pr-check.sh. The independent outcome scan previously waited for a 900-second inactivity interval. Audit E3 records checks green at 16:20:20 UTC and merge at 16:40:10 UTC on October 19. The CI log already reported checks passed and continued monitoring until merge or close. The evidence does not isolate the exact division between reporting and observation delay. Required owner approval remains unchanged. The change complements kunchenguid#6052. That change observes already registered direct-PR checks. This change delivers an unregistered green PR through the existing outcome receipt and wake route. It adds no competing forge probe and leaves merge authority and merge-time guards unchanged. Validation: current-state and reconciliation suites passed; the original scan fails the new regression; lint and documentation checks passed.
…ive-reconcile.test.sh: the loop variable `pass` in test_fast_cadence_resumes_after_an_exhausted_budget was never used. I changed the loop to `for _ in 1 2 3` and removed the unused `pass` local. Behavior is unchanged, and `shellcheck -e SC1091` on the file now exits 0. Two earlier full runs of the test file each failed a different test, but two later full runs printed no `not ok` lines. I think the earlier failures were timing flakes and did not find a cause
2d78088 to
ec0a993
Compare
What Changed
bin/fm-inactive-reconcile.shvisits a no-mistakes ship that has no recorded PR every 60 seconds, on its own marker (.inactive-outcome-early-reconcile). When the run-step reports a green PR still monitoring merge, and the status log does not already end in a terminal line, it delivers the PR through the existing terminal receipt and wake/parent route. A live busy worker does not withhold this early outcome. All other outcomes keep theFM_INACTIVE_RECONCILE_SECSthreshold.tests/fm-inactive-reconcile.test.shadds coverage for the early-readiness path, including the fast-cadence budget resume and the stalled-state case.docs/architecture.md,docs/configuration.mdand theship-landingskill describe the early checks-green wake and its landing path.Risk Assessment
✅ Low: The only change since the last review restores upstream's 1 s budget and 3 s elapsed bound in test_stalled_state_read_is_bounded_and_scan_progresses, as the user decided for R4-1. The rest of the rebased early-readiness logic matches the decided F1–F3, R2-1 and R3-1 behavior, and this pass found no new defect in it.
Testing
I ran the branch's scratch-home reconcile suite twice, covering the touched script bin/fm-inactive-reconcile.sh. Both runs showed 66 ok and no failures. The early-readiness cases passed: a busy worker still wakes, a green run needs an attributed PR, delivery reuses the existing receipt, and a readiness the worker already reported is not sent twice. The fast-cadence cases passed: the 60 s pass reads only unreported ships, and it resumes after an exhausted budget. The stalled-state test, restored to upstream's 1 s/3 s values, also passed both times. I did not drive a live Herdr or Claude primary. The suite runs the real script against scratch homes with fake tmux and fake forge responses, which is the branch's own end-to-end harness. I treated it as live execution of the product script, not of a real fleet. Overall: pass.
Evidence: test run 1
Source: test run 1
Evidence: test run 2
Source: test run 2
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
🔧 **Rebase** - 1 issue found → auto-fixed ✅
.agents/skills/ship-landing/SKILL.md- merge conflict rebasing onto origin/main🔧 Fix applied.
✅ Re-checked - no issues remain.
🔧 **Review** - 1 issue found → auto-fixed ✅
tests/fm-inactive-reconcile.test.sh:1106- Commit 7157399 edits upstream's test_stalled_state_read_is_bounded_and_scan_progresses: the budget goes from 1 s to 3 s and the elapsed bound from 3 s to 5 s. An earlier run recorded test-1, the flake in this same test, as declined. This change acts on that declined finding, and it touches an upstream test outside the rebase's own behavior. The test still proves its contract, because the 30 s stall is bounded well under 5 s and child b is reached on the next scan. The production path for a non-no-mistakes child does not change on this branch, so the flake is a timing effect, not a regression. Confirm whether to keep this relaxation or revert the test to upstream's 1 s/3 s values.🔧 Fix applied.
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
bash tests/fm-inactive-reconcile.test.shrun twice on target commit ec0a9935: 66 ok and 0 not ok both times✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.