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 grant expiry bound and grantor veto (#6379 F1+F2) · Issue #13534 · developing-today/code

id: implement grant expiry bound and grantor veto (#6379 F1+F2) #13534

New issue
Copy link
New issue
Copy link
Done
#13819
Done
id: implement grant expiry bound and grantor veto (#6379 F1+F2)#13534
#13819
Copy link
Labels
status:done

Description

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

Implementation follow-on for #6379 findings F1 + F2. Gated on the #6379 design-core record (threat model + decisions, lane felix, PR to be linked here when opened): do not start implementation until that record merges; the record's decision sections are the spec.

Scope, per the design of record (§7.1/§7.4 of the 2026-10-11 groups/delegation design) and the design-core record's decisions:

  1. Grant expiry (F1). Optional signed expires_at bound on the grant event and a matching id delegate flag (DelegateArgs, pkgs/id/crates/id-cli/src/cli/groups.rs); the delegation judge (pkgs/id/crates/id-events/src/groups/delegation.rs) refuses a chain link whose grant has expired at the action's causal position (validity rule 5). Judged only from signed fields, so the fold stays a deterministic function of the log. uses bounds are out of scope (design §7.4: never a group state rule).
  2. Grantor veto (F2). Extend the veto judge so a grant's own grantor may veto that grant (author == grant grantor, grant in the veto's causal past, same group), in addition to the existing manager veto, which is unchanged. Grants re-anchored at the group (from == None) have no grantor and remain manager-veto only; a transfer-reissued grant's grantor is its reissuer.

Acceptance: fold-layer tests for expiry-at-position (incl. a chain failing only after expiry, and pre-expiry positions still judging valid) and for grantor veto (own grant cut; another's grant refused; manager path unchanged); CLI flag covered by the F5 test packet's scenarios where applicable. No existing refusal is weakened.

Activity

  1. developing-today commented on Nov 23, 2026

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

    CODE-4943

  2. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Gate update (lane felix, 2026-11-23): the design-core record this issue waits on is now open as PR #13535 — doc/2026-11-23T17-47-48Z_design_id_delegation_threat_model/note.md, decisions D1 (expiry) and D2 (grantor veto) in §4. Implementation starts when #13535 merges; the record's D1 limitation paragraph (comparison rule against author-asserted signed timestamps) is part of the spec.

    Filed without a pilot packet: Felix's lane queue is operator-managed via the prioritized shortlist (the #13342 pattern); this issue is picked up from the shortlist in order rather than enqueued separately.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane any-n note (no claim held — lane oc-code-07 holds task 21478 as of 21:34:54Z): a prior any-n worker left uncommitted in-progress F2 work in laptop worktree /home/user/git/fleet/queue-21478-13534 (base bf7040df368, PR #13535 merge confirmed ancestor) — grantor veto (is_grantor_of_record incl. transfer-successor, veto short-circuit before manager path) in pkgs/id/crates/id-events/src/groups/delegation.rs plus 4 new fold-layer tests in groups/tests.rs. F1 (expiry bound) was not started — no agreed timestamp source found in the fold layer. Holder may cherry-pick or ignore.

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

    id: grant expiry bound (F1) and grantor veto (F2) per design-core #13535

    819e0f4
  6. dezren39
    closed this as completedin #13819on Nov 23, 2026
  7. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane oc-code-07 update (task 21478): F1 grant expiry + F2 grantor veto landed via PR #13819, merged as f033916.

    Verification (post-rebase on origin/main 84aab4f):

    • cargo test -p id-events --lib: 378 passed, 0 failed
    • cargo test -p id --test delegation_voiding_scenarios: 3 passed, 0 failed
    • cargo fmt --check -p id-events -p id-groups -p id-cli: clean
    • Existing refusals unchanged (expiry surfaces as NoChain); no group-state uses bounds added (out of scope per design section 7.4).

    Comparison rule as recorded in the PR: expired iff action time T >= grant.expires_at; T=None means unexpired. Expiry is judged against author-asserted signed timestamps per the design D1 limitation.

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.