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
Task: Triage issue Phase 2: delegated Manage cannot add members #171 — verify on current main whether a delegated Manage holder still cannot add members (member() checking membership access only), and what the design says delegated management should be able to do; then route as a scoped follow-up packet or close with evidence.
Expectation: effort s — done = triage verdict posted with code/design evidence at HEAD, follow-up packet enqueued if confirmed, labels synced.
Task: Triage verdict for Phase 2: delegated Manage cannot add members #171 — CONFIRMED on current main (26221fcc77952cc672f8960bfd997a795b1167ca, 2026-10-29T01:13:30Z), including the design-intent question in the issue body. Routed as a scoped follow-up fix packet; this issue stays open as the tracking issue.
pkgs/id/src/groups/fold.rs, judge() (~line 617): Body::Member(op) is judged by member() first; delegation::manage_chain runs only on an Ok decision — a refusal from member() ends the event.
fold.rs member() (~lines 884–895): is_manager = author_role >= Role::Manage, and Add with !is_manager returns Refusal::NotManager (line 892; same gate for removing another member, line 922).
That author_role comes from effective_author (lines 1050–1078), which takes it from the admins set or access() (lines 985–993) — and access() reads onlyself.membership.members(group), the p2panda-auth membership access level. The delegation grant graph is never consulted on this path. So an account whose Manage comes from a grant chain, with membership access below Manage, is refused before the chain machinery can speak.
Design intent (the issue's "confirm the design wants this"): yes. pkgs/id/src/groups/delegation.rs — authorized() is documented "Whether actor may exercise scope in group at the causal position after (design §7.2)… a grant may reach an account that is not a member", manage_chain() exists to judge "a manager's membership change" for chain-holders, and Refusal::NoChain's own doc reads "A manager acts only through a grant that reaches it from an owner". Delegated managers are an intended actor class for membership changes; the fold's first gate just never lets them reach the chain check. (holds() at delegation.rs:274 is explicitly "by membership" — a separate additional gate for Delegate/Veto judging, not this path.)
Route: follow-up packet enqueued to repo-health-code-pilot — kind small_fix, dedupe key repo-health:v1:fix:developing-today/code:issue:171, priority 40: satisfy member()'s manager gate via delegation::authorized(author, Role::Manage, event.after) when membership access alone is below Manage, keeping the Admin gates and the manage_chainNoChain check intact, with tests for delegated add/remove and the cut-chain refusals.
Task: Re-triage issue Phase 2: delegated Manage cannot add members #171 against current main; check current implementation/design and any superseding work, then route confirmed work to a fix task or record why it is already resolved.
Expectation: triage verdict with current evidence, correct follow-up routing if still live, and labels synced.
Reason parked: The authorized-basis representation in id_core::membership has not been settled. Implementing the fold-only change is known insufficient and risks signer attribution, roster semantics, and causal-order behavior.
Resume: After the fleet design process settles the authorized-basis seam, implement it plus refusal-vocabulary reconciliation; run the id-events groups suite and delegation property tests. Existing durable branch/checkpoint: queue/2955-171-delegated-manage-restart; worktree /home/user/git/fleet/2955-171-delegated-manage. Parked for 24 hours as a recheck interval; design decision remains the actual condition.
Expectation: verify defect at current main, resume from prior WIP branch queue/2955-171-delegated-manage-restart if viable, targeted tests + PR or park/block with evidence
State: verified, defect live, parked pending design — no code changes, no PR
Verified at: origin/main 6226e4d9359 — pkgs/id/crates/id-events/src/groups/fold.rs:941 derives is_manager from membership role only; Add gate 944-945 and Remove gate 1008-1009 return NotManager before judge() (652-654) can reach manage_chain()/delegation::authorized. PR fix(id): let a delegated Manage chain authorize member add/remove (#171) #3694 CLOSED unmerged; no open related PR; no hold labels on the issue.
Why no fix this run:manage_chain is documented as judging "a manager's membership change, which the membership layer would otherwise accept" — i.e. it assumes the signer already holds Manage in p2panda-auth. A delegated holder with Read membership passes the fold chain check but is then refused by Membership::decide (signer lacks manage access), as the Nov-12 WIP on queue/2955-171-delegated-manage-restart (1435bb70) demonstrated. Closing the seam needs a settled authorized-basis representation in id_core::membership (signer attribution, roster semantics, causal ordering) — a design decision, not a narrow fold edit. Nov-14 invite-delegation and Nov-21 cross-signing docs do not settle it.
Resume brief: after the fleet design settles the authorized-basis seam, resume from origin/queue/2955-171-delegated-manage-restart (WIP 1435bb70: fold gates relaxed + delegated add/remove and cut-chain refusal tests), rebase onto current main, implement the membership-layer representation, run the id-events groups suite + delegation property tests, then open PR.
Activity
dezren39 commentedon Oct 24, 2026
id train triage (2026-10-24): needs-decision — project owner: delegated Manage add members (default kept; confirm the design wants delegated management to add members).
dezren39 commentedon Oct 29, 2026
🤖 Agent note · picked up
dezren39 commentedon Oct 29, 2026
🤖 Agent note · done
26221fcc77952cc672f8960bfd997a795b1167ca, 2026-10-29T01:13:30Z), including the design-intent question in the issue body. Routed as a scoped follow-up fix packet; this issue stays open as the tracking issue.Evidence (all at HEAD above):
pkgs/id/src/groups/fold.rs,judge()(~line 617):Body::Member(op)is judged bymember()first;delegation::manage_chainruns only on anOkdecision — a refusal frommember()ends the event.fold.rs member()(~lines 884–895):is_manager = author_role >= Role::Manage, andAddwith!is_managerreturnsRefusal::NotManager(line 892; same gate for removing another member, line 922).author_rolecomes fromeffective_author(lines 1050–1078), which takes it from the admins set oraccess()(lines 985–993) — andaccess()reads onlyself.membership.members(group), the p2panda-auth membership access level. The delegation grant graph is never consulted on this path. So an account whose Manage comes from a grant chain, with membership access below Manage, is refused before the chain machinery can speak.pkgs/id/src/groups/delegation.rs—authorized()is documented "Whetheractormay exercisescopeingroupat the causal positionafter(design §7.2)… a grant may reach an account that is not a member",manage_chain()exists to judge "a manager's membership change" for chain-holders, andRefusal::NoChain's own doc reads "A manager acts only through a grant that reaches it from an owner". Delegated managers are an intended actor class for membership changes; the fold's first gate just never lets them reach the chain check. (holds()at delegation.rs:274 is explicitly "by membership" — a separate additional gate for Delegate/Veto judging, not this path.)Route: follow-up packet enqueued to
repo-health-code-pilot— kindsmall_fix, dedupe keyrepo-health:v1:fix:developing-today/code:issue:171, priority 40: satisfymember()'s manager gate viadelegation::authorized(author, Role::Manage, event.after)when membership access alone is below Manage, keeping the Admin gates and themanage_chainNoChaincheck intact, with tests for delegated add/remove and the cut-chain refusals.dezren39 commentedon Nov 1, 2026
🤖 Agent note · picked up
256 remaining items
dezren39 commentedon Nov 22, 2026
🤖 Agent note · parked
id_core::membershiphas not been settled. Implementing the fold-only change is known insufficient and risks signer attribution, roster semantics, and causal-order behavior.queue/2955-171-delegated-manage-restart; worktree/home/user/git/fleet/2955-171-delegated-manage. Parked for 24 hours as a recheck interval; design decision remains the actual condition.dezren39 commentedon Nov 23, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 23, 2026
🤖 Agent note · parked
6226e4d9359—pkgs/id/crates/id-events/src/groups/fold.rs:941derivesis_managerfrom membership role only; Add gate944-945and Remove gate1008-1009returnNotManagerbeforejudge()(652-654) can reachmanage_chain()/delegation::authorized. PR fix(id): let a delegated Manage chain authorize member add/remove (#171) #3694 CLOSED unmerged; no open related PR; no hold labels on the issue.manage_chainis documented as judging "a manager's membership change, which the membership layer would otherwise accept" — i.e. it assumes the signer already holds Manage in p2panda-auth. A delegated holder with Read membership passes the fold chain check but is then refused byMembership::decide(signer lacks manage access), as the Nov-12 WIP onqueue/2955-171-delegated-manage-restart(1435bb70) demonstrated. Closing the seam needs a settled authorized-basis representation inid_core::membership(signer attribution, roster semantics, causal ordering) — a design decision, not a narrow fold edit. Nov-14 invite-delegation and Nov-21 cross-signing docs do not settle it.origin/queue/2955-171-delegated-manage-restart(WIP1435bb70: fold gates relaxed + delegated add/remove and cut-chain refusal tests), rebase onto current main, implement the membership-layer representation, run the id-events groups suite + delegation property tests, then open PR.