docs: Add initiative review gate to dispatch-events, server-api, and database docs

This commit is contained in:
Lukas May
2026-03-05 17:00:38 +01:00
parent 763871a2a5
commit dab1a2ab13
3 changed files with 9 additions and 2 deletions

View File

@@ -93,6 +93,10 @@ Each procedure uses `require*Repository(ctx)` helpers that throw `TRPCError(INTE
| updateInitiative | mutation | Name, status |
| deleteInitiative | mutation | Cascade delete initiative and all children |
| updateInitiativeConfig | mutation | mergeRequiresApproval, executionMode, branch |
| getInitiativeReviewDiff | query | Full diff of initiative branch vs project default branch |
| getInitiativeReviewCommits | query | Commits on initiative branch not on default branch |
| getInitiativeCommitDiff | query | Single commit diff for initiative review |
| approveInitiativeReview | mutation | Approve initiative review: `{initiativeId, strategy: 'push_branch' \| 'merge_and_push'}` |
### Phases
| Procedure | Type | Description |