Queue mid-turn messages for the next tool call; remove all tests

This commit is contained in:
Ian Gulliver
2026-10-15 18:33:18 -07:00
parent 4f94d73b58
commit 514a2580f7
68 changed files with 364 additions and 6851 deletions
+7 -1
View File
@@ -61,7 +61,13 @@ func (m *Manager) startClaude(ctx context.Context, sess api.AgentSession, l *liv
"Stop": {{Func: m.bounceProseQuestion(l)}},
"PostToolUse": {{Func: m.afterTool(l)}},
}
if !l.implementer() {
if l.owner != "" {
hooks = map[string][]claude.HookMatcher{
"UserPromptSubmit": {{Func: remindGuidance(g)}},
"PostToolUse": {{Func: m.afterTool(l)}},
}
}
if l.reviewID != "" {
hooks = map[string][]claude.HookMatcher{"UserPromptSubmit": {{Func: remindGuidance(g)}}}
}