/onex:verification_sweepfrom onex
Post-orchestration verification sweep that checks dashboard endpoints return HTTP 200 with real data, database tables contain expected rows, and DoD evidence items have passing receipts. Non-blocking — flags issues without halting orchestration.
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.
Read when SKILL.md points to them.
onex:verification_sweep
Version: 1.0.0
Owner: omniclaudePost-orchestration verification sweep that runs as the final step after epic-team or
ticket-pipeline completes. It verifies that the work actually produced visible, correct
results — not just that PRs merged and tests passed.
Three verification phases:
dod_evidence items of type rendered_output have passing
receiptsThis skill is non-blocking: failures produce receipts and optional Linear comments but do not halt orchestration. The orchestrator reads the receipt and decides whether to proceed.
/verification-sweep --ticket TICKET-ID
/verification-sweep --tickets TICKET-ID,TICKET-ID-2
/verification-sweep --epic EPIC-ID
/verification-sweep --dry-run --epic EPIC-ID
/verification-sweep --ticket TICKET-ID --skip-dashboard
"I'm using the verification-sweep skill to verify post-orchestration results for {tickets}."
For each ticket, extract dashboard endpoints from:
ModelTicketContract.dod_evidence entries where surface == "DASHBOARD" or
type == "rendered_output"localhost:3000 or route references)omnidash/topics.yaml for topics touched by the ticketFor each endpoint:
# HTTP check — expect 200 with non-empty body
curl -s -o /tmp/verify_response.json -w "%{http_code}" http://localhost:3000{route}
# Verify response is not null/empty/default
# Check: HTTP status == 200
# Check: response body is not empty, not "null", not "{}", not "[]"
# Check: if JSON, contains at least one non-null data field
Classify each endpoint:
PASS: HTTP 200, response contains real dataFAIL_HTTP: non-200 status codeFAIL_EMPTY: HTTP 200 but response is null/empty/defaultFAIL_DEFAULT: HTTP 200 but data matches known default/placeholder patternsSKIP: endpoint not reachable (service not running) — non-blockingFor each ticket, extract database tables from:
ModelTicketContract.interfaces_touched where surface is DBomnidash/topics.yamlFor each table:
source ~/.omnibase/.env
# Check table exists and has rows
psql -h localhost -p 5436 -U postgres -d omnidash_analytics \
-c "SELECT count(*) as row_count FROM {table_name};" 2>/dev/null
# Check schema matches expected columns (if contract specifies them)
psql -h localhost -p 5436 -U postgres -d omnidash_analytics \
-c "SELECT column_name, data_type FROM information_schema.columns WHERE table_name = '{table_name}';" 2>/dev/null
Classify each table:
PASS: table exists, has rows, schema matches expectationsFAIL_MISSING: table does not existFAIL_EMPTY: table exists but has 0 rows (when rows are expected)FAIL_SCHEMA: table exists but columns don't match expected schemaSKIP: database not reachable — non-blockingFor each ticket, fetch the ModelTicketContract from the Linear ticket description and
check dod_evidence items:
Items with type: rendered_output:
.onex_state/verification-receipts/status: passFAIL_NO_RECEIPTItems with type: integration_test:
SKIPItems with type: playwright_behavioral:
FAIL_NO_EVIDENCEClassify each evidence item:
PASS: evidence exists and validatesFAIL_NO_RECEIPT: rendered_output with no receiptFAIL_NO_EVIDENCE: evidence type with no supporting artifactsFAIL_STALE: receipt exists but is older than the most recent mergeSKIP: evidence type not applicable or infrastructure unavailableWritten to .onex_state/verification-receipts/{ticket-id}.yaml:
# Verification Receipt
ticket_id: "TICKET-ID"
sweep_timestamp: "2026-04-02T10:30:00Z"
overall_status: pass # pass | fail | partial
phases:
dashboard:
status: pass
endpoints_checked: 2
results:
- endpoint: "/api/intelligence/patterns"
status: pass
http_code: 200
evidence: "Response contains 15 pattern records"
- endpoint: "/api/platform/registry"
status: pass
http_code: 200
evidence: "Response contains 8 registered nodes"
database:
status: pass
tables_checked: 1
results:
- table: "pattern_learning_artifacts"
status: pass
row_count: 42
evidence: "42 rows, schema matches expected columns"
dod_evidence:
status: pass
items_checked: 1
results:
- type: "rendered_output"
status: pass
evidence: "Receipt exists, status=pass, timestamp within 24h of merge"
idempotent: true # Running again produces the same receipt if state unchanged
Written to .onex_state/verification-failures/{ticket-id}.yaml when overall_status != pass:
ticket_id: "TICKET-ID"
sweep_timestamp: "2026-04-02T10:30:00Z"
overall_status: fail
failure_summary: "Dashboard endpoint /api/platform/registry returned empty data"
phases:
dashboard:
status: fail
endpoints_checked: 2
results:
- endpoint: "/api/intelligence/patterns"
status: pass
http_code: 200
evidence: "Response contains 15 pattern records"
- endpoint: "/api/platform/registry"
status: fail_empty
http_code: 200
evidence: "Response body is '[]' — no registered nodes"
database:
status: pass
tables_checked: 1
results:
- table: "pattern_learning_artifacts"
status: pass
row_count: 42
evidence: "42 rows, schema matches expected columns"
dod_evidence:
status: skip
items_checked: 0
results: []
linear_comment_posted: true
When overall_status is fail and --dry-run is NOT set, post a Linear comment:
**Verification Sweep — FAIL**
Ticket: {ticket_id}
Sweep time: {timestamp}
**Failed checks:**
- Dashboard: `/api/platform/registry` returned empty data (HTTP 200, body `[]`)
**Passing checks:**
- Dashboard: `/api/intelligence/patterns` — 15 records
- Database: `pattern_learning_artifacts` — 42 rows
Receipt: `.onex_state/verification-failures/TICKET-ID.yaml`
This skill is explicitly non-blocking:
.onex_state/verification-receipts/ or .onex_state/verification-failures/Running the sweep twice on the same ticket with the same underlying state produces the same receipt. The receipt file is overwritten (not appended). Receipt timestamps reflect the most recent sweep run.
--pr)When invoked with --pr owner/repo#number, verification_sweep runs in pre-merge mode
as the per-PR check driven by merge_sweep --verify. In this mode there is no ticket
contract to read; verification targets are selected from the PR diff using a
deterministic changed-file-to-target mapping.
Applied first-match-wins against git -C "$OMNIBASE_PATH/<repo>" diff --name-only origin/<base>:
| Changed-file pattern | Verification target | Check |
|---|---|---|
src/**/runtime/auto_wiring/**, src/**/runtime/service_kernel.py, **/handlers/handler_*.py | runtime-health | docker inspect reports RestartCount == 0; last 200 runtime container log lines include Auto-wiring complete, report failed=0, and do not contain Auto-wiring failed in the last successful boot |
src/**/projection*.py, src/**/projector*.py | Projection table for that module | Table exists, row_count > 0, sample row has all non-null required columns matching the Drizzle schema |
src/**/handler*.py (Kafka consumer) | Projection sink + summary endpoint consuming it | Endpoint returns HTTP 2xx with structurally valid JSON matching expected response shape |
src/**/route*.py, src/**/api*.py, pages/api/** | The modified API route(s) | Endpoint returns HTTP 2xx with non-error payload; response body contains expected top-level keys |
drizzle/**, migrations/** | All projection tables in the affected database | Tables exist, migrations applied without error, row schema matches Drizzle definition |
topics.yaml, contract.yaml (event bus) | Kafka topic exists + consumer group lag | Topic in rpk topic list, consumer group lag via rpk group describe |
| No pattern match | Skip verification for this PR | Exit skipped_no_mapping, status=skip |
Maps onto the 7 merge_sweep categories. verification_sweep emits exactly one terminal
status per --pr invocation:
| Status | Meaning |
|---|---|
merged | All selected checks passed, or no mapping matched and sweep exited cleanly |
verification_failed | One or more concrete check failures — receipt written under .onex_state/verification-failures/ with expected vs actual and target mapping used |
verification_unavailable | Verification target unreachable (service down, DB offline) — neutral skip |
verification_timeout | Run exceeded --timeout-seconds — neutral skip |
verification_tool_error | verification_sweep itself errored (exception, missing binary) — neutral skip |
skipped_no_mapping | No changed-file pattern matched — normal skip |
Pre-merge mode is non-blocking for the caller: merge_sweep reads the status and decides
whether to enable auto-merge on that PR. verification_failed is the only status that
blocks auto-merge for the individual PR; all other non-merged statuses are neutral
skips that do not halt the sweep batch.
In pre-merge mode, when overall_status == verification_failed and --dry-run is not
set, a single GitHub PR comment is posted with:
.onex_state/verification-failures/--verify): invokes verification-sweep in pre-merge mode
(--pr ...) after CI passes but before enabling auto-merge; consumes the 7-category
status to decide whether the PR proceeds to auto-merge--dry-run produces zero side effects (no receipts, no Linear comments)VERIFICATION SWEEP — {ticket_ids}
====================================
| Ticket | Phase | Check | Status | Evidence |
|-----------|------------|----------------------------|------------|-----------------------------------------|
| TICKET-ID | Dashboard | /api/intelligence/patterns | PASS | 15 pattern records |
| TICKET-ID | Dashboard | /api/platform/registry | FAIL_EMPTY | Response body is '[]' |
| TICKET-ID | Database | pattern_learning_artifacts | PASS | 42 rows, schema matches |
| TICKET-ID | DoD | rendered_output | PASS | Receipt exists, status=pass |
Summary: 3 PASS, 1 FAIL, 0 SKIP (4 total)
Overall: FAIL
Receipt: .onex_state/verification-failures/TICKET-ID.yaml
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
verification, post-orchestration, dashboard, database, dod, sweep, non-blocking
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