agent-governance/ui/STATUS.md
profit 8561d13728 Add Vault token management and observability integration for multi-agent pipelines
- Vault token issuance per pipeline with 2-hour TTL
- Automatic token renewal loop every 30 minutes
- Error budget tracking with threshold-based revocation
- Observability-driven token revocation for policy violations
- Diagnostic pipeline spawning on error threshold breach
- Structured handoff reports for error recovery
- Agent lifecycle status API
- New API endpoints: /api/pipeline/token, /api/pipeline/errors,
  /api/observability/handoff, /api/observability/diagnostic

Orchestrator now reports errors to parent pipeline's observability
system via PIPELINE_ID environment variable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 17:45:20 -05:00

97 lines
3.4 KiB
Markdown

# Status: UI
## Current Phase
**COMPLETE**
## Tasks
| Status | Task | Updated |
|--------|------|---------|
| ✓ | Dashboard server (server.ts) | 2026-01-24 |
| ✓ | Real-time WebSocket updates | 2026-01-24 |
| ✓ | Agent state monitoring | 2026-01-24 |
| ✓ | Integration panel (deprecated integrations shown) | 2026-01-24 |
| ✓ | Auto-continue to OpenRouter orchestration | 2026-01-24 |
| ✓ | Multi-agent pipeline (ALPHA/BETA parallel) | 2026-01-24 |
| ✓ | Vault token management per pipeline | 2026-01-24 |
| ✓ | Error budget tracking and monitoring | 2026-01-24 |
| ✓ | Observability-driven token revocation | 2026-01-24 |
| ✓ | Diagnostic pipeline spawning | 2026-01-24 |
| ✓ | Agent lifecycle status API | 2026-01-24 |
## Recent Changes
### 2026-01-24: Production Pipeline Auto-Continue
- Added `triggerOrchestration()` for automatic OpenRouter orchestration
- Added `continueOrchestration()` for manual trigger
- Added `POST /api/pipeline/continue` endpoint
- Added `GET /api/pipeline/orchestration` endpoint
- Pipeline flow: SPAWN → RUNNING → REPORT → ORCHESTRATING → COMPLETED
- WebSocket events: orchestration_started, agent_message, consensus_event, orchestration_complete
- Default: auto_continue=true (pipelines auto-continue to orchestration)
### 2026-01-24: Integration Panel Update
- External integrations (Slack/GitHub/PagerDuty) marked as deprecated
- Removed credential checking from Vault
- Added "deprecated" status styling
## API Endpoints
### Pipeline Control
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/spawn` | POST | Spawn pipeline with auto_continue option |
| `/api/pipeline/continue` | POST | Manually trigger orchestration |
| `/api/pipeline/orchestration` | GET | Get orchestration status |
| `/api/active-pipelines` | GET | List active pipelines |
| `/api/pipeline/logs` | GET | Get pipeline logs |
## Dependencies
- Bun runtime
- Redis client (for DragonflyDB)
- SQLite (bun:sqlite)
- Multi-agent orchestrator (agents/multi-agent/orchestrator.ts)
## Issues / Blockers
*None.*
## Activity Log
### 2026-01-24 22:30 UTC
- **Phase**: COMPLETE
- **Action**: Added Vault token management and observability integration
- **Details**:
- Vault token issuance per pipeline (2h TTL, renewable)
- Token renewal loop (every 30 minutes)
- Error budget tracking with thresholds
- Observability-driven token revocation
- Diagnostic pipeline spawning on error threshold
- Agent lifecycle status API
- New API endpoints: /api/pipeline/token, /api/pipeline/errors, /api/observability/handoff
### 2026-01-24 21:55 UTC
- **Phase**: COMPLETE
- **Action**: End-to-end pipeline demonstration successful
- **Details**: Verified full pipeline flow: SPAWN → RUNNING → REPORT → ORCHESTRATING → COMPLETED. GAMMA spawned on complexity threshold. All validation criteria passed.
### 2026-01-24 22:00 UTC
- **Phase**: COMPLETE
- **Action**: Added production pipeline auto-continue
- **Details**: Implemented automatic transition from REPORT → OpenRouter orchestration. Added triggerOrchestration(), continueOrchestration(), and API endpoints.
### 2026-01-24 21:30 UTC
- **Phase**: COMPLETE
- **Action**: Updated integration panel for deprecated integrations
- **Details**: Removed Vault credential checks, added deprecated status styling
### 2026-01-23 23:25:09 UTC
- **Phase**: COMPLETE
- **Action**: Initialized
- **Details**: Status tracking initialized for this directory.
---
*Last updated: 2026-01-24 22:00 UTC*