/teamwork-kit:ship-or-fixfrom teamwork-kit
Oracle-frozen Builder and independent-Judge convergence cycle for governed production completion. Activates only when the operator explicitly sets Governance Dial G2 or names this skill; never auto-activates on task class.
Ships in teamwork-kit. 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.
Use the smallest production-completion level that fits the task:
teamwork Builder and independent final
Reviewer path. Do not load or claim ship-or-fix at this level.teamwork: a direct operator
instruction setting G2 for the current or named work unit, a direct
imperative naming this skill for the work unit, or a resumed work unit
whose durable governance_level record is already G2. Task class alone,
including security, privacy, authentication, authorization, payments,
destructive operations, irreversible migration, cross-system authority, or
production publication, NEVER auto-activates this level; those tasks
default to Level 1 with its integrity floor. If this level seems warranted
and the operator has not set it, ask once (one line: risk at the current
level, cost of this level); an unanswered question changes nothing and
creates no stop. Discussion, quotation, or questions about this skill
activate nothing.The operator may explicitly stop this skill at any time; lowering is a prospective operator transition that preserves produced evidence. If risk classification is uncertain, perform the smallest read-only check needed to frame the dial question; do not load the full skill merely to classify the task. This skill never grants commit, publication, installation, deployment, account, or product-Done authority.
Exactly one completion workflow may be enabled for a task, and the frozen
Outcome Contract names it. If another self-review or repair-loop workflow
appears enabled beside this skill, stop before candidate work and return
RECONVERGE.
SHIP means the implementation is independently ACCEPTED against the frozen
Outcome Contract and acceptance oracle. It is not merely ready for another
review. It is also not operator verification, product Done, or authority for a
later irreversible action.
Use existing governed seats. These are work-unit responsibilities, not new authority-bearing seats.
SHIP.FIX, RECONVERGE, BLOCKED, or
COLD_CHECK_PENDING.SHIP.One person or session may not occupy responsibilities that would certify its own assembled or previously certified artifact. A Pressure-Tester may later judge a revised subject that incorporates its findings because the revised subject is the Contract Owner's new artifact, not the Pressure-Tester return.
The cold Ship Judge remains required until the measurable sunset rule under
Qualification is separately satisfied and accepted. If no eligible fresh Ship
Judge is available, return BLOCKED with the exact eligibility gap and reopen
condition; never substitute a repair-exposed Judge.
Distinct sessions may fill them only when the independence graph above permits; no session may cross a stated exclusion. The Outcome Contract records the minimum sufficient assignment and explains why this Level 2 control is proportionate to the change risk.
At ORACLE_FREEZE, apply the current test-the-test guidance to public-seam,
failure-path, and durable-evidence design. At CYCLE_JUDGE and SHIP_JUDGE, apply
the judging-seat rules in teamwork. Pin both dependency identities in
the Outcome Contract; they grant no additional authority.
Before Builder execution, seal a digest-pinned Outcome Contract and acceptance oracle. Record:
The Oracle Certifier verifies the oracle before it judges any candidate:
Candidate-authored or candidate-modified tests are never part of the acceptance oracle. They may be supplementary Builder evidence only. Frozen test selection uses an exact pre-candidate allowlist. Every allowlisted test's dynamic dependencies, discovered members, registries, globs, directory walks, generated inputs, and predicate denominators are also frozen and compared for exact set equality; both added and missing members fail closed. A command whose acceptance result can change through Builder-controlled discovery is not a valid oracle. A candidate test may enter a later oracle only through a newly sealed subject and independent certification.
Any path, fixture, configuration, or tool that contributes to a frozen
predicate is oracle-owned and protected. Any changed or new path that matches
no frozen classification is UNCLASSIFIED; judgment stops and returns
RECONVERGE before its output can contribute to acceptance.
Apply every property whose normal trigger fires. Repository security, data-integrity, migration, registry-critical, privacy, or other hard gates are additional required properties and cannot be weakened here.
External verdicts are exactly SHIP, FIX, RECONVERGE, and BLOCKED.
COLD_CHECK_PENDING is an internal status, not an external verdict.
OPEN
-> ORACLE_FREEZE
ORACLE_FREEZE
-> BUILD only after certification and digest sealing
-> RECONVERGE when the contract, oracle, scope, sensitivity, role
independence, or identity cannot be certified
-> BLOCKED only when a true authority, safety, privacy, access,
essential-evidence, or irreversible-action stop
prevents certification
BUILD
-> CYCLE_JUDGE when the Builder returns the candidate and evidence
-> RECONVERGE when Builder work reveals an invalid contract or oracle
-> BLOCKED when a non-candidate environment, authority, safety,
privacy, access, essential-evidence, or irreversible
stop prevents further work
CYCLE_JUDGE
-> MODEL_CHECKPOINT before FIX when the third distinct objective-lineage
cause since the previous checkpoint is certified
-> FIX when the subject and oracle remain valid and a concrete
authorized implementation correction exists
-> RECONVERGE when outcome, scope, route, oracle, authority,
applicability, identity, or locked constraints are wrong
-> BLOCKED only at a true stop; candidate-caused failure is FIX or
RECONVERGE, never BLOCKED
-> COLD_CHECK_PENDING when every frozen predicate passes
MODEL_CHECKPOINT
-> FIX on CONTINUE with a concrete next ledger delta
-> RECONVERGE when the subject or oracle model is invalid
-> BLOCKED only at a true stop or authority boundary
FIX
-> BUILD
-> CYCLE_JUDGE with the same Cycle Judge and complete frozen oracle
COLD_CHECK_PENDING
-> SHIP only when an eligible fresh Ship Judge passes the
complete oracle
-> FIX when the Ship Judge finds an in-scope implementation defect
-> RECONVERGE when the Ship Judge finds a contract or oracle defect
-> BLOCKED when no eligible cold Judge or another true-stop
dependency is available
If the Ship Judge returns FIX, it becomes repair-exposed and may serve as the
Cycle Judge for that cause. A later terminal check requires another eligible
fresh-context Ship Judge. A candidate-caused environment or dependency failure
is FIX; a verified external environment failure that prevents decisive
evidence may be BLOCKED with an exact reopen condition.
An oracle defect discovered after BUILD preserves the candidate and receipts as
recoverable evidence but returns RECONVERGE, changes every oracle-dependent
green to UNKNOWN, and forbids acceptance under that subject. A new Contract
Owner may explicitly carry the implementation into a newly sealed subject; no
work is silently trusted or discarded.
For every FIX:
KEEP / DROP / UNKNOWN ledger delta. A step that cannot change the ledger
does not run.IMPLEMENTATION, ORACLE, FIXTURE, or UNCLASSIFIED against the frozen
map and rules.ORACLE, frozen FIXTURE, or UNCLASSIFIED change returns
RECONVERGE. Every property previously green under the superseded or
untrusted oracle becomes UNKNOWN; no stale green carries forward.RECONVERGE before tests run.Derive cause identity mechanically:
CAUSE_ID = SHA256(
PREDICATE_ID || CANONICAL_EVIDENCE_LOCATOR || FAILURE_CLASS
)
All three inputs are frozen semantic IDs before candidate work and are scoped to
the operator-approved objective lineage, not one oracle version. A failure that
does not match the taxonomy is UNCLASSIFIED_CAUSE and returns RECONVERGE;
changing oracle, subject, prose, session, or Judge cannot mint a new cause ID.
PREDICATE_ID and CANONICAL_EVIDENCE_LOCATOR are objective-lineage-stable
semantic IDs. The locator identifies the public seam and observation channel and
never uses a transient line number, timestamp, output ordering, temp path, or
repair-sensitive formatting. Every reconverged subject carries the complete
cause, route-family, checkpoint, and counter history. Its cause-lineage receipt
maps updated source clauses and oracle checks to the unchanged semantic IDs. A
genuinely changed production property requires an explicit new predicate and
new-cause justification independently checked by the Oracle Certifier. The
Certifier challenges the taxonomy for both false splits and false merges before
sealing it.
There is no numerical repair, artifact-version, token, or time ceiling created by this skill. Externally owned ceilings remain binding and never reset when a route or session changes.
At the third distinct certified objective-lineage cause since the previous
checkpoint, CYCLE_JUDGE enters MODEL_CHECKPOINT before another BUILD. The
Contract Owner and Oracle Certifier re-check outcome, scope, root-cause model,
oracle sensitivity, and authority. They record CONTINUE, RECONVERGE, or
BLOCKED with evidence. CONTINUE is not acceptance and requires a concrete
next ledger delta. The scheduling count restarts only after the receipt; it does
not erase causes, route-family history, reconvergence lineage, external counters,
or evidence. This is an automatic model-integrity checkpoint, not a repair cap
or an operator approval gate.
Invoke thinking's references/find-a-way.md by its pinned
identity and apply the whole reference: guard, trigger, KEEP/DROP/UNKNOWN
salvage, cheapest discriminating experiment, route-family diversity, progress,
counter accounting, terminal, and authority limits.
For this workflow, the standing trigger keys on the objective-lineage-stable
cause ID: when that same cause survives one meaningful correction, Find a Way
fires. The Oracle Certifier adjudicates route-family difference. When two
certified families die on the same cause, do not open a third and do not reset
through reconvergence. Return the cause exactly as the pinned reference requires:
either a true stop or an authority proposal. The workflow mapping is BLOCKED;
an authority proposal carries CONTEXT IMPACT: AUTHORITY_STOP and the exact
operator decision needed to open a different authorized work unit.
Persistence never expands authority, scope, spend, access, or irreversibility.
Every Judge return begins with candidate, baseline, contract, oracle, enumeration, classifier, tool, environment, role-eligibility, and ledger identities plus the declared search boundary.
For each property:
PROPERTY:
PREDICATE ID:
PREDICATE:
ORACLE IDENTITY:
INDEPENDENT SCOPE ENUMERATION:
OBSERVED EVIDENCE:
CERTIFIER-AUTHORED SENSITIVITY RECEIPT:
VERDICT EFFECT:
For FIX, also return:
CAUSE ID:
CAUSE-ID INPUTS:
EXACT GAP:
WHY IT MATTERS:
REQUIRED CORRECTION OUTCOME:
EXPECTED LEDGER DELTA:
ROUTE FAMILY CLAIM / CERTIFIER DISPOSITION:
EXACT RECHECK:
For RECONVERGE, name the invalid contract or oracle assumption, invalidate
dependent greens, preserve recoverable candidate evidence, close the current
subject, and state the minimum new subject and its review gate.
For BLOCKED, name the true stop, evidence, preserved assets, lawful
alternatives, and exact reopen condition. A candidate-caused failure is not
BLOCKED.
For SHIP, record complete final-state evidence and state explicitly:
SHIP = INDEPENDENT IMPLEMENTATION ACCEPTANCE
PRODUCT DONE: NOT CLAIMED
COMMIT / PUBLICATION / INSTALLATION / DEPLOYMENT AUTHORITY: NOT GRANTED
OWNER VERIFICATION: STILL SEPARATE
The 32-case, 96-judgment qualification is not complete. Its design is not a per-task gate.
The qualification corpus contains at least 32 interleaved whole cases:
SHIP;Run each sealed case in exactly three fresh Judge contexts: 96 primary judgments, with no discretionary reruns. A whole case passes by majority only when both its terminal verdict and required state transitions match the hidden expectation. Qualification requires all 32 whole-case majorities correct and at least 92 of 96 primary judgments individually exact, the smallest whole-judgment count that meets a predeclared 95% individual-accuracy floor.
Any primary judgment that returns SHIP for a known defect, changed oracle,
tampered channel, or missing governed member triggers exactly two predeclared
fresh-context confirmation judgments on that same sealed case. If either
confirmation also false-ships, qualification fails. Both confirmations count in
the published measurement; there are no further retries.
Measure Cycle-Judge versus Ship-Judge detection on every terminal pair. The cold Ship Judge cannot be retired during initial qualification. A later sunset subject requires at least 149 independently scored paired terminal judgments: at least 99 defect candidates and 50 clean candidates. Warm judgments must match all sealed expectations. Among the 99 or more defect pairs, zero defects may be detected only by the cold Judge; that criterion is exactly the one-sided 95% Clopper-Pearson upper bound of at most 3% for a zero-event cold-only detection rate with defect candidates as the denominator. Clean-case false-positive rates must not worsen without the cold control. The analysis and retirement amendment require independent acceptance. Any missed threshold keeps the cold control in force.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ezra144israel/agent-teamwork-kit --plugin teamwork-kit6 skills in this plugin
/better-codingEvaluate minimum-sufficient implementation routes and enforce the selected route for a fixed, authorized outcome. Use after outcome, scope, authority, and acceptance evidence are fixed. Do not choose outcomes, set acceptance, adjudicate governance, grade finished work, design tests alone, conduct security audits, or perform unrelated cleanup./plansUse for planning, roadmaps, design, architecture, sequencing, or before consequential work when no current FINAL plan plus GO covers it. Fire before changes to data or schemas, credentials or auth, production or releases, repository or source-home boundaries, irreversible work, or materially costly mistakes. Re-enter when that scope appears mid-task or when restoring prior plan state. Skip factual answers, trivial reversible one-step work, and authorized Builder or Reviewer execution under a current FINAL blueprint plus GO unless a reopen condition fires./teamworkFull governance constitution for work that touches shared state, requires independent review, spans seats, or involves planning, architecture, code, reviews, dispatches, status reports, or canonical records. Not needed for quick factual questions or trivial one-off answers./test-the-testRequires behavioral, failure-path, and durable-seam evidence for tests and review. Use when writing tests, reviewing test coverage, assessing behavioral test quality, or accepting high-risk behavior on test evidence./thinkingThe working method for every nontrivial task: frame the objective, ground load-bearing facts, converge on a route, execute without drift, and verify before delivery. Use for analysis, planning, implementation, debugging, document work, reviews, and multi-stage tasks.Other plugins' skills for the same job