Proposes
Drafts structures, splits, and revisions to the record.
01 / SPECIFICATION OF RECORD
AccordRail doesn't guess the design from your code. Only the decisions a human approved become a small record that the current implementation can be checked against.
ONE SOURCE
READMEs, ADRs, chat threads, AI summaries — all useful, but a machine cannot decide which of them is the current decision. AccordRail keeps only what can serve as grounds for a stop, in .accordrail/spec.toml.
It doesn't silently convert prose into rules. The AI can draft, and it can check. But only a human can approve the record.
Hand the AI proposals.
Never the decision.
THE RECORD
The record holds dependency directions, module entry points, where things may live, what must exist — only promises a dependency graph can verify with certainty.
[project] name = "sample" [[layer]] name = "ui" may_use = ["domain", "shared"] [[layer]] name = "domain" may_use = ["shared"] [[module]] path = "src/domain" public = ["index.ts"] [rules] forbid_unspecified_files = true
FROM NOW, NOT FROM ZERO
It won't dump hundreds of warnings onto an existing project. The shape on the day you adopt it is recorded as the baseline; only deviations added after that are reported.
AUTHORITY
02 / NEXT
How that record is defended.See the gate ↗