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>
54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"plan_id": "plan-20260123-160942-93e4ab29",
|
|
"title": "Deploy Apache Spark in Docker",
|
|
"description": "Deploy Apache Spark cluster in Docker with web UI exposed on port 9944",
|
|
"target": "localhost",
|
|
"steps": [
|
|
{
|
|
"action": "pull_image",
|
|
"description": "Pull Apache Spark Docker image",
|
|
"command": "docker pull apache/spark:latest"
|
|
},
|
|
{
|
|
"action": "create_network",
|
|
"description": "Create Docker network for Spark cluster",
|
|
"command": "docker network create spark-net"
|
|
},
|
|
{
|
|
"action": "run_master",
|
|
"description": "Start Spark master node with UI on port 9944",
|
|
"command": "docker run -d --name spark-master --network spark-net -p 9944:8080 -p 7077:7077 apache/spark:latest /opt/spark/bin/spark-class org.apache.spark.deploy.master.Master"
|
|
},
|
|
{
|
|
"action": "run_worker",
|
|
"description": "Start Spark worker node",
|
|
"command": "docker run -d --name spark-worker --network spark-net apache/spark:latest /opt/spark/bin/spark-class org.apache.spark.deploy.worker.Worker spark://spark-master:7077"
|
|
},
|
|
{
|
|
"action": "verify",
|
|
"description": "Verify Spark UI is accessible",
|
|
"command": "curl -s http://localhost:9944 | grep -q Spark"
|
|
}
|
|
],
|
|
"rollback_steps": [
|
|
{
|
|
"action": "stop_worker",
|
|
"command": "docker stop spark-worker && docker rm spark-worker"
|
|
},
|
|
{
|
|
"action": "stop_master",
|
|
"command": "docker stop spark-master && docker rm spark-master"
|
|
},
|
|
{
|
|
"action": "remove_network",
|
|
"command": "docker network rm spark-net"
|
|
}
|
|
],
|
|
"created_at": "2026-01-23T21:09:42.432257+00:00",
|
|
"agent_id": "tier0-agent-001",
|
|
"agent_tier": 0,
|
|
"status": "approved",
|
|
"requires_approval": true,
|
|
"approved_by": "human-operator",
|
|
"executed": true
|
|
} |