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
{{ message }}
Repository navigation
Keep one initial Sage lead per task across Codex owners (T31) #177
Extract initial lead ownership checks from the Codex integration for #88 and #138. The shared admission transaction must refuse a second active lead for the same project task, including across owner sessions. Retain task ownership while the first lead's team remains active. Preserve identical retries, unrelated tasks, and proven completion/failure release.
Source scope: packages/sage-core/admission.mjs, packages/sage-core/role-policy.mjs, admission documentation, provider and native tests. Do not change Claude hooks or shared state.mjs. Existing lead continuation remains a later component.
Acceptance: behavioral tests fail detached main, concurrent reservation attempts yield one winner, native dispatch refusal is verified, build/check/full tests and CI pass, and two clean code/security/QA cycles review the final head. Installed automatic Sage remains disabled.
Current status: PR #178 is merged at eac1945. Reviewed head 3b95d53748117739fad045ac55dc34d1073638bb passed two clean code/security/QA cycles, build/check, and all 1,120 local and CI tests. CI run 38417339414 succeeded. Six focused checks pass, and four new tests fail detached main c241ec1. The native CLI 0.160.0 probe passes with simulated responses and cleanup; main lacks the refusal. All owned test and probe processes finished.
Review repairs preserve historical journals made by main, retain a lead’s original task through its team’s issuer binding, and close concurrent test workers on every exit path.
Activity