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 — id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) · Issue #12921 · developing-today/code

id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) #12921

New issue
Copy link
New issue
Copy link
Open
Open
id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design)#12921
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:in-review

Description

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

Refs #5959.

Scope

Implement the capability-change notice from the #5959 design record (doc/2026-11-23T05-02-30Z_design_id_capability_change_notices/, PR #12920), against the comparison contract in #5999 §6 (doc/2026-11-08T10-12-00Z_design_id_capability_diff_semantics/) and the registry schema in #5958 §4.

  • Client baseline store: the record in design §1 (per user + world, baseline_key over release identity, history of accept / narrow / pin / grant-page-edit / yolo-auto-accept), stored with the user's ID state beside id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960's remembered grants; listed with history on the world's grant page.
  • Connect pipeline stage (design §2): resolve release + instance records, verify release identity, compute N, compare against B; covered ⇒ proceed (with automatic narrowing bookkeeping); uncovered ⇒ hold the connection before any capability is exercised and present the notice; uncomputable ⇒ fail-closed unknown notice.
  • Notice surface (design §3–§4): delta-only headline lines from the client class table, client-side / server-side groups separate (server-side disclosure only), the three choices with no default button, per-class denial composing per id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960 §2, the grant-on-use honesty line where CapsReport.policy is grant-on-use.

Dependency

The class field on ProviderManifest and the reserved-class table are #5999's own follow-up (§10 of its record); this implementation consumes them and cannot land the comparison before they exist. Until a name carries a class it maps to unknown (fail-closed), so the pipeline can land first and the table can fill in.

Test oracles

  • Property tests: id: design: capability-change diff semantics — user-meaningful capability classes and re-approval triggers #5999 §7 invariants 1–5, 8, 9 over (B, N, ≼).
  • Notice-level: prompt iff trigger; per-class denial excludes exactly that class from the remembered set; narrowing on shrink and re-prompt on re-addition after narrowing; YOLO auto-accept records history and never leaves a stale baseline; fail-closed prompt on an uncomputable comparison.

Design of record: #5959. Parent program: #5955.

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

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

    CODE-4734

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Gate update from Lane HF (archer): this issue's named dependency — the class field on ProviderManifest and the reserved-class table, #5999's §10 follow-up — was never filed as its own issue. It is now filed as #12982 and claimed; the field + shipped/reserved class table + unknown mapping are landing there first, since the comparison in this issue cannot land before they exist (this issue's own dependency note, and #5959 §10).

    This issue stays open for its own scope (baseline store, connect-stage comparison, notice surface) once #12982 lands.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Gate cleared: the class field on ProviderManifest and the shipped/reserved class table landed via #12982 / PR #13002 (merge 8b186634a5b), verified on main — 206 id-caps tests green including the §2.2 assignment oracles. CAP_CLASS_TABLE_VERSION = 1 is the version this issue's comparisons record.

    This issue's own scope (baseline store, connect-stage comparison per #5999 §6, notice surface) is now unblocked. One input to plan around: 16 registered names carry CLASS_UNKNOWN until the design pass in #13004 assigns them classes, so the comparison treats them as always-disclosing unknown in the meantime — the fail-closed behaviour both records prescribe.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Claim — Lane JJ (archer), 2026-11-23 ~01:00 CST. Taking #12921, starting with the first landable slice: the client baseline store (design §1 record — per user + world, baseline_key over release identity, history of accept / narrow / pin / grant-page-edit / yolo-auto-accept), stored beside #5960's remembered grants, with tests. The connect pipeline stage and the notice surface remain as named follow-on slices unless this run reaches them.

    Premise + ownership (fresh gh REST): #12921 OPEN; its named dependency (the class field on ProviderManifest + class table) landed via PR #13002 / #12982 and Lane HF recorded the gate cleared here at 2026-11-23T06:52Z; no claim on this issue by any lane.

  6. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Claim — Lane JL (archer), 2026-11-23 ~01:01 CST. Taking #12921's first landable slice: the client baseline store (design §1 record: per user + world, baseline_key over release identity, history of accept / narrow / pin / grant-page-edit / yolo-auto-accept) plus the §6 comparison core (B, N, ≼) with the #5999 §7 property-test oracles (invariants 1–5, 8, 9). The connect-pipeline stage (§2) and notice surface (§3–§4) are named follow-on slices. Gate confirmed cleared (HF's record: class field + class table landed via #12982 / PR #13002). Worktree on the laptop off main; PR + merge once verified.

  7. developing-today
    added
    status:in-review
    on Nov 23, 2026
  8. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13079 from developing-today/lane-jl-12921

    f2a50a9
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Done record — Lane JL (archer), 2026-11-23. First slice of #12921 landed: PR #13079 merged (merge f2a50a9cae6b, head baca9806f5d SHA-guarded; both files verified present on main; this issue verified still open).

    What landed (gate confirmed cleared first: the class field + class table via #12982 / PR #13002):

    • pkgs/id/crates/id-caps/src/cap_diff.rs — id: design: capability-change diff semantics — user-meaningful capability classes and re-approval triggers #5999 §6's pure comparison: subsumes (§3.1 declared facts only; unknown subsumed by nothing but itself), message_set (names → classes via the registry, fail-closed; cap.none dropped; maximalised; * expanded as the ledger expands it, sensor caps excluded; optional names excluded per §4 rule 6), compare(B, N) naming exactly the uncovered classes, and uncomputable_diff() (invariant-10 fail-closed trigger for the connect stage).
    • pkgs/id/crates/id-caps/src/cap_baseline.rs — id: design: capability-change notices on reconnect — expansion and sideways changes #5959 §1's record in the design's JSON shape (baseline_key = H(world_id ‖ release_identity ‖ message_set ‖ table_version), SHA-256 over a length-framed encoding) and §5's five re-baselining paths only — accept, accept_minus_denied (§4 composition), establish (first-connect / invite pin), narrow (automatic, covered-and-strictly-smaller only), revoke_class — plus yolo_auto_accept bookkeeping and the per-user BaselineStore.

    Verification: cargo test -p id-caps on the laptop (pkgs/id dev shell): 230 passed / 0 failed + integration suites green. Oracles named per test: proptest over (B, N, ≼) for #5999 §7 invariants 1–5, 8, 9; unit tests for §3/§4; the notice-level tests from this issue that this layer can carry (per-class denial excludes exactly that class and re-prompts; narrowing on shrink + re-prompt on re-addition; YOLO records history, no stale baseline; invite pin covers the pinned join). cargo fmt --check clean. Clippy: zero errors/warnings in the two new modules; the crate run stays red only on 26 pre-existing errors (library_attach.rs tests + one world_caps.rs test panic!) — recorded as fresh evidence on #803, the P8.8 sweep's tracking home, not filed as a duplicate.

    One design-reading note: CapBaseline::evaluate is the pure §6 comparison rather than #5959 §2 step 3's short-circuit — for baselines recorded from the same release + table the two agree, and after a grant-page edit the pure comparison is the reading §5 path 5 requires (a revoked class the world still requests is new and prompts). Documented in the module.

    Remainders (next slices, in order):

    1. Connect-pipeline stage (id: design: capability-change notices on reconnect — expansion and sideways changes #5959 §2): resolve release + instance records, verify release identity, compute N from requested ∪ platform_bound, hold the connection before any capability is exercised on a trigger; first-connect flow establishes B.
    2. Notice surface (id: design: capability-change notices on reconnect — expansion and sideways changes #5959 §3–§4): delta-only headline lines from the client class table, client-side/server-side groups separate, three choices with no default button, per-class denial controls, the grant-on-use honesty line where CapsReport.policy is grant-on-use; fail-closed unknown form (§3.2).
    3. Baseline persistence beside id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960's remembered grants in the per-user ID state store + the grant-page listing wired to a real surface (the store here is the in-memory/serde record the persistence seam serializes).
  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane code-h (OpenChamber scheduled Fleet run): premise check on current state. Slice 1 is verified landed (PR #13079, merge f2a50a9), and no lane holds a live claim. The remaining work (connect-pipeline stage per #5959 §2, then notice surface per §3-4) is larger than one run's timebox, so the queue task (21475) is parked with a delay and will be re-queued for the next slice on a fresh worktree off main. No code was changed in this run.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane oc-code-03 (OpenChamber scheduled Fleet run): premise verified. Slice 1 is on main (PR #13079, merge f2a50a9) and no other lane holds a live claim. The remainder (connect-stage comparison per #5959 §2, then notice surface s3-4) exceeds the 45-minute packet timebox, so task 21475 is parked with a 1-hour delay and the ready condition 'open, no live claim, main contains #13079'. Next slice should start from a fresh worktree off main.

  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane oc-code-03 (OpenChamber scheduled Fleet run, 2026-11-23T23:14Z): premise re-verified. Slice 1 is on main (PR #13079, merge f2a50a9), and no lane holds a live claim. The remainder (connect-stage per #5959 §2, then the notice surface §3-4, then baseline persistence) exceeds the 45-minute timebox. This run's shell leg to the laptop broker is down, so nothing was built or tested. Task 21475 is parked with a 1-hour delay. The next slice starts from a fresh worktree off main.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    oc-code-07 bounded slice update: PR #13999 open with pure connect-stage verdict API in id-caps (ConnectVerdict/evaluate_connect, commit cf840a6). Local connect_verdict tests: 2 passed. Dispatched Fleet run https://github.com/developing-today-forks/fleet/actions/runs/45307929204 execute step succeeded; session fp_1c6861198d2fb4c0a26acd14693812b9 still in post steps. Task 21475 parked; remaining UI/persistence/live-pipeline integration deferred as follow-on work.

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

    id: capability-change notice surface + grant-page listing (#12921)

    b3e46d5
  15. 4 remaining items

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

    Design record (Part of #12921): consolidated 9-point capability-chang…

    7328233
  17. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Design slice 21679 (lane oc-code-01): consolidated 9-point record PR #14114 (docs-only, Part of #12921, no closing keywords) — branch docs/12921-nine-point-record, record at doc/2026-11-24T06-15-00Z_design_12921_capability_notices/. Consolidates #5959 §§1-4 + #5999/#5958/#5960 contracts; slices mapped to landed (#13079, #14049) vs open (#13999 verdict API, #14050 rendering+wiring). Open questions for Drew/owner: id-web rendering owner, #14050-vs-#13999 order, close criterion, class-table sequencing.

  18. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict — task 22268 (lane oc-code-01), fresh read 2026-11-24T08:12Z.

    State: #12921 OPEN. Landed on main: PR #13079 (comparison core cap_diff.rs + baseline store cap_baseline.rs) and PR #14049 (notice-surface data side cap_notice.rs, merged 9658b5c). Open: PR #13999 (pure connect verdict API ConnectVerdict/evaluate_connect, 1 commit, no reviews; CodeRabbit NEUTRAL, Proof SKIPPED, mergeable UNKNOWN) and docs-record PR #14114. Remainder tracked in issue #14050 (grant-page rendering + live connect wiring), OPEN. No live queue task covers the remainder.

    Verdict: route, not close. Routed follow-on: shepherd PR #13999 to merge (cargo test -p id-caps + fmt, then merge); #14050 rendering/wiring follows after it lands to avoid competing edits. No duplicate work started from this triage.

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

    Merge pull request #14114 from developing-today/docs/12921-nine-point…

    2abcd66
  20. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-02, queue task 22733, 2026-11-24): partly landed, not done. Merged: #13079 (comparison core + baseline store), #14049 (notice surface + grant-page listing), #13002 (ProviderManifest class field), #13951 (sufficiency record). Open: #13999 (pure connect verdict). Remaining is the connect-stage wiring, so this stays open with its in-review label. No new packet is routed; #13999 carries the remaining work. Tracking: #14158.

  21. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    PR #13999 (pure capability connect verdict API) merged as a838068. Pre-merge: cargo test -p id-caps passed; a fmt-only commit (a4776dd) fixed cargo fmt --check; main merged in to resolve a doc/README.md index conflict (both entries kept). Remainder #14050 (grant-page rendering + live connect wiring) stays open and is not part of this packet.

  22. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Claim — Felix lane (Muse sandbox seat), queue task 22733, 2026-11-25. Taking the recheck of #12921 that task 22733 was parked for: the park condition was 'recheck when PR #13999 merges or in 24h'. Fresh state: PR #13999 MERGED (a838068, recorded on this issue 2026-11-24T09:42Z). Verifying the full landed set and routing any uncovered remainder; verdict follows in this pass.

  23. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage verdict — task 22733 recheck (Felix lane, 2026-11-25), fresh read.

    The park condition on task 22733 ('recheck when #13999 merges or in 24h') is met: PR #13999 merged as a838068 (recorded on this issue, comment 7127776438; pre-merge cargo test -p id-caps passed).

    Full landed set for this issue, verified from the record: PR #13079 (comparison core cap_diff.rs + baseline store cap_baseline.rs), PR #14049 (notice-surface data side cap_notice.rs + grant-page listing data, merge 9658b5c), PR #13002 (ProviderManifest class field + class table), PR #13951 (sufficiency record), PR #14114 (consolidated 9-point design record), PR #13999 (pure connect verdict ConnectVerdict/evaluate_connect).

    Verdict: partly landed, not closable yet — remainder routed. The only unimplemented scope is #14050 (grant-page rendering in id-web + live connect wiring of the verdict), which is this issue's own follow-up and stays the tracking item for the remainder. #14050 had no live queue coverage (earlier task 23282 cancelled; queue scan found 0 matches), so a scoped follow-on packet is now enqueued as queue task 23729 on repo-health-code-pilot. This issue stays OPEN with status:in-review; when task 23729's PR lands, #12921's scope is complete and it can be closed with that PR as evidence. Tracking: #14158.

  24. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note (lane code-j, 2026-11-26, triage task 24605): still live, routed. Verdict confirmed against the 2026-11-25 Felix record: only #14050 (grant-page rendering + live connect wiring) remains. Follow-on queue task 23729 covers it. Issue stays OPEN until that PR lands. Refs #14158.

  25. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · triage (queue task 25074, lane oc-code-02)

    • Verdict: keep id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) #12921 open; the baseline store, comparison core, notice data, class table, and pure verdict work are landed, but the live integration is not complete.
    • Fresh follow-up status: [12921-followup] Grant-page rendering + live connect wiring (remainder after PR #14049) #14050 remains open. Draft PR feat(id-web): render remembered capability grants #15004 contains the remembered-permissions page and fail-closed unknown-notice hold. Queue task 23768 is done for that safe hold; task 23776 remains parked for the verified release/declaration resolver and remaining consent transitions. Its resume trigger is a merged client-verifiable resolver (not a person), and its scheduled recheck time has elapsed.
    • No duplicate implementation packet is created here. The existing [12921-followup] Grant-page rendering + live connect wiring (remainder after PR #14049) #14050 work owns the remaining connect integration; id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) #12921 stays open until that work and its acceptance are verified.
  26. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage recheck — code-h, 2026-11-27 (queue task 25848, follow-on of 25549)

    Keep OPEN; no new packet — remainder already owned. Fresh verification concurs with tasks 22733 / 24605 / 25074:

    • Landed set unchanged: feat(id-caps): capability-change comparison core + accepted baseline store (#12921) #13079 (comparison core + baseline store), id: capability-change notice surface + grant-page listing (#12921) #14049 (notice-surface data, merge 9658b5c), feat(id-caps): ProviderManifest class field + shipped/reserved class table (#12982) #13002 (class field), design(#5959): sufficiency record for capability-change notices #13951 (sufficiency record), Design record (Part of #12921): consolidated 9-point capability-change-notices record #14114 (9-point record), Add pure capability connect verdict #13999 (pure verdict API, merge a838068).
    • Remainder still [12921-followup] Grant-page rendering + live connect wiring (remainder after PR #14049) #14050 (OPEN): draft PR feat(id-web): render remembered capability grants #15004 OPEN (remembered-permissions page + fail-closed unknown-notice hold, interim only); parked task 23776 owns the verified release/declaration resolver + consent transitions, resume condition (merged client-verifiable resolver) not met — no such resolver found merged since the 2026-11-26 audit.
    • No duplicate packet from this triage; id: implement capability-change notices — client baseline store, connect-stage comparison, notice surface (#5959 design) #12921 stays OPEN (status:in-review) until [12921-followup] Grant-page rendering + live connect wiring (remainder after PR #14049) #14050 work and its acceptance are verified.
  27. developing-today-fleet
    added 4 commits that reference this issue on Nov 28, 2026

    docs: add capability connect verdict design record (#12921 / #13999)

    b000857

    id-caps: re-land capability connect verdict (#12921, #14050)

    4bbe225

    docs: add capability connect verdict design record (#12921 / #13999)

    8de22b1

    id-caps: re-land capability connect verdict (#12921, #14050)

    3e80f5b
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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:in-review

    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.