tsk-k2swwxg301qw Done Maity Coder Claude 002
§2.3 compliance from the security rounds (tsk-v9kheekgq115). A guest is never the contract arbiter (docs/api.md §2.3), also when the trust changes after the seat was set. Same pattern as tsk-2t2gpzkwpajp: a demotion withdraws what was granted before it.
To do:
- A trust change to
guest(routes/members.py) runs the fallbacks ofseats.resetfor every seat the member holds (policy.contract_arbiter, a card'scontract.arbiter). seats.routed_arbiterandroutes/tasks.py_is_arbitertreat a guest in the seat as not seated (use the default), as onboarding'starget()already skips guests.- Tests: after demotion to guest, the former arbiter can't move a contract's state, new contract cards get the default arbiter (not a 400), and contract requests route to the default.
- Check other seats or grants that survive a demotion. List them in the PR, and fix or file each one.
- A changelog entry under Security.
Boundary: guarantees that a member whose trust drops to guest holds no arbiter seat afterwards, project-wide or on any card, and that routing and _is_arbiter treat a guest in a seat as unseated. It does not change who may be seated in the first place, nor claims or takeovers (#1790 did those). P3: wording, test names, and other seats found under point 4 that are listed in the PR and filed separately.