ca-doctor
Verify the active host install, package, command ownership, enforcement, and harmless live-fire probe. Read-only.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-15
- Stars
- ★ 153
- Forks
- 9
01 前言 Front Matter
- name
- ca-doctor
- description
- Verify the active host install, package, command ownership, enforcement, and harmless live-fire probe. Read-only.
- argument-hint
- (none)
03 SKILL.md 正文
$ca-doctor — install health
Silent dormancy is the worst failure shape this plugin has: the gates look installed but never fire. This command proves the active host is healthy and reports every non-OK finding with an exact remediation.
Flow
The mechanical report also invokes the installation-pinned artifact client's capabilities
operation. When the repository contains an HTML authority, it performs a bounded catalog read to
surface invalid or ambiguous artifacts. It MUST NOT load the artifact schema, search PATH, use a
repository binary, mutate an artifact, or silently fall back to Markdown.
Its executing-adapter identity comes from the already admitted plugin root. The observed adapter
manifest version is separate from the native helper manifest's declared version and the native
executable digest verified by the on-demand capability probe. A newer cached sibling is not the
executing version. Missing or malformed identity data is reported as unknown; it never grants
package trust.
CAPABILITY_MISSINGor another installation identity failure is unhealthy: report “repair or reinstall the pinned artifact payload; HTML work is blocked.” Unrelated legacy Markdown remains usable.- An invalid HTML artifact is unhealthy: preserve the bounded engine code and direct the user to
inspect
repair-previewbefore any explicit reviewed repair.
- Resolve the plugin root from this loaded skill path, then run its
hooks/doctor.pywith Python 3 and present the report verbatim. Do not try an empty plugin-root environment variable first. - In an arbiter-enabled repo, attempt
git add --all --dry-runvia the shell tool.[H-03]means hooks are firing; execution means CRITICAL: gates dormant.
Remediation ladder
- Restart Codex so hooks register at session start.
- Remove and re-add
ca-codex@codearbiter, then approve the changed hook set in/hooks. - If dormancy was intended,
$ca-initopts the repository in.
When NOT to use
- Scaffold state only →
$ca-init --check. - Project progress, not install health →
$ca-status.
Hard gate
Read-only. MUST NOT create markers, stage files, grant trust, weaken a block, or retry the live-fire probe with different spelling. MUST surface a failed probe as CRITICAL, never as a footnote.
For an arbiter-enabled repository, the mechanical report treats the Git backstop as healthy only
after exact managed-shim and live-enforcer validation, plus a harmless selected-Git
git hook run pre-push probe with empty input. It never executes a foreign hook.
04 同仓库更多 Skills
myskill
A sample skill for fixtures — does one gated thing well.
dup
Second of two same-named skills, used to prove within-collection dedup still works.
dup
First of two same-named skills, used to prove within-collection dedup still works.
debug
A fixture skill named debug, colliding with the debug command/agent.
writing-plans
Turn the selected specification into a maintained implementation plan with clear outcomes, useful tasks, dependencies, and verification steps. Drafting uses the existing authorization and does not require artifact approval codes, reviewer receipts, or a frozen implementation script.
using-git-worktrees
OPTIONAL per-task isolation for autonomous parallel work. Routed to only on explicit opt-in by subagent-driven-development or dispatching-parallel-agents, so parallel units mutate files without colliding. Stands up one worktree per unit, works it in isolation, then integrates each unit back onto the caller's working branch for the caller's single commit-gate + finishing-a-development-branch exit. Never on the default path; it does not bypass a gate or finish per unit.