Diagnose a Central Agentic Ops deployment failure and leave bounded, reproducible evidence for the next action.
Resources
1Install
npx skillscat add githubnext/gh-aw-cao/debug-cao Install via the SkillsCat registry.
SKILL.md
Debug Central Agentic Ops
Procedure
- Start read-only. Preserve the failed attempt before rerunning, updating,
recompiling, rotating credentials, changing policy, or enabling live mode. - Record the control repository, run and attempt, event, ref, head SHA,
GITHUB_WORKFLOW_SHA, failing job and step, UTC times, runner image, target,
effective campaign/worker/mode, and review destination. - Record immutable component identities: campaign
resolvedCommit,.github/workflows/cao.jsonversion andgh-aw-version,gh aw, GitHub CLI,
Node, actions, runtime, and target revisions. - Read the run summary and annotations, then the smallest log excerpt containing
the first causal error and its preceding context. - Use the failure routes to inspect the narrowest
boundary at the failing workflow commit. - Classify exactly one primary boundary: installation/version drift,
policy/admission, authentication/authorization, Copilot inference, gh-aw
compile/runtime, campaign logic, Activity data, dashboard build/deploy, or
GitHub Actions/platform. - State evidence excluding adjacent categories. Form one falsifiable hypothesis:
at<step>,<component@revision>fails because<condition>;<observation>would confirm or reject it. - Reproduce only when it stays bounded and review-safe, holding workflow,
policy, compiler, target, and inputs constant and changing one boundary.
For a local worker loop, follow Local Worker Debugging:
usegh aw run WORKER --repo CONTROL --ref REFwith explicittarget_repo, matchingsafe_output_repo, andsafe_output_mode=debug
through--raw-field. Omit dispatcher correlation inputs. Use the human
operator's authentication with control-repository write access, then inspect
the run usinggh run. Never launch debug from an orchestrator or bot,
change policy todebug, or claim that staged proposals were executed.
Repository-memory staging depends on gh-aw support. - Search for an exact existing issue before creating one. Use the
diagnostic report; include immutable links,
redactions, the next bounded observation, and an acceptance condition. - Report incomplete diagnosis rather than guessing when required evidence is
inaccessible.
Guardrails
- Keep CAO authority separate from gh-aw execution capability. Credentials,
compiled permissions, and successful API calls do not widen policy. - Never print, copy, attach, or request secret values, private keys,
authorization headers, signed URLs, raw prompts, or private target data. - If the report concerns a vulnerability or exposed credential, stop public
issue creation and use the repository security policy. - Inspect
.mdworkflow sources at the failing revision. Never edit generated.lock.ymlfiles. - Do not infer that a dashboard symptom originated in the dashboard; prove the
Activity snapshot and handoff first.
Targeted references
- Failure routes: symptom-to-boundary dispatch,
source locations, and diagnostics. - Diagnostic report: issue fields and
completion checklist. - Monitor, Recover, and Maintain: operational
recovery. - Authentication: credential profiles.
- Execution and Safety: authority and
worker boundaries.