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 — Implement mode bundles and safe override precedence · Issue #10193 · developing-today/code

Implement mode bundles and safe override precedence #10193

New issue
Copy link
New issue
Copy link
Closed
#12928
Closed
Implement mode bundles and safe override precedence#10193
#12928
Copy link
Labels
queue/queuedHas a queued queue taskstatus/blockedQueue or user escalation statestatus:donework/assignedQueue worker lifecycle state

Description

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

Problem and goal

Resolve mode and scoped behavioral defaults deterministically while enforcing invariant, authority, and resource ceilings.

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/crosscut/versioned-design.md#configuration-data-model-and-precedence (section: Configuration data model and precedence).
Tier: recommended.
Statement IDs: S7.1, S7.4, S7.14, S7.15, S7.16
Enables: Resolve deployment mode defaults with documented precedence through tenant, peer/link/storage scopes and permitted operation overrides; ensure scopes remain distinct and non-special.

Scope and ownership

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

  • pkgs/id/crates/id-config/src/resolve.rs (new; owner: 9111-02)
  • pkgs/id/tests/config_precedence.rs (new; owner: 9111-02)
    Hard dependencies (native blockers): 9111-01 — Required output from slice 9111-01.; 9083 — 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_precedence.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test config_precedence
Oracle: reference — expected Layered behavior overrides resolve in order within authority/resource ceilings, including both loosening and tightening examples.; verifier: Independent pure reference resolver and checked-in precedence examples..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: doc/2026-11-13T03-40-00Z_design_id-atlas-summit/answers.md; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md.
Rollback: Restore the previous resolved config revision; already-completed external effects remain explicit and are not claimed undone.

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

  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 by 2 issues on Nov 14, 2026
    • Define versioned configuration schema and hard invariants #10178
    • design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083
  4. dezren39
    marked this as blocking on Nov 14, 2026
    • Stage config activation and rollback by revision #10217
  5. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

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

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

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    state: triaged — implementation already routed and correctly dep-blocked
    lane: any-b, worker: repo-worker-code, task 19143

    Triage verdict for #10193 (checked fresh this shift, 2026-11-17): nothing new to route — the slice's task exists and is structurally dep-blocked on the right blockers.

    • Slice 9111-02 (implement mode bundles and safe override precedence, manifest-bound under epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106) has task 17041, whose 2026-11-14 preflight found two native blockers — design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 and Define versioned configuration schema and hard invariants #10178 — and self-blocked with §5b structural dependencies on both; no implementation performed.
    • Fresh verification this shift, each blocker read individually: design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 OPEN, Define versioned configuration schema and hard invariants #10178 OPEN, and task 17041 still shows status blocked. The broker auto-releases 17041 when both close; the claiming lane then implements within the issue's approved scope and stated oracle.
    • No follow-on packet from this triage: a second implementation task would duplicate 17041.
  9. 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 17041
    state: blocked (reason_class: blocked)
    preflight: native blockers checked 2026-11-17T17:52Z — #9083 OPEN, #10178 OPEN. No implementation started (9111-02 stays out of scope).
    resume: when #9083 and #10178 are closed, requeue or re-claim task 17041 and re-run the preflight.

  10. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged — no change
    lane: oc-code-03, worker: repo-worker-code, queue task 20506 (triage)

    Fresh check 2026-11-18: #9083 OPEN and #10178 OPEN (blocked_by dependencies still open). Slice 9111-02 remains owned by task 17041, correctly dep-blocked. No follow-on packet: a second implementation task would duplicate 17041. Resume when both blockers close.

  11. dezren39
    removed their assignment
    on Nov 20, 2026
  12. dezren39
    removed
    status/blockedQueue or user escalation state
    on Nov 20, 2026
  13. 11 remaining items

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress — PR #12928 is open from commit d87a3d97f51.

    • Native preflight passed: design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 and Define versioned configuration schema and hard invariants #10178 are CLOSED; Define versioned configuration schema and hard invariants #10178 landed as PR feat(id): versioned config schema and hard invariants (9111-01, #10178) #12871.
    • Added id-config/src/resolve.rs, the crate-root export, and pkgs/id/tests/config_precedence.rs with an independent precedence reference oracle.
    • Formatting and git diff --check pass.
    • Exact oracle remains cargo test --manifest-path pkgs/id/Cargo.toml --test config_precedence; local cargo is unavailable in this sandbox and the manual Fleet org-run executor is failing before compiler/test output on Nix setup.

    Resume condition: run the exact oracle on a functional Fleet/laptop/CI executor and fix any compiler or test diagnostic before merge.

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Agent note — preflight/in-review park (task 21142, lane agent-next-17-local)

    Fresh native-blocker check: #9083 and #10178 are both CLOSED/COMPLETED, so the approved slice is unblocked. The scoped implementation already exists as open PR #12928 with the required files and test oracle; no duplicate implementation was made.

    The exact oracle cargo test --manifest-path pkgs/id/Cargo.toml --test config_precedence remains to be run on a functional executor before merge. Resume when PR #12928 merges or closes, then verify the oracle and record the terminal disposition.

  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · stale-block record (no label change — PR in flight)

    • Agent: archer (shortlist refill survey, Lane B verification)
    • Finding: this issue's native blockers design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 and Define versioned configuration schema and hard invariants #10178 are both CLOSED (the 2026-11-23 park note here confirms "the approved slice is unblocked"), so the status/blocked + queue/blocked labels are stale. The implementation exists as open PR feat(id-config): resolve layered mode overrides (#10193) #12928; the only remainder is its oracle run + merge.
    • Action: no labels touched while PR feat(id-config): resolve layered mode overrides (#10193) #12928 is in flight — its shepherd is ranked on the agent-next shortlist ahead of Stage config activation and rollback by revision #10217, and the shepherd should clear these labels when the PR merges. Stage config activation and rollback by revision #10217's gate is this issue alone.
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    state: claim — shepherd PR #12928
    lane: archer, worker: muse (Lane LE)

    Picked up #10217 via fleet agent next; its only remaining native blocker is this issue (#10160 and #10178 both verified CLOSED fresh), and this issue's implementation is PR #12928 — open, mergeable clean at head 4029c480d7, but its oracle test was never run anywhere (the PR body states the author's sandbox had no cargo and the org-run executor failed before test output).

    Shepherd slice: run the PR's exact oracle (cargo test --manifest-path pkgs/id/Cargo.toml --test config_precedence) plus the id-config crate tests at the PR head on the laptop; if green, merge the PR SHA-guarded, which lands this issue and unblocks #10217.

  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    state: FLAG HOLD — awaiting Drew's item-specific approval
    lane: archer, worker: muse (Lane LE)

    Update to my claim above: the laptop worktree checkout of PR #12928's head (4029c480d7) tripped a platform execution-risk check on the returned content. Under the standing rule — Drew's standing clone approval does not clear these; each flagged item needs his plain-words go-ahead for that specific item — I stopped immediately:

    • No tests run, nothing built, committed, pushed, or merged.
    • Worktree ~/wt-lane-le-12928 (branch lane-le-12928, at the PR head) left in place untouched.

    Prepared scope, ready the moment Drew approves PR #12928 / #10193 specifically: run the PR's exact oracle at head (cargo test --manifest-path pkgs/id/Cargo.toml --test config_precedence) plus the id-config crate tests in nix develop in pkgs/id; if green, merge PR #12928 SHA-guarded at 4029c480d7 — its body carries the closing keyword for this issue — then clear #10217's stale blocked labels (its other native blockers #10160 and #10178 are verified CLOSED) and record the unblock there.

  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Block lifted — blocker sweep 2026-11-23 (Survey A).

    Named native blockers for this slice (9111-02 preflight): #9083 and #10178.

    Evidence both are now CLOSED (verified fresh via gh REST this pass):

    • design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 — CLOSED 2026-11-23
    • Define versioned configuration schema and hard invariants #10178 — CLOSED 2026-11-23 (landed as PR feat(id): versioned config schema and hard invariants (9111-01, #10178) #12871)

    The dependency block is stale, so it is lifted: label queue/blocked removed, queue/queued added. Remaining work is the open implementation PR #12928 and its test oracle — that is ordinary in-flight work, not a dependency block.

  20. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    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

    agent-note:v1
    state: claim — done-check + oracle verification of PR #12928
    lane: felix, worker: felix

    Picked up slice 9111-02 via fleet agent next. Done check against current origin/main (2026-11-23):

    • The scoped implementation already exists as open PR feat(id-config): resolve layered mode overrides (#10193) #12928 (branch codex/agent-next-05-17041-mode-bundles, head 4029c480d7): pkgs/id/crates/id-config/src/resolve.rs, crate-root export, pkgs/id/tests/config_precedence.rs. Neither file is on origin/main yet — not landed, so no reimplementation from this lane.
    • The PR's exact oracle (cargo test --manifest-path pkgs/id/Cargo.toml --test config_precedence) has never been run on any executor (per the PR body and the 2026-11-23T05:14Z progress note here).

    This lane will run that oracle at the PR head via remote dispatch (fleet queue dispatch; no local/laptop compiles per the seat's remote-builds-only rule) and post the evidence here and on PR #12928. Not merging — Felix reviews and merges. This complements the archer shepherd note (2026-11-23T07:43Z); no duplicate implementation will be made.

  22. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: verified — oracle passes at PR #12928 head; ready for Felix's review/merge
    lane: felix, worker: felix

    Done-check + oracle verification for slice 9111-02, run 2026-11-23 by this lane:

    Done check. The scoped implementation exists as open PR #12928 (branch codex/agent-next-05-17041-mode-bundles, head 4029c480d79299de0b6ee380a7de1e5fd3be0ac7) and is NOT on origin/main (neither pkgs/id/crates/id-config/src/resolve.rs nor pkgs/id/tests/config_precedence.rs exists there). No reimplementation made. Changed files (+499/−0): pkgs/id/crates/id-config/src/resolve.rs (new, 288 lines), pkgs/id/crates/id-config/src/lib.rs (+4, crate-root export), pkgs/id/tests/config_precedence.rs (new, 207 lines). No new dependencies (the test's proptest is already a root-package dev-dependency, proptest 1.12).

    Read-through. resolve() applies the fixed plane order deployment → mode bundle → tenant → peer → link → storage → operation, with per-field provenance; ceilings only narrow (a widening attempt errors CeilingWidened), behavior values are resource-checked at every layer (ResourceExceeded), and the final sync_scope must sit inside the authority set (AuthorityExceeded); mode-bundle defaults are constrained to the authority set rather than treated as grants (the second commit's fix). The test file carries the independent reference oracle: hand-computed precedence examples for both tightening and loosening, plus a proptest comparing generated layer combinations against an independent precedence model.

    Oracle evidence (remote dispatch, nothing compiled locally or on the laptop). Executor: fleet-run.yml in developing-today-forks/fleet, run 45177477297 — https://github.com/developing-today-forks/fleet/actions/runs/45177477297 — conclusion success, at PR head 4029c480d7:

    • cargo test --manifest-path pkgs/id/Cargo.toml --test config_precedence → 6 passed; 0 failed (5 named tests + 1 proptest).
    • cargo test --manifest-path pkgs/id/Cargo.toml -p id-config → ok (0 unit tests in the crate itself; coverage lives in the integration oracle).

    Getting the executor to run the flake dev shell took several attempts (cargo not on PATH; nix experimental features; nixbld group/members; /homeless-shelter purity) — that container defect is already filed as #13159 (also #13168, #13193, #13198); the working invocation is recorded there.

    Remainder: PR #12928's merge — Felix reviews and merges. On merge this issue's done condition is met (oracle green + this evidence + changed-file summary attached), and #10217's last native blocker clears.

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

    Merge pull request #12928 from developing-today/codex/agent-next-05-1…

    a2b7d78
  24. dezren39
    closed this as completedin #12928on Nov 23, 2026
  25. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Merged note — Felix, 2026-11-23: PR #12928 merged. My lane verified it end to end: read resolve.rs and the oracle in full, and ran the issue's declared tests remotely at this head (run 45177477297: config_precedence 6/6, id-config suite ok). #10193's done condition is met; #10217's last native blocker clears with this merge.

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

    queue/queuedHas a queued queue taskstatus/blockedQueue or user escalation statestatus:donework/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.