Files
Jiayuan Zhang 890635e958 refactor(daemon): reclassify Repositories as per-issue dynamic suffix
handler/daemon.go overrides task.Repos with the issue's project github_repo
resources when the project has any attached, so the rendered Repositories
block can vary per issue (not per workspace). Reflect that in the section
ordering comments and tighten the prompt-cache test to match the real claim
path.

- Update buildMetaSkillContent doc + section comments to classify
  Repositories alongside Project Context and Workflow as dynamic suffix.
- Replace TestInjectRuntimeConfigPrefixIsByteAlignedAcrossIssues with
  TestInjectRuntimeConfigStablePrefixIsByteAligned, which boundaries on
  the first dynamic section header (whichever appears first among
  Repositories / Project Context / Workflow) and adds a sub-test where
  two issues render with different project repos and projects — the
  bytes before the first dynamic section must still be byte-identical
  and per-issue values must not leak into the stable prefix.
- TestInjectRuntimeConfigStablePrefixOrdering now uses the same
  first-dynamic-section boundary and asserts the dynamic suffix order
  (Repositories → Project Context → Workflow).

Co-authored-by: multica-agent <github@multica.ai>
2026-05-07 12:19:09 +08:00
..