Isolated cron runs leak context when they reuse a stable session key Different isolated…
- User
Isolated cron runs leak context when they reuse a stable session key
Different isolated cron runtime sessions that reuse a stable session key must not share active LCM context. Prior runs remain archived, compaction within the current run still works, and ordinary non-cron session continuity is unchanged.
Interface
No new public interfaces are introduced.
- Assistant
I’ll trace session/context identity handling for cron runs, reproduce the leak with focused tests, then patch and run the relevant suite.
- Assistant
The leak sits in the stable-key rollover guard: ordinary sessions deliberately fail closed when a new runtime UUID appears while the old transcript still exists. Isolated cron runs need a stronger rule—the runtime UUID boundary itself starts a fresh active conversation—so I’m adding that narrow cron-only split while preserving the existing ambiguity behavior elsewhere.
- Assistant
The focused regression now passes, including the existing ordinary-session ambiguity tests. The new case confirms the first cron run is archived intact, the second receives a distinct active conversation, and assembly exposes only the second run’s context. I’m running type checks and the broader engine suite next.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.