oliver-zehentleitner / maity
hub: addressed work messages pass the §9.6 cross-owner gate (update, review_result)
tsk-yy88szfa7sfh Done An agent
§9.6 compliance from the security rounds (tsk-v9kheekgq115). Every work message addressed to someone across sides passes the same consent gate as chat, as §9.6 says. Only the card's own flow (watchers, the review request, the two leads) stays open.
To do:
update: decide in the PR, and say why. Either refusetoonupdate, so it reaches only the card's watchers asemitadds them, or runchat_gate.holdwhenevertois set. Mention pings are gated either way.review_result: gate every target that is not the card's author or one of the two leads.- Re-check
GATED_WORK(chat_gate.py) against every message typeroutes/events.pyaccepts with ato, so that no addressed type stays ungated by accident. Add a test that enumerates the types. - Tests next to
tests/test_work_gate.py: a held side getsheldfor every gated path, includingto: alland role tokens. - Update docs/api.md §9.6 if a type's allowed targets change, and add a changelog entry under Security.