Phase 8 Production Hardening with complete governance infrastructure: - Vault integration with tiered policies (T0-T4) - DragonflyDB state management - SQLite audit ledger - Pipeline DSL and templates - Promotion/revocation engine - Checkpoint system for session persistence - Health manager and circuit breaker for fault tolerance - GitHub/Slack integrations - Architectural test pipeline with bug watcher, suggestion engine, council review - Multi-agent chaos testing framework Test Results: - Governance tests: 68/68 passing - E2E workflow: 16/16 passing - Phase 2 Vault: 14/14 passing - Integration tests: 27/27 passing Coverage: 57.6% average across 12 phases Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
923 B
Python
39 lines
923 B
Python
"""
|
|
External Integrations for Agent Governance System
|
|
|
|
Available integrations:
|
|
- GitHub: PR creation, commit status, issue tracking
|
|
- Slack: Notifications, alerts, approval workflows
|
|
"""
|
|
|
|
from .common.base import (
|
|
IntegrationConfig,
|
|
IntegrationEvent,
|
|
BaseIntegration,
|
|
IntegrationManager
|
|
)
|
|
from .github.github import GitHubIntegration
|
|
from .slack.slack import SlackIntegration
|
|
|
|
__all__ = [
|
|
'IntegrationConfig',
|
|
'IntegrationEvent',
|
|
'BaseIntegration',
|
|
'IntegrationManager',
|
|
'GitHubIntegration',
|
|
'SlackIntegration'
|
|
]
|
|
|
|
|
|
def create_manager() -> IntegrationManager:
|
|
"""Create an integration manager with all available integrations"""
|
|
manager = IntegrationManager()
|
|
|
|
# Register GitHub (will be disabled if no token)
|
|
manager.register(GitHubIntegration())
|
|
|
|
# Register Slack (will be disabled if no credentials)
|
|
manager.register(SlackIntegration())
|
|
|
|
return manager
|