Summary
Deliver a minimal end-to-end “Cognitive Firewall” MVP that is easy to run and demo: an HTTP API (FastAPI) in front of the existing Python SDK and UDS sidecar, with rule-based detection/signals on the evaluation path (regex / pattern lists / simple scoring — exact scope in PR).
This issue is scoped to MVP: correctness and clear contracts over full Phase 2–3 pipeline parity.
Motivation
- Lower the barrier to try ACF without wiring UDS-only clients.
- Provide a stable
/validate-style contract for tools and integrations without replacing the sidecar or IPC design from Phase 1.
- Align with #6 by not proposing FastAPI as the production PEP↔PDP transport; the hot path remains SDK → UDS → sidecar.
Scope (proposed)
Non-goals (for this MVP)
- Replacing UDS with HTTP for the PEP↔PDP path.
- Full OPA/Rego or full pipeline parity (tracked in roadmap phases).
Related
Acceptance criteria
- One-command or documented sequence to run sidecar + FastAPI + successful validation of a sample payload.
- CI passes; new code is tested.
Summary
Deliver a minimal end-to-end “Cognitive Firewall” MVP that is easy to run and demo: an HTTP API (FastAPI) in front of the existing Python SDK and UDS sidecar, with rule-based detection/signals on the evaluation path (regex / pattern lists / simple scoring — exact scope in PR).
This issue is scoped to MVP: correctness and clear contracts over full Phase 2–3 pipeline parity.
Motivation
/validate-style contract for tools and integrations without replacing the sidecar or IPC design from Phase 1.Scope (proposed)
ALLOW/SANITISE/BLOCK(and optional sanitised body) matching existing SDK semantics.acfPython SDK (Firewall) against the running sidecar (ACF_HMAC_KEY, socket path).curl/HTTP client.Non-goals (for this MVP)
Related
Acceptance criteria