Rules / TAU-R004

The committed agent profile is the running CLI's

decided by Tauten kernel warn core warn edge warn
Applies to tests: yes Exceptions: never

Why

AGENTS.tauten.md is generated by cargo tauten init, which never overwrites it. A copy written by an older tauten silently gives agents rules the running checker no longer has. Its first line names the version that wrote it; the check compares the whole file with the profile embedded in the running CLI (the proved binding::same_bytes). Absent files are not a finding: committing the profile is optional.

Fix

Run cargo tauten init --refresh-profile and commit the result. Project rules belong in AGENTS.md, not in the generated file.

In the terminal

cargo tauten explain TAU-R004

$ cargo tauten explain TAU-R004

TAU-R004: The committed agent profile is the running CLI's Why: AGENTS.tauten.md is generated by `cargo tauten init`, which never overwrites it. A copy written by an older tauten silently gives agents rules the running checker no longer has. Its first line names the version that wrote it; the check compares the whole file with the profile embedded in the running CLI (the proved binding::same_bytes). Absent files are not a finding: committing the profile is optional. Fix: Run `cargo tauten init --refresh-profile` and commit the result. Project rules belong in AGENTS.md, not in the generated file. Decided by: TautenDecides: A committed AGENTS.tauten.md equals the profile of the CLI that checks it.Sees: record; complete: yesDoes not see: Only the file `AGENTS.tauten.md` at the workspace root; copies of the profile under other names are not read.Applies to tests: yesExceptions allowed: with #[expect(.., reason)]  kernel warn  core warn  edge warn