Simplify codebase per audit of 0139564

This commit is contained in:
Ian Gulliver committed 2026-10-23 18:25:56 -07:00
1 parent 013956440d
commit 68ccff3f03
24 files changed
+122 -190

No files matched your search

+1 -1
View File
@@ -210,7 +210,7 @@ func (m *Manager) steerMidTurn(ctx context.Context, l *live, s *codex.Session) {
func (m *Manager) codexAfterTool(l *live) hookcmd.Func {
return func(ctx context.Context, input json.RawMessage) (map[string]any, error) {
if m.holdWhilePaused(ctx, l, "") && ctx.Err() == nil {
if m.resumedFromPause(ctx, l, "") {
m.steerMidTurn(context.WithoutCancel(ctx), l, l.sess.(codexProcess).Session)
}
return map[string]any{}, nil