Config and repo health check
check_configValidate crapkit.toml against the repo to catch typo keys, empty scopes, missing lane working dirs, and runners that fail to start. Run it before trusting strange tool results or missing rankings.
Instructions
Checks that crapkit.toml agrees with the repo: typo keys, empty scopes, missing lane cwds, runners that fail to start. Run it first when any tool answers strangely or the ranking misses a file, and list_runs when only the history is in question. It needs no run, probes each runner once per lane directory and environment, runs no lane, and any problem arrives with isError true. repo can be any directory under the checkout, and one with no crapkit.toml above it answers a pointer, never a parent's config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | path to the scored repo's root (default: the repo the server was started in); a leading ~ is the home directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lanes | No | per declared lane | |
| store | No | the run store | |
| schema | No | payload schema version, 1 | |
| problems | No | FAIL findings as sentences naming the fix; non-empty is exit 1 and the result carries isError true | |
| versions | No | the tools behind every number | |
| warnings | No | WARN findings: unmeasured directories, scopes with a lane but no scoped_tests template, artifacts written outside .crapkit, lanes without results_artifact; exit stays 0 | |
| resources | No | effective resource policy; limits and estimates, not sampled utilization | |
| truncated | No | present only when the whole answer was longer than one tool result the server sends (7,500 characters): each list, string or object field it cut, at any depth, keeps its start, and full is the CLI command that prints the whole answer | |
| newest_run | No | the newest run, or null when nothing has run | |
| analysis_version | No | the analysis semantics version; with the lizard version it stamps every ratchet mark, so a bump refuses old marks until the repo re-seeds |