You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id: implement grant expiry bound and grantor veto (#6379 F1+F2) #13534
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:
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).
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.
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.
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.
Activity
developing-today commentedon Nov 23, 2026
CODE-4943
dezren39 commentedon Nov 23, 2026
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.
dezren39 commentedon Nov 23, 2026
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(basebf7040df368, PR #13535 merge confirmed ancestor) — grantor veto (is_grantor_of_recordincl. transfer-successor, veto short-circuit before manager path) inpkgs/id/crates/id-events/src/groups/delegation.rsplus 4 new fold-layer tests ingroups/tests.rs. F1 (expiry bound) was not started — no agreed timestamp source found in the fold layer. Holder may cherry-pick or ignore.