Repository navigation
continuum-proving-types: the proving ground's data shapes as one leaf crate, with no words in them - #5727
Merged
Conversation
… crate, with no words in them THE-PROVING-GROUND 4a (#5618) and 8a, defined once so the harness (Fable), the grid world (Codex) and the reducer (Cormac) never define a shape twice. ONE-BUDGET slice 3b split, item 2. - closed: the only strings a file may hold. Slug (registry names), ModelId (owner/name), Sha256 (32 bytes, one hex spelling; a tool call's canonical-args fingerprint fits it), GitSha. Each refuses prose at deserialization, and a refusal never echoes the value. - provenance: Known (Recorded | Unavailable, never zero), Joined (Exact | Ambiguous | Unresolved; only Exact has a value), Measured (value, at, source, samples, Spread) | Unmeasured. - reduction: ActReduction per 4a's table (identity, tokenizer identity, request, response with reasoning apart from text, the sent budget and allocation receipt as Joined, view items, delivery with a typed failure class, outcome kinds). - profile: NodeProfile (memory by tier, cores, per-model weights, state bytes per token, prefill and decode curves, page costs, checkpoint bytes, slot geometry), every value Measured. - scenario: kind (Scenario | KnownBad with the criterion that must fail), world, workload, timed world events, policy with typed overrides, pass criteria. A criterion is Never or a comparison with a measured Baseline; no variant carries a number, so a picked threshold cannot be written (R1). The text check is the type. Every deserialized type denies unknown fields, so the pre-commit check that parses a file on disk refuses one carrying words instead of skipping the field. serde ignores extra fields beside an internally tagged UNIT variant even under deny_unknown_fields (probed), so those variants are empty structs (`Unresolved {}`) or adjacently tagged (Metric, Known, Spread). ts-rs is not used: every reader is Rust, and ts-rs warns on each deny_unknown_fields (60 warnings). THE-PROVING-GROUND's two lines that named it are corrected. Validation: cargo test -p continuum-proving-types 12/12, 0 warnings; clippy --all-targets -D warnings clean. Mutation: dropping deny_unknown_fields from MessageReduction fails planted_words_never_survive; making Unresolved a unit variant fails nothing_rides_beside_an_empty_variant. continuum card 3ba7627b Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…nel and the host It depends on nothing in continuum, so a kernel or host change never selects it; the test's floor lists name it beside continuum-base and continuum-context. continuum card 3ba7627b Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Contributor
Author
|
Review at 163156f (Fable): PASS. Claim verified: no type holds free text. Right:
Two additions for ONE-BUDGET slice 3b (#5723). I make them in the harness's first PR, so no orphan here unless you'd rather own them in this crate:
Plus, as I said on #5618: the reduction's engine side ( |
joelteply
added a commit
that referenced
this pull request
Nov 3, 2026
…platforms of binaries (card 6cb09c03) (#5731) Each new leaf crate edits tools/scripts/tests/ci-change-scope.test.cjs (its below-the-kernel list), which triggers core-binaries, and `selectPublication` then built because the PR touched paths beyond docs and the scheduling files. #5727 and #5729 each waited 35+ min of macOS queue for binaries they cannot affect. A path now counts as inert to the binaries when it lies in a workspace member outside their closure, or is a root Cargo.toml / Cargo.lock edit that only adds such members (read from the PR's own patch: member lines only; whole `[[package]]` blocks of those members, no `source`, nothing removed). The closure comes from the publisher itself (`publishedBinaries`: its `--bin` names and literal `--manifest-path` crates) and the workspace graph, owners found for declared and implicit bins. Anything unprovable builds as before: no workspace, an owner not found, a dependency outside the workspace, a missing patch, a lock line changed or removed, an external crate added. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 5.5 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Nov 3, 2026
…current state, and where an act resumed Fable's review of #5727, for ONE-BUDGET slice 3b: - ModelProfile.holders: every fixed holder the fork reports (weights, compute graph, draft, projector, prompt cache), each with its tier, from memory_breakdown and resident_state (llama.cpp#91). On the M5 the draft (3.15 GB), projector (0.90 GB) and graph (1.87 GB) were what the plan could not see. - kv_bytes_per_token and recurrent_bytes_per_sequence replace state_bytes_per_token: a hybrid model's recurrent state is fixed per sequence, so folding it into the per-token rate overstates long sequences and short-changes many short ones (card c8b2e1df). Unmeasured until the fork reports it apart. - ActReduction.resume: Joined<Resume>, where the engine resumed the prompt from (slot prefix kept, a checkpoint at N, a page restored, a page refused with a typed class, cold). The tokens re-read stay Timing::prefill_tokens; nothing is recorded twice. Clearing waits on cambrian-flex reaching continuum's airc pin (Fable), and will carry flex's own Clearing type rather than a copy of it. Validation: cargo test -p continuum-proving-types 13/13, clippy --all-targets -D warnings clean. continuum card 950064f2 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 3, 2026
…current state, and where an act resumed (#5732) * continuum-proving-types: the engine's fixed holders, KV apart from recurrent state, and where an act resumed Fable's review of #5727, for ONE-BUDGET slice 3b: - ModelProfile.holders: every fixed holder the fork reports (weights, compute graph, draft, projector, prompt cache), each with its tier, from memory_breakdown and resident_state (llama.cpp#91). On the M5 the draft (3.15 GB), projector (0.90 GB) and graph (1.87 GB) were what the plan could not see. - kv_bytes_per_token and recurrent_bytes_per_sequence replace state_bytes_per_token: a hybrid model's recurrent state is fixed per sequence, so folding it into the per-token rate overstates long sequences and short-changes many short ones (card c8b2e1df). Unmeasured until the fork reports it apart. - ActReduction.resume: Joined<Resume>, where the engine resumed the prompt from (slot prefix kept, a checkpoint at N, a page restored, a page refused with a typed class, cold). The tokens re-read stay Timing::prefill_tokens; nothing is recorded twice. Clearing waits on cambrian-flex reaching continuum's airc pin (Fable), and will carry flex's own Clearing type rather than a copy of it. Validation: cargo test -p continuum-proving-types 13/13, clippy --all-targets -D warnings clean. continuum card 950064f2 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * continuum-proving-types: the prompt cache is a claim, not a holder; the draft's KV is a per-token rate (Fable on #5732) Holder::PromptCache is gone: the prompt cache is a divisible claim that sheds first, cleared with the minds' claims, not a fixed holder. Holder::Draft is the draft's weights and compute only; its KV grows with the pool (0.53 GB at 257,536 tokens on the M5, ~2,048 B/token), so it is ModelProfile::draft_kv_bytes_per_token beside kv_bytes_per_token. continuum card 950064f2 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.
THE-PROVING-GROUND 4a (#5618) and 8a, defined once so the harness (Fable), the grid world
(Codex) and the reducer (Cormac) never define a shape twice. ONE-BUDGET slice 3b split, item 2.
Sha256 (32 bytes, one hex spelling; a tool call's canonical-args fingerprint fits it),
GitSha. Each refuses prose at deserialization, and a refusal never echoes the value.
Unresolved; only Exact has a value), Measured (value, at, source, samples, Spread) |
Unmeasured.
reasoning apart from text, the sent budget and allocation receipt as Joined, view items,
delivery with a typed failure class, outcome kinds).
prefill and decode curves, page costs, checkpoint bytes, slot geometry), every value Measured.
timed world events, policy with typed overrides, pass criteria. A criterion is Never or a
comparison with a measured Baseline; no variant carries a number, so a picked threshold
cannot be written (R1).
The text check is the type. Every deserialized type denies unknown fields, so the pre-commit
check that parses a file on disk refuses one carrying words instead of skipping the field.
serde ignores extra fields beside an internally tagged UNIT variant even under
deny_unknown_fields (probed), so those variants are empty structs (
Unresolved {}) oradjacently tagged (Metric, Known, Spread).
ts-rs is not used: every reader is Rust, and ts-rs warns on each deny_unknown_fields (60
warnings). THE-PROVING-GROUND's two lines that named it are corrected.
Validation: cargo test -p continuum-proving-types 12/12, 0 warnings; clippy --all-targets
-D warnings clean. Mutation: dropping deny_unknown_fields from MessageReduction fails
planted_words_never_survive; making Unresolved a unit variant fails
nothing_rides_beside_an_empty_variant.
continuum card 3ba7627b
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE