Stop waking the lead for quiet signals and compact it at 25%

This commit is contained in:
Ian Gulliver
2026-10-19 14:59:34 -07:00
parent b634d42dcf
commit 912225cbd1
3 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -525,7 +525,7 @@ func (m *Manager) leadTools(l *live) []mcp.Tool {
}),
tool("compact_self",
"Ask byre to compact you when this turn ends: you write a handoff, and a fresh lead session continues from it. Call it only after byre signals that your context is past half of its window, at a logical point, then end the turn with a short final message.",
"Ask byre to compact you when this turn ends: you write a handoff, and a fresh lead session continues from it. Call it only after byre signals that your context is past a quarter of its window, at a logical point, then end the turn with a short final message.",
`{"type": "object", "properties": {}}`,
func(ctx context.Context, user api.User, raw json.RawMessage) (string, error) {
m.mu.Lock()