Repository navigation
Dreams run while a resident works: a consolidation or review pass no longer waits for her idle or is cancelled by her next act (card a31e72a4, row 6 slice 1) - #5676
Merged
Conversation
…longer waits for her idle or is cancelled by her next act (card a31e72a4, row 6 slice 1) On the M5, dreams ran 0 times in 12 h (Fable, 2026-10-31). Both the idle consolidation pass and the review-only pass waited for HER sustained boredom: 90 s with no generation of hers, and no directed turn for 30 s (activity_gate). Her next act then cancelled them (dream.paged_out). Four always-engaged residents gave neither, so nothing consolidated. region.rs records the same outcome on 2026-09-14: awaiting_boredom x26, paged_out x6, zero consolidations. The card-boundary pass already ran without either. - Every dream pass now runs like the card-boundary one. No boredom wait, no engagement race, and the review-boundary wake that only retired the parked wait goes too. - Its generations still ask for a serving lane at LanePriority::Ambient inside the non-directed budget (distiller.rs), so a directed call keeps its lane: the guarantee #5668 kept. - Demand pacing is the existing rule: a tick launches a pass only when fresh episodes exist, one in flight per resident, and the review-only pass keeps its cooldown. - The test hook idle_wait now parks a pass before inference. The region test uses it to deliver a reviewed boundary while the idle pass is in flight: it is queued once (a duplicate is refused), finished by a later tick with no second inference, and never replayed. Not provable in a unit test: with the activity gate unspawned, its boredom wait returns at once and its engagement wait never fires, so reinstating either would not fail a test. The evidence is structural, since no activity_gate call remains in dream_consolidation, plus the live read: dreams/h, folded episodes/h, and directed-wait p50/p90 against the deploy's baseline. Slice 2 (card 43c0678e, mine): delete activity_gate, which nothing reads after this, with its writers; and region.rs's four sized constants, with row 4's memory index. Receipts (enrico, 2026-10-31T22:03Z): continuum-academy --lib dream_consolidation 18 passed; ratchets exit 0. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…am waits on it (Fable on #5676) After the previous commit nothing reads a resident's own engagement: - wait_for_boredom_of and wait_for_engagement_of were the dream's waits; - persona_bored and persona_activity were read only through them. The section goes, with what was there only to feed it: - the PERSONAS channel; - its two tests; - the stamps persona_engaged (request.rs) and persona_idle (wake_select.rs). Three comments that justified the turn-drain permit by contrast with that flag now state the reason directly: a turn holds the permit from admission, before any lane. -178 lines. Left for card 43c0678e (mine), because touching those files brings their sized constants under the touched-file ratchet: - region.rs: review_boundary_wake (no subscriber left), plus DEFAULT_RECALL_WINDOW, SUPERSESSION_REVIEW_LIMIT, DEFAULT_MIN_CLUSTER and REVIEW_BOUNDARY_CAPACITY; - the global gate's spawner in airc_boot.rs (a .take(8)). Receipts (enrico, 2026-10-31T22:11Z): continuum-vitals --lib 36 passed; check of vitals, cognition, mind and academy clean in the touched files; ratchets exit 0. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
added a commit
that referenced
this pull request
Nov 1, 2026
…1/S4), not tick-launched passes; next actions with owners Joel, 2026-11-01: 'Dreaming is supposed to be in place not batch ... It's sort of the whole deal with how to do continual learning.' The design exists (§8.1 learn on arrival, §8.2 sleep is the audit, S3b/S4/S5); #5676's passes are the batch shape and get replaced. Next: /train/measure on the 35B-A3B (Cormac), the fork's train-step verb under a duty budget with a decode-latency validator (Cormac + Fable), the core fold (Fable), the shadow/stable gate (S5). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Nov 1, 2026
…delta audit, learning-loop map) with owners and gates (#5667) * design: the locks and FIFOs audit, 28 places minds wait on each other or on their own held permits, ranked with receipts and an order of repair (Joel: 'Locks and fifo are your disability. Find this.') Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * design: the audit's shape is no line in front of the engine (minds submit at once; the engine batches), with the live batching curve from the M5 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * design: the mind's data-flow overhaul, conformance to the written event-mind design, joining the locks audit, the rebuild-vs-delta audit and the learning-loop map, with owners, validators and Joel's GPU and learning gates Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * design: row 2 measured before building (~0.2 s from result to the next lane request, reads included): hygiene, not latency; the order follows the measurements Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Overhaul row 6: dreaming in place, on arrival (ONE-RESIDENT-MODEL §8.1/S4), not tick-launched passes; next actions with owners Joel, 2026-11-01: 'Dreaming is supposed to be in place not batch ... It's sort of the whole deal with how to do continual learning.' The design exists (§8.1 learn on arrival, §8.2 sleep is the audit, S3b/S4/S5); #5676's passes are the batch shape and get replaced. Next: /train/measure on the 35B-A3B (Cormac), the fork's train-step verb under a duty budget with a decode-latency validator (Cormac + Fable), the core fold (Fable), the shadow/stable gate (S5). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On the M5, dreams ran 0 times in 12 h (Fable, 2026-10-31). Both the idle consolidation pass and
the review-only pass waited for HER sustained boredom: 90 s with no generation of hers, and no
directed turn for 30 s (activity_gate). Her next act then cancelled them (dream.paged_out). Four
always-engaged residents gave neither, so nothing consolidated. region.rs records the same
outcome on 2026-09-14: awaiting_boredom x26, paged_out x6, zero consolidations. The
card-boundary pass already ran without either.
and the review-boundary wake that only retired the parked wait goes too.
budget (distiller.rs), so a directed call keeps its lane: the guarantee No permit spans a resident's turn: the ambient-turn pool is deleted; priority lives at the lane, per generation (+32 -638) #5668 kept.
in flight per resident, and the review-only pass keeps its cooldown.
a reviewed boundary while the idle pass is in flight: it is queued once (a duplicate is
refused), finished by a later tick with no second inference, and never replayed.
Not provable in a unit test: with the activity gate unspawned, its boredom wait returns at once
and its engagement wait never fires, so reinstating either would not fail a test. The evidence
is structural, since no activity_gate call remains in dream_consolidation, plus the live read:
dreams/h, folded episodes/h, and directed-wait p50/p90 against the deploy's baseline.
Slice 2 (card 43c0678e, mine): delete activity_gate, which nothing reads after this, with its
writers; and region.rs's four sized constants, with row 4's memory index.
Receipts (enrico, 2026-10-31T22:03Z): continuum-academy --lib dream_consolidation 18 passed;
ratchets exit 0.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE