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>
This commit is contained in:
profit
2026-01-23 22:07:06 -05:00
co-authored by Claude Opus 4.5
commit 77655c298c
338 changed files with 63491 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# Config
> Executor-tier agent (infrastructure changes) - config submodule
## Overview
This directory contains executor-tier agent (infrastructure changes) - config submodule.
## Key Files
| File | Description |
|------|-------------|
| `agent.json` | Data/Schema |
## Interfaces / APIs
*Document any APIs, CLI commands, or interfaces here.*
## Status
** Not Started**
See [STATUS.md](./STATUS.md) for detailed progress tracking.
## Architecture Reference
Part of the [Agent Governance System](/opt/agent-governance/docs/ARCHITECTURE.md).
Parent: [Tier1 Agent](..)
---
*Last updated: 2026-01-23 23:25:09 UTC*
+30
View File
@@ -0,0 +1,30 @@
# Status: Config
## Current Phase
** NOT STARTED**
## Tasks
| Status | Task | Updated |
|--------|------|---------|
| ☐ | *No tasks defined* | - |
## Dependencies
*No external dependencies.*
## Issues / Blockers
*No current issues or blockers.*
## Activity Log
### 2026-01-23 23:25:09 UTC
- **Phase**: NOT STARTED
- **Action**: Initialized
- **Details**: Status tracking initialized for this directory.
---
*Last updated: 2026-01-23 23:25:09 UTC*
+92
View File
@@ -0,0 +1,92 @@
{
"agent_id": "tier0-agent-001",
"agent_version": "1.0.0",
"tier": 1,
"tier_name": "Operator",
"promoted_from": 0,
"promoted_at": "2026-01-23T21:58:51+00:00",
"description": "Tier 1 Operator Agent - Sandbox execution, basic deployments",
"capabilities": {
"read_inventory": true,
"read_documentation": true,
"generate_plans": true,
"execute_commands": true,
"modify_files": true,
"access_secrets": false,
"ssh_access": true,
"api_access": true
},
"constraints": {
"allowed_actions": [
"read_file",
"list_directory",
"search_code",
"generate_plan",
"request_review",
"execute_command",
"write_file",
"ansible_check",
"ansible_run",
"terraform_plan",
"terraform_apply",
"docker_run"
],
"forbidden_actions": [
"delete_production",
"access_vault_root",
"modify_governance"
],
"allowed_targets": [
"localhost",
"sandbox-*"
],
"forbidden_targets": [
"prod-*",
"staging-db-*"
],
"allowed_paths": [
"/opt/agent-governance/docs/",
"/opt/agent-governance/inventory/",
"/opt/agent-governance/sandbox/",
"/opt/agent-governance/agents/tier1-agent/workspace/",
"/opt/agent-governance/agents/tier1-agent/plans/"
],
"forbidden_paths": [
"/opt/vault/init-keys.json",
"/etc/shadow",
"/root/.ssh/"
]
},
"vault": {
"auth_method": "approle",
"role_name": "tier1-agent",
"token_ttl": "30m",
"token_max_ttl": "2h",
"policies": ["t1-operator", "agent-self-read", "sandbox-access"]
},
"governance": {
"preflight_required": true,
"plan_approval_required": false,
"evidence_required": true,
"heartbeat_interval": 30,
"error_budget": {
"max_total_errors": 8,
"max_same_error_repeats": 3
}
},
"promotion": {
"target_tier": 2,
"requirements": {
"min_compliant_runs": 10,
"min_consecutive_compliant": 5,
"required_actions": ["ansible_run", "terraform_apply"],
"max_violations_30d": 0
}
}
}