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:
@@ -0,0 +1,648 @@
|
||||
{
|
||||
"checkpoint_id": "ckpt-20260123-235533-66ed2420",
|
||||
"created_at": "2026-01-23T23:55:33.610359+00:00",
|
||||
"session_id": null,
|
||||
"phase": {
|
||||
"name": "Phase 5: Agent Bootstrapping",
|
||||
"number": 5,
|
||||
"status": "in_progress",
|
||||
"started_at": "2026-01-23T23:55:32.661986+00:00",
|
||||
"completed_at": null,
|
||||
"notes": ""
|
||||
},
|
||||
"phases_completed": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"tasks": [],
|
||||
"active_task_id": null,
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vault",
|
||||
"type": "service",
|
||||
"status": "available",
|
||||
"endpoint": "https://127.0.0.1:8200",
|
||||
"last_checked": "2026-01-23T23:55:33.498400+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dragonfly",
|
||||
"type": "database",
|
||||
"status": "available",
|
||||
"endpoint": "redis://127.0.0.1:6379",
|
||||
"last_checked": "2026-01-23T23:55:33.499803+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ledger",
|
||||
"type": "database",
|
||||
"status": "available",
|
||||
"endpoint": "/opt/agent-governance/ledger/governance.db",
|
||||
"last_checked": "2026-01-23T23:55:33.499858+00:00"
|
||||
}
|
||||
],
|
||||
"variables": {},
|
||||
"recent_outputs": [
|
||||
{
|
||||
"type": "evidence",
|
||||
"id": "evd-20260123-171822-13ed5e2e",
|
||||
"action": "terraform",
|
||||
"success": true,
|
||||
"timestamp": "2026-01-23T17:18:22.342850+00:00"
|
||||
}
|
||||
],
|
||||
"agent_id": null,
|
||||
"agent_tier": 0,
|
||||
"content_hash": "63ed137eee40558e",
|
||||
"parent_checkpoint_id": "ckpt-20260123-235001-f499d541",
|
||||
"estimated_tokens": 3169,
|
||||
"orchestration_mode": "disabled",
|
||||
"pending_instructions": [],
|
||||
"last_model_response": null,
|
||||
"directory_statuses": [
|
||||
{
|
||||
"path": ".",
|
||||
"phase": "in_progress",
|
||||
"last_updated": "2026-01-23 23:25:44",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "inventory",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents",
|
||||
"phase": "in_progress",
|
||||
"last_updated": "2026-01-23 23:25:39",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/llm-planner-ts",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/tier1-agent",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/tier1-agent/config",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/tier1-agent/plans",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/llm-planner",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/multi-agent",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/tier0-agent",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/tier0-agent/config",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "agents/tier0-agent/plans",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "testing",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "wrappers",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:39",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "schemas",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:39",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "docs",
|
||||
"phase": "in_progress",
|
||||
"last_updated": "2026-01-23 23:45:57",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "bin",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:31",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "memory",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:40:11",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "memory/chunks",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:42:59",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "memory/summaries",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:42:59",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "analytics",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:31",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests",
|
||||
"phase": "in_progress",
|
||||
"last_updated": "2026-01-23 23:25:44",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/typescript",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/typescript/openrouter-test",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/scenarios",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/multi-agent-chaos",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:30",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/multi-agent-chaos/agents",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/multi-agent-chaos/pipelines",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/chaos",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/unit",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/integration",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/python",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/python/openrouter-test",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/mocks",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "tests/governance",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "evidence",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "evidence/packages",
|
||||
"phase": "not_started",
|
||||
"last_updated": null,
|
||||
"has_readme": false,
|
||||
"has_status": false,
|
||||
"tasks_total": 0,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "integrations",
|
||||
"phase": "in_progress",
|
||||
"last_updated": "2026-01-23 23:25:39",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "integrations/common",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "integrations/github",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "integrations/slack",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "teams",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:31",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "teams/templates",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "teams/examples",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "teams/framework",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "ledger",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:38",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "preflight",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:38",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "orchestrator",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:38",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "sandbox",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:39",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "sandbox/terraform",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "sandbox/terraform/docker-service",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "sandbox/ansible",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "ui",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "checkpoint",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:31",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "checkpoint/templates",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "lib",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "pipeline",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:30",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "pipeline/schemas",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "pipeline/templates",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "pipeline/examples",
|
||||
"phase": "not_started",
|
||||
"last_updated": "2026-01-23 23:25:09",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
},
|
||||
{
|
||||
"path": "runtime",
|
||||
"phase": "complete",
|
||||
"last_updated": "2026-01-23 23:25:30",
|
||||
"has_readme": true,
|
||||
"has_status": true,
|
||||
"tasks_total": 1,
|
||||
"tasks_done": 0
|
||||
}
|
||||
],
|
||||
"status_summary": {
|
||||
"complete": 14,
|
||||
"in_progress": 5,
|
||||
"blocked": 0,
|
||||
"needs_review": 0,
|
||||
"not_started": 42,
|
||||
"total": 61
|
||||
},
|
||||
"memory_refs": [
|
||||
{
|
||||
"id": "mem-20260123-233946-254f475c",
|
||||
"type": "output",
|
||||
"summary": "================================================================================\nLARGE BUILD LOG\n================================================================================\n\n[2026-01-23T18:39:46.197130] BUILD STEP 0000\n... (2994 more lines) ...\n Output: Compiled 4990 files, 2495 objects\n Duration: 24.950s\n----------------------------------------",
|
||||
"tokens": 25009
|
||||
},
|
||||
{
|
||||
"id": "mem-20260123-233946-018261c2",
|
||||
"type": "output",
|
||||
"summary": "Test Results Report\n==================================================\nTest 000: PASSED - Module test_module_0, Duration: 0.00s\nTest 001: PASSED - Module test_module_1, Duration: 0.10s\nTest 002: PASSED - Module test_module_2, Duration: 0.20s\n... (112 more lines) ...\n Expected: True, Got: False\nTest 098: PASSED - Module test_module_98, Duration: 9.80s\nTest 099: PASSED - Module test_module_99, Duration: 9.90s",
|
||||
"tokens": 1627
|
||||
},
|
||||
{
|
||||
"id": "mem-20260123-233946-bbc49175",
|
||||
"type": "output",
|
||||
"summary": "(no summary)",
|
||||
"tokens": 9
|
||||
}
|
||||
],
|
||||
"memory_summary": {
|
||||
"total_entries": 3,
|
||||
"total_tokens": 26645,
|
||||
"by_type": {
|
||||
"output": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user