Agent Operating Standards is a standards repository for agent-readable engineering practices: documentation surfaces, durable artifacts, issue formats, pull request descriptions, repository hygiene, and workflow evidence.
The repository is intended to make recurring agent work explicit, reviewable, and reusable across projects without turning chat history or local convention into hidden authority.
This repository owns standards for:
- agent-facing documentation structure and routing;
- durable artifact naming, retention, and provenance expectations;
- issue and pull request templates;
- repository baseline settings and governance hygiene;
- workflow evidence shape, when a workflow standard is explicitly admitted.
This repository does not own product behavior, consumer project policy, executable harness skills, merge approval, release approval, security triage authority, or production readiness for repositories that adopt these standards.
Normative changes should enter through pull requests and identify:
- the problem being standardized;
- the owner surface for the rule;
- the invariant the rule preserves;
- the failure mode the rule prevents;
- the proof, review, or adoption path for the rule;
- explicit non-claims.
Templates in .github/ are repository workflow aids. They are not standards by
themselves unless a normative standards document points to them.
The repository uses an explicit catalog-and-binding model:
standards.catalog.yamladmits versioned standards.docs/DOCS_CONTRACT.yamlbinds this repository to admitted standards.standards/meta/agent-operating-kernel/v1/standard.yamldefines global agent operating invariants when the binding adopts the kernel.docs/AGENT_CONSUMPTION.mddefines the external-agent load path.standards/**/standard.yamlis the preferred token-efficient agent contract when present.standards/**/standard.mdowns normative prose for a standard.standards/**/schema.jsonvalidates structured artifacts when available.standards/**/semantic-rules.yamldeclares cross-field or authority rules that are not practical to express in JSON Schema.standards/**/agent-policy.mdtells agents how to apply the standard.- Generated Markdown projections are not canonical unless the repository binding explicitly declares them canonical.
Artifact standards are a subset of agent operating standards. Pull request descriptions, issue bodies, release notes, roadmaps, evidence reports, and documentation files can all be governed artifacts when admitted through the catalog.
Badges describe implementation status in this repository, not downstream adoption status.
| Artifact standard | Governs | Contract and validation |
|---|---|---|
| Pull request description | PR title, draft and body | Complete generated core, shared schema/semantic rules, independent readiness and urgency, one section predicate model |
| Roadmap | Canonical roadmap and projection | JSON Schema plus explicit authority, scheduling and release-evidence rules |
| Rendered view | Generated human-facing views | Three-state freshness, exact input/output/renderer/configuration identities and an external render-relation evidence obligation |
These interfaces have local validation and regression coverage. No unmeasured model-context size, runtime-readiness or downstream compliance claim is made.
Candidate rows below are intentionally non-normative until admitted through
standards.catalog.yaml.
The repository starts with a minimal governance baseline:
- issues are enabled;
- wiki and projects are disabled to avoid duplicate documentation authority;
- squash merge is the only enabled pull request merge method;
mainis protected by an active pull-request and linear-history ruleset;- merged branches are deleted automatically;
- secret scanning and push protection are enabled;
- Dependabot is configured for GitHub Actions metadata.
The advisory Validate workflow is explicitly owned by
workflow.repository-validation.v1 and adopted by the repository binding.
Required GitHub status checks remain a separate repository policy decision.
The validation hardening design and implementation plan maps each reviewed concern to its implementation, regression witness, retained review boundary or conditional follow-up. It is a non-normative design tracked by the canonical roadmap; the linked standards own the current contracts.
Use Node 24 or newer. CI qualifies the Node 24 runtime; Node 20 is no longer supported. Install from the committed lockfile before running the checks.
npm run validateThe validator applies Draft 2020-12 schemas to all declared structured artifacts, validates binding/catalog identities, checks every semantic-rule proof reference, replays finite conditional proofs, and compares generated runtime core with its complete canonical instruction/rule inputs. YAML duplicate keys and aliases are rejected. JSON Schema validates actual values; there is no handwritten replacement for schema semantics. Declared templates and recursive YAML/YML/JSON examples receive their selected schema even when a required version marker is missing. The PR decision model is checked before drafts; external evidence and the truth of supplied review facts still require independent review.
npm ci
npm run generate # after changing canonical PR runtime inputs
npm run check # validation and regression suiteGeneration validates its inputs before atomically replacing one confined output file. It supports an absent or stale core and preserves an existing output on prepublication failure. Its cooperative single-writer filesystem boundary and mode/cleanup guarantees are defined by the package owner; this is not a concurrent-writer or crash-durability guarantee.
The formal model distinguishes goals, policy choices and
conditional consequences. Every admitted package declares its invariant IDs and
an owner-bound proofs.yaml. Checked Boolean consequence is not proof that the
premises describe the real world, that an external attestation is true, or that
an agent executed the instructions. Schema truth, authority, evidence authenticity,
semantic adequacy and runtime execution remain separate obligations.
The existing v1 wire schemas are retained. New diagnostics enforce existing owner rules and clarify the supported PR vocabulary profile; they do not infer fact truth, add a second claim-type registry, or introduce a new evidence class/result acceptance matrix. A future change to valid supported inputs or strict consumer formats needs an explicit versioned compatibility decision.