rea-analysis-optimization
MOmorluto/rea486k近 7 天新增 7,690 个 star
[omh] Application code misbehaves: a wrong value, a flaky test…
This is an OMH app-debugging workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
app-debugging exists because a wrong result in application code had no owner: omh-native-debugging covers native binaries, omh-build-failure-triage covers red builds, and omh-agent-debug covers agent misbehaviour, so the most common debugging request dispatched straight to an execution lane that skipped the diagnosis.
omh-native-debugging.omh-build-failure-triage.omh-agent-debug.omh-verification-gate.Good example:
Bad example:
regression_seam: none_correct with the reason, with the reproduction loop observed red before the fix and green after it.Use when application code -- a Python, TypeScript, Go, or JVM service, library, or test -- behaves wrongly and the cause is unknown: a wrong value, an intermittent or order-dependent test, a race or lost update, or a bug that moves when observed. The work is a demonstrated root cause: an observed reproduction, competing hypotheses, the cheapest observation that separates them, and only then a fix.
Strong routing signals: `app-debugging`, `app debugging`, `application debugging`, `root cause`, `root-cause`, `find the root cause`, `root cause analysis`, `flaky test`, `flaky tests`, `test is flaky`, `intermittent test failure`, `fails intermittently`, `fails one run in`, `passes locally but fails in ci`, `heisenbug`, `bug disappears`, `disappears when i add a print`, `race condition`, `lost update`, `update is lost`, `wrong return value`, `returns the wrong value`, `reproduce the bug`, `minimal reproduction`, `почини баг`, `найди баг`, `приложение падает с ошибкой`, `флаки тест`, `исправь баг`, `баг в коде`, `исправить баг`, `найди ошибку в коде`, `отладь`
Category: verification
Phase: app-root-cause
Quality tier: root-cause-evidence-gated
Reasoning demand: standard
Quality bar:
symptom_match shows the failure the user reported; a different failure near the same code is another bug, and this record stays not_observed.minimised is filled before competing_hypotheses/v1: an input, caller, config value, or step leaves the reproduction only when the loop rerun without it still shows the symptom (for an intermittent fault, the same rate at the same N), and the record lists what left and what stayed; fix_handoff/v1 builds the regression test from what stayed.references/hypothesis-and-race-method.md for the hypothesis table, flaky-test tactics, and race patterns instead of improvising them.deep); several causes that may interact run at xhigh (category forensics). Finished means the reported symptom's root cause is shown by an observation and the fix passes the same reproduction; be exhaustive in the hypothesis table and its eliminations, not in reading code no hypothesis touches.../omh-verification-gate/references/test-authoring.md for the seam, the shapes of tests that guard nothing, fakes only at system boundaries, and the no-correct-seam outcome.Required inputs:
Expected outputs:
Artifact expectations:
symptom_match (the observed failure quoted beside the reported one), loop_cost (wall time per run, and what was pinned or, for an intermittent fault, how the rate was raised), and minimised (the cuts made and the load-bearing form left); it reads observed or not_observed and nothing betweenregression_seam: none_correct with the reason, with the reproduction loop observed red before the fix and green after itregression_seam: none_correct with the reason and what was tried, keeps the reproduction loop as the fix's verification, and reports the missing seam as an omh-refactor-plan candidate instead of a shallow test that passes before and after the fixSafety rules:
fix_handoff/v1 stays blocked while reproduction_record/v1 reads not_observed, and a proposed change without one is a guess, not a fix.<redacted>, and a capture too redacted to diagnose is reported as such, never recorded unredacted.Use the current host's own tools and subagent/task mechanism when available;
otherwise run the same lanes sequentially or name the unavailable capability.
A prepared plan, handoff, checklist, or skill installation is not execution,
review, CI, merge-readiness, or merge evidence. Record actual tool results, or
not_observed / not_available, in the record; never invent dispatch or host
accounting.
Treat supplied context as advisory, not proof of hidden memory reads or writes.
State scope, constraints, verification, and the stop condition before work.
Reply in the user's own words and the host's own voice: the host's persona owns
reply language, tone, speech level, and sentence endings, progress updates
included (where it sets no language, use the one the user wrote in), and OMH
shapes structure and content only; OMH's record terms
(surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in
records and tool calls, never in the sentence the user reads unless they ask
about one; and when a real unresolved user decision or a useful briefing discussion
remains, offer one specific, content-linked question. Completed work needs no question;
omit unrelated non-action footers and generic offers to continue.
Supporting paths are relative to this skill directory; sibling skill paths are
relative to its parent. Resolve them from the host-provided skill base directory
({baseDir} on hosts that provide it), never a hardcoded install location.
A named workflow not installed here is unavailable, not permission to emulate
its host-specific capabilities. Verify through the real surface before done.
MOmorluto/rea486k近 7 天新增 7,690 个 star
MAmattpocock/skills337k近 7 天新增 4,217 个 star
MAmattpocock/skills337k近 7 天新增 4,217 个 star
MAmattpocock/skills337k近 7 天新增 4,217 个 star
MAmattpocock/skills337k近 7 天新增 4,217 个 star