17030b9a0d
Guard the tool-pair validator when transformed assistant messages belong to a tracked subagent session, while keeping normal main-session orphaned tool_use repair intact. Constraint: code-yeongyu/oh-my-openagent#3996 reports background Oracle sessions hanging after synthetic placeholder tool_result insertion. Rejected: disable tool-pair-validator globally | would regress main-session compaction/orphaned tool_use repair. Confidence: high Scope-risk: narrow Directive: Keep subagent skip coverage and normal repair coverage together when changing tool-pair validation. Tested: bun test src/hooks/tool-pair-validator/hook.test.ts src/plugin/messages-transform.test.ts Tested: bun run typecheck Not-tested: live Oracle background task e2e; no remote push or PR comment performed.