MKTRUE-CHECK(1)mktrue 0.3.1MKTRUE-CHECK(1)

mktrue check

NAME

mktrue check — report whether this repository is still true to the method

SYNOPSIS

mktrue check [--target <name>] [--bench <dir>]

mktrue check --siblings [--json]

DESCRIPTION

check is read-only. It reports what has drifted: the kit version behind, kit-owned files edited without a pin, missing rules sections, budgets exceeded, missing permission rules, and ignore lines that must exist. Each finding says why it matters and how to fix it.

Every repository new makes runs it in CI on every push.

--siblings also reads each repository answers.siblings names, at its base branch, through local git only: no fetch, no checkout, no write. The usual checks run first, and the exit is the worse of the two. --json prints that report alone.

OPTIONS

--siblings
Also compare each repository answers.siblings names with this one, through local git.
--json
With --siblings, print the report as JSON, and nothing else.
--target <name>
The agent target to render for. The default is claude-code.
--bench <dir>
The kit to render from. The default is the installed kit.
--help
Print the usage of every command.

EXIT STATUS

0true: nothing has drifted.
1findings: at least one, each printed with why and fix. With --siblings, also any divergence.
3environment: with --siblings, a listed sibling could not be read.

EXAMPLES

A repository just made by new.

exit 0
mktrue checkmktrue: check · 5 of 5 ✓mktrue: budgets · rules 5 121 / 10 000 · state 333 / 2 500mktrue: budgets · decisions 0 · largest 0 / 12 000mktrue: bench · 34 entries · 23 slotsmktrue: tiers · 6 roles · 6 tieredmktrue: paths · 6 of 6 resolvemktrue: drift · 17 owned · 0 edited · 0 pinnedmktrue: true · exit 0

The same repository after a kit-owned file was edited by hand.

exit 1
mktrue checkmktrue: check · 4 of 5 ✗mktrue: budgets · rules 5 121 / 10 000 · state 333 / 2 500mktrue: budgets · decisions 0 · largest 0 / 12 000mktrue: bench · 34 entries · 23 slotsmktrue: tiers · 6 roles · 6 tieredmktrue: paths · 6 of 6 resolvemktrue: drift · 17 owned · 1 edited · 0 pinnedmktrue: ✗ drift · .claude/agents/README.md was edited after the kit wrote it  why   the next sync sees it as yours and will stop updating it, so the method quietly stops improving here  fix   pin it in .mktrue.json to keep your version, or revert it and put the change in a repository-owned filemktrue: 1 finding · exit 1

Real output from mktrue 0.3.1, captured with NO_COLOR set.

SEE ALSO