feat(gateway): /system override condensation — accumulate + Haiku merge #198

Merged
jason.woltje merged 1 commits from feat/system-override-condensation into main 2026-03-17 02:26:32 +00:00
Owner

Multiple /system calls now accumulate instead of replacing. After each call, fragments are condensed into one coherent override via Haiku. Most recent instruction wins on conflicts. Fallback to newline concatenation if LLM call fails.

Multiple /system calls now accumulate instead of replacing. After each call, fragments are condensed into one coherent override via Haiku. Most recent instruction wins on conflicts. Fallback to newline concatenation if LLM call fails.
jason.woltje added 1 commit 2026-03-17 02:20:17 +00:00
feat(gateway): /system override condensation — accumulate + Haiku merge
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
edd6dfe36d
Multiple /system calls now accumulate instead of replacing. After each
call, fragments are condensed into one coherent override via Haiku
(claude-haiku-4-5-20251001). Most recent instruction wins on conflicts.
Falls back to newline concatenation if LLM call fails or ANTHROPIC_API_KEY
is unset. Both condensed result and raw fragments array are stored with the
same TTL; clear deletes both keys.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje merged commit 791c8f505e into main 2026-03-17 02:26:32 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#198