You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.48.0 — 5 intelligence upgrades for smarter agent
1. Episode extraction now produces narrative task summaries ("Summarize what was implemented/fixed, key files, decisions, outcome") instead of bullet-point facts — episodes are now recoverable by semantic search across sessions.
2. Removed init-time episode search with vague "session context" query — per-turn FormatEpisodeContext already injects relevant episodes based on actual user message. Saves ~400 tokens per session.
3. Added structured reasoning scaffold (Understand → Plan → Execute → Verify → Ship) to guide agent thinking for complex tasks — replaces vague "think first, then act" with explicit stages.
4. Added batch/parallel tool awareness (batch_read, parallel_shell, multi_grep) so the agent reads 3+ files in one call instead of sequentially.
5. Subagent persona detection is now composable — compound goals like "review the auth code and fix bugs" merge insights from all matched categories (persona, methodology, focus) instead of picking only the first keyword match.
All changes TDD-verified with 5 new tests + updated 3 existing tests.
"Extract 1-3 concise, durable facts from this conversation that the agent should remember for future sessions. Output as plain text, one fact per line. Skip task-specific details (PR numbers, commit SHAs, file paths). Focus on user preferences, tool quirks, project rules, and environment details.",
468
+
"Summarize this session in 1-3 sentences covering: what was implemented/fixed, key files changed, architectural decisions, and the outcome. Format as a narrative summary, not bullet points.",
// GREEN PHASE: assert the new prompt contains "Summarize"
706
+
if!strings.Contains(content, "Summarize") {
707
+
t.Error("episode extraction prompt should contain 'Summarize' instead of 'durable facts' — narrative summaries are more recoverable by semantic search")
708
+
}
709
+
ifstrings.Contains(content, "durable facts") {
710
+
t.Error("episode extraction prompt should NOT contain 'durable facts' — use 'Summarize' for task-oriented narrative summaries")
0 commit comments