Repository navigation
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 - #5811
Merged
Conversation
…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
…ded 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
…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
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.
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.
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/Build(deps-dev): Bump @types/node from 22.14.0 to 24.1.0 #96 probes). The SUPERSEDES line parser is
deleted; out-of-range numbers are her slip, kept apart and never applied.
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.
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.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE