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
This commit is contained in:
10
.changeset/per-agent-custom-instructions.md
Normal file
10
.changeset/per-agent-custom-instructions.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
"@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
|
||||
Reference in New Issue
Block a user