/agent-traffic-control:rule-cited-by-title-proposes-work-the-ledger-says-is-builtfrom agent-traffic-control
A standing rule ("no change to X until the owner has reviewed Y") cited from its TITLE, its id, or a peer's paraphrase instead of its recorded body — so a session proposes building Y when the shared ledger already carries Y as built and waiting on a human. The second half is a vocabulary trap: a status word that means "built, unreviewed" is usually spelled `open` or `pending`, which in issue vocabulary means "not started", so the row that proves the work exists reads as proof it does not. Use when: (1) you are about to propose, plan, or dispatch work because a rule, decision, ruling or policy requires it; (2) you are writing a question, option or recommendation for the owner that offers to build something; (3) you learned the rule from its id, a title, a memory, or a relayed brief rather than by reading its own record; (4) a rule names a deliverable and you have not queried the ledger for it; (5) a ledger row's status is a bare word like `open` whose meaning you have not read from the ledger's own schema. Symptoms: an option card offering to produce an artifact that exists on disk; two artifacts answering one question; the owner replying "you already sent me this". The checks are cheap and exact — read the rule's body off the default branch, then query the ledger by the deliverable's id, topic and date, then `ls` the output path. NOT for a brief that was executed and never retired (that is executed-prompt-not-retired-sibling-redoes-it), NOT for a fix a sibling already shipped to production (verify-live-prod-before-shipping-superseded-fix), and NOT for an unexecuted brief whose premise drifted (handoff-prompt-stale-user-hint-newer-state).
Trending skills
7-day visitors to each skill page
Ships in agent-traffic-control. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A repo keeps its standing decisions and its deliverables in one hand-edited,
machine-parseable ledger — a tracker data.js, a registry, a manifest, a decisions
table. Decisions have ids. Artifacts have rows with a status. Both are read by every
session, which is the point of keeping them there.
A session reads a rule by its id:
d-the-threshold-is-charted-before-it-moves
That id is a complete sentence and it sounds like the whole rule. The session concludes: any change to the threshold needs a chart of the outputs at each candidate value, and nobody has charted them — so it writes the owner an option card offering to build exactly that.
Two things were never read.
The rule's own body, which said the charts are required and already commissioned:
"ruling": "A change to the threshold ships with the outputs charted at each candidate
value, reviewed by me before the value moves. Commissioned 2026-08-30."
The artifact rows, which carried the deliverable twice:
{"id": "a-threshold-chart-2026-08-30", "path": "docs/deliverables/threshold_chart_2026-08-30.html",
"status": "open"}
{"id": "a-threshold-chart-2026-09-05", "path": "docs/deliverables/threshold_chart_2026-09-05.html",
"status": "open"}
Both files exist. Both are built. "status": "open" in that ledger means built and
not yet reviewed — the ledger's own header says so. Read as issue vocabulary it means the
opposite: nothing has happened yet. So the one row that proves the work is done is the
row that reads as proof it is not.
The cost is not a wasted hour. It is an option card asking the owner to authorise work they already paid for, which spends the scarcest thing in the loop — their attention — and invites a second artifact answering a question that already has one. A human who answers that card has been misled by you, persuasively, because you quoted a real rule.
Any of:
open, pending, active, awaiting-owner) and
you have not read what that word means in this ledger.Environmental smell: a ledger whose decision rows and artifact rows live in one file; statuses that are single words; ids written as full sentences; parallel sessions that learn the state by relay. None of this is covered by CI — no gate reads a status word's meaning, and every check stays green while the card goes out.
Your checkout's copy is a copy; so is the memory that named the rule. Read the field.
LEDGER=docs/site/assets/data.js # whatever your ledger is
git fetch origin --quiet
git show "origin/$(git symbolic-ref --short refs/remotes/origin/HEAD | cut -d/ -f2):$LEDGER" \
> /tmp/ledger.live
python3 - <<'PY'
import json, re
raw = open("/tmp/ledger.live", encoding="utf-8").read()
data = json.loads(raw[raw.index("{"):raw.rindex("}") + 1]) # pure JSON after the assignment
for d in data.get("decisions", []):
if "threshold" in d["id"]: # your topic
print(d["id"], "|", d.get("status"), "|", d.get("ruling", "")[:400])
PY
An id is a label someone chose; the body is the rule. They diverge most where it matters — the body is where "and it is already commissioned" lives.
Write the rule out as two obligations, because they have different owners:
| The rule requires | Who owes it | Your move if it is outstanding |
|---|---|---|
| the artifact exists | a session | build it |
| the artifact is reviewed | the owner | a review nudge — never a rebuild |
A session cannot discharge the second one, and building a second artifact does not help the owner review the first.
Three queries, because a deliverable is named inconsistently by the sessions that filed it.
# artifacts whose id or path mentions the topic
python3 - <<'PY'
import json
raw = open("/tmp/ledger.live", encoding="utf-8").read()
data = json.loads(raw[raw.index("{"):raw.rindex("}") + 1])
for a in data.get("artifacts", []):
if "threshold" in a["id"] or "threshold" in a.get("path", ""):
print(f'{a["status"]:16} {a["id"]:40} {a.get("path","")}')
PY
# and on disk, because a row and a file can exist without each other
ls -la docs/deliverables/ | grep -i threshold
The ledger tells you, and it is the step everyone skips:
# the ledger's own header/schema comment, and its validator
sed -n '1,60p' "$LEDGER" | grep -in "status\|open\|awaiting\|reviewed"
grep -rn "awaiting\|'open'\|\"open\"" tools/validate_data.mjs scripts/ 2>/dev/null | head
open is the dangerous spelling: in issue vocabulary it means not started, and a
ledger commonly uses it for delivered, not yet signed off. If the ledger does not define
its vocabulary, the validator does — it is the only reader whose interpretation is
enforced.
Sometimes a second artifact is right — the first was built at the wrong values, or against a superseded input. Then the proposal must carry the existing one by path and date and say why it does not answer the question. An option the owner can only evaluate by remembering what they were sent three weeks ago is not an option.
# 1. Every artifact row's file exists, and every deliverable file has a row.
python3 - <<'PY'
import json, os
raw = open("/tmp/ledger.live", encoding="utf-8").read()
data = json.loads(raw[raw.index("{"):raw.rindex("}") + 1])
rows = {a.get("path") for a in data.get("artifacts", []) if a.get("path")}
for p in sorted(rows):
if not os.path.exists(p):
print("row with no file:", p)
disk = {os.path.join("docs/deliverables", f) for f in os.listdir("docs/deliverables")} \
if os.path.isdir("docs/deliverables") else set()
for p in sorted(disk - rows):
print("file with no row:", p)
PY
# 2. No text you are about to send offers to build a path that already exists.
grep -oE '[a-z0-9_/.-]+\.(html|md|json|csv)' OUTGOING.md | sort -u | while read -r p; do
[ -e "$p" ] && echo "already exists, yet named as future work: $p"
done
# 3. Every rule you cited, you cited from its body — one line per id, printed.
# If you cannot print the body you read, you read the title.
The third check is the one that catches this class. A citation you cannot print is a citation you did not read.
| # | What happened |
|---|---|
| 1 | Session drafts an option card: "shall I build the renders the rule requires?" |
| 2 | The rule was read from its id, which is a full sentence and reads complete |
| 3 | Its body, on the default branch, said the renders were commissioned three weeks earlier |
| 4 | The ledger held two artifact rows for them, both status: open, both files on disk |
| 5 | open in that ledger means built, awaiting the owner — its header says so |
| 6 | Caught before sending, by one query of the artifact rows for the rule's topic |
| 7 | Card rewritten: option A became "review the one that is already built, first", citing its path and date |
The rewritten card is shorter than the original and asks for something the owner can do in ten minutes instead of something that costs a session.
executed-prompt-not-retired-sibling-redoes-it is a
brief that was executed and never marked done, on both its surfaces. Here nothing was
mis-marked: the ledger was correct and complete, and was not consulted.verify-live-prod-before-shipping-superseded-fix is a
sibling having already shipped the change. Here the artifact is deliberately not
shipped — it is waiting on a human, which is a state a session must not try to clear.injected-claude-md-is-the-worktrees-copy-not-mains
and inherited-scope-doc-names-may-not-exist
are the injected rulebook and the inherited plan; this is a rule you quoted from its
label while its record, and its deliverable, sat in a file you can read.git show — <rev>:<path> reads a file
out of a commit without checking it out, which is what makes step 1 free.git symbolic-ref — resolves the
remote's default branch, so step 1 does not hard-code main.check-a-stale-branch-is-not-undoing-newer-main-work — the same ledger, the write side: a stale
base silently drops other sessions' rows. Read it before editing the rows you just read.What SKILL.md sets; muted values are Claude Code's defaults
118 skills in this plugin
/agent-refusal-with-evidence-beats-literal-complianceA dispatched agent that does exactly what you asked can ship a defect you would
have stopped yourself, because it can see something at the worksite that you
could not see when you wrote the brief. Use when: (1) you are writing a brief
that prescribes a specific fix, threshold, wording or value rather than the
outcome you want; (2) an agent reports that it did not do what you asked and
you are deciding whether that is insubordination or judgement; (3) an agent
asserts "this is fine" or "not needed" with no measurement behind it; (4) you
are reviewing overnight output and want to know which decisions were checked
and which were assumed. Two halves, and both are needed: give the agent
explicit permission to satisfy the INTENT of an instruction while refusing its
letter, and REQUIRE the evidence with the refusal — what it built or measured,
what that showed, what it did instead. Evidence is the whole difference between
a refusal you can bank and one you have to re-litigate. Four agents correctly
declined an instruction in a single run; one built the suggested fix, measured
that it turned a silent safe refusal into a permanently red pipeline, and
reverted it unpushed.
/auto-merge-rearms-while-agent-live-kill-then-disarm-verifyDisarming auto-merge on a PR whose agent is still running does not hold it —
the agent re-arms within minutes and the PR merges, because arming is a step in
the agent's brief and disarming is not an instruction to the agent at all. Use
when: (1) you want to STOP a pull request from merging that an agent opened and
armed, for review, for a rethink, or because it is landing into a queue you are
trying to drain; (2) a PR you disarmed merged anyway; (3) you are telling agents
which PRs are on hold and want the hold to be enforced rather than announced;
(4) you are about to run `gh pr merge --disable-auto` and have not decided what
to do about the agent. The order is KILL THE AGENT FIRST, THEN DISARM, THEN
VERIFY the disarm by reading `autoMergeRequest` back — a disarm you did not read
back is not a hold. The stronger form needs no ordering at all: convert the PR
to a draft with `gh pr ready --undo`. A draft cannot merge whatever any agent
does to it, so the hold survives an agent you missed, an agent that restarts,
and an agent you did not know about.
/batch-member-cites-a-path-only-a-non-member-addsYou wrote something correct that the default reader cannot reach: a batch member citing a
path only a NON-member adds, or a rule, ruling or ledger sitting on an unlanded branch.
/batch-merge-subject-is-not-evidence-a-member-landedYou are about to close, delete the branch of, or mark as landed a pull
request because a batch, roll-up or merge-train commit on the target branch
names it in the subject line, and because the member's own commits all
predate that merge by wall clock. Neither of those is evidence. A batch
branch is assembled at some moment BEFORE it merges, so anything the member
pushed after assembly is outside it, and the subject records INTENT at
assembly time rather than CONTENT at merge time. Use before closing a
member, when an ancestry check against a squashed batch says no, or when a
member's branch still shows commits ahead of the target. Compare file
content against the target branch instead, expecting exactly one legitimate
difference: the shared aggregate file every member appends to.
/check-a-stale-branch-is-not-undoing-newer-main-workA branch built on an out-of-date main is about to merge, or has merged, and may undo work
that landed since. Use when a green, conflict-free PR deletes files you never touched,
newer values or a whole redesign vanish after a sibling PR merged, rows of a shared ledger
(tracker, registry, CHANGELOG) disappear or revert, or when `git diff main...HEAD` or a
reviewer says your small PR touches dozens of files you did not change.
/ci-leg-skipping-moves-minutes-it-does-not-remove-themYou are about to propose, price or approve a CI cost saving that works by
making a job or matrix leg SKIP on pull requests — a path filter, a safe
list, a changed-files gate, an exemption list. Check first whether the
pipeline runs a complement or backstop on merge, on push, or nightly:
many do, and then the legs a pull request skipped are exactly the legs some
later run executes, so a branch that goes green once and merges bills the
same total either way and the wall clock does not move at all. Use when
pricing a filter change, when a percentage saving is quoted with no basis,
or when choosing between filtering legs and batching pull requests. The
question that separates money from bookkeeping is whether the change
removes RUNS or merely moves LEGS.
npx claudepluginhub wan-huiyan/agent-traffic-control --plugin agent-traffic-control