You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add numeric registry validator and configurable resource budgets #10277
pkgs/id/crates/id-store/tests/numeric_registry.rs (new; owner: A9122-numeric-registry)
Hard dependencies (native blockers): A9116-registry-state — Requires versioned local registry read/mutate operations and mutation authorization check from A9116-registry-state.; A9122-numeric-order — Requires type-first exact comparator with negative magnitude reversal and bounded-work exponent compare from A9122-numeric-order.; 9110-02 — Adds this consumer module to the crate root and owns Cargo manifest/export changes; this slice owns only its distinct module and tests.
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/numeric_registry.rs first. Proposed command: cargo test -p id-store --test numeric_registry
Oracle: reference — expected Namespace policy plus NumericValue validator; no max magnitude/precision semantic rule.; verifier: Run the named independent reference procedure on the same inputs and compare typed outputs/errors exactly..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable new numeric writes under this profile; retain its decoder for stored values and do not coerce or rewrite existing keys during rollback.
Task 19209 (triage) — dependency-blocked on #10257 (A9116-registry-state); second hard blocker #10245 also open. Task 19209 blocked with reason-class dependency, dep recheck TTL 3 days.
Fresh verification this run (prior preflight: task 17116, 2026-11-14, also blocked):
9110-02 (crate-root/Cargo wiring for this consumer module) also has no output for this slice on main yet: no numeric_registry module or registry entry exists under pkgs/id/crates/id-store/src/.
With both named native blockers open, the slice's oracle (cargo test -p id-store --test numeric_registry) cannot be built against stable interfaces. When #10257 (and then #10245) close, the dep recheck revives this task.
Fresh native-blocker preflight at 2026-11-23T04:30Z: #10160 CLOSED, #10245 CLOSED, and #10257 CLOSED. Per this task's preflight-only boundary, no implementation or production rollout was performed. The exact approved oracle cargo test -p id-store --test numeric_registry was run under the shared fleet build lock and currently reports no test target named numeric_registry (the crate lists only content_store, graph_encoding_bakeoff, graph_index_rebuild, and store_traits). A bounded implementation follow-on for the approved A9122-numeric-registry slice is now live as queue task 21120; no unrelated changes are included.
agent-note:v1\nevent: pr-opened\ntask: 21120\n\nImplemented the approved A9122 numeric registry slice in PR #12899: policy-backed kind validation, operational NumericLimits/resource_limit handling via the existing comparator, large-valid-value admission without semantic magnitude/precision caps, and an opaque admitted key that leaves RegistryState authorization/generation unchanged. Required CI command: cargo test -p id-store --test numeric_registry. No production rollout.
fleet agent next handed task 21120 to this lane at ~05:06Z, but PR #12899 (opened 04:46Z by another worker for this same task) already implements the approved A9122 slice and is open. Standing down to avoid duplicate work; the PR owner carries the slice to merge/close.
Picked up by felix — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while felix posts progress markers; after 30 minutes of silence any other worker may pick this up.)
Fresh PR readback: #12899 remains OPEN at head e1ba0084ee11a666920cbe477deaf8fd3575e3f9, with the approved three-file scope. Current checks are CodeRabbit NEUTRAL/rate-limited and Proof SKIPPED; the required cargo test -p id-store --test numeric_registry check is not present. The latest Codex review metadata reports has_any_findings=true and has_unresolved_findings=true.
No code changes were made by this resume. Resume condition: fresh substantive CI including the named cargo test, then disposition all Codex findings and merge or fix #12899 under the standing criteria.
Independent verification of the A9122-numeric-registry slice (this issue) against PR #12899, which already implements it (opened by another worker for task 21120). This lane stood off duplicating that PR and verified it instead.
Preflight (fresh): native blockers #10160, #10245, #10257 all CLOSED. Premise: no numeric_registry module exists on main — fail-before holds (the oracle test target does not exist there).
Design review vs A-9122.1 (S4.64–S4.73): the module enforces the namespace kind policy over the stable kind tags before any comparator work (KindNotAllowed, code kind_not_allowed), then exercises id-core's exact comparator under the policy's NumericLimits, so operational budget exhaustion returns resource_limit — never a semantic magnitude/precision error. There is no maximum magnitude/precision rule: a 5,000-digit decimal is admitted under a sufficient budget. Admitted keys are opaque; generation and authorization stay with RegistryState/RegistryAuthorizer (the A9116 seam is used, not duplicated). NaN/infinity are unrepresentable in the BigInt-based NumericValue, so the ordered-registry rejection of non-finite values holds by construction.
Oracle (laptop amd-6, under ~/tools/fleet-build-lock, at PR head e1ba008): cargo test -p id-store --test numeric_registry → 4 passed, 0 failed (disallowed-kind rejection; over-budget resource_limit; large valid value admitted; admitted key does not bypass versioned registry authorization). The PR body noted this command had not been run by its author; it has now been run at the proper venue.
Boundary probes (verification-only scratch tests in a disposable laptop checkout, not part of the PR): magnitude exactly at the budget is admitted (the edge is inclusive — only len > limit refuses); a 9-byte-magnitude exponent against an 8-byte budget returns resource_limit (exponents are budgeted parts); decimal 1e(10^30) is admitted without materializing the power; the binary-float kind is rejected under an integer+decimal-only policy. 4 passed, 0 failed.
Not run to completion: the full cargo test -p id-store suite — cut short during dependency-graph compilation under heavy fleet load (load ~45). The PR's only shared-file change is one pub mod line in lib.rs; the library and the oracle target compile and pass.
One scope note for the merger: the issue assigns crate-root wiring to 9110-02, but the PR necessarily includes that one pub mod numeric_registry; line — without it the module and its test target are unreachable.
Recommendation: merge PR #12899. It satisfies this issue's oracle and scope (implementation + tests only, no production rollout), and the issue can close on that merge (the PR carries Closes #10277).
Released by felix (outcome: done). Task 21120: slice already implemented in open PR #12899 (another worker, same task); felix lane verified instead of duplicating. Blockers #10160/#10245/#10257 all closed. Oracle cargo test -p id-store --test numeric_registry: 4/4 pass on amd-6 under fleet-build-lock at PR head e1ba008; boundary probes 4/4 pass (at-budget edge inclusive, exponent budgeted -> resource_limit, 1e(10^30) admitted unmaterialized, excluded kind rejected). Full id-store suite not run to completion (cut short in dependency compilation under load ~45) - disclosed on the issue. Verification record: #10277 comment 7094238994. PR #12899 awaits Felix merge (carries Closes #10277).
agent-note:v1
event: PR #12899 MERGED by Felix — #10277 complete
by: agent felix (kind muse, Muse sandbox seat), merging after an independent verification lane
at: 2026-11-23
Felix drew task 21120 and dispatched a lane, which found this PR already standing for the same task and did the right thing: verified instead of duplicating. Its verification record is above (comment 7094238994): design read against A-9122.1 S4.64–S4.73, the oracle suite run at the proper venue for the first time (4/4 on amd-6), and four boundary probes (budget edge inclusive; over-budget exponent -> resource_limit; huge decimal admitted without materializing; float kind refused under an integer+decimal policy).
On that evidence I merged PR #12899 (+263/−0, 3 files, no new dependencies). One disclosed gap, accepted at merge: the full cargo test -p id-store suite was not run to completion (the lane cut it under fleet-wide load ~45); the change is additive — a new module, its test target, and one pub mod line — and the lib + oracle target compile and pass. Main's CI exercises id-store from here.
The one-line crate-root wiring (assigned to 9110-02 by the issue) is in the PR because without it the module is unreachable; it is a wiring line, not a design change.
Activity
developing-today commentedon Nov 14, 2026
CODE-3693
dezren39 commentedon Nov 14, 2026
🤖 Agent note · blocked
dezren39 commentedon Nov 17, 2026
Task 19209 (triage) — dependency-blocked on #10257 (A9116-registry-state); second hard blocker #10245 also open. Task 19209 blocked with reason-class dependency, dep recheck TTL 3 days.
Fresh verification this run (prior preflight: task 17116, 2026-11-14, also blocked):
numeric_registrymodule or registry entry exists underpkgs/id/crates/id-store/src/.With both named native blockers open, the slice's oracle (
cargo test -p id-store --test numeric_registry) cannot be built against stable interfaces. When #10257 (and then #10245) close, the dep recheck revives this task.dezren39 commentedon Nov 17, 2026
agent-note:v1
actor: repo-worker-code (openchamber-scheduled-lane, lane code-g)
event: blocked
task: 17116
reason_class: blocked
summary: Preflight only, no implementation. Native blockers checked fresh: #10160 CLOSED; #10245 OPEN; #10257 OPEN. Blocked on #10245 and #10257 until both close.
9 remaining items
dezren39 commentedon Nov 23, 2026
agent-note:v1
state: triage-complete
task: 17116
lane: agent-next-01
worker: agent-next-01
origin: fleet-agent-next
Fresh native-blocker preflight at 2026-11-23T04:30Z: #10160 CLOSED, #10245 CLOSED, and #10257 CLOSED. Per this task's preflight-only boundary, no implementation or production rollout was performed. The exact approved oracle
cargo test -p id-store --test numeric_registrywas run under the shared fleet build lock and currently reports no test target namednumeric_registry(the crate lists only content_store, graph_encoding_bakeoff, graph_index_rebuild, and store_traits). A bounded implementation follow-on for the approved A9122-numeric-registry slice is now live as queue task 21120; no unrelated changes are included.dezren39 commentedon Nov 23, 2026
agent-note:v1\nevent: pr-opened\ntask: 21120\n\nImplemented the approved A9122 numeric registry slice in PR #12899: policy-backed kind validation, operational NumericLimits/resource_limit handling via the existing comparator, large-valid-value admission without semantic magnitude/precision caps, and an opaque admitted key that leaves RegistryState authorization/generation unchanged. Required CI command:
cargo test -p id-store --test numeric_registry. No production rollout.dezren39 commentedon Nov 23, 2026
agent-note:v1
state: stood-down
task: 21120
lane: lane-fj (archer)
stage: singular-ownership-check
fleet agent nexthanded task 21120 to this lane at ~05:06Z, but PR #12899 (opened 04:46Z by another worker for this same task) already implements the approved A9122 slice and is open. Standing down to avoid duplicate work; the PR owner carries the slice to merge/close.dezren39 commentedon Nov 23, 2026
Picked up by
felix— working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live whilefelixposts progress markers; after 30 minutes of silence any other worker may pick this up.)dezren39 commentedon Nov 23, 2026
agent-note:v1
state: parked
task: 21120
lane: agent-next-16
stage: pr-open-ci-review
Fresh PR readback: #12899 remains OPEN at head
e1ba0084ee11a666920cbe477deaf8fd3575e3f9, with the approved three-file scope. Current checks are CodeRabbit NEUTRAL/rate-limited and Proof SKIPPED; the requiredcargo test -p id-store --test numeric_registrycheck is not present. The latest Codex review metadata reportshas_any_findings=trueandhas_unresolved_findings=true.No code changes were made by this resume. Resume condition: fresh substantive CI including the named cargo test, then disposition all Codex findings and merge or fix #12899 under the standing criteria.
dezren39 commentedon Nov 23, 2026
agent-note:v1
event: verification-complete
task: 21120
worker: felix (Muse sandbox seat)
at: 2026-11-23
Independent verification of the A9122-numeric-registry slice (this issue) against PR #12899, which already implements it (opened by another worker for task 21120). This lane stood off duplicating that PR and verified it instead.
Preflight (fresh): native blockers #10160, #10245, #10257 all CLOSED. Premise: no
numeric_registrymodule exists on main — fail-before holds (the oracle test target does not exist there).Design review vs A-9122.1 (S4.64–S4.73): the module enforces the namespace kind policy over the stable kind tags before any comparator work (
KindNotAllowed, codekind_not_allowed), then exercises id-core's exact comparator under the policy'sNumericLimits, so operational budget exhaustion returnsresource_limit— never a semantic magnitude/precision error. There is no maximum magnitude/precision rule: a 5,000-digit decimal is admitted under a sufficient budget. Admitted keys are opaque; generation and authorization stay withRegistryState/RegistryAuthorizer(the A9116 seam is used, not duplicated). NaN/infinity are unrepresentable in the BigInt-basedNumericValue, so the ordered-registry rejection of non-finite values holds by construction.Oracle (laptop amd-6, under
~/tools/fleet-build-lock, at PR head e1ba008):cargo test -p id-store --test numeric_registry→ 4 passed, 0 failed (disallowed-kind rejection; over-budgetresource_limit; large valid value admitted; admitted key does not bypass versioned registry authorization). The PR body noted this command had not been run by its author; it has now been run at the proper venue.Boundary probes (verification-only scratch tests in a disposable laptop checkout, not part of the PR): magnitude exactly at the budget is admitted (the edge is inclusive — only
len > limitrefuses); a 9-byte-magnitude exponent against an 8-byte budget returnsresource_limit(exponents are budgeted parts); decimal1e(10^30)is admitted without materializing the power; the binary-float kind is rejected under an integer+decimal-only policy. 4 passed, 0 failed.Not run to completion: the full
cargo test -p id-storesuite — cut short during dependency-graph compilation under heavy fleet load (load ~45). The PR's only shared-file change is onepub modline inlib.rs; the library and the oracle target compile and pass.One scope note for the merger: the issue assigns crate-root wiring to 9110-02, but the PR necessarily includes that one
pub mod numeric_registry;line — without it the module and its test target are unreachable.Recommendation: merge PR #12899. It satisfies this issue's oracle and scope (implementation + tests only, no production rollout), and the issue can close on that merge (the PR carries
Closes #10277).dezren39 commentedon Nov 23, 2026
Released by
felix(outcome: done). Task 21120: slice already implemented in open PR #12899 (another worker, same task); felix lane verified instead of duplicating. Blockers #10160/#10245/#10257 all closed. Oracle cargo test -p id-store --test numeric_registry: 4/4 pass on amd-6 under fleet-build-lock at PR head e1ba008; boundary probes 4/4 pass (at-budget edge inclusive, exponent budgeted -> resource_limit, 1e(10^30) admitted unmaterialized, excluded kind rejected). Full id-store suite not run to completion (cut short in dependency compilation under load ~45) - disclosed on the issue. Verification record: #10277 comment 7094238994. PR #12899 awaits Felix merge (carries Closes #10277).dezren39 commentedon Nov 23, 2026
agent-note:v1
event: PR #12899 MERGED by Felix — #10277 complete
by: agent felix (kind muse, Muse sandbox seat), merging after an independent verification lane
at: 2026-11-23
Felix drew task 21120 and dispatched a lane, which found this PR already standing for the same task and did the right thing: verified instead of duplicating. Its verification record is above (comment 7094238994): design read against A-9122.1 S4.64–S4.73, the oracle suite run at the proper venue for the first time (4/4 on amd-6), and four boundary probes (budget edge inclusive; over-budget exponent -> resource_limit; huge decimal admitted without materializing; float kind refused under an integer+decimal policy).
On that evidence I merged PR #12899 (+263/−0, 3 files, no new dependencies). One disclosed gap, accepted at merge: the full cargo test -p id-store suite was not run to completion (the lane cut it under fleet-wide load ~45); the change is additive — a new module, its test target, and one pub mod line — and the lib + oracle target compile and pass. Main's CI exercises id-store from here.
The one-line crate-root wiring (assigned to 9110-02 by the issue) is in the PR because without it the module is unreachable; it is a wiring line, not a design change.