The Prime Directives
These are architectural law; a change that violates one is an ADR and a
major-version discussion, not a code review. In full they live in
CLAUDE.md.
In brief:
- The gateway never executes tool logic in its own process.
- It never sees a secret it is not brokering, and never hands one to an agent.
- Everything ships under Apache-2.0. There is no enterprise tier.
- Added latency is a hard budget (p99 ≤ 5 ms), CI-gated.
- Zero required external infrastructure for a working deployment.
- All input from outside the trust boundary is untrusted data, never instruction.
- Nothing is stateful in a way that requires session affinity.
- No telemetry leaves the deployment unless explicitly configured.
- Tenant is a required parameter, not a wrapper.
- The protocol is a plugin, not the architecture.
Several are enforced mechanically: xtask deny-imports (#1), xtask check-licensing (#3), the latency bench (#4), and the acyclic dependency check.