Skip to main content
These rules apply to the Go CLI and engine and the Python compiler and runtime.

Source properties

Extract a cohesive helper when a function exceeds the complexity limit. Do not hide branches or suppress the check. Bounded filesystem discovery and decoding one validated document are not database queries. Keep them bounded and avoid repeated reads.

Audit boundary

Runtime work that changes durable state must emit an OpenTelemetry audit signal after commit. Failed attempts need a correlated failure signal. Compiler and CLI file changes are outside this audit boundary. Do not add a separate compiler telemetry stack without an explicit design.

Test selection

Keep every SKILL.md at 400 words or fewer, including frontmatter. Put schemas, background, long examples, and conditional details in references/.

Quality gate

Run the same gate before a pull request or release.