mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-08 06:45:55 +02:00
Current section order interleaves the per-issue Workflow block (which embeds the issue ID) between the stable CLI command listing and the equally-stable Skills/Mentions/Attachments/Output sections. Any issue switch invalidates the provider's prompt prefix cache from the Workflow onward, throwing away ~2.5k tokens of cached prefix. Move the Workflow to the end and group all stable sections (Available Commands, Skills, Codex-specific notes, Mentions, Attachments, Important, Output, Repositories) before any per-issue content. The same agent processing consecutive issues in the same workspace now produces a byte-identical CLAUDE.md prefix up to the Workflow header. Lock the property in with two new tests: - TestInjectRuntimeConfigStablePrefixOrdering — every stable section's offset is < the Workflow offset. - TestInjectRuntimeConfigPrefixIsByteAlignedAcrossIssues — the bytes before ### Workflow are byte-identical for two different IssueIDs. See MUL-1824. Co-authored-by: multica-agent <github@multica.ai>