clawback config doctor
Run .skills/verify-config/scripts/verify_config_parse.mjs from the project
root. It loads the merged config the same way the proxy would and prints what
actually resolved — no secrets — then fails loudly if the canonical
CLAWBACK.md did not take effect.
node .skills/verify-config/scripts/verify_config_parse.mjs # resolve from ./ (cwd)
node .skills/verify-config/scripts/verify_config_parse.mjs /path/to/project
The optional positional argument is the directory to resolve config from (defaults to the current working directory).
What it prints
- sources (merge order) — each contributing tier and file path, lowest
precedence first, exactly the layering in CLAUDE.md's Config Merging
Strategy (
DEFAULTS < global < local < CLI). - resolved — host, port, tls, cert/key paths, selfSign, passthrough, keepAliveEnabled, injectExtendedCacheTtl, adminPathPrefix, and whether an adminToken is present (length only — the value is never shown).
- warnings — any non-fatal notes
loadConfigsurfaced.
Exit status
Exits non-zero with a FAIL: list when any of these are off — the
signature of a CLAWBACK.md that did not parse or merge:
hostis not0.0.0.0(the canonical LAN bind did not stick),tlsis nottrue,adminTokenis missing (a non-loopback bind would have thrown anyway).
Otherwise it prints OK: canonical CLAWBACK.md parsed and merged. Pairs with
the write-config skill, which generates that file.