Skip to content
cccskills
FreePublished on GitHub

e2e-red-triage

Triage a named unexpected end-to-end test failure after environment preflight checks have passed. Separate product defects from environment or test-harness faults, make unexplained empty results diagnosable, and carry environment findings into a durable preflight check.

OriginalShow the original description

Classify one unexpected end-to-end test failure as a product defect or an environment fault needing a new preflight check. MANUAL-ONLY: load when the suite runner names a specific failure. NEVER auto-load from context.

sno-ai/sno-station-skills884 stars(GitHub 884 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Investigating a named E2E test failure
  • Separating product bugs from environment faults
  • Adding a preflight check after diagnosis

Files included (2)

  • SKILL.md5.6 KB
  • scripts/selftest/run-selftest.sh1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

e2e-red-triage — for the reds the preflight could not have predicted

Terms are as in e2e-environment-preflight: a row is one acceptance check in the test plan, a red is a row that failed or gave no answer, a journey is one end-to-end scenario made of rows, the suite is all the rows of a journey, and preflight is the set of environment checks that must be green before the first row runs.

Never auto-triggered, and normally never needed. One caller — the agent running the suite — and one moment:

The e2e-environment-preflight checks were all green, and a row went red anyway — or produced a null, an empty, a zero, or a silence nobody can yet explain.

If preflight was not green, the suite should not have started. If a red is an ordinary product failure with a clear cause, fix it and move on; this is not the ceremony for an ordinary bug. This is the residual after the gate has done its work — a small fraction, and one that shrinks every time move 3 is honoured.

Why this needs its own protocol

The preflight handles the failures somebody could enumerate in advance. What is left is the class where the failure produced nothing rather than an error, and the nothing appeared far from its cause. One null can mean five different things across five runs of the same suite; "no results" can mean the query matched nothing or the search never ran.

The hours such a red costs are spent attributing an absence — arguing about what a missing thing meant, from evidence that never contained the answer. Guessing feels faster than instrumenting and is not: a wrong guess costs a full suite run to disprove, and a plausible wrong guess is worse than an implausible one because it stops the search.

The deeper version, and the one worth carrying: the failure is usually a two-part outcome collapsed into one verdict. An HTTP 202 "accepted" means the request was queued, not that the work was done, and both caller and monitor read it as success until someone looks. A cleanly stopped service records an exit code that looks like a crash. In each case the evidence was there, in plain words, and nobody split it.

So the first question is never "why did it fail" — it is "what are the two halves of this result, and which half am I looking at?"

The three moves, in order

These are defaults; a project may choose otherwise and record it in its local binding.

1. Do not guess. Enter diagnosis.

Stop proposing causes. Write down first the two things this result could be a collapse of: succeeded versus reached, stopped versus crashed, empty versus unreadable, absent versus never-asked, zero-matches versus source-missing.

2. The first change makes the absence name itself. Not the product.

The first commit after this kind of red does not touch product behaviour. It changes whatever produced the empty so that it says why it is empty — in the artifact, as a field, not in a log line, which is read only by someone who already suspects the answer.

result: null
→  result: {value: null, because: "<the reason, as a code>"}

Then re-run. Only now diagnose. This inverts the usual instinct and that is the point: instrumenting first looks slower for one iteration and is faster from the second onward, because every future occurrence of this absence becomes a single read instead of an investigation.

Two shapes to watch for here, because both report health while broken:

  • A check that passes when its input source is missing. A count over a path that does not exist returns zero — the same zero a real path with no matches returns. Before any "it is absent" claim, prove the place you looked at is real, then look.
  • A condition that can no longer fire. An alarm testing an absolute count rather than a delta switches itself off permanently the first time the count moves.

Feed every new check a known-wrong input and watch it go red. Instruments fail toward "healthy".

3. The exit condition: come back with a durable check.

A diagnosis is not the end. The finding becomes a new preflight check for that system and a line in that system's primer (see e2e-environment-preflight), or this red is not closed.

Invoke e2e-environment-preflight to write it, and record the red in the red scoreboard described in e2e-environment-preflight, with its bucket and the new check's id:

{"row":"<row-id>","bucket":"environment","note":"…","owed_check":"<check-id>"}

This is the only mechanism that makes the residual shrink. Without it the same class of absence is rediscovered every campaign and the gate never gets stronger — the process runs, everyone is diligent, and the hours are spent again. Hitting the wall is allowed; coming back with nothing durable is not.

Classify before you close

Every red gets exactly one bucket — source, environment, stuck, harness. Be honest about stuck: a run that produced no verdict at all is not a pass and not a skip, and burying it is how a campaign reports coverage it never had.

The counts are the point. A journey whose reds are mostly source found bugs. One whose reds are mostly environment or stuck measured its own setup, and the fix for that is upstream in the preflight — never another round here.

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

Estimate wall-clock time for AI-agent work using measured progress, remaining tasks, and reference data. It can also report user-facing clock times through a dedicated command, while keeping estimates focused on agent work rather than human developer effort.

  • Estimating the remaining time for a running agent task
  • Pricing a new task from its named deliverables and checks
  • Reporting a deadline or current time in the user's local zone
sno-ai/sno-station-skills884Updated Oct 29, 2026

Use this method when a run reports success but may have done nothing. Trace the code path from entry to downstream effect, identify a narrow observable at each important hop, and report concrete evidence such as changed rows or sent requests that a no-op could not produce.

  • Checking whether a successful job changed the intended records
  • Tracing an output from a stage to its downstream consumer
  • Verifying that model or API requests were actually sent
sno-ai/sno-station-skills884Updated Oct 29, 2026

away-brief

FreeSummary

Summarize recorded work completed, blocked items, questions awaiting the owner, and quota readings in a page of up to 60 lines. Use it after time away or a long work stretch to see what changed, what needs attention, and where the status came from.

  • Catching up after sleep or a meeting
  • Reviewing unfinished work and missing checks
  • Seeing questions waiting for your decision
sno-ai/sno-station-skills884Updated Oct 29, 2026

catch-report

FreeSummary

Compare problems found by peer review with errors agents recognized in their own conversations. The skill summarizes existing review records and uses each agent’s own model to judge sampled self-check moments over a chosen period.

  • Comparing peer review and self-check results
  • Reviewing the past week’s findings
  • Seeing what a second model caught
sno-ai/sno-station-skills884Updated Oct 29, 2026

charter

FreeSummary

Create, revise, or review a project charter that states the deliverable, boundaries, settled owner decisions, and observable pass-or-fail success checks. Use it to brief an executor before work begins or to identify concrete mismatches in an existing charter and related work.

  • Writing a brief before delegating project work
  • Updating a charter after a scope change
  • Reviewing a charter against the work it describes
sno-ai/sno-station-skills884Updated Oct 29, 2026

codex-coder

FreeSummary

Dispatch a production coding request from Claude Code to a direct Codex run. Route the work to Shell, TypeScript, Python, or Rust guidance based on the requested changes, and return Codex’s implementation report after the run completes.

  • Handing a TypeScript feature implementation to Codex
  • Routing a Python or Rust language migration
  • Assigning mixed Shell and TypeScript work in one request
sno-ai/sno-station-skills884Updated Oct 29, 2026

See all skills by sno-ai

Report a problem with this skill