Merge commit 'df26886ad7df2d9934e973336dba677a8a5d5dae'

This commit is contained in:
Alexa Amundson
2025-11-18 01:20:02 -06:00
30 changed files with 5377 additions and 0 deletions

View File

@@ -233,3 +233,58 @@ Part of BlackRoad Operating System - MIT License
3. Add WebSocket for real-time logs
4. Implement authentication/authorization
5. Add metrics visualization (charts)
## Prism Console — Merge Dashboard
**Prism** is the visual command center for BlackRoad OS operations.
The **Merge Dashboard** provides real-time visibility into:
- Active PRs across all repos
- Merge queue status
- CI/CD check results
- Auto-merge eligibility
- PR action history
### Features
- **Real-time Updates**: WebSocket integration for live status
- **Queue Management**: View and manage the merge queue
- **Action Triggers**: Manually trigger PR actions when needed
- **Logs**: View execution logs from the Operator Engine
- **Analytics**: Track merge velocity and queue metrics
### Architecture
```
prism-console/
├── modules/
│ ├── merge-dashboard.js # Main dashboard logic
│ ├── pr-card.js # PR status card component
│ └── action-log.js # Action log viewer
├── pages/
│ └── merge-dashboard.html # Dashboard UI
├── styles/
│ └── merge-dashboard.css # Dashboard styling
└── api/
└── prism-api.js # API client for Operator Engine
```
### Usage
The Merge Dashboard is integrated into the BlackRoad OS desktop as the "Prism Console" application.
### API Integration
The dashboard connects to the Operator Engine via:
- `/api/operator/queue/stats` - Queue statistics
- `/api/operator/queue/pr/{owner}/{repo}/{pr_number}` - PR action history
- `/api/operator/webhooks/github` - GitHub webhook events
### Development
```bash
# Open in browser
open prism-console/pages/merge-dashboard.html
# Or access via BlackRoad OS
# Desktop > Prism Console
```