Loading...
Loading...
Compare original and translation side by side
SKILL_DIRSCRIPTSSKILL_DIR/scriptsREPOWORKREPO/.claude-md-doctor/work--workSKILL_DIRSCRIPTSSKILL_DIR/scriptsREPOWORKREPO/.claude-md-doctor/work--workpython3 --versionpython3 --versionWORK/intake.jsonis_pointerpointer_stylesymlinkimportbare-textAGENTS.md@@orphan-agents@AGENTS.md/initWORK/intake.jsonis_pointerpointer_stylesymlinkimportbare-textAGENTS.md@@orphan-agents@AGENTS.md/initWORK/vitals.jsoninit_boilerplate/initemphasis_per_100_linesdated_per_100_linesimperative_ratiolaunch_loaded_combinedsurface-bloatWORK/vitals.jsoninit_boilerplate/initemphasis_per_100_linesdated_per_100_linesimperative_ratiolaunch_loaded_combinedsurface-bloatWORK/refcheck.jsonmissingmachine_specificglob_emptymissingdismissed_refsverifieddriftedunverifiedunverifiedWORK/refcheck.jsonmissingmachine_specificglob_emptymissingdismissed_refsverifieddriftedunverifiedunverifiedsessions.dirsessions.dirWORK/rulebook.jsonbacktest.pyorderingPATH: <file_path>^PATH: .*…scope.pathsscope.exclude_pathsintroducedgit log --follow --format=%aI -- <file>enforcementbacktest.pyhooklintertestscope_kind: file|projectjudgevaguecurrent_layercurrent_layerecho_regexoriginagainst_prior: true|falseharness-ifscope.paths^PATH: …exclude_pathsrepo_onlyordering.requireWORK/rulebook.jsonbacktest.pyorderingPATH: <file_path>^PATH: .*…scope.pathsscope.exclude_pathsgit log --follow --format=%aI -- <file>introducedenforcementbacktest.pyhooklintertestscope_kind: file|projectjudgevaguecurrent_layercurrent_layerecho_regexoriginagainst_prior: true|falseharness-ifscope.paths^PATH: …exclude_pathsrepo_onlyordering.requireWORK/backtest.jsonrulebook.json"verified": truebacktest.jsondiagnosis.jsonrule_verdicts"rule_verdicts": {
"R1": {"verdict": "healthy|ignored|mixed|inert", "note": "one line of judgment"}
}inertdefiance-provendefiancedilutionabsence-riskWORK/backtest.jsonrulebook.jsonbacktest.json"verified": truediagnosis.jsonrule_verdicts"rule_verdicts": {
"R1": {"verdict": "healthy|ignored|mixed|inert", "note": "一行判断内容"}
}inertdefiance-provendefiancedilutionabsence-riskWORK/enforcement/.claude/settings.jsonspecbenchWORK/enforcement/.claude/settings.jsonspecbenchWORK/diagnosis.json{
"grade": "B",
"chief_complaint": "One sentence, doctor-voice, the single biggest issue.",
"history_note": "optional override for the History section",
"stale_claims": [
{"claim": "…", "file": "/abs/path", "line": 12,
"status": "verified|drifted|unverified", "detail": "…"}
],
"dismissed_refs": [
{"ref": "the exact ref string from refcheck.json", "line": 46,
"reason": "why it is a false positive (route not file, MIME type, described as deleted, …)"}
],
"rule_verdicts": {
"R1": {"verdict": "healthy|ignored|mixed|inert|unmeasured|abandoned",
"note": "one line of judgment; 'abandoned' = the repo's own history contradicts the rule (e.g. git shows the team doing the banned thing routinely) even if sessions were inert"}
},
"diagnoses": [
{"state": "dead-ref|stale|vague|ignored|inert|redundant|contradictory|oversized|accretion|generated-unpruned",
"severity": "critical|warn|info",
"title": "short name", "detail": "1–3 sentences, plain language",
"file": "/abs/path", "line": 46,
"evidence": ["short quoted lines or metric readouts"],
"citations": ["official-200"],
"prescription": "the concrete fix, imperative voice"}
],
"prescriptions": [
{"action": "repo-wide action", "rationale": "why", "citations": ["eth"]}
],
"followup": ["re-run cadence; transcript-retention advice; what to fix first"],
"share_note": "one quotable line for the public share card — dry doctor's wit backed by the findings. STRICT safety: no file paths, no rule text, no quotes from the repo, no session ids, nothing repo-identifying; aggregate truths only (e.g. 'The loudest rule was the broken one.'). Omit the field to use a deterministic fallback."
}python3 SCRIPTS/report.py --list-citationsdetailcriticalwarninfomcmillaninfo.claude/rules/WORK/diagnosis.json{
"grade": "B",
"chief_complaint": "一句话,医生口吻,描述最大的问题。",
"history_note": "可选,用于覆盖历史部分的内容",
"stale_claims": [
{"claim": "…", "file": "/绝对路径", "line": 12,
"status": "verified|drifted|unverified", "detail": "…"}
],
"dismissed_refs": [
{"ref": "refcheck.json中的准确引用字符串", "line": 46,
"reason": "为何是误报(路由而非文件、MIME类型、描述为已删除等)"}
],
"rule_verdicts": {
"R1": {"verdict": "healthy|ignored|mixed|inert|unmeasured|abandoned",
"note": "一行判断内容;'abandoned' = 仓库自身历史与规则矛盾(例如git显示团队常规执行被禁止的操作),即使会话无记录"}
},
"diagnoses": [
{"state": "dead-ref|stale|vague|ignored|inert|redundant|contradictory|oversized|accretion|generated-unpruned",
"severity": "critical|warn|info",
"title": "简短名称", "detail": "1–3句话,通俗易懂",
"file": "/绝对路径", "line": 46,
"evidence": ["简短引用行或指标读数"],
"citations": ["official-200"],
"prescription": "具体修复方案,祈使语气"}
],
"prescriptions": [
{"action": "仓库级操作", "rationale": "原因", "citations": ["eth"]}
],
"followup": ["重新运行频率;会话记录保留建议;优先修复项"],
"share_note": "用于公开分享卡片的一句引用——基于发现的专业医生式幽默。严格安全要求:无文件路径、无规则文本、无仓库引用、无会话ID、无任何可识别仓库的内容;仅使用汇总事实(例如:'最显眼的规则却是失效的规则。')。若省略此字段,将使用确定性默认内容。"
}python3 SCRIPTS/report.py --list-citationsdetailcriticalwarninfomcmillaninfo.claude/rules/python3 SCRIPTS/card.py --work WORKcard.svgclaude-md-health.svgreport.htmlpython3 SCRIPTS/card.py --work WORKcard.svgclaude-md-health.svgreport.html