diag-harness
Installation
SKILL.md
diag-harness
Codex skill: kernel-version skew check for a scaffolded harness — the ADR-027 diagnostic UX loop.
What it does
Single-question check: does my local @metaharness/kernel match what this harness was scaffolded against? That's the cross-machine compatibility question almost every "this harness doesn't work" support ticket turns out to be.
Reads .harness/manifest.json:
| Field | Source | Meaning |
|---|---|---|
meta.surface |
iter 56 | Which surface produced the harness (cli or web-ui) |
meta.kernel_version |
iter 58 | The @metaharness/kernel version stamped at scaffold time |
Resolves the local @metaharness/kernel via createRequire rooted at the harness's own package.json (real Node resolution). Computes the skew verdict and prints a copy-pasteable next step.