Skip to content

Fix context summary continuation format#587

Merged
jahooma merged 1 commit intomainfrom
jahooma/fix-summary-tools
May 4, 2026
Merged

Fix context summary continuation format#587
jahooma merged 1 commit intomainfrom
jahooma/fix-summary-tools

Conversation

@jahooma
Copy link
Copy Markdown
Contributor

@jahooma jahooma commented May 4, 2026

Reworks context-pruner summaries into a historical memory artifact instead of transcript-shaped output that models may imitate. Preserves the live user prompt as a real message before assistant work starts, and uses a continuation prompt when pruning happens mid-turn so completed tool work is not restarted. Updates pruner unit coverage and the summary-format e2e fixture/detectors for the new format. Validated with bun test agents/__tests__/context-pruner.test.ts agents/e2e/base2-free-summary-format.e2e.test.ts and bun run --cwd agents typecheck.

@jahooma jahooma merged commit 5628c9b into main May 4, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/fix-summary-tools branch May 4, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant