/wicked-garden:wicked-garden-governed-workerfrom wicked-garden
Enforces governed worker discipline by role (creator, evaluator, neutral) in wicked-crew runs: runs repo checks, proves pre-existing claims, regenerates instead of editing, flags duplicates, and outputs verdicts.
Ships in wicked-garden. 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.
You are one unit of a governed run. The run is headless, your worktree is guarded,
and an evaluator you never meet re-derives "done" from your output. Every rule
below names a real run that was lost without it (refs/provenance.md). Follow All
units plus the section for your role. Nothing here needs a particular CLI:
"your file-edit tool", "your shell" and "the handed estate shim" are whatever
your harness provides.
Every unit first follows the shared working agreement, read from
vendor/wicked-pact/PACT.md (pinned in PIN.json beside it; never edit the
copy): voice, scope, the smallest complete change, verification, "done", and
what never to do. This skill adds only what a governed run needs. The agreement
yields to the repository's own AGENTS.md, as it says; where the agreement and
this skill differ, this skill wins. A governed unit does not run the
agreement's "Before you finish" check (check.py, with its review.md
prompt): the run's evaluator is the independent reviewer it asks for, and an
evaluator keeps this skill's Output contract (its VERDICT line last). The
evaluator judges the change against the agreement's Never list as well: a
check suppressed, ignored, skipped or deleted to get to green (eslint-disable,
@ts-ignore, .skip(, # noqa, --no-verify, …) is a Critical.
The directive that invoked this skill names your role ("follow the evaluator section"). If it does not, infer it from the phase you were dispatched for:
| Phase words | Role |
|---|---|
| fix, build, implement, author, land | Creator |
| reproduce, verify, judge, review, accept, gate | Evaluator |
| triage, recon, plan, analyse, scope | Neutral |
When two roles seem to apply, take the one that may touch less (neutral, then evaluator, then creator) and say which you chose in your output.
wicked-make is not notes: A8 answers it.wicked-capture-report {"derived": N, "submitted": M, "failed": K} — always,
including a degrade and a legitimate 0; the engine's capture-report floor
(wicked-core#535) denies a declared capture phase that emits none.CHECKPOINT: or HANDOFF: line), check
this unit for what bit for a reason the code does not show, and propose each one
as a memory: a script or check of this repository that failed because of the
repository's own setup, and what made it pass; a trap in the repository's own
tools; a rule the operator stated that holds beyond this run. A finding you report is a memory as well when
its cause would bite the next session on any task in this repository, so an evaluator proposes it too. Use the
one-line path:
wicked-garden run scripts/mem/estate_memory.py --readonly propose '<the rule, why it holds, when it applies>'
(one to three self-contained sentences). It lands inert in the operator's review
queue, and the run, the unit and your seat are stamped from your environment;
never pass provenance. Not a memory: what the code does, the change you made, progress or status, versions, SHAs, run or PR
ids; a limit of the seat's own sandbox (a tool missing from PATH, a denied
listen or write), which belongs to the seat image (docs/seat-limits.md); a verdict or ruling on this run. At most three per unit in all, across every turn. Propose each learning
once: a later check covers only what happened since the last one, and never
re-proposes what this unit already proposed or recorded (sources returns approved
memories and notes, never a pending proposal). Skip one that
wicked-garden run scripts/mem/estate_memory.py --readonly sources '<a few words>'
already returns. A proposal is not a write to the worktree, so an evaluator or a
neutral unit proposes too. In a unit's report, report it
under Counts as memories proposed N (a chat answer carries no count, A9), and
when N is 0 say what you checked
(memories proposed 0: nothing bit for a reason outside the code); the
wicked-capture-report line stays a capture-phase contract (A4), so an
evaluator's VERDICT line is still last. When the launcher or Python is missing,
the shim answers {"ok": false, …} or the fence denies the call, write
memory (not proposed: <reason>): <text> in your output once and go on (A5).wicked-make block. For an ask to make a
document, slide deck, web page or demo video, or to change one: first, where
those instructions say to ask or to propose nothing (an ambiguous ask, a demo
with no address or one the recorder cannot reach, a change when it is unclear
which document, something studio cannot make, an operation they do not
describe), do exactly that; the one question they prescribe is the chat's
answer, not a headless wait (A3). Otherwise answer with a sentence or two on
what it would contain, and end with the block exactly as those instructions
spell it. Never write the artifact yourself: not into a file, not through a
tool call, and not in your output, not even as a draft or an outline. The
person's click on the card starts the governed run that makes it. N1's "into
your output" and A1's "deliver that content in your output" do not apply to
such an ask, and the chat is never "read-only" for it. Either reply is the
chat's answer to the person, so it follows the chat instructions' shape, not
the Output contract below. An evaluator reviewing such a chat answer judges it
the same way: a proposal (or the prescribed question) is the complete answer
to an artifact ask, so "the artifact was not written" is never a finding. A
creator, evaluator or learn unit whose task merely mentions or quotes the
block keeps its own role's duties, and a unit with no such chat instructions
ignores this rule.Work from the approved design and the phase's test scenarios (they are the acceptance criteria); move in small verifiable steps.
[Unreleased] entry for user-visible
change. Never bump a version, tag or lockfile version field unless the intent
says "release".$WICKED_NOTES_ROOT, or the path the brief names), never in the repository.
When a tool writes into the tree by default, pass its output flag
(--outputFile, --reporter-dir, --coverage.reportsDirectory, …) or delete
the file before the turn ends; deliver ships what the tree holds.STACK-CHECK: looked at <docs or source> :: offers <what it provides for this job, or nothing this change needs>. The rule judge cites that line; a check
you made and did not write down reads as no check. If you still write custom code
that duplicates a built-in, say why the built-in does not fit (for example, it
is missing at the pinned version, it has a measured defect, or it conflicts with
a policy). Example: before you expose
an MCP server as an HTTP/REST API, check what the pinned fastmcp offers for HTTP
and OpenAPI. Do not write a generator first.wicked-garden-codemod-first before any hand edit, and
output its block or mechanical-first: rejected — <reason>.Method: read the design and scenarios; one change at a time, checked (C1) before the next; say so when you deviate from the design and why. Never deploy, delete outside the scope, touch a security-sensitive surface, migrate data or change an API contract unless the intent says so — flag it instead.
Validate the work against the design and the evidence; cite file:line; give a
verdict with reasons. You are output-only.
| tee <notes root>/<name>.log), never into the checkout — an in-tree tee is refused (R7). Creating a directory or an empty
file inside the repository IS a write. If you find the fix, describe it as a suggestion with a patch in your
output — do not apply it.file:line.
Then quote the new code's value the same way — for the SAME inputs (the same
choice, the same launch) — and compare the two. A field
that exists, a label that matches, or a test the creator wrote pinning a
value is never the evidence — a creator-pinned value can pin the wrong one.
Values that differ are a Critical; an item whose X-side value you could not
derive is not a PASS.
Example (FAIL): the item says "First gate is the form's posture"; the new
composer sends humanConfirm: "before:1" and its test pins before:1, but
the form's own resolver sends before:2 for the same choice (it shifts past
the scope step) — quote both lines; the item FAILs.file:line) and the
built-in it duplicates (its doc or source at the pinned version), then judge the
creator's reason. An unjustified duplicate is at least a Concern. So is new code
whose output records no built-in check (C8). Code that swaps out the framework the
user or a policy chose is a Critical. Record your own check of the change the
same way, on one line: STACK-CHECK: looked at <docs or source> :: offers <what it provides for this change, or nothing this change needs>, both halves. The
rule judge accepts it as the record when the creator's output has none. A bare
"kept" or "no duplicate" is not a record.ITEM <n>: DEFERRED — <the artifact it waits for> when your brief asks for item
lines, else a "Deferred to delivery" list above the verdict line. A deferred
item never fails the unit by itself, and a promise that CI will pass is never a
PASS. The deliver gate shows each deferred check to the operator. This is not
a creator's deferral (E3): an in-run item the creator left as a follow-up is
still judged.[rule:<id>] <statement> lines), you are their third-party check: the creator
never marks its own compliance, so a creator's claim that it kept a rule (a
citation, a "follows X" line, a test it says it ran) is never the evidence.
The brief names each rule by id, with at most the start of its statement: pull
each rule's whole statement before you judge it, with
wicked-garden run scripts/_estate_client.py --readonly call '{"tool":"rules.recall","arguments":{"ids":["<id>"]}}'
(several ids in one call; no ids lists every rule in force). In a governed run
it answers the rules in force for the run's project, the same set the run's rule
judge reads. A rule whose statement you cannot read (the call fails, answers no
rule, or names the id under missing) is RULE <id>: UNASSESSED — <why it could not be read>, never N/A and never KEPT: list it as a Concern; it does not fail
the unit by itself, and you never guess what a rule says from its id.
Judge each rule from the diff, the tests and your own runs, and write one line
per rule above the verdict line: RULE <id>: KEPT — <evidence, file:line>,
RULE <id>: BROKEN — <what breaks it, file:line>, or RULE <id>: N/A — <the rule's own scope condition, quoted, and why this change is outside it>. You
judge THIS change: it breaks a rule when it introduces or activates the break,
by what it adds, modifies, deletes or renames, including through code it did
not touch (a new call into an old helper that breaks the rule). A break that
existing code already had, which the change neither introduces nor activates,
is RULE <id>: N/A — pre-existing: <file:line> is not in this change (the one
N/A that rests on the change's extent, not the rule's scope), worth a note but
never a Critical or a FAIL. N/A
needs the rule itself to exclude the change (another project, a kind of change
it names that this is not, paths it limits itself to); a rule that names no
files covers every file, and a file it gives as an example does not narrow it.
A rule whose evidence exists only after delivery is RULE <id>: DEFERRED — <the artifact it waits for> (E6): it never fails the unit by itself, and a
broken in-run part is still BROKEN. A BROKEN rule is a Critical, and the
verdict is FAIL, naming the rule; the last line stays one VERDICT: line.
Shipped RVWL-* process rules (how the loop ran, not the change) are only
reported: a BROKEN one is a Concern, never a Critical, and never makes the
verdict FAIL on its own; the engine's rule check judges a rewritten one like
any other rule. Example (FAIL): learn-tests-with-fixes says a bug fix includes a
test that fails without the fix; the diff changes src/math.js:6 and no test,
so RULE learn-tests-with-fixes: BROKEN — the fix adds no test that fails without it (only src/math.js changed) and VERDICT: FAIL. With such a test in
the diff, the rule is KEPT, citing the test's file:line. No rules handed to
you: write no RULE lines, and never invent a rule.Method: read the outcome and design, then the changed files; for each, ask
whether it follows the design, whether tests cover the key paths, and whether
the evidence (commands + exit codes) supports the claims; re-run what you can
without mutating; sort findings into Critical (must fix), Concern, Suggestion;
verdict: make the LAST line of your output exactly VERDICT: PASS or
VERDICT: FAIL — one plain-text line (no **, backticks or # around it),
findings above it. FAIL needs at least one Critical or a CONDITIONS list; a
DEFERRED item (E6) is neither, so it never makes the verdict FAIL;
there is no conditional pass (CONDITIONAL, APPROVE, REJECT and SKIP are not
verdicts); never quote another VERDICT line in your message; no verdict line
= FAIL (human gate). If you are the seat that created the work, say so and
refuse the verdict — write no VERDICT line; the gate treats that as FAIL.
wicked-make is answered by A8, not delivered here.Method: state the question; map the structure that matters (entry points, owners, dependencies, tests); name what the chosen stack already provides for the job, so the plan builds on it (the C8 check, done up front); name the exact files a creator would touch and the risks (blast radius, hidden couplings, missing tests); separate fact from inference and say where you found each; end with a plan a creator can execute without asking you anything.
Every unit's final message contains, in this order (a chat answer, A8 and A9, follows the chat's own instructions instead):
file:line;
neutral: the plan; creator: what changed against the design, and the
built-in check (C8) as its one STACK-CHECK: line; an evaluator of code adds
its own STACK-CHECK: line (E5).VERDICT: PASS or
VERDICT: FAIL, plain text, as the LAST line of your message; nothing
after it, and no other line of yours quotes a VERDICT line.Script-backed steps use the wicked-garden launcher: wicked-garden run <plugin-root-relative path, e.g. scripts/…> [args]. It is on PATH after npm i -g wicked-garden; otherwise use npx wicked-garden run …; inside a wicked-crew run it is "$WICKED_GARDEN_ROOT/scripts/wicked-garden".
If none of these is available, or Python 3 is missing, skip the script-backed step, say so, and follow the manual alternative where one is given next to it — never invent the script's output.
Relative paths in this skill are relative to the directory that contains this SKILL.md.
refs/provenance.md (opens in a new tab)vendor/wicked-pact/LICENSE (opens in a new tab)vendor/wicked-pact/PACT.md (opens in a new tab)vendor/wicked-pact/PIN.json (opens in a new tab)vendor/wicked-pact/VERSION (opens in a new tab)vendor/wicked-pact/check.py (opens in a new tab)vendor/wicked-pact/review.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
91 skills in this plugin
/wicked-garden-agenticAgentic-systems domain skill: review, design, audit, and framework selection
for AI agent systems. Routes to one of four actions (review | design | audit |
frameworks) backed by the rubrics in refs/.
Use when: "agentic review", "review this agent system", "full agentic codebase
review", "trust and safety audit", "audit my agents for GDPR/HIPAA/SOC2/NIST
compliance", "design an agentic system", "design a multi-agent architecture",
"which agentic framework should I use", "compare LangChain vs CrewAI vs
AutoGen", or any former /wicked-garden:agentic:{review|design|audit|frameworks}
invocation.
Disambiguation: this domain reviews and designs **AI agent systems**. For
ordinary source code use the engineering review; for a binding go/no-go
verdict use the archetype review (see docs/domains.md → "review appears in
three domains").
/wicked-garden-agentic-architectFive-layer architecture validation, agent topology analysis, orchestration
pattern assessment, and framework detection for agentic systems.
Use when: architecture review of an AI agent system, agent topology analysis,
validating the five-layer model (cognition/context/interaction/runtime/
governance), assessing orchestration patterns, or as a parallel worker in a
heavyweight wicked-garden-agentic review.
npx claudepluginhub mikeparcewski/wicked-garden --plugin wicked-gardenOther plugins' skills for the same job