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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch Changes
cd2448e: Fix a V2 todo-gate deadlock: OpenCode V2 has no builtin todowrite tool, so sessions driven by builtin tools could never satisfy the Policy 1 active-todo gate and every edit/write was blocked forever. Todo reconstruction now distinguishes "no todo capability" (history contains no todowrite part → unknown → the gate is skipped) from "definitively empty" (a todowrite part exists and reports no active tasks → still enforced). The parent-chain walk continues past unknown links and fails open only when no ancestor supplies a list, so a subagent still attributes mutations to a parent that owns the todo list. Fixes #148.