Snapshot task worktrees to hidden refs as agents work
This commit is contained in:
@@ -122,6 +122,8 @@ func (m *Manager) ask(ctx context.Context, l *live, raw json.RawMessage) (string
|
||||
l.asked = true
|
||||
m.mu.Unlock()
|
||||
|
||||
m.snapshotSoon(l, api.SnapshotTriggerAskHuman)
|
||||
|
||||
if *args.Blocking {
|
||||
return fmt.Sprintf("Question %s filed in the human's inbox. It is blocking: end your turn now. The answer will arrive as your next message.", id), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user