Health check
Verify all 6 primitives are intact, coherent, and self-contained. Runs 36-point validation (primitives + self-containment). Use after creating or modifying a harness.From its SKILL.md
npx -y skills add rodhappi/meta-harness-plugin --skill health-checkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
7.6 KB, as published. Nobody here has run it
/health-check — 36-Point Primitive Validation
Run all 36 checks against the current harness. Report pass/fail for each check with details on failures.
How to Run
- Determine the harness directory (current working directory by default)
- Run each check below
- Report results in the format shown at the bottom
Checks
Identity (5 checks)
- I1: CLAUDE.md exists — Check for
CLAUDE.mdin the harness root. It must contain a purpose statement. - I2: Persona defined —
harness-config.jsonhasidentity.personawith at leastnameandtone. - I3: Authority hierarchy present —
.claude/rules/identity.mdexists and contains the authority hierarchy (Base training > Operator > User > Tool results). - I4: Domain constraints defined —
harness-config.jsonhasidentity.hardcoded_constraintswith at least one entry. - I5: Conflict resolution order present —
.claude/rules/identity.mdcontains "Safe > Honest > Compliant > Helpful".
Context Contract (5 checks)
- C1: SessionStart hook configured —
hooks/hooks.json(or settings) registers a SessionStart handler. - C2: Tier 1 files exist — Every item in
harness-config.json→context.tier1has a corresponding file in.claude/memory/topics/. - C3: Tier 2 capabilities registered — Tier 2 items from config have corresponding skills, MCPs, or documented capabilities.
- C4: Absence declarations configured — The SessionStart hook script includes absence declaration logic.
- C5: Context budget rule present —
.claude/rules/context-budget.mdexists with tier budgets defined.
Honesty Protocol (5 checks)
- H1: Honesty rule with 7 properties —
.claude/rules/honesty.mdexists and references all 7 honesty properties. - H2: PreToolUse hook configured —
hooks/hooks.jsonregisters a PreToolUse handler. - H3: Confidence threshold calibrated —
harness-config.jsonhashonesty.confidence_thresholdset and it matchesdomain_risklevel. - H4: Abstention triggers defined —
harness-config.jsonhashonesty.abstention_triggerswith at least one entry. - H5: Anti-epistemic cowardice rule —
.claude/rules/honesty.mdcontains anti-epistemic cowardice directive.
Memory Protocol (7 checks)
- M1: Memory directory exists —
.claude/memory/directory exists with subdirectories. - M2: Session summary initialized —
.claude/memory/session-summary.mdexists. - M3: Topic categories created — Each item in
memory.topic_categorieshas a directory in.claude/memory/topics/. - M4: PreCompact hook configured —
hooks/hooks.jsonregisters a PreCompact handler. - M5: Hot tier under size cap —
.claude/memory/session-summary.mdis under 200 lines. - M6: WIP ledger rule present —
.claude/rules/wip-ledger.mdexists. If absent, the harness predates the WIP ledger primitive and should be backported via the2026-04-13-wip-ledgerpatch. - M7: WIP ledger not stale — If
.claude/memory/wip.jsonexists, itsstatusmust not bein_progressorinterruptedwith alast_updatedolder than 24 hours. A stale active ledger is evidence of an unrecovered interruption — the user should be told and asked whether to resume, archive, or abandon. Ledgers withstatusofcompletedorabandonedmust have been archived to.claude/memory/wip/archive/; if present at the active path, this is a fail.
Observability (5 checks)
- O1: PostToolUse hook configured —
hooks/hooks.jsonregisters a PostToolUse handler. - O2: Loop detection configured — PreToolUse hook script includes loop detection logic.
- O3: Observability rule present —
.claude/rules/observability.mdexists. - O4: Log directories exist —
.claude/memory/logs/and.claude/memory/metrics/directories exist. - O5: SessionEnd hook configured —
hooks/hooks.jsonregisters a SessionEnd handler.
Learning Protocol (5 checks)
- L1: Stop hook configured —
hooks/hooks.jsonregisters a Stop handler. - L2: Consolidate skill available —
/consolidatecommand exists at.claude/commands/consolidate.mdin the harness. - L3: Learning rule with signal classification —
.claude/rules/learning.mdexists with signal classification guidance. - L4: Learning constraints applied —
harness-config.jsonhaslearning.never_learnwith at least one entry. - L5: Drift check references identity —
.claude/commands/consolidate.mdincludes drift checking against CLAUDE.md.
Self-Containment (4 checks)
The harness must be fully self-contained. It must run and evolve itself without the meta-harness plugin being installed. This category enforces constitution principle 6 (Self-Containment After Instantiation, added 2026-04-13).
- SC1: No runtime plugin references — Grep for
CLAUDE_PLUGIN_ROOTacrosshooks/,.claude/rules/,.claude/commands/, andschemas/in the harness. Zero matches expected. Any match is a FAIL — the harness has a silent runtime dependency on the plugin. Fix: copy the referenced file into the harness and rewrite the reference to use$CLAUDE_PROJECT_DIRor a harness-relative path. - SC2: Hook scripts are harness-local — Parse
hooks/hooks.json. Everycommandfield must reference a path under$CLAUDE_PROJECT_DIR(or a harness-relative path), not${CLAUDE_PLUGIN_ROOT}. Every referenced script must exist inside the harness and be executable. FAIL if any command resolves outside the harness, if any referenced script is missing, or if any referenced script is not executable. - SC3: Schemas copied into harness —
$CLAUDE_PROJECT_DIR/schemas/harness-config.schema.jsonand$CLAUDE_PROJECT_DIR/schemas/mutability-tags.jsonboth exist. These are required for/evolve-harnessand harness-config validation to work without the plugin. FAIL if either is absent — recommend applying the2026-04-13-plugin-decouplingpatch. - SC4: Operational commands copied into harness —
$CLAUDE_PROJECT_DIR/.claude/commands/health-check.md,consolidate.md,evolve-harness.md, andcontext-status.mdall exist. FAIL if any is absent. These commands are how the harness manages itself independently of the plugin.
Output Format
=== META-HARNESS HEALTH CHECK ===
✓ IDENTITY (5/5)
✓ I1: CLAUDE.md exists with purpose statement
✓ I2: Persona defined
✓ I3: Authority hierarchy present
✓ I4: Domain constraints defined
✓ I5: Conflict resolution order present
✓ CONTEXT CONTRACT (5/5)
✓ C1: SessionStart hook configured
...
RESULT: 36/36 PASS — All primitives intact and harness is self-contained
For failures, show:
✗ H3: Confidence threshold calibrated
FAIL: confidence_threshold is 0.5 but domain_risk is "high" (expected >= 0.9)
FIX: Update honesty.confidence_threshold in harness-config.json
Error Handling
- If
harness-config.jsonis not found, skip harness-config dependent checks (I2, I4, C2, C3, H3, H4, M3, L4) and report them as SKIPPED with reason - If
harness-config.jsonis malformed JSON, report parse error and skip all config-dependent checks - If hook scripts exist but are not executable, report this as a FAIL with fix instruction:
chmod +x <script-path> - If the harness directory has no
.claude/subdirectory, report all rule-dependent checks as FAIL