Format checker
pnpm check runs check.mjs. The rules it holds the record to are the ones in
AGENTS.md → "Writing knowledge"; this file says only what that section does
not, which is how to relate to the program.
- It is generated, and it is the same rule set
ksor buildandksor ingestrun, so the three can never disagree about a well-formed record. Do not edit it:ksor initwrites it andksor migraterewrites both copies when you upgrade, so an edit is overwritten rather than kept. It reports and never rewrites a file. - Obey the printed fix literally. Every refusal prints where, the rule's
slug (
problem: ksor-…), why the rule exists, and the fix. If the fix does not resolve the problem, that is a bug worth reporting to ksor. - If its refusals contradict
AGENTS.md, the checker is older than the record: upgrade@panaversity/ksorand re-runksor migrate. Never "fix" the record by undoing what a migration wrote. - When you edit any skill under
.agents/skills/, re-copy it to.claude/skills/— the checker holds the two trees byte-identical in both directions.
