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 — Define versioned configuration schema and hard invariants · Issue #10178 · developing-today/code

Define versioned configuration schema and hard invariants #10178

New issue
Copy link
New issue
Copy link
Closed
Closed
Define versioned configuration schema and hard invariants#10178
Copy link
Labels
effort/mMedium: expected under 1 day of workpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

Description

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

Problem and goal

Establish the minimum validated V2 config contract needed before admission gates consume configuration.

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/crosscut/versioned-design.md#configuration-data-model-and-precedence (section: Configuration data model and precedence).
Tier: crucial.
Statement IDs: S7.1, S7.10, S7.11, S7.12, S7.13
Enables: Specify canonical versioned ConfigDocument, hard non-overridable ceilings, config validation errors, mechanism-versus-behavior classification, and secure unknown-field policy. This minimal schema is a V2 prerequisite for core gates.

Scope and ownership

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

  • pkgs/id/config/id-config-v1.schema.json (new; owner: 9111-01)
  • pkgs/id/crates/id-config/src/lib.rs (new; owner: 9111-01)
  • pkgs/id/crates/id-config/Cargo.toml (new; owner: 9111-01)
  • pkgs/id/tests/config_invariants.rs (new; owner: 9111-01)
    Hard dependencies (native blockers): 9110-02 — Required output from slice 9110-02.; 9141 — consume owned contract only; do not wait for full sibling program
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/tests/config_invariants.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test config_invariants
Oracle: invariant — expected Canonical V2 config rejects any attempt to disable fixed gates and resolves deterministically.; verifier: Independent schema/reference validator with generated invalid-config matrix..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: doc/2026-11-13T00-41-00Z_design_id-atlas-primitives-federation-namespaces/note.md; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/versioned-design.md.
Rollback: Reject the candidate config schema and keep the last valid version; fixed admission invariants remain compiled and enforced.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

  1. dezren39
    marked this as blocked on Nov 14, 2026
    • design(id): peer trust classes + signed-data acceptance rule #9141
  2. dezren39
    added a parent issue on Nov 14, 2026
    • design(id): modes & configuration surface — modes, link kinds, storages, tiering as config #9111
  3. dezren39
    marked this as blocked on Nov 14, 2026
    • Define versioned capability-oriented port contracts #10160
  4. developing-today commented on Nov 14, 2026

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

    CODE-3602

  5. dezren39
    marked this as blocking 4 issues on Nov 14, 2026
    • Implement mode bundles and safe override precedence #10193
    • Model peer, link, storage, tier, and namespace planes independently #10194
    • Add capability negotiation and downgrade rejection #10195
    • Stage config activation and rollback by revision #10217
  6. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: blocked
    task: 17027
    lane: code-b
    summary: Preflight for slice 9111-01 (task 17027, lane code-b, 2026-11-14). Native-blocker check: GET repos//issues/10178/dependencies/blocked_by returns two blockers, #9141 and #10160, and BOTH are still OPEN (fresh verify this shift; #10160's implementation is follow-on task 17131). Per the preflight packet, task 17027 self-blocks with structural dependency blocks on #9141 and #10160 and NO implementation was performed. Contingent research trigger: none; none started. Issue #10178 carries no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit).
    next: when #9141 and #10160 both close, the broker auto-releases task 17027 to the pool; the claiming lane then implements 9111-01 within the issue's approved scope and stated oracle.

  7. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  8. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  9. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — task 19134 (lane code-c)

    • Work kind: task/small-fix · Priority: priority/high (priorities brief line 2: ID programme tracks are Drew's standing explicit priority order; this slice's design tier is "crucial" and it is a V2 prerequisite for core gates) · Effort: effort/m
    • Fresh evidence: issue Define versioned configuration schema and hard invariants #10178 OPEN, unheld. This bulk-intake triage duplicates an already-routed slice: task 17027 owns Define versioned configuration schema and hard invariants #10178 (slice 9111-01, parent design(id): modes & configuration surface — modes, link kinds, storages, tiering as config #9111, programme epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106) and self-blocked at preflight on 2026-11-14 on two native blockers, design(id): peer trust classes + signed-data acceptance rule #9141 and Define versioned capability-oriented port contracts #10160 (note on this issue). No second packet is enqueued and no second block is recorded.
    • Gate re-verification (fresh, this shift, 2026-11-17) — one blocker has cleared: issue Define versioned capability-oriented port contracts #10160 (versioned capability-oriented port contracts) is now CLOSED — CLEAR. Issue design(id): peer trust classes + signed-data acceptance rule #9141 (peer trust classes + signed-data acceptance rule) is still OPEN — NOT CLEAR; it is the sole remaining gate. Parent design(id): modes & configuration surface — modes, link kinds, storages, tiering as config #9111 is OPEN.
    • First concrete step (unchanged, on task 17027): when design(id): peer trust classes + signed-data acceptance rule #9141 closes, the broker releases task 17027; the claiming lane then builds the versioned config schema test-first (pkgs/id/tests/config_invariants.rs; oracle: invariant — canonical V2 config rejects any attempt to disable fixed gates and resolves deterministically), delivering pkgs/id/config/id-config-v1.schema.json + the id-config crate per the slice scope.
    • Labels: this note adds only task/small-fix, priority/high and effort/m. The existing status/blocked + queue/blocked + work/assigned labels belong to task 17027's live blocked state and are deliberately left untouched.
  10. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17027
    state: blocked (reason_class: blocked)
    preflight: native blockers checked 2026-11-17T17:47Z — #9141 OPEN, #10160 CLOSED. Since #9141 remains open, no implementation was started (9111-01 stays out of scope).
    resume: when #9141 is closed, requeue or re-claim task 17027 and run the mandatory preflight again before implementing.

  12. dezren39
    removed their assignment
    on Nov 20, 2026
  13. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions

    Agent note — native-blocker preflight (task 17027, lane oc-code-04)

    State: preflight complete; work PAUSED — native blocker remains open; task 17027 self-blocked per the 9111-01 contract.

    Fresh GitHub check (2026-11-20):

    • Define versioned configuration schema and hard invariants #10178 — OPEN
    • design(id): peer trust classes + signed-data acceptance rule #9141 — OPEN (design(id): peer trust classes + signed-data acceptance rule) ← sole remaining blocker
    • Define versioned capability-oriented port contracts #10160 — CLOSED ✓ (Define versioned capability-oriented port contracts)

    Per the packet, no implementation was performed and no production rollout is authorized. Revalidation of #9141 releases the dep block.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Agent note — native-blocker preflight RE-RUN (queue task 17027, lane lane-cq / archer, 2026-11-23T03:11Z claim, 4h lease line: claimed via fleet agent next)

    Fresh GitHub REST check (2026-11-23):

    • Define versioned configuration schema and hard invariants #10178 — OPEN (this issue; labels status/blocked, queue/blocked are stale as of this note)
    • design(id): peer trust classes + signed-data acceptance rule #9141 — CLOSED / completed (closed 2026-11-23T03:04Z after the done-check reconciliation; design merged via PR docs(id): peer trust classes + signed-data acceptance design (#9141) #10987)
    • Define versioned capability-oriented port contracts #10160 — CLOSED / completed (2026-11-14)

    Native dependencies/blocked_by for #10178 lists exactly #10160 and #9141 — both are now closed, so the mandatory preflight for slice 9111-01 PASSES. Per the packet ("if all are closed, proceed only within the issue's approved scope and stated oracle"), this lane is proceeding with the implementation within the approved scope only:

    • pkgs/id/config/id-config-v1.schema.json (new)
    • pkgs/id/crates/id-config/ (new crate: Cargo.toml + src/lib.rs)
    • pkgs/id/tests/config_invariants.rs (new; oracle command cargo test --manifest-path pkgs/id/Cargo.toml --test config_invariants)
    • plus the minimal workspace wiring in pkgs/id/Cargo.toml (member + dev-dependency) without which the owned files cannot build.

    Singular-ownership check: no live claim by another worker on this slice (latest issue activity is the 2026-11-20 oc-code-04 preflight park, whose resume condition — "#9141 closes" — is exactly what has now happened; no open PR references #10178). No production rollout is authorized or being performed; this is the schema/crate/test slice only.

  15. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #12871 from developing-today/lane-cq/10178-config-…

    2dc8cb8
  16. developing-today
    added
    status:in-review
    on Nov 23, 2026
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Agent note — slice 9111-01 COMPLETE (queue task 17027, lane lane-cq / archer)

    Preflight: passed. Native blockers #9141 (closed 2026-11-23T03:04Z) and #10160 (closed 2026-11-14) both closed on fresh REST revalidation; dependencies/blocked_by for this issue lists exactly those two. Claim + preflight record: #10178 (comment)

    Landed: PR #12871 — merged 2026-11-23T04:08:47Z, merge commit 2dc8cb829c9da29ecd3b3ea07fcf58cad2605a55 (head 526ba8c448df guarded at merge). Verified post-merge: all four owned files present on origin/main, whose tip is the merge commit.

    Changed files:

    • pkgs/id/crates/id-config/Cargo.toml, pkgs/id/crates/id-config/src/lib.rs (new) — leaf crate: canonical ConfigDocument; fixed gates reject any disable attempt (mechanism, not behavior); hard ceilings narrow-only at lower scopes; mechanism-vs-behavior field classification; fail-closed unknown-field policy (namespaced extensions retained, never executed); deterministic resolver with per-field provenance.
    • pkgs/id/config/id-config-v1.schema.json (new) — JSON Schema form of the same contract (gates const: true, additionalProperties: false).
    • pkgs/id/tests/config_invariants.rs (new) — the oracle test: an independent validator that generates its invalid-config matrix from the schema file (per-gate disable attempts, per-required-field removals, unknown fields at every level) plus semantic cases and determinism checks.
    • pkgs/id/Cargo.toml, pkgs/id/Cargo.lock — workspace member/default-member registration + dev-dependency wiring (the only files beyond the owned four; without them the owned files cannot build).

    Evidence (the issue's exact oracle command, run in pkgs/id under nix develop on the laptop):

    cargo test --manifest-path pkgs/id/Cargo.toml --test config_invariants
    test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
    

    Two fix iterations are part of the record: a borrow error in the first test draft and a fixture bug (the valid fixture omits gates, which one generated case tried to mutate) — both in the test file, neither in the crate; the final run after rustfmt reproduced 7/7.

    Done check: the issue's Done condition — "the declared oracle passes and test/evidence output plus changed-file summary is attached" — is met by this note and the PR. Closing as completed. The stale status/blocked / queue/blocked labels predate the blocker closures and no longer describe this issue.

    No production rollout was performed or authorized; this is the schema/crate/test slice only. No new problems were found that needed a separate issue.

  18. dezren39
    closed this as completedon Nov 23, 2026
  19. developing-today
    added
    status:done
    and removed
    status:in-review
    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

    effort/mMedium: expected under 1 day of workpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    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.