feat: add PRISM_MISSION.md drop-in mission document with emoji-rich spec

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-25 22:23:48 +00:00
parent 950da2dc5f
commit 207363de0b
2 changed files with 131 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ Part of the **BlackRoad-OS** organization:
- **Registry:** [blackroad-os-agents](https://github.com/BlackRoad-OS/blackroad-os-agents) | [blackroad-os-infra](https://github.com/BlackRoad-OS/blackroad-os-infra) - **Registry:** [blackroad-os-agents](https://github.com/BlackRoad-OS/blackroad-os-agents) | [blackroad-os-infra](https://github.com/BlackRoad-OS/blackroad-os-infra)
- **Docs:** [blackroad-os-docs](https://github.com/BlackRoad-OS/blackroad-os-docs) | [blackroad-os-archive](https://github.com/BlackRoad-OS/blackroad-os-archive) - **Docs:** [blackroad-os-docs](https://github.com/BlackRoad-OS/blackroad-os-docs) | [blackroad-os-archive](https://github.com/BlackRoad-OS/blackroad-os-archive)
📖 **[Repository Role & Architecture](docs/REPOSITORY_ROLE.md)** | 🎯 **[Prism Console Mission](docs/PRISM_CONSOLE_PROMPT.md)** | 🤝 **[Contributing Guide](CONTRIBUTING.md)** 📖 **[Repository Role & Architecture](docs/REPOSITORY_ROLE.md)** | 🕹️ **[PRISM Mission](docs/PRISM_MISSION.md)** | 🎯 **[Console Prompt](docs/PRISM_CONSOLE_PROMPT.md)** | 🤝 **[Contributing Guide](CONTRIBUTING.md)**
## ✨ Features ## ✨ Features
@@ -117,6 +117,7 @@ See [`.github/labels.yml`](.github/labels.yml) for the complete label set.
## 📚 Documentation ## 📚 Documentation
- **[Prism Mission](docs/PRISM_MISSION.md)** 🕹️ - The single-pane-of-glass mission brief
- **[Repository Role](docs/REPOSITORY_ROLE.md)** - This repo's place in the BlackRoad OS ecosystem - **[Repository Role](docs/REPOSITORY_ROLE.md)** - This repo's place in the BlackRoad OS ecosystem
- **[Prism Console Prompt](docs/PRISM_CONSOLE_PROMPT.md)** - UX mission and design philosophy - **[Prism Console Prompt](docs/PRISM_CONSOLE_PROMPT.md)** - UX mission and design philosophy
- **[Contributing Guide](CONTRIBUTING.md)** - Development guidelines - **[Contributing Guide](CONTRIBUTING.md)** - Development guidelines

129
docs/PRISM_MISSION.md Normal file
View File

@@ -0,0 +1,129 @@
# 🕹️ PRISM CONSOLE MISSION 😭💚🌈
> **blackroad-os-prism-console** Command Center 🕹️📊
The control plane for environments, deployments, observability, and admin views.
---
## 🎯 MISSION
- Be the **single pane of glass** for BlackRoad OS.
- Show what's happening across services, agents, envs, and infra **right now**.
- Let humans + agents **inspect, debug, and steer** the system without digging through 20 dashboards.
---
## 🏗️ YOU OWN (✅)
### 📊 Dashboards & Consoles
- Environment overview (dev / stage / prod / custom) 🌍
- Service health (status, errors, latency, versions) 🚦
- Deployments + releases (what's live where) 🚀
- Incidents / alerts feed (open, acknowledged, resolved) 🚨
### 🧭 Cross-links
- Deep links into:
- GitHub PRs / issues 🔗
- Railway services / logs ☁️
- Cloudflare routes / DNS / WAF 🌐
- Agents & workflows in `blackroad-os-operator` 🤖⚙️
- "Jump to" actions: open repo, open PR, open service, open log 🧭
### 🔐 Admin Views
- Access controls for admin-only panels 🔑
- Tenant/org/env switching for operators 🏢
- Audit-friendly views of critical actions (deploys, role changes, policy toggles) 🧾
### 📡 Telemetry UX
- Visualization of logs/metrics/traces summaries 📉📈
- Status indicators with human-readable labels (OK / Degraded / Outage) 🟢🟡🔴
- "Click to investigate" flows that lead you to source repo or infra 🔍
---
## 🚫 YOU DO *NOT* OWN
| Area | Repo | Emoji |
|------|------|-------|
| Core domain models | `blackroad-os-core` | 🧠 |
| Low-level API contracts | `blackroad-os-api` / `-api-gateway` | 🌐 |
| Job runners / schedulers | `blackroad-os-operator` | ⚙️ |
| Infra-as-code | `blackroad-os-infra` | ☁️ |
| System-wide docs | `blackroad-os-docs` | 📚 |
| Brand source of truth | `blackroad-os-brand` | 🎨 |
| Historical archive | `blackroad-os-archive` | 🧾 |
---
## 🧪 TESTING
For each major console view (envs, services, deployments, incidents):
- ✅ Renders with real data
- ✅ Handles empty state (no services, no incidents)
- ✅ Handles error state (API down, partial data)
If a view supports **actions** (e.g., "trigger deploy", "acknowledge incident"):
- 🧪 Test happy path
- 🧪 Test forbidden/unauthorized
- 🧪 Test failure with clear error messaging
---
## 🔐 SECURITY / COMPLIANCE
Treat this repo as **operator-grade**:
- 🔑 Respect roles & permissions from core/API at every step
- 🔐 Do NOT expose secrets, raw tokens, or internal-only notes in UI
- 🧾 Make risky actions auditable (who did what, where, when)
---
## 📏 DESIGN PRINCIPLES
`blackroad-os-prism-console` focuses on **seeing & steering**, not defining:
- 🧭 It reads from APIs + telemetry, it doesn't invent new truth.
- ⚙️ It can trigger workflows via `-operator`, but doesn't own the logic.
Every screen should answer, at a glance:
1. 1⃣ What system/env am I looking at? 🌍
2. 2⃣ Is everything okay? (and if not, what's broken?) 🟢🟡🔴
3. 3⃣ What's the next best action? (investigate log, open PR, roll back, scale up) 👉
---
## 🧬 LOCAL EMOJI LEGEND (SNAPSHOT)
| Emoji | Meaning |
|-------|---------|
| 🕹️ | console / control plane |
| 📊 | dashboards / status views |
| 🚦 | health / readiness |
| 🚨 | incidents / alerts |
| ☁️ | infra / environments |
| 🔑 | admin / permissions |
| 🧾 | audit / history |
| 📡 | telemetry / signals |
---
## 🎯 SUCCESS CRITERIA
If a human SRE, CEO, or agent lands here, they should be able to:
1. 1⃣ Understand the current health of BlackRoad OS in under 60 seconds.
2. 2⃣ Drill down from "something's wrong" → "this service / PR / deploy is the suspect."
3. 3⃣ Take safe, logged actions to fix or escalate the situation.
---
**🕹️ PRISM CONSOLE** Where the Invisible Becomes Visible. 🌈