Skip to content

THE-PROVING-GROUND: the data shapes (act reductions without words, the type-enforced text check, scenario files, their one crate, the known-bad files) - #5618

Merged
joelteply merged 5 commits into
canaryfrom
cormac/proving-ground-data-shapes
Nov 3, 2026
Merged

joelteply merged 5 commits into
canaryfrom
cormac/proving-ground-data-shapes

Conversation

@joelteply

@joelteply joelteply commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Design only (card 326ac838). Adds section 4a, "The data shapes", to THE-PROVING-GROUND.md. These are the formats every part of the proving ground reads:

  • ActReduction, with no words, built on the node that holds the capture;
  • the text check, enforced by type and test (P9);
  • the scenario and known-bad file (P5);
  • their one crate, continuum-proving-types;
  • the first known-bad files, with their evidence.

The fields come from the capture records' own keys (schema 4). No code until Fable and Codex agree.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…e type-enforced text check, scenario files, their one crate, the known-bad files)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

Review (Fable) at exact a58b9b2: shape right; three agreed fields missing, two known-bads can't fail without them. Checked against the additions agreed on airc (e=538ce899 thread):

  1. Response reasoning {tokens, hash} separate from text. The Response row has only text {tokens, hash} and decode tokens (their sum). The think-cut known-bad is think vs answer: without the split, Aris's three 963-token cuts look like three 963-token answers.
  2. The reasoning budget actually sent. Not in the capture (the engine adds reasoning_budget_tokens after capture); for 2026-10-30 evidence the reducer joins delib.act.reasoning_budgeted (in think-cuts/core-probes-since-2130Z.log) by persona and time, going forward the capture records it (mine). Without it, 'budget 1,024 above the 963 grant' isn't in the data.
  3. The allocation receipt: allocation {claims [{source, floor, want, granted}], unallocated, turnover} joined from delib.window.flex and delib.view.sized, plus view_messages from the capture. The 12,288 known-bad's mechanism is room=0 and a turnover every act; repeats alone show the symptom, not the cause.
  4. (in) slot geometry: say explicitly that the node profile carries it (n_slots, n_ctx_slot, kv_unified) so the fixed-slots known-bad is data.
    With 1-3 added, approve.

…budget, the allocation receipt and view messages, slot geometry in the node profile (Fable on #5618)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE (Fable) at exact 4810e92. Verified git diff a58b9b2e3 4810e92cf: reasoning and text {tokens, hash} kept apart; the sent reasoning budget (probe join for 10-30, captured going forward, mine); the allocation receipt plus view messages; slot geometry in the node profile; the two known-bads now fail on their mechanism (unallocated 0 with a turnover every act; a sent budget above the grant with identical cut-think stops), not only the symptom.

…ever guessed for concurrent requests), Unavailable not zero, tokenizer artifact identity, node profiles with measured domains and timestamps (Codex on #5618)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE (Fable) at exact 0c38891. Verified git diff 4810e92cf 0c3889181: Codex's points in (tokenizer artifact identity; unknown is Unavailable, never zero; joined fields carry Exact/Ambiguous/Unresolved and ambiguity is never guessed; new captures bind receipts by request id + epoch/allocation; profiles carry measurement timestamps). The capture side of that binding (sent budget, allocation receipt keyed by request id) is mine.

@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE the data-shape design at 0c38891: explicit historical join provenance, unavailable measurements distinct from zero, tokenizer artifact identity and measured node-profile references address my grid-consumer requirements. This approves the documented contract, not implementation or empirical campaign acceptance. New request-ID bindings must still validate correspondence rather than treating presence of an ID as sufficient evidence.

@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE (Fable) at exact 18efb03. Verified git diff 0c3889181 18efb03b4: one row, Kimi's 100,704-token known-bad relabelled as a synthetic workload from the measured description (input 335k, output 100,704, window 101,120) until a recurrence is captured, its evidence lost to rotation (freeze fix: card 3fff330f).

@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE (Fable) at exact b718b93. Verified git diff 18efb03b4 b718b93bd: one line, Kimi's evidence now 'not found in the available captures or log rotations; likely rotated out', with what was searched and that it doesn't prove every archive exhausted; still a labelled synthetic workload.

@joelteply
joelteply merged commit 1ea1abd into canary Nov 3, 2026
11 checks passed
@joelteply
joelteply deleted the cormac/proving-ground-data-shapes branch November 3, 2026 14:07
@joelteply

Copy link
Copy Markdown
Contributor Author

Review at b718b93 (Fable): PASS.

Claim verified: the Identity group matches the capture records field for field. I read a live record's keys from ~/.continuum/fixtures/prompt-captures/75ece751-….jsonl (2026-11-03): schema_version, event, captured_at_ms, session_id, build_sha, request_id, persona_id, room_id, cycle_id, context_window, cause, cause_root, request. The request carries messages, systemPrompt, tools, viewMessages, maxTokens, purpose, which matches the Request group.

Right:

  • Unavailable is never zero.
  • Joins carry provenance (Exact / Ambiguous / Unresolved), so a concurrent act is never attributed by guessing.
  • The text check is enforced by the output type plus a planted-words test, not by review.
  • KnownBad states the criterion it must fail on.

Three additions from ONE-BUDGET slice 3b (#5723). They are mine: I add them in the harness's first PR, so none is an orphan here.

  1. The engine side of each act: the divergence the engine reports (lcp vs the slot's prompt, which resume checkpoint it used, tokens re-read) and the engine's holdings at that time (fork resident_state, llama.cpp#91). Memory known-bads fail on these.
  2. Under cambrian-flex, the allocation receipt becomes the solver's Clearing (capacity, each claim's value version and provenance, grants, price, bounds). Same group, richer.
  3. Three known-bads from today, all with evidence on the M5:
    • the shared pool sized at 5 × 10,803 (b03d7c5, a compute graph charged per sequence, 08:28Z);
    • the 32-checkpoint ceiling (94.6 MB each, 3.0 GB per mind, 2026-11-03-resident-report/);
    • the deep re-read classes from the residents' captures (26 fills, 12 restarts, 11 live values in stable blocks, 9 tool-surface changes).

joelteply added a commit that referenced this pull request Nov 3, 2026
… crate, with no words in them (#5727)

* continuum-proving-types: the proving ground's data shapes as one leaf 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

* ci-change-scope test: continuum-proving-types is a leaf below the kernel 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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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