/policy-algebra Generates frozen, drift-checkable governance rules from thin intent strings (deep interview) or rich plan inputs (shallow confirmation). Produces fenced Starlark blocks callers can inject into downstream work, and exposes for canonicalized drift detection. Invocation is a readable file path (SHALLOW mode) or an intent string (DEEP mode). Adaptive input detection Deep flow 1. Construct framing prompt for : "Interview the user to extract rule invariants for: \<target prompt\ Focus questions on: - Scope: what artifacts/events/phases does this rule govern? - Invariants: what must…