docs: Add initiative review gate to dispatch-events, server-api, and database docs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
- **Adapter**: `TypedEventBus` using Node.js `EventEmitter`
|
||||
- All events implement `BaseEvent { type, timestamp, payload }`
|
||||
|
||||
### Event Types (55)
|
||||
### Event Types (57)
|
||||
|
||||
| Category | Events | Count |
|
||||
|----------|--------|-------|
|
||||
@@ -27,6 +27,7 @@
|
||||
| **Preview** | `preview:building`, `preview:ready`, `preview:stopped`, `preview:failed` | 4 |
|
||||
| **Conversation** | `conversation:created`, `conversation:answered` | 2 | `conversation:created` triggers auto-resume of idle target agents via `resumeForConversation()` |
|
||||
| **Chat** | `chat:message_created`, `chat:session_closed` | 2 | Chat session lifecycle events |
|
||||
| **Initiative** | `initiative:pending_review`, `initiative:review_approved` | 2 | Initiative-level review gate events |
|
||||
| **Project** | `project:synced`, `project:sync_failed` | 2 | Remote sync results from `ProjectSyncManager` |
|
||||
| **Log** | `log:entry` | 1 |
|
||||
|
||||
@@ -45,6 +46,8 @@ PhaseStartedEvent { phaseId, initiativeId }
|
||||
MergeConflictedEvent { taskId, agentId, worktreeId, targetBranch, conflictingFiles[] }
|
||||
PhaseChangesRequestedEvent { phaseId, initiativeId, taskId, commentCount }
|
||||
AccountCredentialsRefreshedEvent { accountId, expiresAt, previousExpiresAt? }
|
||||
InitiativePendingReviewEvent { initiativeId, branch }
|
||||
InitiativeReviewApprovedEvent { initiativeId, branch, strategy: 'push_branch' | 'merge_and_push' }
|
||||
```
|
||||
|
||||
## Task Dispatch
|
||||
|
||||
Reference in New Issue
Block a user