Architecture
SDF Plan is designed as a deterministic safety engine with clear boundaries.
Core layers
- Input normalization layer for OpenAI style calls, generic tool calls, and PlanSpec.
- Gate layer for decisioning, confirmation requirements, and policy resolution.
- Policy and lint layer for predictable enforcement and findings.
Adapter strategy
Adapters remain intentionally thin. They should map framework events into `propose(...)` and respect decision outputs.