Skip to main content

Coding agents

One source of truth applies to humans and coding agents (Copilot, Claude, Cursor, Hermes). The source is AGENTS.md in the kailash-os repository (default branch master). The companion guide for the kailash-packages overlay repo is AGENTS.md there. Tool-specific files (CLAUDE.md, .github/copilot-instructions.md) point at these. On any disagreement, AGENTS.md wins.

Read the files at the source — the GitHub-rendered pages stay current:

Architecture Decision Records

Structural changes carry an ADR in the same PR. Most slices are leaf-sized: the issue’s plan reference IS the design record. Write no ADR there. Write one only when the change makes a new persistent artefact, or removes or changes one: a manifest schema field whose semantics lock, a profile contract, a wire format, a gate script.

The structural record home is deliberately single: kailash-os docs/adr/ — the process and the record format. Overlay decisions land there too, with the PR that makes the change.

The rules:

  • Accepted ADRs are immutable. A change that contradicts an accepted ADR supersedes it with a new one. Never rewrite the accepted record.
  • Never invent discussion, deciders, or quotes. Cite commit/issue permalinks, or write “No substantive technical discussion recorded”.
  • Dependency bumps, docs tweaks, and CI tweaks need no ADR.

This repo also records repo-local prose decisions in its own docs/adr/ (the writing-standard record).

This page does not mirror either file. A mirror drifts the moment the repos move. The source-of-truth rule (AGENTS.md wins) states the place to look.