Skip to content
cccskills
FreePublished on GitHub

pharos-ci-failure-triage

Diagnose and fix failed Pharos GitHub Actions, adaptive PR checks, Cloudflare deploys, Pages releases, or scheduled automation. Use when a gate/run failed or the user asks to retrigger and iterate until clear.

The English summary is being prepared. Showing the original description.

See how to install

Files included (3)

  • SKILL.md4.3 KB
  • agents/openai.yaml272 B
  • references/subagents.md2.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Pharos CI Failure Triage

Trigger And Exclusions

Use for failed gates/runs or authorized repair loops, not routine readiness/trends. Local success never clears an external prerequisite.

Classify The Operation

Capture run ID/URL, event, head SHA/currentness, every failed leaf job/step, exact command and first actionable error, and selected/skipped reusable jobs:

gh run view <run-id> --repo TokenBrice/pharos-watch --json status,conclusion,event,headSha,workflowName,url,jobs
gh run view <run-id> --repo TokenBrice/pharos-watch --log-failed

Classify each leaf as generated-artifact, docs, test, Pages build/marker, Worker migration/deploy/activation, infrastructure, post-deploy runtime, scheduled automation, or external transient. A skipped child may be expected; interpret the outer aggregate/deploy classifier, never stop at the first red step.

Mandatory Core

Read CI Pipeline, Failure Policy, and the failing workflow/source. Route each path; locate its narrow reproduction in package.json, Testing commands, and script validation index, not whole-doc reads.

Start with narrow diagnosis, not broad release gates, retries, or timeout changes. Fix all causal failed-leaf defects in one revision. Generated output follows its registry owner; docs follow source truth; test expectations change only for intended behavior. Provider/infrastructure failure does not justify unrelated churn.

Branch Reads And Actions

  • Generated artifact: read failure playbook and the reported registry/generator owner.
  • Docs/test: read routed owner anchors and the failed check's source; preserve intended behavior.
  • Pages/Worker/deployment: read CI Deploy Sequence and the classifier-selected surface's acceptance requirements. Deployment proof and runtime health are separate.
  • External prerequisite/transient: collect URL, status, non-secret headers and consumed response body. Verify current dependency-advisory and provider-access blockers against their owning testing, coverage and deployment docs; a local green repro cannot clear them.
  • Scheduled automation: use that run/branch/issue and its owner docs for urgency/freshness, not copied cadence tables.
  • Manual dispatch: verify workflow_dispatch support. pages-release is call-only; dispatch its owning deploy/rebuild workflow and watch the exact new run.
  • Authorized delegation: use reviewer prompts; parent owns edits, commits, pushes, retriggers and judgment.
  • CI trends only: npm run ci:census measures trends/recovery cohorts, never reproduction or readiness; aggregate census outcomes do not diagnose failed leaves.

Checks Owned By The Verifier

The assigned verifier reruns focused reproductions after causal edits; these are authoring feedback, not readiness proof. Use npm run check:pr under Pre-push readiness before an authorized replacement push; hosted CI is the readiness authority and local receipts are optional diagnostics. Push once through the protected-main PR path, never directly to main; release policy owns authorization. check:release is only a requested production rehearsal.

Use npm run check:pr -- --explain-receipt for read-only receipt diagnosis: local Git state only, no fetch/check execution/receipt rewrite/staging/push authorization. Exit success only means diagnosis completed, even for missing/failed/stale evidence; remote-base freshness remains unknown. It never replaces readiness.

Completion Evidence

Report every failed leaf/root cause, changed files, focused verifier results, retrigger/run/deploy proof, separate operational evidence, and unresolved external risks. Continue until clear when requested; stop only for a proven external blocker or missing authority.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Review the retained annotation candidate queue and curate per-coin editorial history. Use weekly during active event periods, monthly otherwise, or on queue-health warnings; this does not restore the retired live chart overlay.

The English summary is being prepared. Showing the original description.

TokenBrice/pharos-watch24Updated Oct 23, 2026

Generate a weekly changelog entry from git history, filtering operational noise and producing editorial summary, field notes, statistics, and a bounded commit manifest. Stops for review unless commit was explicitly requested.

The English summary is being prepared. Showing the original description.

TokenBrice/pharos-watch24Updated Oct 23, 2026

Research and populate tracked stablecoin compliance sidecars for the U.S. GENIUS Act, EU MiCA, or both. Use when adding or auditing authorization, applicability, pathway, or disclosure evidence.

The English summary is being prepared. Showing the original description.

TokenBrice/pharos-watch24Updated Oct 23, 2026

Use when adding, reviewing, squashing, deploying, or rolling back Pharos D1 migrations or schema cleanup.

The English summary is being prepared. Showing the original description.

TokenBrice/pharos-watch24Updated Oct 23, 2026

Drain the Pharos Dependency Map coverage-audit queues into evidence-refreshed edges, reviewed target dispositions, or documented deferrals. Use monthly after weekly production dependency audits, after dependency coverage drops, or when reviewing adapter gaps, material unlinked slices, symbol leads, duplicate/split groups, or unverifiable published edges.

The English summary is being prepared. Showing the original description.

TokenBrice/pharos-watch24Updated Oct 23, 2026

Update Pharos funding donations by reconciling inbound transfers, rejecting wallet self-activity and spam, pricing receipt-time value, and appending user-approved rows.

The English summary is being prepared. Showing the original description.

TokenBrice/pharos-watch24Updated Oct 23, 2026

See all skills by TokenBrice

Report a problem with this skill