AGENT SKILL

agent-distribution-troubleshoot

暂无简介

License 许可
MIT
最近更新
2026-08-15
Stars
★ 0
Forks
0

02 资源文件 3

03 SKILL.md 正文

agent-distribution-troubleshoot

Use this skill to diagnose Agent Distribution execution, daemon, lifecycle, readIndex, timeout, and log problems.

Workflow

  1. Identify the command, project path, mode, timeout, and exact code value.
  2. Use agent-distribution status, daemon commands, readIndex output, and logs to locate the failing boundary.
  3. Use agent-distribution codes describe <CODE> to read the static meaning of machine-readable codes.
  4. If an operation-specific result is involved, run agent-distribution ops describe <opName> before interpreting its contract.
  5. Preserve the safe request path when recovering from a failed mutation: read -> describe -> build request -> validate -> plan -> call -> verify.
  6. Verify the final state after any recovery step.

Guardrails

  • Do not copy operation catalogs, argument schemas, result schemas, or long command reference text into diagnostic output.
  • Do not use fixed sleep to wait out compile, reload, or daemon readiness. Use lifecycle-aware Agent Distribution commands and bounded timeouts.
  • Do not treat IPC_TIMEOUT as proof that no operation ran. Check returned payload.opResults[].applied, changed, and touched, then inspect logs if needed.
  • Use agent-distribution codes describe <CODE> for machine-readable code meaning; do not branch on free-form messages.
  • If a failed mutation returned readPostcondition, satisfy it before trusting affected reads.
  • Do not include --allowDangerous in normal troubleshooting workflows.
  • Keep output bounded: likely boundary, evidence, next command, and whether retry is safe.

References

  • Read references/troubleshooting-workflow.md for boundary-specific diagnostic order and retry rules.

04 同仓库更多 Skills