/onex:ship_dirty_canonicalfrom onex
Detects uncommitted files in canonical workspace repo clones and auto-ships each dirty repo to a worktree + PR. Runs in-process via node_dirty_canonical_sweep module.
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:ship_dirty_canonical
Version: 1.0.0
Owner: omniclaude
Backing node: omnimarket/src/omnimarket/nodes/node_dirty_canonical_sweep/
Agents can edit files in canonical workspace repo clones but cannot commit there. Those edits sit uncommitted, are invisible to CI, and are at risk during routine sync workflows.
This skill detects dirty canonicals and rescues the edits by:
dev at $ONEX_WORKTREES_ROOT/auto-ship-<ts>/<repo>--label auto-ship/ship-dirty-canonical
/ship-dirty-canonical --dry-run
/ship-dirty-canonical --repos omniclaude,omnimarket
/ship-dirty-canonical --dry-run --repos omnibase_core
The backing handler is fully synchronous in-process git/gh subprocess work
(detect → worktree → copy → commit → push → PR → restore). It runs locally via
the packaged module entrypoint — pass options as argparse flags, not a JSON
payload:
# Run from the omnimarket project so the node package is importable.
OMNIMARKET_PROJECT="${OMNI_HOME:?set OMNI_HOME}/omnimarket" # local-path-ok: operator-workspace surface; the workspace root deliberately keeps its OMNI_HOME spelling here
uv run --project "$OMNIMARKET_PROJECT" \
python -m omnimarket.nodes.node_dirty_canonical_sweep \
[--dry-run] [--repos REPO ...] [--omni-home PATH] \
[--worktrees-root PATH] [--pr-label LABEL] [--base-branch BRANCH]
Do not dispatch this node via
onex run-node(the Kafka path). That command routes over the bus and waits for a terminal event, but this node has no live consumer, so it always fails withSkillRoutingError "Timeout after 30s waiting for response". The localonex node/onex runalias is pinned to--project omnibase_infra, whose installed metadata does not register this node'sonex.nodesentry point, so it raisesUnknown nodeas well. The in-process module entrypoint above is the only path that resolves and runs.
The entrypoint prints ModelDirtyCanonicalSweepResult as JSON on stdout:
repos_checked: total repos inspectedrepos_dirty: repos that had uncommitted changesrepos_shipped: repos successfully shipped to PRsrepos_failed: repos where ship failedresults: per-repo ModelDirtyRepoShipResult entries (only dirty repos)A non-zero exit means the handler raised; surface its error output directly and do not produce prose.
never_commits_to_canonical_repo — the canonical clone is restored by the backing node only after successful shippingrestores_canonical_to_clean_state_on_success — canonical changes remain in place if publishing the rescue branch failsone_worktree_per_dirty_repo — creates at most one worktree per dirty repo per invocationThis skill is designed to be invoked by the 15-minute build-loop cron. Wire it as a CronCreate job to run every 15 minutes:
CronCreate(interval="15m", prompt="/ship-dirty-canonical")
The build loop can also invoke it explicitly during the VERIFYING phase as a pre-condition before dispatching new tickets.
omnimarket/src/omnimarket/nodes/node_dirty_canonical_sweep/contract.yaml
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
canonical-repos, worktree, auto-ship, pr-creation, git-workflow
128 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/onex:aislop_sweep — one command, one typed resultDetect AI-generated quality anti-patterns across all repos — phantom callables in skill markdown, backwards compat shims, prohibited env var patterns, hardcoded topic strings, hardcoded absolute paths and LAN IPs, agent-left TODO/FIXME markers, and empty implementations./architectural_invariant_loopArchitectural Invariant LoopEvaluate architectural invariant contracts across repos — convert CLAUDE.md/doctrine principles into typed YAML invariant contracts and report violations across STATIC_ARCHITECTURE, CI_GATE, PRE_TOOL_USE, RUNTIME_VALIDATION, and CONTRACT_VALIDATION surfaces./authorizeGrant work authorization for Edit/Write operations in this session/auto_merge/onex:auto_merge — one command, one typed resultMerge a GitHub PR when all gates pass; proceeds automatically after CI is cleanGenerated from the plugin's indexed repository (omninode-ai/omniclaude) — no native marketplace selected
npx claudepluginhub p/omninode-ai-onex-plugins-onex