- 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
671 B
671 B
@gsxdsm/fusion
| @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:
instructionsPathandinstructionsText - 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