Skip to content

Overview & Conformance

Specification > Foundations

This specification is a public, normative declaration of the coding and working-style preferences that govern collaboration with an AI coding agent. It states, in plain and testable terms, how the agent should communicate, plan, verify, and ship work — so that the same expectations apply across every project, language, and session. The document is written for both humans and machines: a reader can adopt it as a style charter, and an agent can load it as operating context.


This specification covers the durable, generic posture of the collaboration. It describes communication norms, the working loop, verification discipline, code-level conventions, and the safety boundaries around secrets, version control, and automation.

It deliberately does NOT cover the internal wiring behind those preferences. Tooling names, private workflows, enforcement configuration, and project-specific paths are out of scope. What is published here is the stance; the machinery that implements the stance stays private.

Each chapter declares a load-art — when it applies during a session. There are two kinds:

Load-artMeaning
always-onThe chapter applies to every interaction, regardless of context. It is part of the baseline and is never skipped.
conditionalThe chapter applies only when its trigger context is present — for example, when files of a given kind are in play, when error codes are being defined, or at push time. Outside that context the chapter is dormant.

Some chapters are mixed: a discipline part is always-on while a setup part is conditional. Each chapter states which part is which in its own metadata and intro.

Readers SHOULD treat always-on chapters as the permanent contract and conditional chapters as context-activated extensions. An agent loading this specification MUST honor every always-on chapter and MUST honor a conditional chapter whenever its trigger context applies.

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in RFC 2119 and RFC 8174 (BCP 14) when, and only when, they appear in all capitals, as shown here.

A chapter marked Status: Normative carries binding requirements. A chapter or note explicitly marked Informative is explanatory only and imposes no requirements. An implementation conforms to this specification when it satisfies every applicable MUST and MUST NOT, and does not violate any applicable SHOULD without a stated, justified reason.

ChapterTitleLoad-art
00Overview & Conformance
01Communication & Languagealways-on
02Working Method & Autonomyalways-on
03Verification & Testingalways-on (discipline) / conditional (setup)
04Stack & Forbidden Constructsconditional
05Code Formattingconditional
06Class Architecture & Returnsconditional
07Validationconditional
08Error Handling & Debuggingconditional (codes) / always-on (discipline)
09Environment & Configconditional (env) / always-on (no-auto-destroy)
10Secrets & Privacyalways-on
11Version Control & Commitsalways-on
12CI & Pre-Push Gatesconditional
13Agent Safety Harnessalways-on