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
feat(coordination): open mode — advisory role gates, loud claim contention (new default) (#591)
* feat(coordination): open mode — advisory role gates, loud claim contention (new default)
Unprofiled agents default to the executor role and could not propose;
scouts could not claim; contended claims hard-failed. coordinationMode
('open' default | 'guarded') makes roles advisory: open lifts
SCOUT_NO_CLAIM, EXECUTOR_CANNOT_PROPOSE, the scout proposal cap, and
executor proposal filtering, and turns claim-conflict errors into
successful responses carrying contention/warning/contention_detail
(table ownership stays with the live owner). Queen-only approval,
subtask completion ownership, evidence, and protected-branch rejection
stay hard in both modes. task_plan_claim_subtask gains force:true with
a plan-subtask-force-claim audit note.
* test(coordination): force-claim coverage + open-mode handler tests; review fixes
Audit note for force-claims now writes inside the claim transaction so
lost races leave no false trail. filterReadyForExecutor mode param is
required (no silent guarded default).
---------
Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
Open coordination mode (new default): role gates become advisory. `settings.coordinationMode: 'open' | 'guarded'` — under open, scouts can claim, any agent can propose (no cap), everyone sees all proposals, and contended `task_claim_file` calls succeed with loud contention info (`contention`, `contention_detail`, `warning`) instead of erroring; table ownership stays with the live owner. Queen-only approval, subtask completion ownership, evidence requirements, and protected-branch rejection stay hard in both modes. `task_plan_claim_subtask` gains `force: boolean` to override unmet deps with an audit note. Set `coordinationMode: 'guarded'` to restore strict behavior.
0 commit comments