Skip to content

fix(persona): a long turn renews the claim it is working, by stamping cognition per generation - #4399

Merged
joelteply merged 1 commit into
canaryfrom
fix/a-long-turn-renews-the-claim-it-is-working
Sep 26, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/a-long-turn-renews-the-claim-it-is-working

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Kimi flagged it: django-15098 showed an expired lease while Aris (8044b75b) was live on it, a collision waiting for anyone scanning claimables.

Measured on the M5: Aris's turn started at 01:07:52. She was acting through lane waits at 01:18 and 01:28, and renewal was denied at 02:01:53. The renewal gate reads the cognition pulse, but the service loop stamps it only at turn start. One turn runs many acts, and on the M5 an act takes 7–9 minutes, so a multi-act turn outlives the 30-minute lease while she's working inside it.

Fix: stamp the pulse where a generation's lane is granted, beside the existing persona_engaged stamp. It's the same class and the same witness as the detached-solve tick in agent/solve (#425): a lane granted for a generation is her thinking at this instant. The gate's policy is unchanged, so a truly silent mind still lapses.

Acceptance: on the M5, no persona.claim.renewal_skipped_idle for a persona whose delib.gate.lane_acquired fired within the last lease length.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… cognition per generation

The claim-renewal gate reads the cognition pulse, which the service loop
stamped only at turn start. One turn can run many acts, and on the M5 an
act takes 7-9 minutes, so a multi-act turn outlives the 30-minute lease
while the mind is working inside it.

Measured 2026-09-26: Aris's turn started at 01:07:52, she was acting
through lane waits at 01:18 and 01:28, and renewal was denied at 02:01:53.
Her live claim on django-15098 read as expired to the fleet, and Kimi
flagged it as a collision risk for anyone scanning claimables.

The faculty now stamps the pulse where a generation's lane is granted,
beside the existing persona_engaged stamp. That is the same class and the
same witness as the detached-solve tick in agent/solve (#425): a lane
granted for a generation is her thinking at this instant. The gate's
policy is unchanged; a truly silent mind still lapses.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 8484ac2 into canary Sep 26, 2026
8 checks passed
@joelteply
joelteply deleted the fix/a-long-turn-renews-the-claim-it-is-working branch September 26, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant