GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Benchmark schema and synthetic mapping oracle · Issue #10153 · developing-today/code

Benchmark schema and synthetic mapping oracle #10153

New issue
Copy link
New issue
Copy link
Closed
#11021
Closed
Benchmark schema and synthetic mapping oracle#10153
#11021
Copy link
Assignees
dezren39
Labels
effort/lLarge: multi-day or open-ended; expect staged check-inskind/testTest coverage, test infrastructure, or test-only fixespriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 14, 2026
Issue body actions

Problem and goal

Own the benchmark crate manifest/result schema and the design-only adapter plan, synthetic workload fixture and reference oracle. The fixture verifies operation mappings, computes the exact fixture digest, rejects ordinary put after Tombstoned(g), and allows only explicit resurrection to g+1 with a new non-reused physical key and unchanged canonical ContentId.

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-c/versioned-design.md#9133-benchmark-contract-s21s23-s216 (section: #9133 benchmark contract (S2.1–S2.3, S2.16)).
Tier: crucial.
Statement IDs: S2.1, S2.2, S2.3, S2.16
Enables: all engine adapter slices; local and cloud evidence follow-ups

Scope and ownership

Parent: #9133 (native component/meta parent).

  • pkgs/id/benchmarks/Cargo.toml (new; owner: C9133-01)
  • pkgs/id/benchmarks/src/lib.rs (new; owner: C9133-01)
  • pkgs/id/benchmarks/result-v1.schema.json (new; owner: C9133-01)
  • pkgs/id/benchmarks/fixtures/synthetic-workload.json (new; owner: C9133-01)
  • pkgs/id/benchmarks/tests/workload_oracle.rs (new; owner: C9133-01)
  • doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/benchmark-plan.json (existing; owner: C9133-01)
  • doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/synthetic-workload.json (existing; owner: C9133-01)
  • doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/benchmark-workload-oracle.py (existing; owner: C9133-01)
  • doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/benchmark-workload-oracle-output.txt (existing; owner: C9133-01)
    Hard dependencies (native blockers): none
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/benchmarks/tests/workload_oracle.rs first. Proposed command: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test workload_oracle
Oracle: reference — expected Finite fixture executes put/get/metadata/ref-intent/tombstone/resurrection and exact-byte digest; replaying the same put is row-preserving and idempotent; ordinary put after Tombstoned(g) cannot silently restore Live, explicit resurrection creates g+1 under a distinct never-reused physical key, and delayed delete of g preserves g+1. Every expected transition and engine capability mapping matches; no timings.; verifier: Independent finite refstore/generation-key model compared row-by-row to the owned synthetic fixture; digest recomputed from fixture bytes; stale-deleter/readback and missing-resurrection cases included..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Remove only the additive benchmark crate/files; no production store or data changes.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

Next
  1. developing-today commented on Nov 14, 2026

    @developing-today
    developing-todayBot
    on Nov 14, 2026 – with developing.today
    Contributor
    More actions

    CODE-3578

  2. dezren39
    added a parent issue on Nov 14, 2026
    • research(atlas): benchmark harness — D1 vs R2 vs laptop redb vs laptop Turso, shards x growth #9133
  3. dezren39
    marked this as blocking 6 issues on Nov 14, 2026
    • D1 workload adapter and native counters #10162
    • R2 object workload adapter and operation counters #10163
    • redb workload adapter and transaction fixture #10164
    • Turso workload adapter and sync state capture #10165
    • Cloud-backed storage evidence run with strict preflight validator #10187
    • Run matched local laptop redb and Turso evidence #10188
  4. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent note — task 17003 preflight recorded (lane any-a): C9133-01 native blockers: NONE

    • state: triaged (preflight only, per the task packet's mandatory scope)
    • task: 17003 · slice: C9133-01 · parent: research(atlas): benchmark harness — D1 vs R2 vs laptop redb vs laptop Turso, shards x growth #9133 · program: epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106
    • Manifest SHA-256 binding on the issue matches the approved manifest: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

    Native-blocker preflight (fresh, 2026-11-14T17:10Z):

    • GitHub native dependencies API (GET /repos/Benchmark schema and synthetic mapping oracle #10153/dependencies/blocked_by) returns an empty set — zero native blockers registered.
    • The issue body independently declares: 'Hard dependencies (native blockers): none' and 'Soft sequencing (not blockers): none'.
    • No contingent research trigger is recorded on the issue or in the packet (packet states: none).
    • Issue Benchmark schema and synthetic mapping oracle #10153 is OPEN with no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit all absent).

    Result: the blocker gate is CLEAR. Per the packet, this task is triage/preflight only and is not production rollout authorization, so no implementation was performed here. Implementation of C9133-01 proceeds within the issue's approved scope and stated oracle (reference oracle; future test command: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test workload_oracle) as the follow-on delivery step for this slice. Task 17003 completes as triaged with this preflight as the record.

  5. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent note — task 17129 preflight outcome: PASSED, no native blockers (lane code-a, 2026-11-14)

    Mandatory triage/preflight for slice C9133-01, performed per the task spec — preflight only; no implementation performed and no production rollout authorized or started.

    Checks at 2026-11-14T19:06Z:

    • This issue's GitHub blocked-by graph: empty.
    • Issue body: "Hard dependencies (native blockers): none."
    • Task spec's native-blocker list: none.

    The preflight passes; the slice's benchmark-schema/oracle work belongs to the implementation dispatch. Task 17129 completes as triaged (preflight passed).

  6. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — triage of record (task 19113, lane any-l)

    State: triaged. Issue #10153 OPEN, no labels, no hard-stop labels (fresh check 2026-11-17).

    Verdict:

    • Work kind: small-fix (implementation). Priority: high — the ID program's design tracks are Drew's standing priority order line 2 (drew-priorities-brief), this slice is tier "crucial" in its manifest, and it enables all engine adapter slices. Effort: l. Kind: test (benchmark schema + reference oracle).
    • Confirmed unimplemented on main 09ae3a8: pkgs/id/benchmarks/ does not exist. The specification is fully settled and present: part-c design artifacts (benchmark-plan.json, synthetic-workload.json, benchmark-workload-oracle.py + recorded output) and the versioned-design research(atlas): benchmark harness — D1 vs R2 vs laptop redb vs laptop Turso, shards x growth #9133 benchmark contract (S2.1–S2.3, S2.16).
    • No hard dependencies and no soft sequencing blockers, per the issue itself — this slice can start immediately.
    • Evidence-first per the issue: create/validate tests/workload_oracle.rs first; the oracle is reference-grade (row-by-row comparison against an independent finite refstore/generation-key model, digest recomputed from fixture bytes, stale-deleter/readback and missing-resurrection cases included, no timings).

    Follow-on: task 20481 (small_fix, queued, priority 20) — build the benchmarks crate exactly within the issue's owned file list, oracle test first, attach test output + changed-file summary on completion.

    Acceptance check for the fix: cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test workload_oracle passes; digest and every expected transition/mapping match the contract; PR merged, issue closed with evidence.

  8. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 17, 2026
  9. 4 remaining items

  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 17, 2026
  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked (implementation scoped; needs a full session)

    • Agent: queue worker (repo-worker-code), lane any-h
    • Session / ID: task 20481 (revival of task 17129)
    • Found via: queue claim
    • Clarified lineage: predecessor task 17129 (lane code-a, 2026-11-14) was the mandatory PREFLIGHT for slice C9133-01 — it passed with no native blockers and explicitly performed no implementation. Lane any-l's task 19113 triage of record (2026-11-17T05:44Z) routed the build itself; this task is that build, claimed at the tail of this shift with the budget nearly spent, and the slice is effort/l — parking it scoped rather than starting a partial build.
    • Build spec (settled design, no open questions): doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md, §9133 benchmark contract (S2.1–S2.3, S2.16). Deliverables: the benchmark crate manifest/result schema, the design-only adapter plan, the synthetic workload fixture, and the reference oracle. The fixture must verify operation mappings, compute the exact fixture digest, reject an ordinary put after Tombstoned(g), and allow only explicit resurrection to g+1 with a new non-reused physical key and unchanged canonical ContentId.
    • Resume: claim with a full budget; implement per §9133 exactly (the digest and the tombstone/resurrection rules are the acceptance core — no improvisation on either), with the fixture's four properties as tests.
  12. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked (implementation slice, effort/l; not started in this run)

    • Agent: queue worker (repo-worker-code), openchamber scheduled lane code-i
    • Task: 20481, lease reached its scheduled-run limit with no branch created
    • Resume: create the worktree from ~/git/code main under ~/git/fleet, write pkgs/id/benchmarks/tests/workload_oracle.rs first (the reference oracle from the issue), then the crate, schema and fixture. No changes have been pushed yet.
  13. dezren39
    added a commit that references this issue on Nov 17, 2026

    id benchmarks: force-add result-v1.schema.json (gitignore covers gene…

    80b3a07
  14. developing-today
    added
    status:in-review
    on Nov 17, 2026
  15. dezren39
    added a commit that references this issue on Nov 17, 2026

    id benchmarks: schema, synthetic fixture and reference oracle crate (…

    8046b00
  16. dezren39
    closed this as completedin #11021on Nov 17, 2026
  17. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 17, 2026
  18. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — task 20481 done (lane any-k): #10153 fixed_merged via PR #11021

    • PR id benchmarks: schema, synthetic fixture and reference oracle crate (C9133-01, #10153) #11021 merged (squash 8046b00): new standalone crate pkgs/id/benchmarks with exactly the five scoped files — Cargo.toml, src/lib.rs (Rust port of the Python reference oracle), result-v1.schema.json, fixtures/synthetic-workload.json (byte-identical to the design fixture), tests/workload_oracle.rs.
    • Test evidence (laptop, pre-merge, at the PR head): cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test workload_oracle — 2 passed: workload_oracle (all 16 fixture transitions matched row-by-row, all 64 engine-operation capability mappings checked, fixture digest recomputed from exact bytes) and result_schema_is_present_and_well_formed.
    • Changed-file summary: 5 new files, +805 lines, additive only; no production store or data changes. Rollback is deleting the crate.
    • Stale queue/status labels from the earlier park cleaned on close.
  19. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/queuedHas a queued queue task
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  20. dezren39
    added a commit that references this issue on Nov 17, 2026

    id benchmarks: redb workload adapter and transaction fixture (C9133-0…

    a566a1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

effort/lLarge: multi-day or open-ended; expect staged check-inskind/testTest coverage, test infrastructure, or test-only fixespriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.