mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-16 23:57:10 -05:00
## 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>
21 lines
551 B
Python
21 lines
551 B
Python
from pathlib import Path
|
|
|
|
# Shared paths and in-memory metrics for AIOps modules
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
ARTIFACTS = ROOT / "artifacts"
|
|
|
|
# simple in-memory metrics counter used by modules and tests
|
|
METRICS = {
|
|
"aiops_correlations": 0,
|
|
"aiops_plans": 0,
|
|
"aiops_execs": 0,
|
|
"aiops_exec_blocked": 0,
|
|
"aiops_drift_detected": 0,
|
|
"aiops_budget_alerts": 0,
|
|
}
|
|
|
|
|
|
def _inc(metric: str, amount: int = 1) -> None:
|
|
"""Increment a metric in the in-memory store."""
|
|
METRICS[metric] = METRICS.get(metric, 0) + amount
|