feat: Add description field and auto-spawn discuss agent on initiative creation

This commit is contained in:
Lukas May
2026-03-03 13:40:37 +01:00
parent 9edc93a268
commit 86a1912959
4 changed files with 58 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ Each procedure uses `require*Repository(ctx)` helpers that throw `TRPCError(INTE
### Initiatives
| Procedure | Type | Description |
|-----------|------|-------------|
| createInitiative | mutation | Create with optional branch/projectIds, auto-creates root page |
| createInitiative | mutation | Create with optional branch/projectIds/description, auto-creates root page; if description provided, auto-spawns discuss agent |
| listInitiatives | query | Filter by status; returns `activity` (state, activePhase, phase counts) computed from phases |
| getInitiative | query | With projects array |
| updateInitiative | mutation | Name, status |