/onex:two_strike_arbiterfrom onex
Dispatches to node_two_strike_arbiter after 2 consecutive fix failures: writes diagnosis doc, moves Linear ticket to Blocked, files friction event. Implements Two-Strike Diagnosis Protocol with first-strike dispatch-surface trace.
Ships in onex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Skill ID: onex:two_strike_arbiter
Version: 1.1.0
Owner: omniclaude
Backing node: omnimarket/src/omnimarket/nodes/node_two_strike_arbiter/
Ticket:
Retro: D-2 (OMN-13048) — first-strike dispatch-surface trace protocol
Thin shim that dispatches to node_two_strike_arbiter in omnimarket. After
2 consecutive fix failures on a ticket/PR, the node: (1) writes
docs/diagnosis-{issue-slug}.md, (2) moves the Linear ticket to Blocked,
and (3) files a friction event. Implements the Two-Strike Diagnosis Protocol
(per ~/.claude/CLAUDE.md).
When action == first_strike and the defect is on a dispatch surface,
this skill mandates a full end-to-end static trace before fixing anything.
A defect is on the dispatch surface when it involves any of:
terminal_event)Walk the full chain contract → dispatch callback → handler deps → injected consumers → terminal correlation and enumerate every defect found before making any fix:
contract.yaml — verify handler.module, handler.class, input_model, terminal_event, and all event_bus.subscribe_topics / event_bus.publish_topics.__init__ expects.terminal_event declared in the contract.Only after the full trace is complete, enumerate the defects and ship fixes as ONE design-reviewed PR set per repo.
Four-cycle defect ladders (→→→) doubled overnight dispatch costs. The fix-then-rediscover pattern is structurally disallowed by this rule (Retro D-2, OMN-13048). The mandate is: enumerate ALL defects on first strike, fix once.
| Forbidden | Required |
|---|---|
| Fix first dispatch-surface defect found, then discover the next one | Run full static trace on first strike; enumerate ALL defects before fixing any |
| Issue separate PRs for each defect discovered during the fix cycle | Bundle all defects found in the trace into ONE design-reviewed PR set per repo |
| Start implementation before completing the static trace | Complete the trace → enumerate → then implement |
/two-strike-arbiter --ticket-id <TICKET>
/two-strike-arbiter --ticket-id <TICKET> --repo OmniNode-ai/omniclaude --pr 567
/two-strike-arbiter --ticket-id <TICKET> --dry-run
INPUT_JSON='{"ticket_id":"<ticket_id>","repo":"<repo>","pr_number":<pr_number_or_null>,"branch":"<branch>","fix_attempts":[],"dry_run":true}'
uv run onex run-node node_two_strike_arbiter --input "${INPUT_JSON}"
Do not invoke diagnosis logic inline. All state tracking and side effects are in the node handler.
The node returns ModelTwoStrikeResult:
ticket_id: strtotal_attempts: intaction: str — no_action | first_strike | second_strike | diagnosis_written | ticket_blocked | friction_fileddiagnosis_path: str | None — path to written diagnosis doc (non-null when action == diagnosis_written)friction_filed: boolWhen action == first_strike, the caller must perform the dispatch-surface static trace
described in the "First-Strike Protocol" section above before issuing any fix.
Backing node contract: omnimarket/src/omnimarket/nodes/node_two_strike_arbiter/contract.yaml
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (omninode-ai/omniclaude) — no native marketplace selected
npx claudepluginhub p/omninode-ai-onex-plugins-onex128 skills in this plugin
/adversarial_pipelineAdversarial PipelineAutonomous 3-stage adversarial plan-to-ticket pipeline — design_to_plan → hostile_reviewer gate (≥3 issues required) → plan_to_tickets. All stages run as background agents. Zero foreground work./agent_healthcheck/onex:agent_healthcheck — dispatch-only shimDispatch-only shim for agent stall detection and recovery. All detection and recovery logic lives in node_worker_stall_recovery (omnimarket). The skill parses args, builds the input envelope, dispatches to the node, and renders the receipt./aislop_sweep