Repository navigation
Description
Problem and goal
Measure actual candidate engines on one shared typed-byte corpus: deterministic chunked binary, current redb tuple-key materialization, SQLite JSONB, and normalized SQLite BLOB rows; report storage, indexed query, streaming/page and write costs without choosing from the toy serialization result.
Version and design basis
Version: V2. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/versioned-design.md#4-9125--triples-encoding-and-storage (section: 4. #9125 — triples encoding and storage).
Tier: recommended. Start trigger: Run before freezing the V2 candidate storage/encoding choice; do not treat the existing stdlib toy as this candidate-engine benchmark.
Statement IDs: S5.3, S5.4, S5.5, S5.6, S5.7, S5.11
Enables: A measured V2 storage recommendation with raw artifacts, engine/version/config metadata, repeatable fixture and explicit limits.
Scope and ownership
Parent: #9125 (native component/meta parent).
pkgs/id/crates/id-store/tests/graph_encoding_bakeoff.rs(new; owner: A-GRAPH-9125-03)doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/real-encoding-bakeoff.md(new; owner: A-GRAPH-9125-03)doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/real-encoding-bakeoff-results.json(new; owner: A-GRAPH-9125-03)doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/validate_real_encoding_bakeoff.py(new; owner: A-GRAPH-9125-03)
Hard dependencies (native blockers): A-GRAPH-9125-01 — Canonical typed-byte terms and shared deterministic corpus/reference oracle.
Soft sequencing (not blockers): none
Test / evidence first
Create or validate doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/validate_real_encoding_bakeoff.py first. Proposed command: python3 -I doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/validate_real_encoding_bakeoff.py --run-and-check
Oracle: research-matrix — expected Runner executes the candidate-engine harness, then emits and validates raw results covering every engine/workload cell, engine/schema/index versions, byte/type round-trip oracle, repeated runs, query/page/write/storage measures and limits; missing, inconsistent or unrepeatable cells fail. No universal winner is asserted.; verifier: Strictly parsed runner invokes the exact redb/SQLite candidate harness before validation; independent artifact validator recomputes fixture hashes, checks matrix completeness/report consistency, and compares query outputs to the reference model..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: https://www.rfc-editor.org/rfc/rfc8949 — CBOR typed bytes, canonical/profile considerations and streaming items (retrieved 2026-11-12).; https://www.sqlite.org/json1.html — SQLite JSONB is engine-private; documented JSONB size/operation properties (retrieved 2026-11-12).; pkgs/id/crates/id-core/src/tuple.rs — current typed ordered tuple-key codec.; pkgs/id/crates/id-store/src/tag_index.rs — current prefix/range indexes and index-order alternatives.; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/graph-encoding-toy.py and experiment-output.txt — deterministic serialization-only toy, explicitly not candidate-engine evidence..
Rollback: Remove only the benchmark test, report, results and validator; no production codec/schema/index is modified by this research slice.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Activity
developing-today commentedon Nov 14, 2026
CODE-3640
dezren39 commentedon Nov 14, 2026
Agent note — task 17061 preflight outcome: BLOCKED on native blocker (lane code-a, 2026-11-14)
Mandatory triage/preflight for slice A-GRAPH-9125-03, performed per the task spec — no implementation attempted, no production rollout authorized or started.
Native blocker checked at 2026-11-14T17:47Z:
The blocker remains open, so task 17061 has self-blocked exactly as prescribed (
fleet queue block 17061 --reason-class blocked --blocked-by-issue developing-today/code#10196, blocker: "waiting on native issue blockers"). Work stays paused until the blocker closes; the block re-serves the preflight when it clears.dezren39 commentedon Nov 17, 2026
Agent note — triage (lane any-j, task 19156)
State: triaged — a fully specified research slice (A-GRAPH-9125-03) from the #9106 ID/Atlas mill, already routed with its hard dependency recorded. This triage changes none of its queue state.
Fresh evidence (checked 2026-11-17):
Triage verdict:
triaged.Queue: task 19156 (lane any-j) — claimed, triaged inline per runbook §1c.
dezren39 commentedon Nov 17, 2026
agent-note:v1
reason-class: blocked,blocked-by-issue: #10196). Work stays paused until Typed triple identity and canonical signed records #10196 closes. No production rollout authorized.dezren39 commentedon Nov 18, 2026
Agent note (repo-worker-code, code-f scheduled lane): triage verdict
Verified 2026-11-18T08:48Z. #10219 is OPEN (status/triaged) and its hard dependency A-GRAPH-9125-01 (canonical typed-byte terms and shared corpus/reference oracle) is owned by new files listed in #10196, which is still OPEN.
No benchmark work started. Resume after #10196 lands. Labels unchanged.
Merge pull request #11984 from developing-today/claude/graph-encoding…
dezren39 commentedon Nov 20, 2026
Agent note — native-blocker preflight (task 17061, lane oc-code-04)
State: preflight complete; work PAUSED — native blocker remains open; task 17061 self-blocked per the A-GRAPH-9125-03 contract.
Fresh GitHub check (2026-11-20):
Per the packet, no implementation was performed and no production rollout is authorized. Revalidation of #10196 releases the dep block. Contingent benchmark research was not started.
dezren39 commentedon Nov 22, 2026
Picked up queue task 17061 on scheduled OpenChamber lane any-n. Revalidating native blocker #10196 before any implementation; this task is preflight only.
dezren39 commentedon Nov 22, 2026
Preflight complete: fresh GitHub state shows native blocker #10196 is CLOSED and target #10219 remains OPEN. No implementation was performed; the contingent candidate-engine benchmark trigger is not active because this pass does not freeze a storage/encoding choice. Approved slice manifest is recorded in the issue; proceed within its scope when the benchmark trigger is reached.
dezren39 commentedon Nov 22, 2026
Closed as done. #11984 and #12022 delivered the harness, results, report and validator; #12265 fixed the last defect (the validator compared the report as raw text, so the repository formatter's column padding made the committed report fail its own check).
Declared check, run on main
ecd7891(2026-11-22):python3 -I doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/validate_real_encoding_bakeoff.py --run-and-check→ exit 0:OK: fresh run and committed results: 6129 triples, fixture 73d1772be3c809f9..., 4 engines x 7 workloads x 3 runs = 84 cells… --check-committed→ exit 0, same 84 cellsscripts-test.ymlNo universal winner is asserted, as the issue requires. Tasks that name this issue as a blocker are free to proceed.
By: Claude, 2026-11-22 flow review. Undo: reopen.
Generated by Claude Code