hca-operations
GitHubHCA用于将单一目标转化为由隔离代理组成的并发团队,提供任务分解、并行执行、Kanban追踪、崩溃恢复及人工审查功能。适用于需持久化跟踪、高可靠性及独立验证的复杂并行工作流,不适用于简单单次查询。
Trigger Scenarios
Install
npx skills add r0b0tlab/hermes-concurrent-agents --skill hca-operations -g -y
SKILL.md
Frontmatter
{
"name": "hca-operations",
"description": "Use HCA to turn one desired outcome into a supervised, isolated, reviewed concurrent Hermes team run. Use when you need durable parallel work tracked in Kanban, capacity-aware admission, crash recovery, and a single evidence-backed result — not a one-off tool call."
}
HCA operations
HCA (Hermes Concurrent Agents) turns one goal into a supervised concurrent team of isolated Hermes workers and returns one evidence-backed result. It does not provision models, route providers, or duplicate Hermes Kanban — it owns team composition, safe concurrency, isolation, review, recovery, and result collection on top of your existing Hermes profiles.
When to use it
- The work decomposes into independent tasks that benefit from parallelism.
- You want durable, Kanban-tracked execution that survives crashes.
- You need an independent reviewer before code/publish/destructive changes.
Do not reach for it for a single quick answer — a normal tool call is cheaper. Concurrency is an optimization, not a quota to fill.
The six team tools
hca_team_run(goal, project?, team?, concurrency?, idempotency_key?)— submit a durable mission. Returns arun_idhandle. Always pass a stableidempotency_keyso a retry returns the same run instead of a duplicate.hca_team_status(run_id?)— what the team is doing, which agents are active, what is blocked, whether input is required, where the outputs are. Omitrun_idto list recent runs.hca_team_collect(run_id)— the deterministic result manifest: outcome, evidence, artifacts, unresolved blockers, cleanup. It never reports cancelled or blocked work as success.hca_team_respond(run_id, question_id, response)— answer a structuredneeds_inputquestion. Only the matching blocked branch resumes.hca_team_recover(run_id, task_id, idempotency_key, reassign_profile?, authorization)— approval-gated exact supervisor replacement. The authorization must equal the run id; the idempotency key prevents duplicate replacement; reassignment is limited to an existing fleet slot. It preserves the worktree and consumesmax_supervisor_replacements, not task retries.hca_team_stop(run_id)— cancel a run (approval-gated). Marksstopping → cancelled, preserves partial work, and never becomes a completion.
Reading results
Every result carries a semantic code: 0 ok, 2 invalid input, 3
preflight/capability failure, 4 blocked/needs-input, 5 runtime failure —
plus a remediation string telling you what to do next. Branch on state
and code, not prose.
state is finite: queued, planning, running, needs_input, review,
rework, stopping, completed, blocked, failed, cancelled. Only the
last four are terminal, and only completed means success (it requires
accepted verification).
Avoiding duplicate dispatchers
An HCA-owned board must have exactly one dispatcher. If a Hermes gateway is
running with kanban.dispatch_in_gateway: true on that board, HCA fails
closed rather than racing it. Resolution: set dispatch_in_gateway: false in
the participating profile(s) and restart the gateway, or stop the gateway.
Check with hca doctor --json (compat.dispatcher_ownership).
Inspecting capacity
hca doctor --json reports the selected device adapter, the compatibility
lane, and admission signals. HCA admits only safe, useful concurrency for the
current device/endpoint; unknown telemetry is treated conservatively, never as
infinite capacity.
Disk percentage pressure is advisory by default. The hard gate is
disk_min_free_gb, reopened at disk_resume_free_gb; max_disk_mb must fit
above that reserve. Doctor separates endpoint reachability, authentication,
capacity pressure, and two-sample probable no-progress. No-progress is advisory
and never authorizes endpoint restart.
Targeted status includes high-level timing/deadline, active agents, exact
worker identifiers, replacement usage, and admission-wait reason counts.
hca inspect expects a worker task/attempt/session identifier; use
hca run-status or hca collect with a high-level run id.
Version History
- fa17feb Current 2026-07-24 12:12


