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
+33
View File
@@ -0,0 +1,33 @@
# Examples
> Example configurations and demos
## Overview
This directory contains example configurations and demos.
## Key Files
| File | Description |
|------|-------------|
| `infrastructure-deploy.yaml` | Configuration |
| `multi-agent-analysis.yaml` | Configuration |
## 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: [Pipeline](..)
---
*Last updated: 2026-01-23 23:25:09 UTC*
+30
View File
@@ -0,0 +1,30 @@
# Status: Examples
## 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*
@@ -0,0 +1,102 @@
name: infrastructure-deploy
version: "1.0.0"
description: Deploy infrastructure with plan review and verification
metadata:
author: system
tags:
- infrastructure
- terraform
- production
inputs:
target_environment:
type: string
required: true
description: Target environment (sandbox, staging, prod)
resource_type:
type: string
required: true
description: Type of resource to deploy
stages:
- name: plan
type: agent
agent:
template: terraform
tier: 1
config:
action: plan
auto_approve: false
artifacts:
outputs:
- terraform-plan
timeout: 10m
- name: security-review
type: agent
agent:
template: code-review
tier: 0
config:
review_focus:
- security
- governance_compliance
requires:
- plan
artifacts:
inputs:
- terraform-plan
outputs:
- security-review-report
timeout: 5m
- name: approval
type: gate
gate:
approval: human
timeout: 30m
approvers:
- infrastructure-team
requires:
- security-review
- name: apply
type: agent
agent:
template: terraform
tier: 2
config:
action: apply
plan_id: "${stages.plan.artifacts.terraform-plan}"
requires:
- approval
artifacts:
inputs:
- terraform-plan
outputs:
- apply-log
- state-diff
timeout: 15m
on_failure:
action: rollback
retries: 0
- name: verify
type: agent
agent:
template: default
tier: 0
config:
action: verify_deployment
requires:
- apply
timeout: 5m
on_failure:
action: notify
notify:
- infrastructure-team
- security-team
timeout: 1h
@@ -0,0 +1,99 @@
name: multi-agent-analysis
version: "1.0.0"
description: Parallel multi-agent code analysis pipeline
metadata:
author: system
tags:
- code-review
- multi-agent
- parallel
inputs:
repository:
type: string
required: true
description: Repository path or URL
branch:
type: string
required: false
default: main
description: Branch to analyze
stages:
- name: parallel-analysis
type: parallel
parallel:
wait: all
branches:
- name: security-scan
type: agent
agent:
template: code-review
config:
review_focus:
- security
timeout: 10m
- name: performance-analysis
type: agent
agent:
template: code-review
config:
review_focus:
- performance
timeout: 10m
- name: maintainability-check
type: agent
agent:
template: code-review
config:
review_focus:
- maintainability
timeout: 10m
- name: synthesize-results
type: agent
agent:
template: default
config:
action: synthesize_reviews
requires:
- parallel-analysis
timeout: 5m
- name: conditional-gate
type: condition
condition:
if: "stage.synthesize-results.artifacts.critical_findings > 0"
then:
name: human-review-required
type: gate
gate:
approval: human
timeout: 1h
else:
name: auto-approve
type: gate
gate:
approval: auto
requires:
- synthesize-results
- name: generate-report
type: agent
agent:
template: default
config:
action: generate_analysis_report
requires:
- conditional-gate
timeout: 5m
on_failure:
action: notify
notify:
- dev-team
timeout: 2h