pi-mono/packages
Mario Zechner 5713c9507c fix(durable): lead with the system baseline after a compaction that keeps assistant messages
Context derivation moved a system message to the front only when user messages
alone preceded it. After a compaction that keeps an assistant message, the
baseline written for the next run followed the kept history and the new input,
so Anthropic and OpenAI Codex requests had no initial prompt or tool set.

Derivation now identifies the harness baseline: the first pi.system entry after
the head marker, or of the transcript when no earlier entry carries a system
message, even one omitted later. Its message leads even past assistant
messages. Only the first system message ever moves, so replay is unchanged;
other system messages after an assistant message stay in place.

closes #10904
2026-10-14 09:47:25 +00:00
..
agent fix: pin internal dependencies to exact versions 2026-10-13 14:28:15 +02:00
ai fix(ai): retry gateway 'Unable to forward upstream stream' errors 2026-10-14 11:14:38 +02:00
chord feat(chord): lifetime "host" is checked by the type system 2026-10-14 09:43:42 +00:00
codemode fix(coding-agent): keep codemode cancellation prompt and bounded 2026-10-13 18:17:31 +02:00
coding-agent feat(ai): keep the prompt cache when changing thinking level on OpenAI GPT-6 (#10930) 2026-10-14 10:56:20 +02:00
durable fix(durable): lead with the system baseline after a compaction that keeps assistant messages 2026-10-14 09:47:25 +00:00
env fix: pin internal dependencies to exact versions 2026-10-13 14:28:15 +02:00
evals fix: pin internal dependencies to exact versions 2026-10-13 14:28:15 +02:00
mcp Add [Unreleased] section for next cycle 2026-10-13 00:47:08 +02:00
telemetry Add [Unreleased] section for next cycle 2026-10-13 00:47:08 +02:00
tui Add [Unreleased] section for next cycle 2026-10-13 00:47:08 +02:00