Architecture contract
Define strict input and output schemas. Declare an effect class fromNONE through PERMISSION_CHANGE, the read set and write set, a timeout, and for external effects an idempotency key rule. Route network access through the shared guard. Return results the receipt can reference, not free text only.
For today’s tool surfaces see Build a tool. The kernel-level compiled invocation adds argument provenance and policy tokens.
Validate against the schema in spec/Contracts/kernel/v1/schemas/ before anything else. Receivers fail closed, so a document that does not validate is rejected, not repaired.