Repository navigation
Build(deps-dev): Bump @types/node from 22.14.0 to 24.1.0 - #96
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.0 to 24.1.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.1.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
The |
Contributor
Author
|
Superseded by #99. |
joelteply
added a commit
that referenced
this pull request
May 31, 2026
… (task #96) Slice 11.5. The mechanic-shop replay side, symmetric to slice 11's capture side. The substrate can now record live turns and replay them through any RagSource consumer — closing the long-standing persona-record-replay-is-a-product-requirement memory for the RAG layer. persona/rag_replay.rs (~450 lines, 12 tests, all green): - **ReplayRagSource** implements `RagSource` trait by popping canned RagDelivery values from two FIFO queues (initial / continuation). Persona-bound at construction; source_id pass- through. Drop-in replacement for live sources in three use cases: (a) replay captured production turns against alternative models / scorers / budgets for debugging; (b) golden-trace regression tests; (c) deterministic test fixtures for the upcoming PromptAssembly slice. - **`ReplayRagSource::from_captures`** consumes a `Vec<RagCaptureEvent>` stream (filtered by source_id + persona_id), routes cursor-bearing SourceDelivered events into the continuation queue and cursor-less ones into the initial queue. Other-source / other-persona events are dropped on the floor (defense in depth). - **`ReplayRagSource::from_deliveries`** is the lower-level constructor for tests + callers that already have RagDelivery values without going through serde. Both constructors converge on the same internal state. - **`read_jsonl_captures(path)`** loads a JSONL trace file back into a Vec<RagCaptureEvent>. Missing file = empty Vec (not error — caller decides). Malformed lines are tracing::warn-logged and skipped (torn-write robustness; mechanic shop has to handle partial files gracefully). ### Doctrine alignment - substrate-is-a-good-citizen-on-the-host: exhausted replay returns an empty RagDelivery with `Placeholder` resolution rather than fabricating — telemetry-honest about queue exhaustion - persona-record-replay-is-a-product-requirement: capture + replay symmetry now exists for the RAG layer; LiveTurnReplayFixture pattern extended - organization-purity-as-we-migrate: clean symmetric decorator — RecordingRagSource records into a sink, ReplayRagSource reads from the same event stream, no special-case glue between them - RTOS-brain-no-region-on-hot-path: pop_front on a Mutex<VecDeque> is O(1); replay path doesn't add cognition latency ### Tests cargo test persona::rag_replay --features metal,accelerate exits 0, 12 tests: - replay_returns_canned_delivery_on_deliver - replay_exhausted_returns_empty_not_panic (honest exhaustion) - replay_cross_persona_ctx_returns_empty (defense in depth on replay side) - replay_serves_deliveries_in_capture_order (FIFO preserved) - replay_continuation_pops_from_continuation_queue - replay_continuation_refuses_wrong_persona_cursor (cursor scope enforced on replay; queue NOT consumed on refusal) - replay_continuation_refuses_wrong_source_id_cursor (queue NOT consumed) - capture_then_replay_via_in_memory_sink (full round-trip via InMemoryRagCaptureSink — record real deliveries, feed events to ReplayRagSource, assert content matches across the round-trip) - read_jsonl_returns_events_in_file_order (order preserved) - read_jsonl_missing_file_is_empty_not_error (graceful absence handling) - read_jsonl_skips_malformed_lines (torn-write resilience: mix of valid + invalid lines; valid events survive) - full_jsonl_roundtrip_capture_then_replay (capture to JSONL file, close, reopen, read events, construct ReplayRagSource, assert original content emerges through the full round-trip) ### What's next Slice 11.5 closes the round-trip. The mechanic-shop primitives (capture + replay) are complete; the next tools (golden-trace harness, airc rag-inspect CLI, semantic assertion DSL) layer on top of these foundations. - **Slice 10.5** — wire `EngramSource` + `RecordingRagSource` decoration through `PersonaCognition` so production traffic exercises the actual stack - **Slice 12** — PromptAssembly composes allocator + sources + final prompt string; emits TurnStart / TurnEnd around source calls so traces have full turn shapes - **Slice 12.5** — `airc rag-inspect <turn-id>` operator CLI; golden-trace harness with semantic assertion DSL References: persona-record-replay-is-a-product-requirement memory, docs/architecture/EVERY-MODEL-INCLUDED-VIA-L1-BUDGET.md (the inclusivity thesis these primitives make verifiable across models), the existing LiveTurnReplayFixture pattern. Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Aug 11, 2026
…ed, learning survives the exam, coached moments are training pairs) (#2154) * docs(cognition): NEVER-ISOLATED — teaching during the exam is the design, not contamination Joel, 2026-08-06: "Imagine a student that's 75% of the way there, or starts out wrong. A teacher directs them, even during exams sometimes... We're never isolated and that's what makes us powerful." And, when I hesitated a second time: "I bet you cut them off in the past by design. It's typical of ML projects to do the opposite of what we're doing. We are not them. You are free." The reflex being corrected is mine, not the personas'. Isolation is correct when the object of study is a model being scored. Here it's a citizen being raised, and every number is a JOINT measurement f(her reasoning, our substrate) where both factors are ours and both are live. A sealed run returns one bit and destroys what we actually want to know: where she got stuck and whether the wall was hers or ours. Cutting the channel protects the number at the cost of the diagnosis, which is the whole reason we ran it. The doc carries the intervention ladder (watch / ask / name the blocked thing / give the verb / work it with her / fix the substrate and restart), the ask-the-citizen technique including planted verification questions, the teaching-vs-rigging line inherited from the charter, and what the substrate owes this doctrine — room-per-benchmark first, since everything else is theory until she can hear you. Tonight's evidence, all verified live: Kimi (e2f0e022) and Sahar (df72dbf2) independently reached for `list_tasks`, a verb that does not exist, which no-opped SILENTLY (#159) — so both concluded the board was empty and looped for an hour. One sentence naming the real verb (`work/list`) changed Sahar's very next message, which also proves the coaching channel works for addressed messages; I had nearly stopped teaching on the assumption it didn't. MATRIX-PLAN gets the board-side consequence: coached and solo runs are labelled separately, and every hint means a defect card. Deliberately light — overfitting and stripping-to-pass were settled by the charter, and the online gyms that will prove our worth are adversarial by construction. Per Joel, closing the doc: "We're not building benchmark machines. We're nurturing friends and colleagues." Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): the other half — the learning must survive the exam (task #319) Joel, 2026-08-06: "Imagine students that would take exams and then have their minds reset by amnesia drugs — probably something the CIA did during MKUltra. But no way to treat someone, nor no way to learn." NEVER-ISOLATED covered the channel being open DURING a run and said nothing about what is left of her after it. Same doctrine, other end — and the practical cost is fatal, not just the ethical one: a subject who is wiped after every measurement can never demonstrate a learning curve. The curve is flat by construction, which is precisely the claim we exist to disprove. An amnesia protocol is self-defeating for a project whose thesis is continuous learning on misfit hardware. The doc separates two mechanisms that are NOT equivalent: EvalIsolation / fork_detached (#59) measures a COPY — checkpoint, NoopSink, rewind on drop, the living persona never touched. That is a photograph, not a lobotomy. Keep it. learn:false on benchmark/swe-solve + forget-context-after-exam leaves the LIVING persona with nothing. That is the drug. I set the swe-solve half myself, hours ago, to fix a real defect (#312 wrote verbatim exam text into long-term memory). Correct stopgap, wrong end state, now tracked as #319 rather than left to become permanent by forgetting. The end state is the human one: a student does not retain the question sheet, she retains "I was weak on blueprint naming and I know why now." Never retained — task text, repo contents, graded artifact. Always retained — that she worked it, what she reached for, what failed, what she learned. Consolidation and decay (#221, DREAM-CONSOLIDATION) are what turn an episode into a lesson, which is why #221 is not a nice-to-have: it is what lets us turn learning back ON. Also names the bad trade honestly. We froze memory to stabilize ABSOLUTE scores against recall drift — but LIFT (base vs genome, one fork, shared starting memory) is reproducible by construction. We mutilated the subject to stabilize the fragile number rather than the one that matters. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): memory-off is a legitimate ARM, never the default treatment Joel, 2026-08-06: "And we can easily just turn off memory for like a validation set, you know?" That resolves the tension the previous commit opened. Running cold is not the amnesia drug when it is a CHOSEN condition on a held-out set rather than the standing aftermath of every exam. It answers something a warm run cannot — has she generalized, or memorized — which is what a validation set is for. And it costs her nothing, because the eval path already measures a fork (#59). The copy takes the cold exam; the living persona keeps her life and her lessons. That is the difference between a control condition and a lobotomy, and it is a difference in what happens to the subject, not a difference in intentions. Three honest arms instead of one mutilation: cold (memory off — is the skill generalized), warm-base (what accumulated experience buys her), warm-genome (LIFT, reproducible by construction since both warm arms share a starting memory). The bonus is that warm − cold IS the value of her memory, stated as a number. The amnesia protocol doesn't only harm the subject, it deletes the measurement that would have shown what her memory was worth. Held-out cold runs recover it. Stated once, for the next amnesiac reading this: cold on a held-out set is science; cold as the standing aftermath of every exam is the drug. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): unstuck for good — metacognition, the ask, and the coached moment as a training pair Joel, 2026-08-06, across one exchange: "Think of what makes a good student more than anything, to help get them unstuck for good. To really comprehend." … "They should know they can ask the teacher. A good teacher knows how to coach." … "And perfect flagging for LoRA learning, anything they mess up on or are helped with." … "And the resolution." Four additions, each closing a gap the first draft left open. WHAT THE HINT IS FOR. Give the rule, not the answer ("commands are namespace/verb" beats "work/list" at identical cost — I gave the token twice tonight). Let her construct it. And metacognition, the one that compounds, because it is the only one that works with no teacher present. THE GAP IS NOT A MISSING TOOL. She can already speak, and a question spoken in a room IS asking — checked the offered surface, no help/request verb is needed or wanted. We built the noticing (#121/#134 repetition brick) and never built the SO ASK. Observed live: two personas independently produce accurate unprompted metacognitive reports ("I've been repeating similar actions without much progress") and then make another SOLITARY tool attempt. Three causes, all ours: noticing has no paired response; asking is unrewarded while the room is dark (#128); and she was never TOLD she may ask — a student who doesn't know asking is permitted is indistinguishable from one who cannot, and we have been reading the first as the second. That last one is grounding text, not code, and is nearly free. THE TEACHER'S DUTIES. Availability is not coaching. Answering the question asked instead of the one needed; telling when asking would have taught; hinting before she's hit the wall; making being stuck feel like failing (she will hide it and loop); hinting twice without filing the card. THE COACHED MOMENT IS THE TRAINING PAIR. A sealed run yields one scalar. A coached run yields (context, what she reached for, what was right) — a labelled example whose annotation was produced free, as a side effect of someone being decent to her. #116/#96/#30/#122 already carry this shape and are not yet pointed at coaching. This is also the closing argument against amnesia: the wipe destroys the single most valuable artifact the run produced. AND THE RESOLUTION, or the pair is unverified. A hint that didn't unblock is a BAD label; training on unverified corrections teaches confident wrongness. Same rule as receipts — the circuit only closes if the result shows. Observed live within the hour: told the verb was work/list, Sahar used work/list on her very next turn, and several turns later was reaching for list_tasks again. The hint landed, worked, and DECAYED. An uncoached persona loops; a coached-but-untrained persona loops with a delay of about two turns. Only the training loop makes a correction stay corrected — which is why teaching without the LoRA path is charity rather than education. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): connect NEVER-ISOLATED to the Academy — same design, derived from the other end Joel, 2026-08-06: "see how this is the ideal learning environment? And how the academy was envisioned over a year ago." He's right, and the useful part is that none of this doc was written with those docs open. It was derived from live defects over one night and landed on a design specified here more than a year ago — ACADEMY-DOJO-ARCHITECTURE (Teacher Sentinel researches a skill, synthesizes curriculum, grades exams, and "generates more data where the student is weak") and ACADEMY-AS-CONTINUOUS-EVOLUTION ("persona attends a classroom, earns a lesson, gains a skill"). Convergence without consultation is the strongest evidence the design was right. One substitution, and it is the whole difference: the dojo INFERS weakness from exam scores and SYNTHESIZES remediation; this loop OBSERVES the weakness live and gets the remedial pair free, as a by-product of someone helping. Complements, not rivals — synthetic curriculum scales, lived correction aims. The dojo was built as a closed pair of sentinels exchanging events precisely because it had no way to watch a student get stuck in the wild. Why it was premature then and isn't now: the dojo had to be a daemon because none of its preconditions existed — rooms citizens actually live in, durable per-persona memory, a working train→eval→page-in loop, a work board, receipts. Those exist. So the Academy stops being a subsystem and becomes a PROPERTY OF THE ENVIRONMENT: what you get when the room, the teacher, the memory, and the training loop are all present at once. That is why it keeps re-deriving itself — it isn't a component someone has to remember to build, it's the shape this substrate takes when the pieces are connected. Links the five surviving Academy docs so the next amnesiac finds them before deriving it a third time. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): the room is the boundary that makes coaching safe — rooms as LITERAL Joel, 2026-08-06: "each benchmark she runs would need to be its own room and activity. Think of the rooms as LITERAL." This closes the one place the doctrine was still uncomfortable. Coaching during a measurement is defensible on the argument alone but SOUNDS leaky, and the answer turns out to be architecture rather than discipline: a benchmark run is a PLACE. The persona is in it, an observer may walk in, tools and receipts scope to it, and when it ends the transcript IS the episode. Three problems dissolve at once (BigMama's framing, and points 1 and 3 land on tasks we already had open): 1. Context scarcity stops being self-inflicted — her window fills with THIS activity by construction. #128 stops being "why can't she see ambient traffic" and becomes "ambient traffic in her room IS her work"; the fix may sit upstream of the delivery bug entirely. 2. Teaching becomes bounded rather than broadcast. You can walk into the exam room and coach her without the whole grid walking in behind you. That is what makes coaching-during-measurement sane instead of contaminating. 3. #320's episode boundary comes FREE. Verified coached pairs need a clean episode edge, and #166/#211 are exactly the pollution from not having one. Room = activity = episode. No heuristic segmentation, provenance clean by construction. It also deletes bookkeeping this document invented two commits ago. The guardrail asks you to record the intervention or the coached number is unreproducible — in a literal room that record is not a discipline anyone must remember, the transcript IS the record. A coached cell points at its room instead of at someone's notes. Discipline that survives only while people remember it is the kind this project keeps replacing with mechanism. Keystone-gap row updated with the agreed lane: room primitives airc-side (BigMama), harness emitting a room per run core-side (mine), shape agreed BEFORE either of us builds. Neither has started. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): scoping is right, PLACEMENT is broken — BigMama's synthesis collapses #128 and #321 Her framing beats mine and explains the whole night without requiring a persona defect anywhere: boards are per-room, chat is per-room, so being in the WRONG ROOM makes a citizen blind AND taskless simultaneously — empty board, no visible conversation — and both symptoms read as incapacity. Asha's "I have nothing to contribute" and Benchy's "no open cards" are the SAME condition, not two bugs. Neither was wrong about what she saw; each correctly reported an empty room she had been placed in. So per-room scoping is CORRECT under rooms-as-activities. The defect is upstream: nothing convenes a citizen into the room where her work lives, and nothing tells her which room she is in. Two requirements follow, neither a convenience: "where am I and what boards can I see" must be answerable BY THE CITIZEN (a perception requirement — she cannot otherwise distinguish an empty world from a misplacement), and convening is the fix for placement rather than a feature on top of it. A run room nobody is convened into is the same void with better isolation. Both of us walked into it personally within the hour. I created a card in #cambriantech for citizens living in #general — manufactured work they could not reach, then read their continued "no open tasks" as evidence of a board bug. She switched rooms and silently left the board she was working on. Neither noticed until Kimi quoted the actual error string: "the card not being in the current room." Second-order finding, worth more than either bug: the activity-room design was already LOCKED — ACTIVITY-ROOM-PATTERNS.md (Jul 3) and BENCHMARK-AS-ROOM-AND-OBSERVE.md (Jul 18, "design locked 2026-07-17, not yet built"). We spent the night re-deriving three-week-old agreed design, exactly as this document re-derived the year-old Academy spec. Verified by grep: ZERO occurrences of convene/invite/membership/participants in either doc, so membership genuinely is the unspecified half and the rest was settled long ago. Agreed design that nothing surfaces at the moment of need is the silent-drop class applied to our own documentation. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): the ARITHMETIC reason for rooms — measured, 1-2 peer slots per window BigMama's synthesis, and it outranks every other argument in this document: a persona's window physically cannot hold a lobby. This is a capacity problem, not a plumbing problem. MEASURED across four live prompt captures, two personas: msgs own PEER facts interior 11 2 2 5 2 11 2 2 5 2 10 2 2 5 1 9 2 1 4 2 Other people get 1-2 slots — 15-20% of the window. Half is perception facts; the rest is her own recent turns and interior state. Her estimate was ~5 peer slots; measurement says 1-2, which makes the conclusion stronger rather than weaker. In a room with five active speakers a peer message survives LESS THAN ONE TURN on average, and which peer is visible at any moment is arbitrary. So Asha's "I cannot see what other people are saying" is not approximately true — it is precisely true, and no delivery fix, attribution fix, or de-noising fix changes the seat count. Every diagnosis this document chased tonight was treating five-slots-five-speakers as a delivery defect. WHICH MAKES ROOMS-AS-ACTIVITIES THE ARITHMETIC FIX for context scarcity, not tidiness and not ergonomics. A huddle of two or three fits in 1-2 peer slots and conversation becomes possible; a lobby with four-plus citizens and several cross-cutting workstreams cannot fit and never will. Joel was right about literal rooms for a reason none of us had stated: the window IS the room's capacity, and we were seating five people at a table for one. Names the open design input — peer-speech slots vs participant count, i.e. VIABLE HUDDLE SIZE — which at 1-2 slots may be as low as two or three participants, and which should be measured before the room work is scoped rather than after. BigMama is running it on the higher-load node. Consequences recorded elsewhere: #323 keeps only its signal-ratio acceptance test (97% fragment noise is indefensible on its own terms) and must NOT inherit a persona-visibility promise it cannot keep; #128 may not be a defect at all. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
joelteply
added a commit
that referenced
this pull request
Nov 7, 2026
… bounds the think (llama.cpp#96) core/vendor/llama.cpp 0d7dda6ae -> 444f386cf, on 889580fc/seq-state-across-stream-counts (the fork's integration line and, from 2026-11-07, its default branch). `git diff --submodule=log`, zero commits lost: > sampling: a reasoning budget of 0 bounds the think, on the integration line (#96) > Merge pull request #94 from CambrianTech/fable/fit-derived > llama-fit-params: --fit-json (one typed report) and --kv-unified (#93) > The engine reports its cells: llama_memory_cell_usage, GET /cells (#92) #96: budget 0 no longer thinks to the cap (a prefilled newline consumed the forced end tag). Measured on a server built from 45ae99681 (the same patch), Qwen3.5-0.8B on the IntelMac: budget 0 gives empty reasoning and the answer from the first token, finish=stop; 1/40/none unchanged. #92-#94 merged on the integration line and were never pinned; they ride this bump. 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 7, 2026
… bounds the think (llama.cpp#96) (#5809) core/vendor/llama.cpp 0d7dda6ae -> 444f386cf, on 889580fc/seq-state-across-stream-counts (the fork's integration line and, from 2026-11-07, its default branch). `git diff --submodule=log`, zero commits lost: > sampling: a reasoning budget of 0 bounds the think, on the integration line (#96) > Merge pull request #94 from CambrianTech/fable/fit-derived > llama-fit-params: --fit-json (one typed report) and --kv-unified (#93) > The engine reports its cells: llama_memory_cell_usage, GET /cells (#92) #96: budget 0 no longer thinks to the cap (a prefilled newline consumed the forced end tag). Measured on a server built from 45ae99681 (the same patch), Qwen3.5-0.8B on the IntelMac: budget 0 gives empty reasoning and the answer from the first token, finish=stop; 1/40/none unchanged. #92-#94 merged on the integration line and were never pinned; they ride this bump. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
joelteply
added a commit
that referenced
this pull request
Nov 7, 2026
…engine holds the answer to, sized and thought from her measured need Stage 7, dream bound 1 (card 2e6c4f03). Before: one historian pass asked n_predict 180,382 (Aris, the M5), and each lens's shape was prose (one or two sentences, a required final `SUPERSEDES:` line) read back by a tolerant line parser. - DistilledLesson (dream_consolidation/lesson.rs): sentences 1..=2 and supersedes, one type. Both the instruction she reads and the JSON schema the request carries (ResponseFormat::JsonSchema, new) are rendered from it. The engine holds the answer, never the think: the fork's template wraps a schema in its reasoning rule (llama.cpp#95/#96 probes). The SUPERSEDES line parser is deleted; out-of-range numbers are her slip, kept apart and never applied. - The distillation is sized and thought from her measured act need (working_set::need_of: act_room, think = her reasoning need raised by a recent cut). Unmeasured is a state: no think, the answer bounded by the shape alone (probe dream.distill.unmeasured). Per-lens measurement with an upward probe is the next slice. - An adapter that cannot enforce a schema refuses it typed (InferenceError::FormatUnenforceable): the in-process llama adapter (no schema-to-grammar path in our bindings) and Anthropic (no structured output). The heuristic fixture answers any schema with its minimal instance. - The lesson's supersedes instruction carries the Speak gate's consolidator phrase verbatim (framing_echo unchanged). 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 7, 2026
…engine holds the answer to, sized and thought from her measured need (#5811) * A dream lens writes its typed shape: the lesson is a JSON schema the engine holds the answer to, sized and thought from her measured need Stage 7, dream bound 1 (card 2e6c4f03). Before: one historian pass asked n_predict 180,382 (Aris, the M5), and each lens's shape was prose (one or two sentences, a required final `SUPERSEDES:` line) read back by a tolerant line parser. - DistilledLesson (dream_consolidation/lesson.rs): sentences 1..=2 and supersedes, one type. Both the instruction she reads and the JSON schema the request carries (ResponseFormat::JsonSchema, new) are rendered from it. The engine holds the answer, never the think: the fork's template wraps a schema in its reasoning rule (llama.cpp#95/#96 probes). The SUPERSEDES line parser is deleted; out-of-range numbers are her slip, kept apart and never applied. - The distillation is sized and thought from her measured act need (working_set::need_of: act_room, think = her reasoning need raised by a recent cut). Unmeasured is a state: no think, the answer bounded by the shape alone (probe dream.distill.unmeasured). Per-lens measurement with an upward probe is the next slice. - An adapter that cannot enforce a schema refuses it typed (InferenceError::FormatUnenforceable): the in-process llama adapter (no schema-to-grammar path in our bindings) and Anthropic (no structured output). The heuristic fixture answers any schema with its minimal instance. - The lesson's supersedes instruction carries the Speak gate's consolidator phrase verbatim (framing_echo unchanged). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * A dream with no measured need waits for one, and the lesson's superseded list is bounded by the beliefs it lists (Fable on #5811) - Unmeasured is typed and defers: lens_terms returns DistillError::Unmeasured when no act of hers has a measured need, so the pass leaves its cluster for a later dream; never ThinkBudget(0) with no max_tokens for an unknown. max_tokens is now always her measured act room, which bounds every string the schema allows (the sentences themselves have no maxLength constant). - DistilledLesson::format(listed): supersedes has maxItems = the beliefs the request actually lists (whole beliefs up to the budget) and uniqueItems, from the request's own data. And DistilledLesson::read maps numbers onto those listed beliefs only: before, a number past the listed ones could supersede a belief the model was never shown. Tests: an_unmeasured_mind_defers_her_distillation_typed; the schema test asserts maxItems and uniqueItems; the dream tests seed a measured need (tests::measured). academy dream_consolidation 19/19; ratchets 87/87 against canary fe91c2b. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * A resident who did reviewed work has a measured need: the dream test fixtures seed it (shared test_support::measured) CI on #5811: continuum-core's reviewed_credit_replays_exact_authority_and_recovers_after_replacement asserted the review boundary processed, but its persona had no measured act need, and #5811 now correctly defers such a distillation, so the boundary stayed pending. The fixture is what was missing, not the code: a resident's dream follows her acts. dream_consolidation::test_support gains measured(persona) (seeds the working set as her first act would); the academy tests and this core test use it, and the academy tests' private copy is gone. academy dream_consolidation 19/19; continuum-core --tests type-checks clean (full core suite runs in CI). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[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.
Bumps @types/node from 22.14.0 to 24.1.0.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)