profit 77655c298c Initial commit: Agent Governance System Phase 8
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>
2026-01-23 22:07:06 -05:00

115 lines
3.5 KiB
JSON

{
"orchestration": {
"default_mode": "disabled",
"allowed_modes": ["disabled", "minimax", "gemini", "gemini-pro"],
"require_api_key": true
},
"models": {
"minimax": {
"model_id": "minimax/minimax-01",
"display_name": "Minimax-01",
"description": "High capability, cost-effective model with 1M context window",
"max_tokens": 100000,
"cost_per_1k_input": 0.0004,
"cost_per_1k_output": 0.0016,
"capabilities": ["code", "reasoning", "long_context"],
"recommended_for": ["long_running_tasks", "code_review", "planning"],
"fallback": "gemini"
},
"gemini": {
"model_id": "google/gemini-2.0-flash-thinking-exp-1219",
"display_name": "Gemini 2.0 Flash Thinking",
"description": "Fast experimental model with thinking capabilities",
"max_tokens": 65536,
"cost_per_1k_input": 0.0,
"cost_per_1k_output": 0.0,
"capabilities": ["code", "reasoning", "thinking"],
"recommended_for": ["quick_tasks", "debugging", "analysis"],
"fallback": "gemini-pro"
},
"gemini-pro": {
"model_id": "google/gemini-2.5-pro-preview-03-25",
"display_name": "Gemini 2.5 Pro",
"description": "Highest capability Gemini model for complex tasks",
"max_tokens": 65536,
"cost_per_1k_input": 0.00125,
"cost_per_1k_output": 0.01,
"capabilities": ["code", "reasoning", "complex_tasks"],
"recommended_for": ["complex_planning", "architecture", "difficult_debugging"],
"fallback": "minimax"
}
},
"execution": {
"checkpoint_before_action": true,
"checkpoint_after_action": true,
"fallback_to_human": true,
"max_tokens_per_request": 4096,
"timeout_seconds": 120,
"max_retries": 3
},
"audit": {
"log_all_commands": true,
"log_model_responses": true,
"retain_days": 30
},
"safety": {
"require_confirmation_for": ["execute", "plan"],
"blocked_commands": [
"rm -rf /",
"vault token revoke",
"DROP DATABASE",
"shutdown"
],
"max_commands_per_minute": 10,
"emergency_stop_enabled": true
},
"environment_variables": {
"AUTO_AGENT_MODE": {
"description": "Orchestration mode: disabled, minimax, gemini, gemini-pro",
"default": "disabled",
"required": false
},
"OPENROUTER_API_KEY": {
"description": "OpenRouter API key (or retrieve from Vault)",
"default": null,
"required": true,
"vault_path": "secret/data/services/openrouter"
},
"OPENROUTER_MODEL_OVERRIDE": {
"description": "Override the default model selection",
"default": null,
"required": false
},
"AUTO_AGENT_RETRIES": {
"description": "Number of retries on failure",
"default": "3",
"required": false
},
"AUTO_AGENT_CHECKPOINT_BEFORE": {
"description": "Create checkpoint before each action",
"default": "true",
"required": false
},
"AUTO_AGENT_CHECKPOINT_AFTER": {
"description": "Create checkpoint after each action",
"default": "true",
"required": false
},
"AUTO_AGENT_FALLBACK_HUMAN": {
"description": "Fall back to human on failure",
"default": "true",
"required": false
},
"AUTO_AGENT_MAX_TOKENS": {
"description": "Maximum tokens per model request",
"default": "4096",
"required": false
},
"AUTO_AGENT_TIMEOUT": {
"description": "Timeout in seconds for model requests",
"default": "120",
"required": false
}
}
}