Status: Proposed Version: 1.0 Date: 2025-12-27 Implements ADR: ADR-031 (GovernedSpeed™ Integration Strategy) Related PRDs: PRD-010 (AI Governance Runtime)
This PRD defines the requirements for integrating the GovernedSpeed™ platform (Policy Gateway, Risk & Evidence Service) into the SEA-Forge™ ecosystem. It focuses on enabling “Governance as Code” where policies authored in SEA-DSL are enforced at runtime with zero manual intervention.
Policy Gateway.Risk & Evidence Service).As a Security Officer, I want to block prompts containing PII or Jailbreak attempts before they reach the LLM, So that we prevent data leakage and safety bypasses.
Acceptance Criteria:
Policy Gateway intercepts POST /v1/chat/completions.pii_block, jailbreak_detector).403 Forbidden for violations with specific reason code.As a Product Owner, I want to filter toxic or legally prohibited content from LLM responses, So that end-users are protected from harm.
Acceptance Criteria:
Policy Gateway evaluates LLM output completion.toxicity < 0.05).As an External Auditor, I want to verify that a specific model decision was compliant with policies active at that time, So that I can certify regulatory compliance (EU AI Act).
Acceptance Criteria:
Risk & Evidence Service.As a DevOps Engineer, I want deployment pipelines to fail if model evaluation metrics do not meet policy thresholds, So that we never deploy non-compliant models.
Acceptance Criteria:
gov-ci-check script runs in pipeline.thresholds in active policy.As a SEA™ Developer, I want to define policies using SEA-DSL syntax, So that I maintain a single source of truth for architecture and governance.
Acceptance Criteria:
sea compile policy command transforms SEA-DSL Policy entities to adr-006 YAML format.Policy Gateway MUST be deployable as a sidecar or standalone service.adr-006.yaml.Risk & Evidence Service MUST provide endpoints for:
POST /events).GET /evidence/{id}).POST /snapshot).just gov-start.