Files
multica/server/internal
Jiayuan Zhang b254135116 refactor(daemon/execenv): compress per-turn CLAUDE.md prompt sections
Compress instructional sections that the agent re-reads on every turn:

- `## Mentions` collapsed from 15 lines to 6 (anti-loop signals preserved
  in prose; section sub-headers removed).
- `## Important: Always Use the multica CLI` collapsed from 6 lines to 2.
- `## Output` no longer duplicates the "results MUST go via comment add"
  warning — the workflow step is now the single source of truth.
- HEREDOC code-block example removed from the comment-add command help;
  the rule sentence remains.
- Comment-trigger workflow steps 4–6 collapsed; the canonical
  agent-to-agent anti-loop guidance now lives only in the per-turn user
  message (daemon.buildCommentPrompt agent block) with a one-line
  pointer left in CLAUDE.md.

Tests updated to assert the surviving anti-loop signals and to pin the
new pointer-style guidance.

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