Auto
AI coding harness composition orchestrator — manifest-described upstreams, composition skill workflows. Apache-2.0.
npx -y skills add easyinplay/harnessed --skill autoAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Stage ⑤ Ship master orchestrator — the release stage after Verify. ship-preflight 必跑串行 (release-readiness gate) → 委派 PR/deploy 给 gstack /ship → publish 留 publish.yml CI (tag push 触发)。schema_version: harnessed.workflow.v3 with delegates_to (1 sub: preflight serial order 1) + disciplines_applied (6 default) + tools_available (release-preflight + ship + planning-with-files)。Triggered by `/ship` (bare per ADR 0030) or `harnessed ship` after `harnessed verify`. Deploy boundary = TAG-READY (no push/publish/tag).
SKILL.md
6.4 KB, as published. Nobody here has run it
ship master orchestrator (v3) — Stage ⑤
Overview
The 5th stage, after Verify. harnessed has the pieces (a release-preflight gate, gstack
/ship, publish.yml CI) — this master orchestrates them into one repeatable release path,
the way comet (archive), Trellis (finish-work), and Claude-Harness (/harness-release) each
close their loop.
| order/mode | sub | when fires |
|---|---|---|
| 1 (serial) | preflight | always when stage=='ship' — read-only release-readiness gate |
After preflight passes, the master delegates PR + deploy to gstack /ship (composition —
harnessed does not reimplement it), and the actual npm publish + GitHub release happen in
publish.yml CI on tag push.
Process
- preflight (always) — run
harnessed release-preflight. If any check fails (most often an empty## [Unreleased]), STOP and document the release / clean the tree first. - PR / deploy (delegate) — invoke gstack
/shipfor PR creation + pre-land review. - publish (CI) — push the
v<version>tag (with explicit user approval) →publish.ymlrunsnpm publish+ creates the GitHub release.
Boundary (important)
This stage stops at tag-ready. It never pushes to the remote, never publishes to npm, and never creates a git tag on its own. Those are CI + explicit-approval actions, by design — "PR ready != release ready", and "release ready != already published".
How to invoke
!harnessed checkpoint intent ship
The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: steps 2-3 below seed the ledger, and a per-turn
<workflow-intent>reminder persists until they run.
The numbered sequence below is the state machine — execute it step by step with Bash.
Do NOT improvise an equivalent flow from the Overview above: freelancing bypasses the engine
(no per-sub ledger, no evidence guard, no recovery). harnessed is the orchestration brain
(harnessed gates says which subs fire, harnessed prompt gives each spawn-ready prompt,
harnessed checkpoint records the ledger); YOU spawn with CC-native Task / Agent tools.
Do NOT pipe to harnessed run ship — that is the CI/headless path (in-process SDK spawn
that blocks the session, bypasses Agent Teams, and hangs inside Claude Code).
- If the clarification criteria fire for "$ARGUMENTS" (≥2 approaches / core algorithm / API contract / high error cost), clarify interactively in THIS session first (AskUserQuestion) and lock decisions; otherwise transparent-skip. Produce a locked spec.
- Bash:
harnessed gates ship --task "<locked spec>" --skip-sub clarify→ parse the JSON{fire, skip, parallelism}. This is the plan SoT (no spawn). Keep the verbatim JSON. - Bash:
harnessed checkpoint start ship --plan '<the verbatim gates JSON from step 2>'→ seeds the per-sub ledger soharnessed status --recovercan re-orient you after compaction. - If
parallelism.escalate_to_teams === true: read~/.claude/rules/agent-teams.md, then drive the fired subs as an Agent Team (TeamCreate→Agent(name, team_name, …)per sub with itsharnessed prompt <sub>prompt → coordinate viaSendMessage→SendMessage shutdown_request+TeamDelete). Still checkpoint each sub (complete/fail) as below. - Otherwise, for each fired sub in
order(serial subs sequentially, parallel subs concurrently):- If the entry has
is_master: true(a stage master — e.g./autofiringplan/task/verify): do NOT prompt+spawn it. RECURSE: run that master’s ownharnessed gates <sub> --task "<spec>" --skip-sub clarify→harnessed checkpoint start <sub> --plan '<json>'→ repeat this loop for ITS fired subs. - Else (leaf sub):
a. Bash:
harnessed prompt <sub> --task "<spec>" --json→ parse{prompt, max_iterations, model}. b. Spawn a CC-native subagent (Task / Agent tool) with thatprompt+model, wrapped in the ralph-loop plugin:/ralph-loop "<prompt>" --max-iterations <max_iterations> --completion-promise "COMPLETE". If the plugin is absent, use the native goal gate instead (Claude Code 2.1.139+ / Codex):/goal "this subtask is delivered: the subagent's final output contains verbatim <promise>COMPLETE</promise>; or stop after <max_iterations> turns"then spawn the subagent and let the goal evaluator drive re-spawns until it clears. If/goalis unavailable too, self-loop: spawn → check output for<promise>COMPLETE</promise>→ re-spawn with prior output appended (up to max_iterations). Set the goal only at the leaf subtask level —/goalis single-slot per session and a nested goal overwrites the outer one. c. If the output containsSTATUS: NEEDS_CLARIFICATION+ questions: STOP, relay them verbatim via AskUserQuestion, append the answers to the spec, then re-spawn the same sub. d. On<promise>COMPLETE</promise>: Bashharnessed checkpoint complete <sub> --summary "<one-line>". The evidence guard runs here (fail-CLOSED): if a declaredartifacts_expectedfile is missing it exits non-zero — re-spawn to produce it, or pass--forceonly to deliberately override. e. If the sub cannot reach COMPLETE (max_iterations exhausted / unrecoverable error): Bashharnessed checkpoint fail <sub> --summary "<why>", then STOP and report to the user.
- If the entry has
- After all fired subs are
done(or recordedfailed), Bashharnessed status --recoverto confirm the ledger and report a per-sub fired/skipped/done/failed summary to the user.
If you lose context (compaction / resume): run harnessed status --recover first — it reads the ledger and prints "you are here, this is next" so you resume at the first pending sub instead of restarting. If the ledger is empty, re-run steps 2-3.