Files
fusion/.changeset/per-agent-custom-instructions.md
gsxdsm 0f0ddc02fb feat(FN-1050): add per-agent custom instructions support
- Add instructionsPath and instructionsText fields to Agent type and AgentStore
- Create agent-instructions resolver module in engine with priority-based resolution
- Wire custom instructions into executor, triage, reviewer, and merger agents
- Add PATCH /agents/:id/instructions API endpoint with file and text support
- Add instructions editor UI to dashboard agent detail config tab
- Add comprehensive tests for instructions resolver and AgentStore integration
- Add changeset for published package bump
2026-04-07 15:17:08 -07:00

11 lines
671 B
Markdown

---
"@gsxdsm/fusion": minor
---
Add per-agent custom instructions support. Each agent can now have `instructionsText` (inline markdown) and/or `instructionsPath` (path to a .md file) that are appended to the agent's system prompt at execution time. This enables customizing agent behavior (coding style, project conventions, review criteria) without modifying built-in system prompts.
- New fields on Agent type: `instructionsPath` and `instructionsText`
- New API endpoint: `PATCH /api/agents/:id/instructions`
- Dashboard: Custom Instructions section in agent Config tab
- Executor, triage, reviewer, and merger all resolve per-agent instructions at session creation