Status: Proposed Version: 1.0 Date: 2025-12-27 Supersedes: ADR-005 (extends implementation details), ADR-028 (GovernedSpeed™ LLMOps) Related ADRs: ADR-030 (VibesPro™ Integration), ADR-012 (Delivery Pipeline) Related PRDs: PRD-010, PRD-004 Related SDSs: SDS-047 (Unified Governance Runtime), SDS-046, SDS-002 (GovernedSpeed™)
SEA-Forge™ requires a “Continuous Governance” substrate to enforce policies at runtime and build time. We previously identified GovernedSpeed™ as the pillar for this (ADR-028), but we need to formally define how its specific architecture (Policy Gateway, Risk & Evidence Service, YAML policies) integrates with SEA™’s semantic core.
GovernedSpeed™ is an existing, functional “Operating System for Trustworthy AI” in the SEA™ root, featuring:
adr-006).We formally adopt GovernedSpeed™ as the runtime governance implementation for SEA-Forge™, with the following architectural commitments:
We will use SEA-DSL as the authoring language for governance policies, which will be compiled into GovernedSpeed™’s YAML format for execution.
System.Governance.Policy entities in SEA-DSL.SEA™ Compiler → adr-006.embedded-governance.yaml.Policy Gateway loads component-specific YAML configurations.The GovernedSpeed™ Policy Gateway (apps/policy-gateway) becomes the canonical implementation of the SEA™ Policy Gateway Service (SDS-047).
POST /v1/chat/completions, runs decide_prompt/decide_output against loaded policies.The GovernedSpeed™ Risk & Evidence Service (apps/risk-evidence-service) becomes the implementation of the SEA™ Risk & Evidence Service (SDS-047).
SDS-001 (GovernedSpeed™) for governance_event, risk_snapshot, incident.We adopt GovernedSpeed™’s CI scripts (pac_ci.py) as the enforcement mechanism for SEA™ CI Semantic Gates (SDS-020).
just gov-ci-check invoked during SEA™ delivery pipeline.thresholds defined in consolidated policy YAML.Policy Gateway is already an implemented FastAPI service with specific logic for LLM caching, filtering, and sidecar patterns.Risk & Evidence Service already implements tamper-evident hashing and immutable logs, a strict requirement for SEA™.GovernedSpeed™’s existing, optimized runtime.adr-006.embedded-governance.yaml in SEA™ projects; it is a build artifact.Policy Gateway is running for any AI-Agent/LLM interaction in SEA™.Risk & Evidence Service schemas (SDS-001) for all audit logging.Policy Gateway as a sidecar to the primary application in Kubernetes deployments to minimize latency.GovernedSpeed™ release cycle.tools/sea-compiler.apps/policy-gateway to SEA™’s just start-all.Risk & Evidence Service.