Skip to content

feat(bin): absorb an unchanged dead-agent wait recheck until the daily reminder - #58

Merged
alandomio merged 2 commits into
mainfrom
fm/ricontrollo-giornaliero
Oct 7, 2026
Merged

alandomio merged 2 commits into
mainfrom
fm/ricontrollo-giornaliero

Conversation

@alandomio

Copy link
Copy Markdown
Owner

Intent

Firstmate shared tracked material (load firstmate-coding-guidelines). Goal approved by the captain on 2026-10-07: the hourly recheck of an UNCHANGED declared pause must stop waking the supervising session every hour and become a daily reminder. In handle_paused_stale (bin/fm-watch.sh) and the shared rule it uses, a recheck of a declared pause - including one waiting on the captain (captain-held or 'paused: waiting for the captain ...') - whose situation is identical to the one last surfaced is absorbed until FM_PAUSE_REMIND_SECS (24 hours, existing default) has passed since the last surface, ALSO when the agent is found dead, provided 'dead' was already the state at the last surface. These stay immediate: the first recheck of a pause, any change of situation (status line, open decision set, alive->dead transition, pane change), and the existing daily safety valve. Every absorption goes through the single absorb_vetoed veto and is counted in the absorption digest with a deterministic rule source, like the existing unchanged-pause rule. Decision made by the implementer, deliberately: this EXTENDS the existing opt-in config/absorb-unchanged-pause gate with an optional second non-blank line 'daily' (rule_daily_requested, rule_absorb_unchanged_wait), rather than a new config file, so a home that has not opted in - including homes that have only the first line 'on' - sees no behaviour change; docs/configuration.md 'Deterministic unchanged-pause absorption' gains a subsection stating why captain-held waits are now included under the daily reminder (the first surface already told the captain, open decisions stay in the OPEN DECISIONS drain, and a worker dying later is a changed situation that surfaces at once). Do not weaken any guarantee about queued wakes being durable until acknowledged. Tests colocated in tests/fm-watch-triage.test.sh: unchanged recheck with a dead agent absorbed within 24 hours and surfaced after; alive->dead transition surfaced at once; captain-held wait versus plain declared pause; first recheck always surfaced; digest counter increments with source rule; open decision still surfaces; no change without the second line. Evidence: in the captain's home between 2026-10-04 and 2026-10-06, 103 of 389 presented wakes were such rechecks and 101 ended in a plain acknowledgement. Exclusions: this home's private config is not edited by this change; open PR #56 (exited-worker absorption of declared pauses) overlaps handle_paused_stale and is a separate piece of work. Known: tests/fm-watch-triage.test.sh already fails at 'round 3 (churning hash)' on unmodified origin/main in the implementer's environment, so the new rule tests were run as a subset.

What Changed

  • bin/fm-watch.sh: adds rule_daily_requested and rule_absorb_unchanged_wait, and tries the new rule first in handle_paused_stale when the agent is dead. With config/absorb-unchanged-pause first line on and second non-blank line daily, a recheck of a paused: or captain-held wait whose situation (dead agent included) equals the one recorded at its last surface is absorbed until FM_PAUSE_REMIND_SECS has passed since that surface. It goes through absorb_vetoed, skips secondmates and tasks with an open decision, and is only absorbed once its source: "rule" digest entry is written. Without the daily line the code path is not taken.
  • Docs: docs/configuration.md gains a "Daily reminder for an unchanged wait whose worker has exited" subsection (why captain-held waits are included, what still surfaces immediately, the reminder as safety valve) and an updated FM_PAUSE_REMIND_SECS note; AGENTS.md, docs/architecture.md and the bin/fm-watch.sh header comments point at the opt-in.
  • tests/fm-watch-triage.test.sh: five new test_rule_daily_* cases covering first recheck surfaced then absorbed and counted as source=rule until the reminder, no change without the second line, alive-to-dead transition and pane/status change surfaced at once, a captain-held wait, and an open decision still surfacing.

🤖 Generated with Claude Code

Risk Assessment

✅ Low: The new absorption is gated behind an opt-in second config line, runs only for a dead agent whose recorded situation is non-empty and unchanged, goes through absorb_vetoed and the digest, and is bounded by the surface stamp that only a real surface rewrites on this path; I found no reachable wrong-absorb path and no contradiction with the intent, only doc and test-hygiene nits.

Testing

I ran the five new daily-reminder tests and six neighbouring rule tests from tests/fm-watch-triage.test.sh as a subset, and all eleven pass. I then drove the real bin/fm-watch.sh through due rechecks for each scenario in the intent and saved the transcript: unchanged dead-worker rechecks are absorbed and counted as source=rule until the reminder, while first rechecks, alive-to-dead, pane and status changes, open decisions and vetoed rechecks all still wake the session. A home with only on and the base commit both keep waking every recheck. The full test file was not run, and no rendered UI exists for this shell watcher, so the evidence is a CLI transcript.

Evidence: Watcher transcript: every scenario on the target commit plus the base-commit comparison

Source: Watcher transcript: every scenario on the target commit plus the base-commit comparison

# Daily reminder for an unchanged dead-agent wait - real bin/fm-watch.sh driven through due rechecks
# target 286a252; each 'hour' is one due FM_PAUSE_RESURFACE_SECS recheck (throttle backdated); FM_POLL=1

== A. dead worker on a declared pause, opted in to 'daily'
  config/absorb-unchanged-pause: on + daily   status: paused: waiting on upstream
  hour 1: first recheck (agent dead)                   -> WOKE THE SESSION: stale: test:fm-a-dead (paused 502s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: nothing changed                              -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries:  -> 1
  hour 3: nothing changed                              -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries: 1 -> 2
  past FM_PAUSE_REMIND_SECS since the last surface     -> WOKE THE SESSION: stale: test:fm-a-dead (paused 535s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 501s ago) 
  hour after the reminder: nothing changed             -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries: 2 -> 3
  triage log:
    [2026-10-06T22:35:49+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 3s ago): test:fm-a-dead
    [2026-10-06T22:36:05+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 19s ago): test:fm-a-dead
    [2026-10-06T22:36:21+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 2s ago): test:fm-a-dead
  absorption digest (state/jev/absorbed.jsonl):
    {"source":"rule","kind":"stale","task":"a-dead","reason":"stale: test:fm-a-dead (paused 505s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 3s ago)"}
    {"source":"rule","kind":"stale","task":"a-dead","reason":"stale: test:fm-a-dead (paused 521s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 19s ago)"}
    {"source":"rule","kind":"stale","task":"a-dead","reason":"stale: test:fm-a-dead (paused 538s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 2s ago)"}

== B. same wait, home with only the first line 'on' (not opted in)
  config/absorb-unchanged-pause: on   status: paused: waiting on upstream
  hour 1: first recheck (agent dead)                   -> WOKE THE SESSION: stale: test:fm-b-off (paused 501s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: nothing changed                              -> WOKE THE SESSION: stale: test:fm-b-off (paused 502s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 1s ago) 
  hour 3: nothing changed                              -> WOKE THE SESSION: stale: test:fm-b-off (paused 504s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 1s ago) 
  absorption digest: (no entries)

== C. captain-held transfer, dead worker, 'daily'
  config/absorb-unchanged-pause: on + daily   status: captain-held: awaiting the captain's decision
  hour 1: first recheck (agent dead)                   -> WOKE THE SESSION: stale: test:fm-c-held (captain-held 500s, awaiting the captain - verified hold transfer, rechecked on a long cadence not a wedge; answer the held decision or release the hold) 
  hour 2: nothing changed                              -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries:  -> 1
  triage log:
    [2026-10-06T22:36:40+0200] absorbed paused recheck via rule, daily reminder (captain-held, awaiting the captain, dead agent unchanged since its last surface 1s ago): test:fm-c-held
  absorption digest (state/jev/absorbed.jsonl):
    {"source":"rule","kind":"stale","task":"c-held","reason":"stale: test:fm-c-held (captain-held 502s, awaiting the captain - verified hold transfer, rechecked on a long cadence not a wedge; answer the held decision or release the hold; unchanged since the last recheck 1s ago)"}

== D. 'paused: waiting for the captain ...', dead worker, 'daily'
  config/absorb-unchanged-pause: on + daily   status: paused: waiting for the captain to approve the release
  hour 1: first recheck (agent dead)                   -> WOKE THE SESSION: stale: test:fm-d-captain (paused 501s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: nothing changed                              -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries:  -> 1
  triage log:
    [2026-10-06T22:36:58+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 3s ago): test:fm-d-captain
  absorption digest (state/jev/absorbed.jsonl):
    {"source":"rule","kind":"stale","task":"d-captain","reason":"stale: test:fm-d-captain (paused 503s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 3s ago)"}

== E. changes of situation stay immediate ('daily')
  config/absorb-unchanged-pause: on + daily   status: paused: waiting on upstream
  hour 1: first recheck (agent alive)                  -> WOKE THE SESSION: stale: test:fm-e-change (paused 501s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: worker exited since the last surface         -> WOKE THE SESSION: stale: test:fm-e-change (paused 506s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; changed since the last recheck: agent now dead) 
  hour 3: dead and unchanged                           -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries:  -> 1
  hour 4: pane text changed                            -> WOKE THE SESSION: stale: test:fm-e-change (paused 521s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; changed since the last recheck: pane text changed) 
  hour 5: dead and unchanged                           -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries: 1 -> 2
  hour 6: new status line                              -> WOKE THE SESSION: stale: test:fm-e-change (paused 501s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; changed since the last recheck: status log updated) 
  hour 7: dead and unchanged                           -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries: 2 -> 3
  triage log:
    [2026-10-06T22:37:19+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 2s ago): test:fm-e-change
    [2026-10-06T22:37:36+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 3s ago): test:fm-e-change
    [2026-10-06T22:37:49+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 2s ago): test:fm-e-change
  absorption digest (state/jev/absorbed.jsonl):
    {"source":"rule","kind":"stale","task":"e-change","reason":"stale: test:fm-e-change (paused 508s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 2s ago)"}
    {"source":"rule","kind":"stale","task":"e-change","reason":"stale: test:fm-e-change (paused 525s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 3s ago)"}
    {"source":"rule","kind":"stale","task":"e-change","reason":"stale: test:fm-e-change (paused 503s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 2s ago)"}

== F. open decision never absorbed ('daily')
  config/absorb-unchanged-pause: on + daily   status: paused: waiting on upstream
  hour 1: first recheck (agent dead)                   -> WOKE THE SESSION: stale: test:fm-f-decision (paused 502s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: nothing changed, decision still open         -> WOKE THE SESSION: stale: test:fm-f-decision (paused 504s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 3s ago) 
  absorption digest: (no entries)

== G. absorb_vetoed wins: an unread note ('daily')
  config/absorb-unchanged-pause: on + daily   status: paused: waiting on upstream
  hour 1: first recheck (agent dead)                   -> WOKE THE SESSION: stale: test:fm-g-veto (paused 501s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: unchanged, but the note is unread again      -> WOKE THE SESSION: stale: test:fm-g-veto (paused 504s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 3s ago) 
  hour 3: unchanged, note presented                    -> ABSORBED (watcher polled on for 8s, printed nothing)
                                                          digest source=rule entries:  -> 1
  triage log:
    [2026-10-06T22:38:15+0200] absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 2s ago): test:fm-g-veto
  absorption digest (state/jev/absorbed.jsonl):
    {"source":"rule","kind":"stale","task":"g-veto","reason":"stale: test:fm-g-veto (paused 507s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 2s ago)"}

== H. secondmate: the daily rule records nothing (its liveness is never read; only the pre-existing live-agent comparison applies)
  config/absorb-unchanged-pause: on + daily   status: paused: waiting on upstream
  hour 1: first recheck                                -> WOKE THE SESSION: stale: test:fm-h-mate (paused 501s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: nothing changed                              -> ABSORBED (watcher polled on for 8s, printed nothing)
  triage log:
    [2026-10-06T22:38:30+0200] absorbed paused recheck (paused, awaiting external, unchanged since its last surface 2s ago): test:fm-h-mate
  absorption digest: (no entries)

#### Comparison: the same dead-worker wait on the base commit's watcher

== BASE cfa4ac9 - dead worker on a declared pause, config 'on' + 'daily' (line ignored before the change)
  config/absorb-unchanged-pause: on + daily   status: paused: waiting on upstream
  hour 1: first recheck (agent dead)                   -> WOKE THE SESSION: stale: test:fm-basedead (paused 502s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds) 
  hour 2: nothing changed                              -> WOKE THE SESSION: stale: test:fm-basedead (paused 506s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 3s ago) 
  hour 3: nothing changed                              -> WOKE THE SESSION: stale: test:fm-basedead (paused 511s, awaiting external - declared pause, rechecked on a long cadence not a wedge; confirm the wait still holds; unchanged since the last recheck 4s ago) 
  absorption digest: (no entries)
Evidence: Excerpt: dead worker on a declared pause, opted in to daily (wake reasons shortened)
== A. dead worker on a declared pause, opted in to 'daily'
config/absorb-unchanged-pause: on + daily status: paused: waiting on upstream
hour 1: first recheck (agent dead) -> WOKE THE SESSION: stale: test:fm-a-dead (paused 502s, awaiting external - declared pause ...)
hour 2: nothing changed -> ABSORBED (watcher polled on for 8s, printed nothing)
digest source=rule entries: -> 1
hour 3: nothing changed -> ABSORBED (watcher polled on for 8s, printed nothing)
digest source=rule entries: 1 -> 2
past FM_PAUSE_REMIND_SECS since the last surface -> WOKE THE SESSION: stale: test:fm-a-dead (paused 535s, ... unchanged since the last recheck ...)
hour after the reminder: nothing changed -> ABSORBED (watcher polled on for 8s, printed nothing)
digest source=rule entries: 2 -> 3
triage log:
absorbed paused recheck via rule, daily reminder (paused, awaiting external, dead agent unchanged since its last surface 3s ago): test:fm-a-dead
Evidence: Excerpt: changes of situation stay immediate (wake reasons shortened)
== E. changes of situation stay immediate ('daily')
hour 1: first recheck (agent alive) -> WOKE THE SESSION
hour 2: worker exited since the last surface -> WOKE THE SESSION ... changed since the last recheck: agent now dead
hour 3: dead and unchanged -> ABSORBED digest source=rule entries: -> 1
hour 4: pane text changed -> WOKE THE SESSION ... changed since the last recheck: pane text changed
hour 5: dead and unchanged -> ABSORBED digest source=rule entries: 1 -> 2
hour 6: new status line -> WOKE THE SESSION ... changed since the last recheck: status log updated
hour 7: dead and unchanged -> ABSORBED digest source=rule entries: 2 -> 3
Evidence: Excerpt: not opted in, and the base commit - both wake every recheck
== B. same wait, home with only the first line 'on' (not opted in)
hour 1: first recheck (agent dead) -> WOKE THE SESSION
hour 2: nothing changed -> WOKE THE SESSION ... unchanged since the last recheck
hour 3: nothing changed -> WOKE THE SESSION ... unchanged since the last recheck
absorption digest: (no entries)

== BASE cfa4ac9 - dead worker on a declared pause, config 'on' + 'daily' (line ignored before the change)
hour 1: first recheck (agent dead) -> WOKE THE SESSION
hour 2: nothing changed -> WOKE THE SESSION
hour 3: nothing changed -> WOKE THE SESSION
absorption digest: (no entries)
- Outcome: ⚠️ 2 infos across 1 run (8m16s)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 3 infos
  • ℹ️ AGENTS.md:93 - The config inventory line for config/absorb-unchanged-pause still describes the gate as absorbing an unchanged declared-pause recheck "(never captain-held)" and mentions only the first line. With this change an optional second line daily makes the same file absorb a dead-agent captain-held recheck too, so the inventory now contradicts docs/configuration.md. Update the line to mention the optional daily second line and that it covers captain-held waits whose worker was already dead at the last surface.
  • ℹ️ bin/fm-watch.sh:35 - The header sentence "With that file's second line &feat(bin): opt-in machine handoff of one home through an S3 lease #34;daily&feat(bin): opt-in machine handoff of one home through an S3 lease #34;" follows a sentence that names two files, and the nearest one is config/jev-absorb, so it reads as if daily belongs in the Jev config. The same paragraph also still says "a due PAUSED (never captain-held) recheck" a few lines above. Name config/absorb-unchanged-pause explicitly in the new sentence.
  • ℹ️ tests/fm-watch-triage.test.sh:3264 - test_rule_daily_surfaces_an_alive_to_dead_transition_at_once calls pass in the middle of the test, before the "now-dead unchanged recheck is absorbed" and "pane changed on a dead worker" rounds, so the pass line is printed before those assertions run. Its message also claims "a changed pane or status line does too", but no round in the test changes the status line. Move pass to the end of the function and either drop "or status line" from the message or add a round that appends a new paused: line and expects a surface.
⚠️ **Test** - 2 infos
  • ℹ️ tests/fm-watch-triage.test.sh - The colocated tests do not cover two points the intent names: a 'paused: waiting for the captain ...' wait, and the daily rule sitting behind absorb_vetoed (the existing veto test only exercises the live-agent rule). Both behave correctly when driven manually against the real watcher (scenarios D and G in the transcript), so this is a coverage gap, not a defect. I added no tests.
  • ℹ️ tests/fm-watch-triage.test.sh - The full tests/fm-watch-triage.test.sh file was not run, in line with the targeted-validation boundary and the intent's note that it already fails at 'round 3 (churning hash)' on unmodified main. The file has no test filter, so the subset was run by sourcing its definitions and calling the selected test functions; that pre-existing failure was neither reproduced nor ruled out here.
  • Subset of tests/fm-watch-triage.test.sh (definitions sourced, selected functions called): test_rule_daily_absorbs_an_unchanged_dead_agent_recheck_until_the_reminder, test_rule_daily_is_off_without_its_second_line, test_rule_daily_surfaces_an_alive_to_dead_transition_at_once, test_rule_daily_covers_a_captain_held_wait, test_rule_daily_never_absorbs_a_task_with_an_open_decision - all pass
  • Neighbouring regression subset from the same file: test_rule_never_absorbs_a_dead_agent_pause_recheck, test_rule_never_absorbs_a_captain_held_recheck, test_rule_absorbs_unchanged_pause_recheck, test_rule_unchanged_pause_is_behind_the_veto, test_rule_safety_valve_forces_a_real_surface_then_resets, test_exited_declared_pause_is_bounded_but_live_gate_surfaces - all pass
  • Manual drive of the real bin/fm-watch.sh (test fakes for tmux and crew state, FM_POLL=1, each round one due recheck, 8s window before calling a round absorbed), on + daily, dead worker on paused: waiting on upstream: first recheck wakes, next two absorbed with one source: rule digest entry each, recheck past FM_PAUSE_REMIND_SECS wakes, the one after is absorbed again
  • Same drive with only the first line on: every recheck wakes, no digest entries
  • Same drive for captain-held: awaiting the captain's decision and for paused: waiting for the captain to approve the release: first recheck wakes, unchanged dead recheck absorbed and counted as source: rule
  • Same drive for changes of situation: alive to dead wakes naming agent now dead, pane change wakes naming pane text changed, new status line wakes naming status log updated; the unchanged dead recheck after each is absorbed
  • Same drive with an open needs-decision: every recheck wakes, no digest entries
  • Same drive with an unread note (presentation cursor rewound): the unchanged dead recheck wakes via absorb_vetoed; once the note is presented the next one is absorbed
  • Same drive with kind=secondmate: no source: rule digest entry is written; the recheck is taken only by the pre-existing live-agent comparison
  • Same dead-worker scenario against the base commit's watcher (git archive cfa4ac9 bin) with on + daily: every recheck wakes, no digest entries - the hourly wake the change removes
⚠️ **Document** - 1 info
  • ℹ️ docs/configuration.md:693 - Judgment call: the new subsection carried dated task evidence ("Measured over 2026-10-04 to 2026-10-06, 103 of 389 presented wakes ... 101 ...") in an operator-current page. Per the repo knowledge-placement policy (dated task evidence belongs in PR evidence), I reduced it to an undated concise rationale ("about a quarter were such rechecks, nearly all ending in a plain acknowledgement"), matching the neighbouring section's style. The exact figures should be carried in the PR description; restore them here only if the author wants them tracked.
✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Alan Domio and others added 2 commits October 6, 2026 22:27
…y reminder

An unchanged recheck of a declared pause or captain-held transfer whose worker had already exited at the last surface woke the supervising session every FM_PAUSE_RESURFACE_SECS, and almost all of them ended in a plain acknowledgement.
config/absorb-unchanged-pause now accepts an optional second line "daily": the rule then also absorbs that recheck, behind absorb_vetoed and counted in the absorption digest as source=rule, until FM_PAUSE_REMIND_SECS since the last surface.
The first recheck, any change of status, open decisions, liveness (alive to dead included) or pane text, and the daily reminder still surface at once; homes without the second line behave as before.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@alandomio
alandomio merged commit cf11daf into main Oct 7, 2026
24 of 25 checks passed
alandomio added a commit that referenced this pull request Oct 7, 2026
…kers (#56)

* feat(bin): let the unchanged-pause rule absorb rechecks of exited workers

The deterministic unchanged-pause rule skipped a worker whose agent had exited,
so every parked, exited worker re-surfaced on each recheck. The rule now treats
an exited worker like a live one; captain-held transfers, changed rechecks and
the FM_PAUSE_REMIND_SECS reminder valve are unchanged. Jev and the legacy
absorb still skip exited workers.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* no-mistakes(document): Note exited-worker unchanged-pause absorption in architecture doc

* feat(bin): absorb an unchanged dead-agent wait recheck until the daily reminder (#58)

* feat(bin): absorb an unchanged dead-agent wait recheck until the daily reminder

An unchanged recheck of a declared pause or captain-held transfer whose worker had already exited at the last surface woke the supervising session every FM_PAUSE_RESURFACE_SECS, and almost all of them ended in a plain acknowledgement.
config/absorb-unchanged-pause now accepts an optional second line "daily": the rule then also absorbs that recheck, behind absorb_vetoed and counted in the absorption digest as source=rule, until FM_PAUSE_REMIND_SECS since the last surface.
The first recheck, any change of status, open decisions, liveness (alive to dead included) or pane text, and the daily reminder still surface at once; homes without the second line behave as before.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* no-mistakes(document): docs: align absorb-unchanged-pause pointers with daily reminder

---------

Co-authored-by: Alan Domio <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* feat(skills): add rule classification, no-ops audit and information access to /retrospective, and prune it (#59)

* feat(skills): add rule-classification, no-ops audit, review placement and information-access to /retrospective

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* docs(skills): credit /retro wording

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* docs(skills): prune retrospective skill; net shorter than before

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Alan Domio <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* feat(bin): let the unchanged-pause rule absorb rechecks of exited workers

The deterministic unchanged-pause rule skipped a worker whose agent had exited,
so every parked, exited worker re-surfaced on each recheck. The rule now treats
an exited worker like a live one; captain-held transfers, changed rechecks and
the FM_PAUSE_REMIND_SECS reminder valve are unchanged. Jev and the legacy
absorb still skip exited workers.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* no-mistakes(document): Note exited-worker unchanged-pause absorption in architecture doc

* fix(bin): let the daily reminder own exited-worker rechecks when it is on

After rebasing onto main's daily reminder, an exited paused wait could be absorbed
by the daily rule and then again by the unchanged-pause rule's own window, which
would stretch the reminder to twice its length. With the daily line set, the daily
rule now owns every exited-worker recheck; plain on keeps the unchanged-pause rule.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Alan Domio <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Alan Domio <[email protected]>
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