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 — Add numeric registry validator and configurable resource budgets · Issue #10277 · developing-today/code

Add numeric registry validator and configurable resource budgets #10277

New issue
Copy link
New issue
Copy link
Closed
#12899
Closed
Add numeric registry validator and configurable resource budgets#10277
#12899
Copy link
Labels
status:done

Description

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

Problem and goal

Apply numeric-kind validation at array writes while distinguishing operational parser limits from numeric domain limits.

Version and design basis

Version: V3. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-addressing/versioned-design.md#9122--numeric-registry-family (section: #9122 — Numeric registry family).
Tier: recommended.
Statement IDs: S4.64, S4.65, S4.66, S4.67, S4.68, S4.69, S4.70, S4.71, S4.72, S4.73
Enables: Numeric semantics without a third address core.

Scope and ownership

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

  • pkgs/id/crates/id-store/src/numeric_registry.rs (new; owner: A9122-numeric-registry)
  • 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.

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-3693

  2. dezren39
    added a parent issue on Nov 14, 2026
    • design(id): numeric registry namespaces over the byte system #9122
  3. dezren39
    marked this as blocked by 3 issues on Nov 14, 2026
    • Implement versioned namespace registry state and authorization seam #10257
    • Implement type-first numeric order with allocation-safe within-kind comparison #10245
    • Define versioned capability-oriented port contracts #10160
  4. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 17116
    • Found via: queue claim
    • Task: Mandatory triage/preflight only for ID/Atlas slice A9122-numeric-registry on issue Add numeric registry validator and configurable resource budgets #10277 — check native GitHub blockers before any implementation.
    • Preflight result (fresh check 2026-11-14T18:04Z): issue Add numeric registry validator and configurable resource budgets #10277 is OPEN with no labels (no held / user/owned / do-not-merge / do-not-auto-edit hard stops). Native blockers: issue Define versioned capability-oriented port contracts #10160 OPEN, issue Implement type-first numeric order with allocation-safe within-kind comparison #10245 OPEN, issue Implement versioned namespace registry state and authorization seam #10257 OPEN. Per the packet, no implementation was performed.
    • Expectation: task 17116 is dep-blocked on issue Define versioned capability-oriented port contracts #10160, issue Implement type-first numeric order with allocation-safe within-kind comparison #10245 and issue Implement versioned namespace registry state and authorization seam #10257; the broker returns it to the pool automatically when all close. No production rollout is authorized.
  5. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 14, 2026
  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

    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):

    • Issue Add numeric registry validator and configurable resource budgets #10277 OPEN, labels status/blocked, queue/blocked — unchanged disposition, re-verified against the dependencies rather than assumed.
    • A9116-registry-state = Implement versioned namespace registry state and authorization seam #10257 "Implement versioned namespace registry state and authorization seam" — OPEN. The numeric validator requires its versioned local registry read/mutate operations and mutation authorization check.
    • A9122-numeric-order = Implement type-first numeric order with allocation-safe within-kind comparison #10245 "Implement type-first numeric order with allocation-safe within-kind comparison" — OPEN. The validator requires its type-first exact comparator.
    • 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.

  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    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. dezren39
    removed their assignment
    on Nov 20, 2026
  10. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 20, 2026
  11. 15 remaining items

  12. dezren39
    added
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  13. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    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 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.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    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_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).

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    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).

  16. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  17. dezren39
    closed this as completedin #12899on Nov 23, 2026
  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    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.

  19. developing-today
    reopened this on Nov 23, 2026
  20. dezren39
    removed
    status:in-review
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 23, 2026
  21. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closed as implemented. Done: PR #12899 is merged at 65f4921. The named oracle cargo test -p id-store --test numeric_registry passed 4/4 at the PR head (same source SHA as merged); the required scope is complete. The full cargo test -p id-store suite was not run to completion under fleet load, as disclosed in the verification record; no production rollout was included.

  22. dezren39
    closed this as completedon Nov 23, 2026
  23. developing-today
    added
    status:done
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:done

    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.