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,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
|
||||
Reference in New Issue
Block a user