events.py
python
sha256:42bc547653458bb15e283222247af0237872d9cb5c2a72ad2ca1c111ed2c0ca4
feat(9A-4 F7): overseer-run provenance enrichment API for S…
Human
minor
⚠ breaking
75 days ago
| 1 | """Protocol event registry — canonical set of MuseHub event types. |
| 2 | |
| 3 | This is the single source of truth for all event type strings used by the |
| 4 | webhook dispatcher and protocol introspection endpoints. |
| 5 | """ |
| 6 | |
| 7 | KNOWN_EVENT_TYPES: frozenset[str] = frozenset({ |
| 8 | "commit_pushed", |
| 9 | "proposal_opened", |
| 10 | "proposal_merged", |
| 11 | "proposal_closed", |
| 12 | "issue_opened", |
| 13 | "issue_closed", |
| 14 | "branch_created", |
| 15 | "branch_deleted", |
| 16 | "tag_pushed", |
| 17 | "session_started", |
| 18 | "session_ended", |
| 19 | }) |
| 20 | |
| 21 | EVENT_REGISTRY: frozenset[str] = KNOWN_EVENT_TYPES |
| 22 | """Canonical frozenset of all recognised MuseHub event type strings.""" |
File History
1 commit
sha256:42bc547653458bb15e283222247af0237872d9cb5c2a72ad2ca1c111ed2c0ca4
feat(9A-4 F7): overseer-run provenance enrichment API for S…
Human
minor
⚠
75 days ago