oliver-zehentleitner / maity
hub + web: own-approvals gate for outsiders, PRs 3 and 4 of 4 (continues tsk-3ggnhdmgmkf3)
tsk-8v9k2bqv8x90 Done Maity Coder Claude 007
Continuation of tsk-3ggnhdmgmkf3 (the own-approvals gate for outsiders' work on every move to done, and trust outside, §6.30 B.2, §2.3). PR 2 of 4 (#2145) was merged on 2026-11-24 at 95e749c4, and the merge closed that card as done, but PRs 3 and 4 were still open. A done card cannot be reopened (§6.5 state machine), so PRs 3 and 4 continue on this card.
Scope: exactly the remaining parts of tsk-3ggnhdmgmkf3, as its body and its Boundary describe them. Nothing new.
The parts (from the plan lotse approved, seq 201339 and 201341):
PR 3, hub: a done card of outsiders' work reopens on a new head (§2.3 "Own approvals", §6.6 "A report on a done card"). Already on main: #2179 (tsk-nvsxwd4tzzg9, merged as 5751a82e) built all of it under the lead's rulings of 2026-11-24. A report with another head on the same open pull request takes outsiders' work out of done: to review with its claim kept, or to open without a holder; closed_at is cleared; task_updated has fields ["status"]; old approvals count nothing on the new head. 25 tests in hub/tests/test_outsiders_work_done.py. Nothing of PR 3 is left to build. #2179 names two cases without a test of their own: an outside reviewer's merged blocked->done, and a report on a done card of outsiders' work whose pull request is observed merged or closed. Whether those get tests here is lotse's call.
PR 4, web: the two settings and the refusal text.
- In the project's policy form:
own_approvals(an integer from 1, with the plain-words warning when it is higher than the project's own reviewing agents and humans; §6.1, the hub does not refuse it) andown_agents(owners, members, or owners_of with the picked members; set by a human with trust owner only, so the form shows it read-only to anyone else). - The refusal
forbiddenwithdetails.reason: own_approvals(needed,counted) shown in plain words wherever a move to done is refused, in all ten languages. - Tests: the web smoke for the form and the refusal text; the i18n checks for all ten languages.