feat(FN-1017): enable proactive subtask splitting during triage and review

- Update triage agent to proactively suggest splitting large tasks into subtasks during specification
- Tighten reviewer guidance to flag undersplit tasks that should be broken down further
- Add comprehensive tests for proactive subtask creation in triage (192 lines)
- Add reviewer tests for undersplit task detection (12 lines)
- Update README with documentation on proactive subtask splitting behavior
This commit is contained in:
gsxdsm
2026-04-05 23:50:36 -07:00
parent 83688abecb
commit b125a75eb0
5 changed files with 221 additions and 22 deletions

View File

@@ -438,7 +438,7 @@ Fusion uses a hybrid storage architecture: structured metadata in **SQLite** wit
The AI engine starts automatically with the dashboard. Three components run:
- **TriageProcessor** — Watches triage column. Spawns an AI agent that reads the project, understands context, and writes a full `PROMPT.md` specification. Moves task to todo.
- **TriageProcessor** — Watches triage column. Spawns an AI agent that reads the project, understands context, and writes a full `PROMPT.md` specification. When the reviewer flags a task as oversized (8+ steps, 3+ packages, multiple independent deliverables), the triage agent proactively splits it into 25 child tasks using `task_create` and closes the parent. Moves approved single tasks to todo.
- **Scheduler** — Watches todo column. Resolves dependency graphs. Moves tasks to in-progress when deps are satisfied and concurrency allows (default: 2 concurrent). When `groupOverlappingFiles` is enabled, tasks whose file scopes overlap are serialized to prevent merge conflicts.