Skip to content

Measure authored domain workloads and propose reference storage placement - #135

Merged
CompleteDotTech merged 2 commits into
mainfrom
codex/issue10-workload-reference
Nov 18, 2026
Merged

CompleteDotTech merged 2 commits into
mainfrom
codex/issue10-workload-reference

Conversation

@CompleteDotTech

@CompleteDotTech CompleteDotTech commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add opt-in domain workload measurements for read/write rates and latency, ACL costs, cache churn, topology degree/skew, cross-domain transitions, and index storage and verification.
  • Exercise the existing signed write path in isolated SQLite fixtures. The measurement separates read-only projections from explicit index write/materialization work and reports committed, idempotent and stale attempts separately.
  • Record the proposed shared logical reference graph in ADR 0001 and specify the authorized representative data, isolation, SLO and decision inputs needed for a physical placement decision.

Contributes to #10 and #4. The representative placement gates remain open under #10.

Validation

Exact head 081da7e491a5635a983bda8098ba2138687a897d passed all 16 focused tests. The 3×2 authored benchmark recorded 66 measurements. It completed 55 queries, recorded one expected tenant denial, committed five publications (three spanning domains), recorded four idempotent replays, and rejected one stale concurrent write. The historical positive control returned the source and evidence before withdrawal. The same snapshot and query excluded the source afterward. The even-repetition case passed too.

Local fixture latency (ms) Samples p50 p95 p99
Query attempts 56 277.55 533.39 632.36
Publication attempts 10 549.98 1744.70 1744.70

The concurrent in-memory schedule completed 48 queries in 6.720 seconds (7.14 completions per second). The mixed SQLite phase recorded five signed-plan commits in 10.160 seconds (0.492 commits per second), including reads, index work, retries and withdrawal in the elapsed window.

Scoped lexical and vector cases each covered both authored contradiction evidence sides on 6/6 queries. Their unscoped controls missed a side on 6/6 queries per channel. All four arms omitted a dedicated structured CONFLICT item in these cases. The fixture verified a cold projection, three explicit index preparation operations, and seven persisted-index reads.

The authored protocol is research-domain-workloads-v1.3, query protocol hash 27fa6f7f49a1abc373cda1ee001078fc72592c6c851921bd65f3f718ed60df92. The saved local aggregate receipt SHA-256 is 4f176aea728a6e771baf1d2a7d6d321fa5edb195dd64c0928b76928d35a4a693. Its status is MEASURED_NOT_QUALIFIED. The hosted workflow separately records its exact release checks. Measurement protocol · Proposed ADR · Exact hosted run.

The reference command is python -m trace_gc domain-workload --output domain-workload.json --repetitions 3 --workers 2. This authored single-host run measures the harness and repository behavior. The representative backend, data and operational placement evidence belong to the named deployment and data owners.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ❌ Failed 2026-11-18T03:04:13.697116Z
We couldn’t complete this review. Comment @codex security review to try again.
e7dd2bc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@CompleteDotTech

Copy link
Copy Markdown
Collaborator Author

Independent review: APPROVE

Exact head 081da7e491a5635a983bda8098ba2138687a897d against ea4f7e75884cf83732472401047dfc080f2e04bc.

  • Independent general review verified that the runner retains later scheduled queries after a recorded denial/error and propagates factory, capacity and measurement failures. Phase throughput uses documented elapsed windows and actual counts. No issue found in the normal retrieval entry points or documented reference-only placement proposal.
  • Independent integrity review passed all 16 focused tests, verified the even-repetition withdrawal control uses the same matching historical snapshot before and after withdrawal, and confirmed trusted signed write handling and read-only retrieval/index write separation. It requested exact benchmark provenance, now recorded in the PR body.
  • The isolated exact-head authored 3×2 rerun produced 66 measurements with 55 completed queries, one expected denial, five signed commits, four retries and one stale write rejection. The same historical request returned the source and evidence before withdrawal and excluded the source afterward. The full benchmark and its separate phase throughput and fixture-only limits are recorded above. Issue Benchmark domain workloads and record the physical partition decision #10 remains open for representative owner-backed placement. PR workflow · push workflow

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant