Let the lead keep notes on how its user works

This commit is contained in:
Ian Gulliver
2026-10-16 10:50:29 -07:00
parent 919e1f8002
commit d6f73a1560
18 changed files with 759 additions and 208 deletions
+6
View File
@@ -78,6 +78,7 @@ type live struct {
taskID string
projectID string
owner string
notes string
reviewID string
stage string
stopping bool
@@ -599,6 +600,11 @@ func (m *Manager) ensureLive(ctx context.Context, sess api.AgentSession, task ap
return nil, err
}
g = leadGuidance
notes, err := m.notesText(ctx, l.owner)
if err != nil {
return nil, err
}
l.notes = "\n\n" + notes
tools = m.leadTools(l)
env = nil
}