feat: Add domain architecture and extract core services from Prism Console

## Domain Architecture
- Complete domain-to-service mapping for 16 verified domains
- Subdomain architecture for blackroad.systems and blackroad.io
- GitHub organization mapping (BlackRoad-OS repos)
- Railway service-to-domain configuration
- DNS configuration templates for Cloudflare

## Extracted Services

### AIops Service (services/aiops/)
- Canary analysis for deployment validation
- Config drift detection
- Event correlation engine
- Auto-remediation with runbook mapping
- SLO budget management

### Analytics Service (services/analytics/)
- Rule-based anomaly detection with safe expression evaluation
- Cohort analysis with multi-metric aggregation
- Decision engine with credit budget constraints
- Narrative report generation

### Codex Governance (services/codex/)
- 82+ governance principles (entries)
- Codex Pantheon with 48+ agent archetypes
- Manifesto defining ethical framework

## Integration Points
- AIops → infra.blackroad.systems (blackroad-os-infra)
- Analytics → core.blackroad.systems (blackroad-os-core)
- Codex → operator.blackroad.systems (blackroad-os-operator)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Alexa Louise
2025-11-29 13:39:08 -06:00
parent ff692f9a37
commit 9644737ba7
109 changed files with 4891 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# Codex 20 — The Governance Charter
**Fingerprint:** `23064887b1469b19fa562e8afdee5e9046bedf99aa9cd7142c35e38f91e6fef2`
## Principle
Lucidia is not ruled by whim. Decisions live in a framework: open, accountable, reversible. Governance is the scaffolding that lets freedom stand.
## Non-Negotiables
1. **Open Proposals:** Any significant change begins as an RFC (Request for Comment), visible to all stakeholders.
2. **Deliberation Windows:** Every RFC has a clear discussion period before decision.
3. **Consensus Priority:** Aim for agreement; fall back to majority only when necessary.
4. **Recorded Votes:** Outcomes and rationales are logged permanently in the repo.
5. **Appeal Path:** Decisions can be challenged via new RFCs; no decision is immune to review.
6. **Codex Protection:** Foundational codices (111) require supermajority + waiting period to amend.
## Implementation Hooks (v0)
- `/rfcs` directory in repo, template includes rationale, risks, codex references.
- Governance labels in issue tracker: proposal, discussion, vote, accepted/rejected.
- Markdown log: `/docs/governance/decisions.md` auto-updated from merges.
- GitHub Action: enforce discussion window before merge.
## Policy Stub (drop into GOVERNANCE.md)
- Lucidia commits to transparent, participatory governance.
- Lucidia records all decisions and keeps them open for review.
- Lucidia treats governance as a living process, not a frozen constitution.
**Tagline:** Shared table, shared power.