/shipwright:test-fix runs instead · from shipwright
Reads test-readiness-plan.md and queues its T-NNN task list as task-store tasks with dependency edges, routing each row as auto/review/plan. Replaces the former GitHub-issue publish skill's dashboard.
This skill never runs in Claude Code
It ships in shipwright at skills/, but /shipwright:test-fix (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Read the latest docs/test-readiness/test-readiness-plan.md and queue its flat task list as
task-store tasks — one task per T-NNN row. Dependency edges (predecessor links) are written
as task-store dependencies arrays, so task-store's own ready:true query computes readiness
directly. Findings are never turned into direct PRs;
they always become task-store tasks. Each row is routed auto (agents execute it),
review (blocked until a human answers one question, then agents execute it) or plan
(a human plans it first); see "Finding routing" and "System-cron contract" in
docs/task-store.md. This skill creates a hitl: true dev task
only for the human-only branch-protection settings task (Step 5.2).
This is the Phase 5 replacement for the former GitHub-issue publish skill.
Prerequisites: Run /test-roadmap first to produce test-readiness-plan.md.
Task store setup: This skill pushes tasks to the Shipwright task store. If
SHIPWRIGHT_TASK_STORE_URLorSHIPWRIGHT_TASK_STORE_TOKENis missing, invoke/shipwright:task-storefor setup instructions.
Before starting, check for flags:
--origin-cron <id> — internal arg, passed by /shipwright:test-readiness phase 5 (e.g.
--origin-cron test-readiness). When present, Step 5 stamps originKind: "cron" and
originRef: <id> on every task instead of the standalone skill origin, and turns on the
new-approach hold (Step 4.6). Not for manual use. Standalone runs (no --origin-cron) never hold.--dry-run — print what would be queued (including each row's route) without querying
the task store for dedup and without writing anything.Note: Queueing is the only mode for the regular flow. There is no PR mode and no
--queueflag — every regular run queues tasks.--dry-runshows a preview and stops without touching the task store.When run by
/shipwright:test-readiness, that skill owns the single run record; this skill only reports its counts as run metrics (see "Run metrics" below).
docs/test-readiness/test-readiness-plan.md in the project root.No docs/test-readiness/test-readiness-plan.md found. Run /test-roadmap first to generate it.
Then stop.## 5. Task list section's flat rows, format T-NNN | M# | files | layer | bucket | outcome | verify (per test-roadmap/SKILL.md section 5).## 5. Task list → "Audit task decision rows",
also rendered per-task in issue.md.tmpl's "Audit decisions" section) attached to tasks
marked [audit: N items] in the expected-outcome column. Keep each table's rows verbatim —
they're needed for Step 5's description field and for the M5 review rule (rule c below).depends_on / predecessor links: any explicit depends_on: annotation on a row, and
the Repo Configuration tasks' pairing (depends_on the paired workflow task, per
repo-config/SKILL.md's pairing rule).T-NNN | M# | ... shape),
print:
No parseable T-NNN task rows found in test-readiness-plan.md. Nothing to queue.
Then stop.T-NNN row through the pre-filing verification checklist —
references/pre-filing-verification.md (relative to the plugin root) — before it proceeds
any further to Step 3 (repo detection), Step 4 (dedup), or Step 5 (task creation). This
re-verifies the row against the current repo state (test-readiness-plan.md is a snapshot
that may already be stale by the time this skill runs) and catches task ID / branch
collisions early. Treat references/pre-filing-verification.md as canonical for how to
apply the checklist. Per its four checks:
files column, plus any fixture/test paths the row
implies) no longer exist as described, or whose testing gap has already been closed by a
later commit on main since test-readiness-plan.md was generated (Checklist Items 1–2) —
do not build a task for them. Skip silently, matching this skill's own convention (there
is no separate ledger section here beyond the dedup/summary output Step 4/Step 7 already
produce).path.join() construction rather than a literal import or string match, so the row was
treated as a confirmed pass when the fixture's real status couldn't actually be
determined that way. When a row's target file or fixture is referenced indirectly —
constructed paths, dynamic dispatch, reflection-based lookups, or anything else a literal
grep/import check can't definitively resolve — do not treat it as either a confirmed pass
(file exists, skip) or a confirmed absence (file missing, safe to file); route it to review
instead. This feeds directly into the routing in Step 5.2 as an explicit path
to the review route.--dry-run preview (Step 6) and the real queue
path (Step 7) operate on the same already-verified row set.bucket/layer row whose
only justification is raising line_coverage_pct (nullable when unmeasured; a line-coverage task, per
test-roadmap/SKILL.md's sequencing rule in its own Process step 5) must cite, in its
outcome column or paired description text, the specific feature or genuine uncovered
error path it maps to — e.g. a named feature from test-inventory.md, or a specific
uncovered error path/branch (an untested catch block, an untested validation branch). This
is a structural check only: it confirms a citation is present, it does not verify the
citation is true. If a line-coverage row has no such citation — assertion-free filler added
just to move the aggregate line-coverage number, e.g. testing a trivial getter with no real
behavior at stake — reject it: skip filing the row, the same silent-skip convention used
for the Checklist Items 1–2 drops above. Print: Skipping {T-NNN} — line-coverage task has no cited feature/error-path mapping (possible coverage gaming). A line-coverage row that cites
a genuine uncovered error path (e.g. "closes the untested retry-exhaustion catch block in
paymentsGatewayClient.ts") is not gaming and files normally — this check targets
citation-less filler, not every line-coverage-bucket row.Detect the current repo from git: run git remote get-url origin and strip the
https://github.com/ (or [email protected]:, stripping the .git suffix) prefix to get the
org/repo value — e.g. app-vitals/shipwright. This is the repo value used both to scope
the dedup queries in Step 4 and, unchanged, as the task JSON's repo field in Step 5 —
compute it once here and reuse it there. (Same derivation as entropy-fix's Step 6q.1.)
Derive repo-slug from it too: the last path segment, lowercased — e.g.
app-vitals/shipwright → shipwright. This slug is appended to every task ID (Step 5) so
the same T-NNN scanned in two different repos never collides — the same class of bug
previously fixed for entropy-fix's task IDs.
Skip this step entirely if --dry-run was passed (Step 6 handles the dry-run preview
instead — no dedup query is made).
Run (URL-encode the detected repo, e.g. app-vitals%2Fshipwright). GET /tasks defaults to
limit=50 and truncates silently unless the caller raises it — pass an explicit high
limit=1000 on both queries:
curl -sf -H "Authorization: Bearer $SHIPWRIGHT_TASK_STORE_TOKEN" \
"$SHIPWRIGHT_TASK_STORE_URL/tasks?status=pending&repo={url-encoded-repo}&limit=1000" | jq .
curl -sf -H "Authorization: Bearer $SHIPWRIGHT_TASK_STORE_TOKEN" \
"$SHIPWRIGHT_TASK_STORE_URL/tasks?status=in_progress&repo={url-encoded-repo}&limit=1000" | jq .
The &repo= filter scopes dedup to tasks for the repo currently being scanned — without it,
a T-NNN active for one repo would incorrectly block or interfere with dedup for a different
repo.
Pagination guard — do not silently proceed with a partial result set. limit=1000
covers the common case, but a repo can still have more than 1000 active tasks. After each call, check the response's nextCursor: if it is null, the page is complete. If it is a string,
the first limit=1000 page did not cover every active task — re-run the same query with
&cursor=<nextCursor> (the opaque string from the previous response; never parse or build one)
and merge the .tasks arrays, repeating until nextCursor is null. Only treat the dedup
query as complete once every page has been fetched this way; never build the "already active"
set (below) from a page that fails this check.
Parse both .tasks arrays. From the combined results, collect tasks where:
source == "test-fix", ANDtitle starts with "Test readiness:"Extract the already-active T-NNN IDs from the task id field (format:
test-{t-nnn}-{repo-slug} — e.g. test-t-104-shipwright maps back to T-104). Build a set
of "already active" T-NNN IDs.
For each row from Step 2: if its T-NNN is in the "already active" set, skip it. Print:
Skipping {T-NNN} — task already active.
The exact-ID check above only catches literal T-NNN reuse, scoped to source == "test-fix" tasks whose title starts with "Test readiness:". It cannot catch a
differently-numbered task that semantically duplicates existing active work — e.g. a
finding that gets re-scoped and re-queued under a new T-NNN after the original active task
was created by a different source or with a different title convention. That gap is exactly
what let one duplicate issue slip past dedup once the original had no task-store footprint
matching the narrow source/prefix filter.
To close it, run a second, wider comparison — no new API calls, no --repo=-scope change:
reuse the same combined .tasks array already fetched above (the status=pending and
status=in_progress results, both &repo=-scoped), but this time do not filter by
source == "test-fix" or by the "Test readiness:" title prefix. Consider literally every
active (pending + in_progress) task title for the repo, regardless of source or naming
convention.
For each row surviving the exact-ID check (i.e. not already skipped), compute its would-be
title exactly as Step 5 will build it — "Test readiness: {outcome} (T-NNN)" — and compare it
against every title in that unfiltered active-task set using normalized word-overlap
(Jaccard similarity):
similarity = |intersection| / |union| of the two word sets.Flag any pair where similarity >= 0.6. This threshold is a deliberate middle ground:
T-NNN, which by
definition won't be a near-exact string match.Worked example. Suppose an existing active task (any source) is titled:
Test readiness: add integration coverage for auth middleware (T-041)
And a new candidate row from Step 2 would build the title:
Test readiness: add integration coverage for the auth middleware (T-058)
Lowercase, strip punctuation, and tokenize (dropping the parenthetical T-NNN, which is
excluded from the token comparison since it's expected to differ):
{test, readiness, add, integration, coverage, for, auth, middleware} (8){test, readiness, add, integration, coverage, for, the, auth, middleware} (9){test, readiness, add, integration, coverage, for, auth, middleware} (8){test, readiness, add, integration, coverage, for, the, auth, middleware} (9)similarity = 8 / 9 ≈ 0.890.89 >= 0.6, so this pair is flagged — even though T-041 and T-058 are different IDs and
the exact-ID check alone would have missed this duplicate entirely.
This never causes a skip. A fuzzy match is not removed from the Step 5 build list and is never excluded from the Step 7.1 bulk POST — it still gets created. Fuzzy-match false positives are common (shared vocabulary, generic verbs like "fix"/"add"/"update"), and silently dropping genuinely new work because of a coincidental title overlap is a worse failure mode than one extra line a human has to glance at. This mirrors the same philosophy already applied to routing (Step 5.2): no auto-decision on a fuzzy or judgment-based signal where the cost of a wrong auto-decision is asymmetric — surface it for a human instead.
For each flagged pair, print:
Flagging {T-NNN} — {similarity}% title-similar to active task {other-id}: "{other-title}" — not skipped, review after queueing
Even though a matching decision may already have shaped an earlier test-inventory pass's
classification, the registry can change between when test-readiness-plan.md was generated
and when this skill runs — a human may have reviewed a prior ambiguous item and added a new
decision entry since. Never trust the plan's row as still current on this point; re-check live.
This mirrors duplication-fix/SKILL.md's Step 3 ("Cross-Check duplication-decisions.md
(Once More Before Queueing)") exactly, applied to this skill's registry instead. See
references/decisions-registry.md for the shared decisions-registry pattern this mirrors.
This check runs against every row surviving Step 4 — not just rows headed toward a review routing in Step 5.2. A registry decision can resolve a row that would otherwise be filed as a perfectly ordinary autonomous task just as easily as it can resolve an ambiguous one; the check is unconditional, upstream of the routing in Step 5.2.
.claude/shipwright/test-readiness-decisions.md in the project root.duplication-fix's Step 3 uses for a missing duplication-decisions.md. Print: "No
test-readiness-decisions.md found — no decisions configured." and continue to Step 5 with
every surviving row unaffected. This is expected and not an error.test-inventory/SKILL.md's Step 0: read each ### entry for its Item, Decision,
Rationale, and Revisit fields where present, without hardcoding assumptions about the
registry's exact heading/field layout beyond those four fields — skip any entry you can't
confidently interpret rather than failing the whole load.duplication-fix's Step 3 uses for its own registry.
Skipping {T-NNN} — resolved per test-readiness-decisions.md ("{entry name}"). Record the
row as suppressed for the Step 7.2 summary.{T-NNN} — registry entry "{entry name}" no longer applies, filing normally) and continue filing the row normally.
This is prompt-content instruction, not executable logic: there is no crash path here, only
"fall through to filing normally and say why."Runs only when --origin-cron was passed; a standalone run skips this step and files every row
as before. It runs against the rows surviving Steps 4 and 4.5, before Step 5.
A plan approves its own proposals by merging. A row is held — not filed, no task written — until the layer or approach it needs is on the default branch.
Existing means on the default branch. A test layer or approach (a layer, a test-file
suffix or directory convention, a fixture or local-substitute strategy, a framework) is
existing when either holds, judged against origin/main (or the repo's default branch), never
the working branch:
git grep / git ls-tree on origin/main finds
a test of that layer or convention), orgit show origin/main:docs/test-readiness/test-system.md).An unmerged proposal does not count — including one in an earlier, still-open refresh PR whose artifacts are present in this worktree. Adding the CI job that runs an existing layer is not a new approach.
Hold new-approach rows. A row whose layer or approach is not existing is held.
Hold dependents. A row that depends on a held row (transitively, via depends_on) is held
too, even if its own approach exists.
File everything else through Step 5 as usual: rows that follow existing patterns are queued right away, on the first run and on every later run.
Release on a later run. Held rows are re-evaluated on every run. Once the proposal is on the default branch (in the normal flow, when the PR's task reaches merged, deployed or released) the row is no longer held and is filed by Step 5. Step 4's existing duplicate checks apply, so a row filed earlier is never filed twice.
Approval is the repo's normal review and merge process. Add no human hold, label or extra task, even where agents may approve and merge.
Record each held row as {T-NNN} — {outcome} — waiting on: {layer or approach, or the held T-NNN}.
These are printed in Step 7.2, counted in held (see "Run metrics"), and returned to
/shipwright:test-readiness for the PR body. With --dry-run the held list is part of the Step 6
preview.
Skip this entire step if --dry-run was passed — Step 6 performs the equivalent
classification in-memory for the preview instead, without writing anything.
For each remaining T-NNN row (not skipped in Step 4 or suppressed in Step 4.5), build a task
object. Reuse the repo
and repo-slug values detected in Step 3 — do not re-derive them:
{
"id": "test-{t-nnn}-{repo-slug}",
"title": "Test readiness: {outcome} (T-NNN)",
"source": "test-fix",
"originKind": "skill",
"originRef": "test-fix",
"repo": "<repo, as detected in Step 3>",
"branch": "feat/test-{t-nnn-lower}-{slug}",
"layer": "<test-layer from the row: unit | integration | smoke | e2e | infra>",
"priority": "<critical | high | medium — see 5.1>",
"type": "test-readiness",
"kind": "<dev | prd — per the route in 5.2>",
"status": "<pending | blocked — per the route in 5.2>",
"blockedReason": "<review route only: needs-review: the specific question — omit otherwise>",
"hitl": <false for auto and review; true for the plan route and the branch-protection settings task — see 5.2>,
"dependencies": ["test-{predecessor-t-nnn}-{repo-slug}", "..."],
"acceptanceCriteria": ["...", "Verification command `{verify}` passes"],
"description": "<see 5.3>"
}
Origin stamp: the JSON above shows the standalone values. When run without --origin-cron
(standalone run), keep "originKind": "skill" / "originRef": "test-fix" exactly as shown.
When --origin-cron <id> was passed, replace those two fields with:
"originKind": "cron",
"originRef": "<origin-cron id>",
source stays "test-fix" either way.
{t-nnn}: lowercase the row's task ID (e.g. T-104 → t-104). {t-nnn-lower}: same value,
used in the branch name.
slug (for the branch name): lowercase, hyphens, max 5 words from the row's outcome.
layer field note: this is the row's test-layer value (unit / integration /
smoke / e2e / infra) — deliberately not the API/Frontend/Database/Shared/
Background/CLI convention entropy-fix/error-fix/plan-session use for their layer
field. Task-store's layer column is free text (layer String? in
task-store/prisma/schema.prisma — no enum constraint), so repurposing it here for
test-layer is safe and is more useful to dev-task and downstream tooling than a generic
bucket would be. Do not invent a second field for this — layer carries it.
priority Fieldpriority is the row's criticality tier, derived primarily from milestone:
criticalhighmedium, unless the row carries its own explicit tier
annotation (e.g. an inline criticality: high note or an audit-decision-row's own
criterion naming a tier) — in that case use the row's own annotation instead.This milestone-to-tier default for M1/M3/M5 is a deliberate, documented default — M1
(infrastructure), M3 (canary plumbing), and M5 (cleanup) tasks are usually not
criticality-ranked the way M2/M4 inventory items are, so medium is the safe default rather
than leaving the field ambiguous. Criticality tiers themselves come from
test-inventory/SKILL.md Step 4 (critical / high / medium) — the same three-tier
vocabulary, reused here for consistency with the rest of the pipeline.
Every row takes exactly one of three routes, judged per task on its own facts (no numeric or
count-based backstop ever forces a route). The route sets kind, status, blockedReason and
hitl; full contract in docs/task-store.md ("Finding routing").
| Route | Task shape |
|---|---|
| auto (default) | kind: "dev", status: "pending", hitl: false. Agents execute it. |
| review | kind: "dev", status: "blocked", blockedReason: "needs-review: <the specific question>", hitl: false — never hitl: true. A human answers (optionally editing the description) and calls POST /tasks/{id}/unblock; the task then enters ?ready=true and agents execute it. |
| plan | kind: "prd", status: "pending", hitl: true, description = a draft problem statement plus the row's findings. A human runs it through /shipwright:prd or /shipwright:plan-session. |
| human-only (branch-protection settings task only) | kind: "dev", status: "pending", hitl: true, no coding, description has ## Human steps. A human runs it via /shipwright:hitl. |
Human-only branch-protection settings task. A row that changes branch protection settings
(the paired task from repo-config/SKILL.md's pairing rule, emitted only when a repo
first sets up, or switches to, the required CI check; adding later jobs to CI emits none) is
filed hitl: true, status: "pending", never blocked: unblocking would hand it to an agent that may lack permission to read or change branch
protection. The description contains no coding and a ## Human steps section: (1) confirm CI
passed, (2) change the required checks. It keeps its depends_on the task that adds CI.
Route to review (the fix is a single task, but one question needs a human first) when any
of these hold. Put the question in blockedReason:
${{ secrets.* }} reference. Extract every reference and check
whether each name already appears in another workflow file
(grep -r '\${{ *secrets\.' .github/workflows/). A net-new secret needs a human to
provision it: question = "provision secret {NAME}, then unblock", and list the secret
name(s) in the description (same procedure as plan-session.md's Step 5.5 "CI workflow
secret scan").test-roadmap's Open Risks guidance.{file} still referenced indirectly?". Treat it as already-decided input.Route to plan (bigger than one task, or the decision itself is unclear) when:
files column spanning multiple packages), so no single
isolated task can be written.Everything else is auto: a clear existing test file or pattern nearby to mirror (the row's
files column names a target adjacent to or extending an existing suite with the same
layer/suffix convention, the fixture/mocking strategy already has precedent, no ambiguity).
Rules (a)–(c) and the plan triggers are evaluated per row; if both a review and a plan trigger
fire, plan wins. Credential rotation is not relevant here, so the only hitl: true writes this skill
makes are the plan route's kind: "prd" task and the human-only branch-protection settings
task — never any other dev task.
Worked example.
Row 1 — auto:
T-071 | M4 | src/lib/formatCurrency.ts | unit | high-tier | add unit coverage for formatCurrency edge cases | bun test src/lib/formatCurrency.unit.test.ts
src/lib/formatCurrency.unit.test.ts already exists with 10 sibling unit tests following the
same describe/it structure and no external fixtures. Clear precedent, no boundary crossing,
no audit ambiguity → auto (kind: "dev", status: "pending", hitl: false).
Row 2 — held, not routed:
T-088 | M2 | src/clients/paymentsGatewayClient.ts | integration | critical-path | add integration coverage for the new paymentsGatewayClient | bun test src/clients/paymentsGatewayClient.integration.test.ts
No *.integration.test.ts exists on the default branch and the merged blueprint has no
integration layer → held by Step 4.6 on a scheduled run (not filed, listed as waiting). Once the
proposal merges, it routes as an ordinary row.
description FieldThe description field must give dev-task (or the human reading it) enough context to fix
without re-reading test-readiness-plan.md. It mirrors issue.md.tmpl's body content minus
the GitHub-specific "Closing checklist" section — acceptanceCriteria is the task-store
equivalent of that checklist:
Milestone: {milestone name, e.g. "M2 — Critical-path coverage"}
Layer: {test-layer} | Bucket: {bucket} | Criticality: {priority}
Expected outcome: {outcome}
Files to touch:
{files_to_touch}
{If this is an audit task — include the audit-decision-rows table verbatim:}
Audit decisions:
| Item | Decision | Criterion |
|---|---|---|
{...rows, verbatim from Step 2's parse...}
Context:
- Inventory entry: docs/test-readiness/test-inventory.md#{anchor}
- Blueprint section: docs/test-readiness/test-system.md#{anchor}
- Migration bucket: docs/test-readiness/test-migration.md#{anchor}
Verification command: {verify}
Task: {T-NNN} | Route: {auto|review|plan}
Layer-split / naming tasks carry a coverage comparison criterion. When a row is the M1 naming + runner-exclusion task or the CI-pipeline-split task (it changes which files a runner or CI job picks up), append this to its acceptanceCriteria and Verification command: "Measured files and lines in the shipwright-coverage artifact before and after the change are compared; neither drops, and the artifact contains every layer." Contract: references/coverage-output.md ("All-layer coverage") — cite it, do not restate it.
Resolve the three context anchors the same way the former GitHub-issue publish skill's Step 5.4 resolved context links — by matching the row's task ID / outcome against the corresponding section headers in each artifact file. If an anchor can't be confidently resolved, omit that line rather than guessing a broken link.
dependenciesdependencies is an array of task-store IDs (test-{t-nnn}-{repo-slug} form) — one entry
per predecessor T-NNN this row's depends_on / pairing-rule reference names (parsed in
Step 2.3). Map each predecessor T-NNN to its task-store ID using the same
{t-nnn}-{repo-slug} derivation used for this task's own id.
This is what makes task-store's own ready:true query correctly compute readiness for these
tasks — it fully replaces the old ready / blocked label toggling the former GitHub-issue
publish skill's --refresh flag used to do. Do not implement any separate ready/blocked
computation in this skill — no local label state, no re-evaluation step. A task is ready
exactly when the task store says it is, by walking dependencies.
If a row has no predecessors, dependencies is an empty array.
If --dry-run was passed, run Steps 1–3 and 2's parsing as normal, but skip Step 4 (dedup)
entirely — do not query the task store. This includes the Step 4.1 fuzzy near-duplicate
check: it reuses Step 4's same two task-store queries, and --dry-run's whole contract is
"no task-store queries made" (see Setup: Parse Arguments). Extending the fuzzy check into
dry-run would require querying the task store, which would break that contract — so dry-run
previews never surface fuzzy-duplicate flags; they only appear on a real (non-dry-run) run's
Step 4/7.2 output. Step 4.5 (registry cross-check) is a local file read, not a task-store
query, so it does still run in --dry-run mode — a preview should reflect suppressed rows
the same way a real run would, printing Would skip {T-NNN} — resolved per test-readiness-decisions.md ("{entry name}") for each match instead of including it below. For
each parsed row surviving Step 4.5, compute priority (5.1), the route
(5.2), and dependencies (5.4) in-memory, then print a preview:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TEST FIX — DRY RUN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Would queue {N} tasks:
1. test-{t-nnn}-{repo-slug}
Outcome: {outcome} (T-NNN, M#)
Layer: {test-layer} | Priority: {priority}
Depends on: {dependency task IDs, or "none"}
Route: {auto|review|plan} (per Step 5.2{a|b|c|d} or default)
2. ...
No tasks written to task store. No dedup query made.
Re-run without --dry-run to queue tasks.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stop after printing.
Skip this step if --dry-run was passed (handled in Step 6).
/tmp/test-fix-tasks-{unix-timestamp}.json as a
JSON array.curl -sf -X POST \
-H "Authorization: Bearer $SHIPWRIGHT_TASK_STORE_TOKEN" \
-H "Content-Type: application/json" \
"$SHIPWRIGHT_TASK_STORE_URL/tasks/bulk" \
--data-binary @/tmp/test-fix-tasks-{unix-timestamp}.json | jq .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TEST FIX — QUEUED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
QUEUED {N} tasks ({A} auto, {R} review, {P} plan)
SKIPPED {K} tasks (already active)
FLAGGED {F} tasks (possible near-duplicate, not skipped)
SUPPRESSED {S} - resolved per test-readiness-decisions.md
HELD {H} tasks (waiting on a new test approach to merge)
Tasks queued:
test-{t-nnn}-{repo-slug} — {outcome} [layer: {test-layer}, priority: {priority}, route: {auto|review|plan}]
...
{If any skipped:}
Skipped (already active):
{T-NNN} — task already in queue or in progress
{If any flagged:}
Flagged for review (possible near-duplicate, not skipped):
{T-NNN} — {similarity}% title-similar to active task {other-id}: "{other-title}"
{If any held:}
Waiting (held until the proposal is on the default branch):
{T-NNN} — {outcome} — waiting on: {layer, approach or held T-NNN}
{If any suppressed:}
Suppressed (resolved per test-readiness-decisions.md):
{T-NNN} — {entry name}
Run /shipwright:dev-task to execute auto tasks. Review tasks wait for a human to answer and
unblock them (POST /tasks/{id}/unblock); plan tasks go through /shipwright:prd or
/shipwright:plan-session.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stop after printing — this is the sole final output for the regular flow.
This skill writes no counts into any repo file. It reports these numbers in its final output as
a metrics object, and /shipwright:test-readiness merges them into the run record it posts
through the shared recorder (see "System-cron contract" in
docs/task-store.md):
{ "queued": 0, "auto": 0, "review": 0, "plan": 0, "skipped": 0, "flagged": 0, "suppressed": 0, "held": 0 }
auto, review and plan are counted separately; held counts rows Step 4.6 withheld (always 0 on a standalone run); a --dry-run reports the would-queue counts
and writes nothing.
test-readiness-plan.md missing (regular flow): handled in Step 1 — print the message
and stop.T-NNN./tasks/bulk non-2xx, Step 7.1): log the response body and
stop. Do not retry blindly; re-running the regular flow is idempotent because the dedup
check (Step 4) skips already-queued rows.test-readiness-decisions.md fails to parse (Step 4.5): skip only the entries that can't
be confidently interpreted (same defensive-parse contract as test-inventory/SKILL.md's Step
0) — never fail the whole run over one malformed entry. A missing file is not a failure at
all; it's the documented no-op path.dev-task (after a human
unblocks a review task, or plans a plan task).dependencies array and its own
ready:true query are the sole readiness mechanism (Step 5.4). This skill never writes,
toggles, or reads a local ready / blocked label the way the former GitHub-issue publish
skill's --refresh flag did; that mechanism is fully replaced, not duplicated.--dry-run,
which explicitly skips it by design and queues nothing for real).test-readiness-plan.md was generated (Step 4.5). This check is
unconditional across all rows, not scoped to review-routed rows only.hitl: true on a dev task other than the branch-protection settings task — review
tasks are blocked with needs-review:, auto tasks are hitl: false; the only hitl: true
writes are the plan route's kind: "prd" task and that human-only settings task.{repo-slug} suffix (Step 3) so
the same T-NNN scanned in two different repos never collides.test-readiness-plan.md is not modified here — a queued task only means a fix is
scheduled. The plan document is Phase 4's output and is not checked off, annotated, or
rewritten by this skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub app-vitals/shipwright --plugin shipwright27 skills in this plugin
/agent-readinessScore one repo against the agent-readiness catalogue (docs/readiness.md) with the deterministic scorer, post one ReadinessSnapshot and record one run. Requires --repo org/repo. No model judgment, no task creation, no repo files./canary-executionCross-cutting contract for the test-readiness pipeline. Defines how canary-eligible test code runs in two modes — `local` (boot dependencies inline, hit localhost) and `canary` (skip the boot, hit a deployed `TEST_TARGET_URL`) — via a dedicated entry point separate from the local smoke runner. Specifies eligibility rules (read-only or self-cleaning, smoke/E2E only, critical/high tier only, zero DB-dependent tests) and the deploy-gate budget (<60s wall time). Referenced by the inventory, system-design, migration, and roadmap skills.
/duplication-fixRead a repo's ready_to_propose duplication patterns from the task store (PatrolFinding) and queue them as routed task-store tasks (auto, review or plan), one task per pattern, each carrying a strangler-fig (build -> coexist -> eliminate) execution plan. Requires --repo org/repo and duplication-scan to have run first./duplication-scanDiscover emerging duplicate/similar code patterns in one repo via judgment-driven comparison, track them across runs in the task store's PatrolFinding ledger, and list only stabilized open patterns in docs/patrols/duplication.md. Requires --repo org/repo. Report only — no code changes./entropy-fixRead the entropy-scan handoff for one repo and route PR-worthy violations as task-store tasks (auto / review / plan), one task per rule. Requires --repo org/repo and /entropy-scan to have run first./entropy-scanScan one repo for principle deviations and write docs/patrols/entropy.md. Requires --repo org/repo. Report only — no code changes.Other plugins' skills for the same job