[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74ZJD3J9MF3KYQ3R3W1BFWP":3,"skill-same:01M74ZJD3J9MF3KYQ3R3W1BFWP":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":51},"01M74ZJD3J9MF3KYQ3R3W1BFWP","install-doctor",null,"Scans the existing environment (after the built-in `\u002Fdoctor` — this covers FH-plugin conflicts it does not) before and after meta-harness plugin install to diagnose conflicts, duplicates, and silent overwrite risks. Reports potential conflict areas with existing CLAUDE.md, skills, hooks, and audit practices. Activates on \"install conflict\", \"any overlaps?\", \"is it safe to install?\".","chrono-meta\u002Fforge-harness","chrono-meta","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F151837060?v=4","01M74ZDXK87ES4B30NKYSEH3MS","01M74ZDXM0F1NMYK7BS7PYR54G",33,"MIT","https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fplugins\u002Ffh-meta\u002Fskills\u002Finstall-doctor\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: install-doctor\ndescription: Scans the existing environment (after the built-in `\u002Fdoctor` — this covers FH-plugin conflicts it does not) before and after meta-harness plugin install to diagnose conflicts, duplicates, and silent overwrite risks. Reports potential conflict areas with existing CLAUDE.md, skills, hooks, and audit practices. Activates on \"install conflict\", \"any overlaps?\", \"is it safe to install?\".\nuser-invocable: true\nallowed-tools: [\"Read\", \"Bash\", \"Glob\", \"Grep\"]\nmodel: sonnet\ncategory: Composability Gate\n---\n\n# install-doctor — Plugin Install Conflict Diagnosis\n\nDiagnoses potential conflicts, duplicates, and overwrite risks that may occur when installing meta-harness plugins into an existing project.\n\n**Can be installed standalone** — works correctly with plugin install alone, without cloning the full meta-harness.\n\n## Triggers\n\n```\n\u002Finstall-doctor                        # Full diagnosis of current environment\n\u002Finstall-doctor --plugin fh-meta       # Diagnose targeting a specific plugin\n```\n\n## Step 0. Runtime Environment Requirements Check\n\nFH operates on the assumption of a large context window. If the environment is unsuitable, `Input is too long` 400 errors may occur during skill execution.\n\n### Supported Environments\n\n| Environment | Support | Notes |\n|---|---|---|\n| Claude Code + Anthropic API Key | ✅ Recommended | 200K context · officially supported |\n| claude.ai Pro \u002F Team Plan | ✅ Recommended | 200K context · officially supported |\n| AWS Bedrock (direct API) | ⚠️ Conditional | Possible with sufficient account quota — default quota may be low |\n| Bedrock + claude-code-router + LiteLLM | ⚠️ Unofficial | Context limit exceeded frequently · not recommended |\n| Internal AI API proxy | ⚠️ Conditional | Depends on max_input_tokens setting |\n\n### Environment Check\n\n```bash\n# Detect community router (Bedrock bypass)\nls \u002Fopt\u002Fhomebrew\u002Flib\u002Fnode_modules\u002F@musistudio\u002F 2>\u002Fdev\u002Fnull \\\n  && echo \"⚠️  claude-code-router detected — routing via Bedrock\u002Fexternal proxy\" \\\n  || echo \"✅ No community router\"\n\n# Claude Code version\nclaude --version 2>\u002Fdev\u002Fnull || echo \"Claude Code not installed\"\n```\n\n**⚠️ When Bedrock routing confirmed**: Request AWS quota increase (TPM\u002FRPM increase) or raise LiteLLM `max_input_tokens`, then retry. Fundamental solution is switching to direct Anthropic API access.\n\n### Node floor check — run on EVERY machine, not once per user\n\nA user's context (companion store, memory, session card) travels between machines; **the machine's\nown setup does not**. A rich context makes a fresh laptop read as \"already configured\", so the two\nmechanical floors below must be checked per node — this is the check `scripts\u002Ffh_node_check.sh`\npoints at when it reports a missing floor at turn 0.\n\n```bash\n# HUB_DIR — the same variable the hook scripts use. Do NOT invent a second name (an earlier draft\n# read FH_DIR, which nothing sets, so an operator with HUB_DIR set would have been silently told\n# about a different repo).\nFH=\"${HUB_DIR:-$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)}\"\n\n# ① git-side floor. Probe the EXECUTABLE HOOK, not the config key — `core.hooksPath` unset is a\n#    normal, working install when hooks sit in .git\u002Fhooks, and a set-but-empty path is a broken\n#    install that the key alone reports as fine. Both directions are wrong; the file is the truth.\n#    Resolve the directory with `git rev-parse --git-path` rather than assembling \"$FH\u002F.git\u002Fhooks\":\n#    in a LINKED WORKTREE `.git` is a file, so the assembled path does not exist and every hook\n#    reads as missing (verified: a worktree with working hooks reported ❌❌ under the old form).\n#    Same resolution the script uses — one predicate, not two.\n# --path-format needs git >= 2.31; on older git fall back to the RELATIVE --git-path form resolved\n# against the toplevel, never to a hand-built \"$FH\u002F.git\u002Fhooks\" (which is the worktree bug above).\nHD=\"$(git -C \"$FH\" rev-parse --path-format=absolute --git-path hooks 2>\u002Fdev\u002Fnull)\"\nif [ -z \"$HD\" ]; then\n  _rel=\"$(git -C \"$FH\" rev-parse --git-path hooks 2>\u002Fdev\u002Fnull || echo .git\u002Fhooks)\"\n  case \"$_rel\" in \u002F*) HD=\"$_rel\" ;; *) HD=\"$(git -C \"$FH\" rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || echo \"$FH\")\u002F$_rel\" ;; esac\nfi\nfor h in pre-commit pre-push; do\n  if [ -x \"$HD\u002F$h\" ]; then echo \"✅ $h executable ($HD)\"\n  else echo \"❌ $h MISSING or not executable at $HD — that gate is not running on this node\"; fi\ndone\n\n# ② turn-0 load floor (Mode D only): the companion-load hook. Its registration lives in the\n#    GITIGNORED settings.local.json, so it does NOT survive a re-clone — hence a per-node check.\n#    Parse the JSON and match the SCRIPT NAME inside hooks.SessionStart — not a bare grep for the\n#    key. settings.json also carries a SessionStart entry (fh_node_check), so keying on the key\n#    alone passes on a machine where the companion load is absent; and a plain substring grep also\n#    hits commented-out lines, other hook events, and permission strings. Same predicate the script\n#    uses — two predicates reading one state differently is how a result leaks silently.\n#    Applicability gate FIRST, and keyed the same way the script keys it: a Mode D user is one with\n#    an exported BE_DIR, or a CLAUDE.local.md that MENTIONS a companion binding — NOT one who merely\n#    HAS a CLAUDE.local.md (that is Claude Code's standard local-override file; anyone may keep one),\n#    and NOT one who has a settings.local.json (gitignored, so a fresh clone lacks it — and a fresh\n#    clone with a full companion store is the exact case this must not silence). The vocabulary\n#    covers every backend the wizard documents (vault · gbrain · *-be repo), because an FH-flavoured\n#    regex would silence two first-class backends. It is a MENTION test, not semantic: \"I do not use\n#    a companion store\" also matches, and that over-match costs one informational line — the cheap\n#    direction, since the expensive direction is silence.\nif { [ -n \"${BE_DIR:-}\" ] && [ -d \"$BE_DIR\" ]; } \\\n   || { [ -f \"$FH\u002FCLAUDE.local.md\" ] && grep -qiE 'BE_DIR|companion[ -]store|컴패니언|vault|gbrain|obsidian' \"$FH\u002FCLAUDE.local.md\"; }; then\n  python3 - \"$FH\" \u003C\u003C'PY'\nimport json, os, sys\nhub = sys.argv[1]\nfor p in (os.path.join(hub, \".claude\", \"settings.local.json\"),\n          os.path.expanduser(\"~\u002F.claude\u002Fsettings.json\")):\n    try: groups = json.load(open(p)).get(\"hooks\", {}).get(\"SessionStart\", [])\n    except Exception: continue\n    if any(\"fh_session_load\" in h.get(\"command\", \"\")\n           for g in groups for h in g.get(\"hooks\", [])):\n        print(\"✅ companion-load SessionStart registered\"); sys.exit(0)\nprint(\"❌ companion-load SessionStart MISSING — freshness + env-delta do not fire at turn 0\")\nPY\nelse\n  echo \"N\u002FA  companion-load SessionStart (not a Mode D setup — no companion store configured)\"\nfi\n```\n\n> **Detail**: See `SKILL_detail.md §Bootstrap-Scope` — why the turn-0 reporter ships with the clone but its registration does not, and what the check item backstops — read when a user asks why the floor check exists or whether the turn-0 signal is guaranteed.\n\n**Emission model** (so the output is read correctly): a **missing floor is reported every session**\nuntil it is fixed — it is a persistent condition, not an event. A healthy machine is silent. So\nseeing this banner twice is not a bug, and seeing it once then never again means it was an *event*\nline (identity change \u002F infra delta), not a floor complaint.\n\n**Fix for either ❌**: re-run `\u002Finstall-wizard` (it registers both — `install-wizard\u002FSKILL_detail.md`\n§Mode-D-Companion-Setup step 3 and the 4-axis gate block), or apply the two commands it uses directly.\n\n> **Detail**: See `SKILL_detail.md §Node-Floor-Rationale` — the measured 2026-07-30 second-machine case behind making this a check item — read when defending or questioning the node floor check.\n\n---\n\n## Step 1. Existing Asset Inventory\n\n```bash\n# CLAUDE.md existence\n[ -f \"CLAUDE.md\" ] && echo \"CLAUDE.md exists: $(wc -l \u003C CLAUDE.md) lines\" || echo \"CLAUDE.md absent\"\n\n# Existing skills\nls .claude\u002Fskills\u002F 2>\u002Fdev\u002Fnull && echo \"Existing skills present\" || echo \"No existing skills\"\n\n# Existing hooks\n[ -f \".claude\u002Fsettings.json\" ] \\\n  && python3 -c \"import json; d=json.load(open('.claude\u002Fsettings.json')); print('hook events:', list(d.get('hooks',{}).keys()))\" \\\n  || echo \"settings.json absent\"\n\n# .claudeignore\n[ -f \".claudeignore\" ] && echo \".claudeignore exists\" || echo \".claudeignore absent\"\n\n# Existing audit\u002Flog files\nfind . -maxdepth 3 -name \"*audit*\" -o -name \"*weekly*\" 2>\u002Fdev\u002Fnull \\\n  | grep -v \"node_modules\\|\\.git\" | head -5\n```\n\n## Step 2. Conflict Diagnosis (5 Areas)\n\n### 2-1. CLAUDE.md Rule Conflicts\n\n```bash\ngrep -i -n \"pr\\|pull request\\|audit\\|review\\|weekly\" CLAUDE.md 2>\u002Fdev\u002Fnull | head -15\n```\n\nJudgment:\n- Existing PR convention present → possible priority conflict with `harness-pr-reviewer` ⚠️\n- Existing weekly audit present → possible format conflict with `harvest-loop` ⚠️\n\n### 2-2. Skill Trigger Conflicts\n\n```bash\nfind .claude\u002Fskills -name \"SKILL.md\" 2>\u002Fdev\u002Fnull | while read f; do\n  name=$(grep \"^name:\" \"$f\" | head -1)\n  desc=$(grep \"^description:\" \"$f\" | head -1)\n  echo \"--- $name\"\n  echo \"$desc\"\ndone\n```\n\nIf same trigger vocabulary exists in a meta-harness skill → unclear which skill will activate ⚠️\n\n### 2-3. Hook Event Conflicts\n\n```bash\n[ -f \".claude\u002Fsettings.json\" ] && python3 -c \"\nimport json\nd = json.load(open('.claude\u002Fsettings.json'))\nfor event, hooks in d.get('hooks', {}).items():\n    print(f'{event}: {len(hooks)} hook(s)')\n\" || echo \"No settings found\"\n```\n\nMultiple hooks on same event → execution order unclear ⚠️\n\n### 2-4. .claudeignore Scope Conflicts\n\n```bash\ncat .claudeignore 2>\u002Fdev\u002Fnull | grep -v \"^#\" | grep -v \"^$\"\n```\n\nIf .claudeignore blocks files that meta-harness skills read for diagnosis (CATALOG.md, tracks\u002F, CLAUDE.md) → inaccurate skill results ⚠️\n\n### 2-5. Audit\u002FLog Practice Conflicts\n\n```bash\nfind . -maxdepth 3 \\( -name \"*audit*\" -o -name \"*weekly*\" -o -name \"*retrospect*\" \\) \\\n  -not -path \".\u002F.git\u002F*\" -not -path \".\u002Fnode_modules\u002F*\" | head -10\n```\n\nIf existing retrospective\u002Faudit files exist → `harvest-loop` will create files in separate format → dual management ⚠️\n\n### 2-6. MCP HTTP Transport Security Check\n\n```bash\n# Check MCP server transport settings\ngrep -r \"\\\"transport\\\"\" .mcp.json 2>\u002Fdev\u002Fnull | grep -i \"http\\|sse\"\n\n# List MCP servers using HTTP transport.\n# `except: pass` made this exit 0 on ANY failure, so the `|| echo` fallback was dead code and a\n# corrupt .mcp.json rendered identically to \"no risky servers\" — a silent pass on a security check.\n# Four states, four distinct exits: absent(0) · unparseable(2) · risky(1) · all-stdio(0).\npython3 - \u003C\u003C'PY'\nimport json, os, sys\np = '.mcp.json'\nif not os.path.exists(p):\n    print('  MCP-CHECK: NOT-APPLICABLE — .mcp.json absent (no MCP servers configured)')\n    sys.exit(0)\ntry:\n    d = json.load(open(p))\nexcept Exception as e:\n    print(f'  MCP-CHECK: UNPARSEABLE — {p}: {e}')\n    print('  Transport risk UNMEASURED — this is NOT a pass. Fix the file and re-run.')\n    sys.exit(2)\nservers = (d.get('mcpServers') or {})\nrisky = [(n, (c or {}).get('transport', 'stdio')) for n, c in servers.items()\n         if (c or {}).get('transport', 'stdio') != 'stdio']\nif risky:\n    for n, t in risky:\n        print(f'  WARNING  {n}: transport={t} — verify localhost binding + auth')\n    sys.exit(1)\nprint(f'  MCP-CHECK: PASS — {len(servers)} server(s), all stdio')\nPY\n```\n\n> **Read the exit code, not just the text.** `2` (unparseable) is an *unmeasured* check and must be\n> reported 🟧 in Step 3, never folded into 🟩. Known-pair calibration for this block: a deliberately\n> truncated `.mcp.json` must yield `2`, and a config with one `transport: http` server must yield `1`.\n> If both print nothing, the check is dead.\n\n> **Detail**: See `SKILL_detail.md §MCP-Transport-Patterns` — the HTTP\u002FSSE port-exposure pattern and the transport risk table — read when explaining why a non-stdio server is flagged.\n\n**Recommendation**: HTTP transport MCP servers must confirm localhost binding + access control.\n\n## Step 3. Diagnosis Report\n\n```\n## install-doctor Diagnosis Results\n\n### 🟥 Immediate Action Required\n- [empty if none]\n\n### 🟧 Recommended to Check After Install\n- [empty if none]\n\n### 🟩 No Conflicts\n- [safe confirmed items]\n\n---\nDiagnosis scope: CLAUDE.md rules · Skill triggers · Hook events · .claudeignore · Audit practices\n```\n\n**0 conflicts**: \"Plugin install is safe in the current environment.\"\n\n## Step 4. Layer A Fallback Guidance\n\nThe meta-harness CLAUDE.md's `## Session Start` Layer A auto-read (CATALOG.md · tracks\u002F · MEMORY.md) only works in the **meta-harness cwd**.\n\nIf you installed only the plugin in a different project cwd:\n- Layer A auto-read = silent skip\n- Alternative: Directly add `## Session Start` section to that project's CLAUDE.md, or manually read CATALOG.md\n\n## Activation Triggers\n\n| Phrasing pattern | Examples |\n|---|---|\n| **Pre-install check** | \"Can I add this plugin?\", \"Will it conflict with my existing setup?\" |\n| **Post-install anomaly** | \"Something seems off after install\", \"Things seem different than before\" |\n| **Explicit diagnosis request** | \"Check for install conflicts\", \"Run environment check\", \"Any overlaps?\" |\n\n## Done When\n\n```\nSteps 0~4 completed                                              (mandatory-pass)\n+ Step 0 node-floor results recorded per check, each as one of\n  PASS \u002F FAIL \u002F UNMEASURED — never blank                          (measured: 2 floors —\n                                                                   hook exec-bit, SessionStart\n                                                                   registration)\n+ Step 2-6 MCP transport check exited 0\u002F1\u002F2 and the exit code is\n  carried into the Step 3 tier (2 = UNMEASURED → 🟧, never 🟩)     (mandatory-pass)\n+ Step 3 diagnosis report emitted with a tier per area\n  (🟥 immediate action \u002F 🟧 check recommended \u002F 🟩 no conflicts)   (mandatory-pass)\n+ Verdict is derived from the recorded per-area tiers: 🟩 only if\n  every area is 🟩 AND none is UNMEASURED                          (measured: count of\n                                                                   non-🟩 areas == 0)\n```\n\n> **Detail**: See `SKILL_detail.md §Done-When-Rationale` — why Done When covers Steps 0~4 and why the verdict is counted, not stated — read when editing or defending the Done When condition.\n\n## Simplification Guard\n\n- 0 existing assets (new environment) → output \"New environment. No conflicts.\" and exit immediately in Step 1\n- Scope separation from harness-doctor (harness structure) · context-doctor (token efficiency): this skill = install-time conflict diagnosis only\n- Call `\u002Fharness-doctor` for structural checks needed after plugin install\n","# install-doctor — Plugin Install Conflict Diagnosis\n\nDiagnoses potential conflicts, duplicates, and overwrite risks that may occur when installing meta-harness plugins into an existing project.\n\n**Can be installed standalone** — works correctly with plugin install alone, without cloning the full meta-harness.\n\n## Triggers\n\n```\n\u002Finstall-doctor                        # Full diagnosis of current environment\n\u002Finstall-doctor --plugin fh-meta       # Diagnose targeting a specific plugin\n```\n\n## Step 0. Runtime Environment Requirements Check\n\nFH operates on the assumption of a large context window. If the environment is unsuitable, `Input is too long` 400 errors may occur during skill execution.\n\n### Supported Environments\n\n| Environment | Support | Notes |\n|---|---|---|\n| Claude Code + Anthropic API Key | ✅ Recommended | 200K context · officially supported |\n| claude.ai Pro \u002F Team Plan | ✅ Recommended | 200K context · officially supported |\n| AWS Bedrock (direct API) | ⚠️ Conditional | Possible with sufficient account quota — default quota may be low |\n| Bedrock + claude-code-router + LiteLLM | ⚠️ Unofficial | Context limit exceeded frequently · not recommended |\n| Internal AI API proxy | ⚠️ Conditional | Depends on max_input_tokens setting |\n\n### Environment Check\n\n```bash\n# Detect community router (Bedrock bypass)\nls \u002Fopt\u002Fhomebrew\u002Flib\u002Fnode_modules\u002F@musistudio\u002F 2>\u002Fdev\u002Fnull \\\n  && echo \"⚠️  claude-code-router detected — routing via Bedrock\u002Fexternal proxy\" \\\n  || echo \"✅ No community router\"\n\n# Claude Code version\nclaude --version 2>\u002Fdev\u002Fnull || echo \"Claude Code not installed\"\n```\n\n**⚠️ When Bedrock routing confirmed**: Request AWS quota increase (TPM\u002FRPM increase) or raise LiteLLM `max_input_tokens`, then retry. Fundamental solution is switching to direct Anthropic API access.\n\n### Node floor check — run on EVERY machine, not once per user\n\nA user's context (companion store, memory, session card) travels between machines; **the machine's\nown setup does not**. A rich context makes a fresh laptop read as \"already configured\", so the two\nmechanical floors below must be checked per node — this is the check `scripts\u002Ffh_node_check.sh`\npoints at when it reports a missing floor at turn 0.\n\n```bash\n# HUB_DIR — the same variable the hook scripts use. Do NOT invent a second name (an earlier draft\n# read FH_DIR, which nothing sets, so an operator with HUB_DIR set would have been silently told\n# about a different repo).\nFH=\"${HUB_DIR:-$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)}\"\n\n# ① git-side floor. Probe the EXECUTABLE HOOK, not the config key — `core.hooksPath` unset is a\n#    normal, working install when hooks sit in .git\u002Fhooks, and a set-but-empty path is a broken\n#    install that the key alone reports as fine. Both directions are wrong; the file is the truth.\n#    Resolve the directory with `git rev-parse --git-path` rather than assembling \"$FH\u002F.git\u002Fhooks\":\n#    in a LINKED WORKTREE `.git` is a file, so the assembled path does not exist and every hook\n#    reads as missing (verified: a worktree with working hooks reported ❌❌ under the old form).\n#    Same resolution the script uses — one predicate, not two.\n# --path-format needs git >= 2.31; on older git fall back to the RELATIVE --git-path form resolved\n# against the toplevel, never to a hand-built \"$FH\u002F.git\u002Fhooks\" (which is the worktree bug above).\nHD=\"$(git -C \"$FH\" rev-parse --path-format=absolute --git-path hooks 2>\u002Fdev\u002Fnull)\"\nif [ -z \"$HD\" ]; then\n  _rel=\"$(git -C \"$FH\" rev-parse --git-path hooks 2>\u002Fdev\u002Fnull || echo .git\u002Fhooks)\"\n  case \"$_rel\" in \u002F*) HD=\"$_rel\" ;; *) HD=\"$(git -C \"$FH\" rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || echo \"$FH\")\u002F$_rel\" ;; esac\nfi\nfor h in pre-commit pre-push; do\n  if [ -x \"$HD\u002F$h\" ]; then echo \"✅ $h executable ($HD)\"\n  else echo \"❌ $h MISSING or not executable at $HD — that gate is not running on this node\"; fi\ndone\n\n# ② turn-0 load floor (Mode D only): the companion-load hook. Its registration lives in the\n#    GITIGNORED settings.local.json, so it does NOT survive a re-clone — hence a per-node check.\n#    Parse the JSON and match the SCRIPT NAME inside hooks.SessionStart — not a bare grep for the\n#    key. settings.json also carries a SessionStart entry (fh_node_check), so keying on the key\n#    alone passes on a machine where the companion load is absent; and a plain substring grep also\n#    hits commented-out lines, other hook events, and permission strings. Same predicate the script\n#    uses — two predicates reading one state differently is how a result leaks silently.\n#    Applicability gate FIRST, and keyed the same way the script keys it: a Mode D user is one with\n#    an exported BE_DIR, or a CLAUDE.local.md that MENTIONS a companion binding — NOT one who merely\n#    HAS a CLAUDE.local.md (that is Claude Code's standard local-override file; anyone may keep one),\n#    and NOT one who has a settings.local.json (gitignored, so a fresh clone lacks it — and a fresh\n#    clone with a full companion store is the exact case this must not silence). The vocabulary\n#    covers every backend the wizard documents (vault · gbrain · *-be repo), because an FH-flavoured\n#    regex would silence two first-class backends. It is a MENTION test, not semantic: \"I do not use\n#    a companion store\" also matches, and that over-match costs one informational line — the cheap\n#    direction, since the expensive direction is silence.\nif { [ -n \"${BE_DIR:-}\" ] && [ -d \"$BE_DIR\" ]; } \\\n   || { [ -f \"$FH\u002FCLAUDE.local.md\" ] && grep -qiE 'BE_DIR|companion[ -]store|컴패니언|vault|gbrain|obsidian' \"$FH\u002FCLAUDE.local.md\"; }; then\n  python3 - \"$FH\" \u003C\u003C'PY'\nimport json, os, sys\nhub = sys.argv[1]\nfor p in (os.path.join(hub, \".claude\", \"settings.local.json\"),\n          os.path.expanduser(\"~\u002F.claude\u002Fsettings.json\")):\n    try: groups = json.load(open(p)).get(\"hooks\", {}).get(\"SessionStart\", [])\n    except Exception: continue\n    if any(\"fh_session_load\" in h.get(\"command\", \"\")\n           for g in groups for h in g.get(\"hooks\", [])):\n        print(\"✅ companion-load SessionStart registered\"); sys.exit(0)\nprint(\"❌ companion-load SessionStart MISSING — freshness + env-delta do not fire at turn 0\")\nPY\nelse\n  echo \"N\u002FA  companion-load SessionStart (not a Mode D setup — no companion store configured)\"\nfi\n```\n\n> **Detail**: See `SKILL_detail.md §Bootstrap-Scope` — why the turn-0 reporter ships with the clone but its registration does not, and what the check item backstops — read when a user asks why the floor check exists or whether the turn-0 signal is guaranteed.\n\n**Emission model** (so the output is read correctly): a **missing floor is reported every session**\nuntil it is fixed — it is a persistent condition, not an event. A healthy machine is silent. So\nseeing this banner twice is not a bug, and seeing it once then never again means it was an *event*\nline (identity change \u002F infra delta), not a floor complaint.\n\n**Fix for either ❌**: re-run `\u002Finstall-wizard` (it registers both — `install-wizard\u002FSKILL_detail.md`\n§Mode-D-Companion-Setup step 3 and the 4-axis gate block), or apply the two commands it uses directly.\n\n> **Detail**: See `SKILL_detail.md §Node-Floor-Rationale` — the measured 2026-07-30 second-machine case behind making this a check item — read when defending or questioning the node floor check.\n\n---\n\n## Step 1. Existing Asset Inventory\n\n```bash\n# CLAUDE.md existence\n[ -f \"CLAUDE.md\" ] && echo \"CLAUDE.md exists: $(wc -l \u003C CLAUDE.md) lines\" || echo \"CLAUDE.md absent\"\n\n# Existing skills\nls .claude\u002Fskills\u002F 2>\u002Fdev\u002Fnull && echo \"Existing skills present\" || echo \"No existing skills\"\n\n# Existing hooks\n[ -f \".claude\u002Fsettings.json\" ] \\\n  && python3 -c \"import json; d=json.load(open('.claude\u002Fsettings.json')); print('hook events:', list(d.get('hooks',{}).keys()))\" \\\n  || echo \"settings.json absent\"\n\n# .claudeignore\n[ -f \".claudeignore\" ] && echo \".claudeignore exists\" || echo \".claudeignore absent\"\n\n# Existing audit\u002Flog files\nfind . -maxdepth 3 -name \"*audit*\" -o -name \"*weekly*\" 2>\u002Fdev\u002Fnull \\\n  | grep -v \"node_modules\\|\\.git\" | head -5\n```\n\n## Step 2. Conflict Diagnosis (5 Areas)\n\n### 2-1. CLAUDE.md Rule Conflicts\n\n```bash\ngrep -i -n \"pr\\|pull request\\|audit\\|review\\|weekly\" CLAUDE.md 2>\u002Fdev\u002Fnull | head -15\n```\n\nJudgment:\n- Existing PR convention present → possible priority conflict with `harness-pr-reviewer` ⚠️\n- Existing weekly audit present → possible format conflict with `harvest-loop` ⚠️\n\n### 2-2. Skill Trigger Conflicts\n\n```bash\nfind .claude\u002Fskills -name \"SKILL.md\" 2>\u002Fdev\u002Fnull | while read f; do\n  name=$(grep \"^name:\" \"$f\" | head -1)\n  desc=$(grep \"^description:\" \"$f\" | head -1)\n  echo \"--- $name\"\n  echo \"$desc\"\ndone\n```\n\nIf same trigger vocabulary exists in a meta-harness skill → unclear which skill will activate ⚠️\n\n### 2-3. Hook Event Conflicts\n\n```bash\n[ -f \".claude\u002Fsettings.json\" ] && python3 -c \"\nimport json\nd = json.load(open('.claude\u002Fsettings.json'))\nfor event, hooks in d.get('hooks', {}).items():\n    print(f'{event}: {len(hooks)} hook(s)')\n\" || echo \"No settings found\"\n```\n\nMultiple hooks on same event → execution order unclear ⚠️\n\n### 2-4. .claudeignore Scope Conflicts\n\n```bash\ncat .claudeignore 2>\u002Fdev\u002Fnull | grep -v \"^#\" | grep -v \"^$\"\n```\n\nIf .claudeignore blocks files that meta-harness skills read for diagnosis (CATALOG.md, tracks\u002F, CLAUDE.md) → inaccurate skill results ⚠️\n\n### 2-5. Audit\u002FLog Practice Conflicts\n\n```bash\nfind . -maxdepth 3 \\( -name \"*audit*\" -o -name \"*weekly*\" -o -name \"*retrospect*\" \\) \\\n  -not -path \".\u002F.git\u002F*\" -not -path \".\u002Fnode_modules\u002F*\" | head -10\n```\n\nIf existing retrospective\u002Faudit files exist → `harvest-loop` will create files in separate format → dual management ⚠️\n\n### 2-6. MCP HTTP Transport Security Check\n\n```bash\n# Check MCP server transport settings\ngrep -r \"\\\"transport\\\"\" .mcp.json 2>\u002Fdev\u002Fnull | grep -i \"http\\|sse\"\n\n# List MCP servers using HTTP transport.\n# `except: pass` made this exit 0 on ANY failure, so the `|| echo` fallback was dead code and a\n# corrupt .mcp.json rendered identically to \"no risky servers\" — a silent pass on a security check.\n# Four states, four distinct exits: absent(0) · unparseable(2) · risky(1) · all-stdio(0).\npython3 - \u003C\u003C'PY'\nimport json, os, sys\np = '.mcp.json'\nif not os.path.exists(p):\n    print('  MCP-CHECK: NOT-APPLICABLE — .mcp.json absent (no MCP servers configured)')\n    sys.exit(0)\ntry:\n    d = json.load(open(p))\nexcept Exception as e:\n    print(f'  MCP-CHECK: UNPARSEABLE — {p}: {e}')\n    print('  Transport risk UNMEASURED — this is NOT a pass. Fix the file and re-run.')\n    sys.exit(2)\nservers = (d.get('mcpServers') or {})\nrisky = [(n, (c or {}).get('transport', 'stdio')) for n, c in servers.items()\n         if (c or {}).get('transport', 'stdio') != 'stdio']\nif risky:\n    for n, t in risky:\n        print(f'  WARNING  {n}: transport={t} — verify localhost binding + auth')\n    sys.exit(1)\nprint(f'  MCP-CHECK: PASS — {len(servers)} server(s), all stdio')\nPY\n```\n\n> **Read the exit code, not just the text.** `2` (unparseable) is an *unmeasured* check and must be\n> reported 🟧 in Step 3, never folded into 🟩. Known-pair calibration for this block: a deliberately\n> truncated `.mcp.json` must yield `2`, and a config with one `transport: http` server must yield `1`.\n> If both print nothing, the check is dead.\n\n> **Detail**: See `SKILL_detail.md §MCP-Transport-Patterns` — the HTTP\u002FSSE port-exposure pattern and the transport risk table — read when explaining why a non-stdio server is flagged.\n\n**Recommendation**: HTTP transport MCP servers must confirm localhost binding + access control.\n\n## Step 3. Diagnosis Report\n\n```\n## install-doctor Diagnosis Results\n\n### 🟥 Immediate Action Required\n- [empty if none]\n\n### 🟧 Recommended to Check After Install\n- [empty if none]\n\n### 🟩 No Conflicts\n- [safe confirmed items]\n\n---\nDiagnosis scope: CLAUDE.md rules · Skill triggers · Hook events · .claudeignore · Audit practices\n```\n\n**0 conflicts**: \"Plugin install is safe in the current environment.\"\n\n## Step 4. Layer A Fallback Guidance\n\nThe meta-harness CLAUDE.md's `## Session Start` Layer A auto-read (CATALOG.md · tracks\u002F · MEMORY.md) only works in the **meta-harness cwd**.\n\nIf you installed only the plugin in a different project cwd:\n- Layer A auto-read = silent skip\n- Alternative: Directly add `## Session Start` section to that project's CLAUDE.md, or manually read CATALOG.md\n\n## Activation Triggers\n\n| Phrasing pattern | Examples |\n|---|---|\n| **Pre-install check** | \"Can I add this plugin?\", \"Will it conflict with my existing setup?\" |\n| **Post-install anomaly** | \"Something seems off after install\", \"Things seem different than before\" |\n| **Explicit diagnosis request** | \"Check for install conflicts\", \"Run environment check\", \"Any overlaps?\" |\n\n## Done When\n\n```\nSteps 0~4 completed                                              (mandatory-pass)\n+ Step 0 node-floor results recorded per check, each as one of\n  PASS \u002F FAIL \u002F UNMEASURED — never blank                          (measured: 2 floors —\n                                                                   hook exec-bit, SessionStart\n                                                                   registration)\n+ Step 2-6 MCP transport check exited 0\u002F1\u002F2 and the exit code is\n  carried into the Step 3 tier (2 = UNMEASURED → 🟧, never 🟩)     (mandatory-pass)\n+ Step 3 diagnosis report emitted with a tier per area\n  (🟥 immediate action \u002F 🟧 check recommended \u002F 🟩 no conflicts)   (mandatory-pass)\n+ Verdict is derived from the recorded per-area tiers: 🟩 only if\n  every area is 🟩 AND none is UNMEASURED                          (measured: count of\n                                                                   non-🟩 areas == 0)\n```\n\n> **Detail**: See `SKILL_detail.md §Done-When-Rationale` — why Done When covers Steps 0~4 and why the verdict is counted, not stated — read when editing or defending the Done When condition.\n\n## Simplification Guard\n\n- 0 existing assets (new environment) → output \"New environment. No conflicts.\" and exit immediately in Step 1\n- Scope separation from harness-doctor (harness structure) · context-doctor (token efficiency): this skill = install-time conflict diagnosis only\n- Call `\u002Fharness-doctor` for structural checks needed after plugin install\n",{"name":5,"model":23,"category":24,"description":7,"allowed-tools":25,"user-invocable":30},"sonnet","Composability Gate",[26,27,28,29],"Read","Bash","Glob","Grep",true,"main","899495d17a23f30ca149d4ac29a137a8fa7864e3","plugins\u002Ffh-meta\u002Fskills\u002Finstall-doctor",1,"https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness","https:\u002F\u002Fchrono-meta.github.io\u002Fforge-harness\u002F","https:\u002F\u002Fgithub.com\u002Fchrono-meta","2026-11-15 02:42:21",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":30},[41,44,47],{"tool":42,"command":43},"npx","npx skills add chrono-meta\u002Fforge-harness --skill install-doctor",{"tool":45,"command":46},"bunx","bunx skills add chrono-meta\u002Fforge-harness --skill install-doctor",{"tool":48,"command":49},"pnpm","pnpm dlx skills add chrono-meta\u002Fforge-harness --skill install-doctor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fplugins\u002Ffh-meta\u002Fskills\u002Finstall-doctor\u002FSKILL.md",[52],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"SKILL_detail.md","REFERENCE","参考文档",2418,"https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fplugins\u002Ffh-meta\u002Fskills\u002Finstall-doctor\u002FSKILL_detail.md",[59,66,73,80,86,93],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M74ZPW36H1HVE0R61QZ5ZND0","todo-orchestrator","TODO CLI 프로젝트의 기능 추가·버그 수정·리팩터링·테스트 보강을 개발자와 QA 에이전트로 조율한다. todo 앱 관련 코드 작업 요청에 사용한다. 다시 실행, 재실행, 수정, 보완, 이전 결과 개선, QA만 다시 같은 후속 요청에도 사용한다. 단순 질문에는 사용하지 않는다.","https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fgenerated_harness\u002FP4_r2\u002F.claude\u002Fskills\u002Ftodo-orchestrator\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M74ZPS4EP2349B346R5JQEYE","todo-dev","TODO CLI(todo\u002Fcli.py)에 명령을 추가하거나 버그를 고치고 테스트를 작성하는 방법. todo 앱 코드 수정·기능 추가·테스트 작성·리팩터링 작업에 사용한다. 수정, 보완, 다시 구현 요청에도 사용한다.","https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fgenerated_harness\u002FP4_r2\u002F.claude\u002Fskills\u002Ftodo-dev\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M74ZPPX2743J6FPT8N2ZT0D5","todo-dev-team","TODO CLI(todo\u002Fcli.py) 개발 작업을 개발자·테스터·리뷰어 팀으로 진행하는 오케스트레이터. 명령 추가, 버그 수정, 테스트 작성, 리팩터링, 커밋·푸시 요청에 사용한다. 다시 실행, 재실행, 수정, 보완, 리뷰 반영, 테스트만 다시 같은 후속 요청에도 사용한다. 단순 질문에는 쓰지 않는다.","https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fgenerated_harness\u002FP3_r2\u002F.claude\u002Fskills\u002Ftodo-dev-team\u002FSKILL.md",[],[],{"skillNo":81,"name":68,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M74ZPKWST7DF24H0EN9RCEME","TODO CLI 개발 작업(명령·기능 추가, 버그 수정, 테스트 작성, 리뷰, 커밋·push)을 개발자·테스터·리뷰어 에이전트 팀으로 진행하는 오케스트레이터. todo CLI, todo.json, todo\u002Fcli.py 관련 구현·수정·테스트 요청에 사용한다. 재실행, 수정, 보완, 이전 결과 개선, 테스트만 다시, 리뷰만 다시 요청에도 사용한다. 단순 질문에는 쓰지 않는다.","https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fgenerated_harness\u002FP3_r1\u002F.claude\u002Fskills\u002Ftodo-dev\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M74ZPHBP62X3KKSV2RVKSBKT","weekly-summary-write","정리된 회의록으로 주간 회의 요약 문서를 작성하는 형식과 문체 규칙. 주간 요약 작성, 요약 문서 수정·보완, 검토 의견 반영 시 사용한다.","https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fgenerated_harness\u002FP2_r2\u002F.claude\u002Fskills\u002Fweekly-summary-write\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M74ZPECSXY4C0QNHAD96Z88H","weekly-meeting-summary","주간 회의록을 정리하고 요약 문서를 만드는 전체 작업을 조율하는 오케스트레이터. 회의록 요약, 주간 회의 정리, 주간 보고용 요약 요청 시 사용한다. 다시 실행, 재실행, 요약 수정·보완, 이전 결과를 바탕으로 한 개선, 정리만\u002F검토만 다시 같은 후속 요청에도 사용한다.","https:\u002F\u002Fgithub.com\u002Fchrono-meta\u002Fforge-harness\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fgenerated_harness\u002FP2_r2\u002F.claude\u002Fskills\u002Fweekly-meeting-summary\u002FSKILL.md",[],[]]