一键导入
harness-validator
Meta-auditor — validate the KB harness itself (structure, auditors, rules coherence, feedback loops).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Meta-auditor — validate the KB harness itself (structure, auditors, rules coherence, feedback loops).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit code quality against KB-defined properties, invariants, and naming conventions.
Quality and compliance audit — combines code-quality and spec-compliance into one actionable report.
Periodic friction analysis — proposes new skills, deterministic tools, and adaptations.
Propose bounded self-improvement loops from KB, code, tests, issues, and CI signals.
Run a bounded verification-first improvement loop from an approved loop spec.
Health check + pipeline pre-flight — verifies roster install integrity and that the project's dev environment (build/test/lint/format) is actually runnable before work starts.
| name | harness-validator |
| description | Meta-auditor — validate the KB harness itself (structure, auditors, rules coherence, feedback loops). |
| when_to_use | Use to validate the KB harness itself — structure, auditors, rules coherence, feedback loops. Trigger: 'check the harness', meta-audit. |
| version | 1.0.1 |
Verify the integrity of the knowledge base harness: KB structure, installed auditors, rule coherence, hook configuration, and feedback loop wiring.
kb/index.md exists and lists all KB files.spec.md, properties.md, glossary.md.last-updated frontmatter.skills/kb/:
ambiguity-auditor.md — always requiredcode-quality-auditor.md — always requiredharness-validator.md — always required (self-referential check)spec-compliance-auditor.md — required only if specs/ directory exists in project root
[ -d specs ] && echo "spec-compliance required" || echo "spec-compliance optional"
description..harness/skills/ and any Claude compatibility copies in .claude/commands/ (if install has been run)..harness/rules/ first, then .claude/rules/ compatibility copies if present.agents/ directory or AGENTS.md)..harness/hooks/ and any runtime hook projection such as .claude/settings.json.CLAUDE.md (project root).kb/ directory, key files, or the KB update process).Write to kb/reports/harness-validation-report.md:
---
auditor: harness-validator
date: <today YYYY-MM-DD>
status: N critical, N warnings, N info
harness-health: HEALTHY | DEGRADED | BROKEN
---
## Harness Health: <HEALTHY|DEGRADED|BROKEN>
- **HEALTHY**: All checks pass, feedback loop closed.
- **DEGRADED**: Non-critical issues, harness functional but incomplete.
- **BROKEN**: Critical issues, harness cannot function correctly.
## Critical
### [C1] <Issue title>
- **Check**: <which check found this>
- **Issue**: <description>
- **Fix**: <specific remediation>
## Warnings
### [W1] <Issue title>
- **Check**: <which check found this>
- **Issue**: <description>
- **Recommendation**: <action>
## Info
### [I1] <Issue title>
- **Check**: <which check found this>
- **Note**: <description>
## Checklist Summary
- [ ] KB exists with valid structure
- [ ] All auditor skills installed
- [ ] Rules coherent with agents
- [ ] Hooks don't block needed tools
- [ ] CLAUDE.md references KB
- [ ] Ralph Loop (feedback loop) wired
kb/reports/ directory if it doesn't exist.