Repository navigation
Description
Sage task T14
Parent: #88. Prerequisite for authenticated task updates after PR #140.
Reproduced defect
A supported native fixture starts a lead and an implementer. Moving the task to held refuses the implementer write. Moving held to briefed blocks the lead logbook row, but the same old implementer can write again. This reproduces on main b5889f6. The child target check validates its own running row, not the original issuing lead target.
Required behavior
- Bind nested work to its original issuing lead assignment and immutable run target. Never choose the latest assignment for a reused parent actor.
- Revalidate this authority before and after asynchronous policy evaluation, at preparation/dispatch/binding, and when recovery grants authority.
- A blocked or changed original lead cannot regain authority through rebriefing, actor reuse or another lead. Direct-chief work and valid fresh teams remain supported.
- Preserve terminal evidence ingestion, interruption cleanup and saved reports. A permission refusal does not mean the native child stopped or a slot became free.
- Match the existing Sage-on target-check scope; do not silently redefine off-mode policy.
- If legacy records cannot establish an unambiguous original parent join, refuse permission. Add an explicit validated assignment reference for new preparations if needed.
Proof
Use the current behavioral reproduction as the baseline. Cover old-child refusal after rebrief, unchanged positive control, reused lead turns, missing/ambiguous parent identity, evaluator-time change, prepared-but-unbound work, continuations/recovery and interruption cleanup. Run build/check/full tests with fake process tools, a supported native route with simulation limits stated, and two clean code/security/QA cycles.
This fixes stale authorization. It does not claim whole-team settlement, atomic task-update publication, PR-wide ownership (#239) or installed automatic Sage. Claude-owned work remains untouched.
Activity