multica/src/agent/system-prompt
Jiang Bohan 5cdc6974f7 refactor(profile): implement progressive disclosure for profile loading
- Only inject workspace.md into system prompt (not soul, user, memory)
- Add profile directory path to workspace section for on-demand file access
- Agent now reads soul.md, user.md, memory.md on first session using tools
- Reduces system prompt size and improves token efficiency
- Aligns with workspace.md template instructions ("Read soul.md first")

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 02:41:29 +08:00
..
builder.test.ts refactor(profile): implement progressive disclosure for profile loading 2026-02-05 02:41:29 +08:00
builder.ts refactor(profile): implement progressive disclosure for profile loading 2026-02-05 02:41:29 +08:00
constitution.ts feat(agent): add system prompt engineering module 2026-02-04 15:41:16 +08:00
index.ts feat(agent): add system prompt engineering module 2026-02-04 15:41:16 +08:00
report.ts feat(agent): add system prompt engineering module 2026-02-04 15:41:16 +08:00
runtime-info.ts feat(agent): add system prompt engineering module 2026-02-04 15:41:16 +08:00
sections.test.ts refactor(profile): implement progressive disclosure for profile loading 2026-02-05 02:41:29 +08:00
sections.ts refactor(profile): implement progressive disclosure for profile loading 2026-02-05 02:41:29 +08:00
types.ts feat(agent): add system prompt engineering module 2026-02-04 15:41:16 +08:00