Skip to content

HigorAlves/orc / codex/orc/content/skills/incident

incident

Verified

Live incident response — intake a Sentry issue, stack trace, or symptom; gate mitigate-first vs root-cause-first; keep a UTC timeline

references/PHASE-4-ROOT-CAUSE.md

View on GitHub
<!-- orc-incident/P4 -->
_Loaded on demand (orc-phases protocol). Do not run this phase from memory — this file is the phase._

# Phase 4 — Root-cause path

1. Dispatch `orc-debug-investigator` via `Task` with the inputs below.
2. Save the returned diagnosis to `${ORC_STATE_DIR}/<branch>/files/incident/diagnosis.md`.
3. Append one timeline row: root cause plus `file:line`.
4. Bump the checkpoint to phase=4.
5. Print `**⛔ Gate — diagnosis**` with one line on the root cause.
6. Ask via `the available user-question tool (or ask in chat)` with the three options below.
7. If fixing now, follow `$orc-debug` Phases 4–6 (sequence below).
8. Append test-written, fix-applied and suite-green rows as each happens.

Inputs for the investigator:

- Everything in `${ORC_STATE_DIR}/<branch>/files/incident/evidence.md`: Sentry event JSON, stack trace, blast-radius facts.
- The suspect-deploy correlation from P2 (the `git log` window).
- The current branch and recent commits (`git log -10 --oneline`).

The diagnosis covers: root cause, evidence, recommended fix surface, recommended regression test.

`the available user-question tool (or ask in chat)` options:

- "Diagnosis looks right — proceed to fix via $orc-debug discipline (regression test first, then fix)"
- "Need more investigation — re-dispatch with this hint: …"
- "Park it — incident is mitigated; fix ships later via $orc-debug or $orc-flow"

Fix sequence: TDD red regression test, then `orc-code-fixer`, then `orc-verification-before-completion`.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall