Azhou Doctor
🦊 阿舟 · Azhou Doctor
🩺 先诊断,不越权修复。
Run the repository Foundation CLI and keep diagnosis read-only. Never turn a doctor request into setup, repair, cleanup, cache removal, or configuration edits.
Brand protocol
Emit this exact display event once, at the start of every run, with the resolved checkout scope:
🦊 阿舟 · Azhou Doctor 启动|mode=doctor|scope=<checkout>
Use ✅ 验证通过 only after the diagnostic command completes and its results are read back. Use ❌ 验证失败 for a command or evidence failure and 🔒 阿舟暂停这一项 when an explicit checkout is missing. Emoji is display-only; keep JSON keys, schema values, digests, paths, commands, test names, and raw evidence emoji-free. A host without Unicode may remove the leading emoji while preserving the fixed text, | separators, fields, and values.
Workflow
- Resolve the checkout from a user-supplied path, or from the current Git root only when both
scripts/azhou_hub.py and docs/skill-standard.md exist. Do not scan unrelated directories or infer a harness home.
- Build
python scripts/azhou_hub.py doctor --json and add only explicitly grounded options:
--target <skill-root> for an exact install root.
--skill <canonical-name> for each requested package.
--treehouse-root <pool-root> for the explicit Treehouse boundary.
--verify only when the user requests the complete repository gate or the claim requires it.
- Preserve the CLI distinction between
healthy, degraded, and failed diagnostics. A warning is not a deterministic failure.
- Report findings and recommended next actions without applying them. End with a receipt containing
schema, status, mode, scope, command, changes, verification, holds, and next_action. changes is always empty.
If no valid checkout is available, stop with status=hold and request one explicit checkout path. For requirements and supported checks, read setup and compatibility.
1---2name: azhou-doctor3description: Diagnose Azhou AI Hub checkout, package, explicit install-target, or Treehouse lease health without mutation. Use for health checks, broken installs, environment diagnostics, or support verification.4---56# Azhou Doctor78**🦊 阿舟 · Azhou Doctor**910> 🩺 先诊断,不越权修复。1112Run the repository Foundation CLI and keep diagnosis read-only. Never turn a doctor request into setup, repair, cleanup, cache removal, or configuration edits.1314## Brand protocol1516Emit this exact display event once, at the start of every run, with the resolved checkout scope:1718```text19🦊 阿舟 · Azhou Doctor 启动|mode=doctor|scope=<checkout>20```2122Use `✅ 验证通过` only after the diagnostic command completes and its results are read back. Use `❌ 验证失败` for a command or evidence failure and `🔒 阿舟暂停这一项` when an explicit checkout is missing. Emoji is display-only; keep JSON keys, schema values, digests, paths, commands, test names, and raw evidence emoji-free. A host without Unicode may remove the leading emoji while preserving the fixed text, `|` separators, fields, and values.2324## Workflow25261. Resolve the checkout from a user-supplied path, or from the current Git root only when both `scripts/azhou_hub.py` and `docs/skill-standard.md` exist. Do not scan unrelated directories or infer a harness home.272. Build `python scripts/azhou_hub.py doctor --json` and add only explicitly grounded options:28 - `--target <skill-root>` for an exact install root.29 - `--skill <canonical-name>` for each requested package.30 - `--treehouse-root <pool-root>` for the explicit Treehouse boundary.31 - `--verify` only when the user requests the complete repository gate or the claim requires it.323. Preserve the CLI distinction between `healthy`, `degraded`, and failed diagnostics. A warning is not a deterministic failure.334. Report findings and recommended next actions without applying them. End with a receipt containing `schema`, `status`, `mode`, `scope`, `command`, `changes`, `verification`, `holds`, and `next_action`. `changes` is always empty.3435If no valid checkout is available, stop with `status=hold` and request one explicit checkout path. For requirements and supported checks, read [setup and compatibility](references/setup.md).