Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

evidence-rules

БесплатноБез исполняемых скриптовНе проверен

One claim with ten sightings - a wrong predicate and a missing notification both produce a plausible, quiet, checkable-looking state, neither raises an error…

TheLobbiот TheLobbi★ 22 звезды на GitHub

Об этом скилле

Evidence rules

One claim

A wrong predicate and a missing notification both produce a plausible, quiet, checkable-looking state. Neither raises an error. In both cases the only defence is a second reading through a different mechanism.

Everything below is that claim in a different place. The rules are not ten lessons; they are ten sightings of one failure, which is why they carry to a codebase and a fleet that have nothing else in common with the one that found them.

Two media

The second reading is
In tooling the raw print, read through a different field — a status against a conclusion, a file listing against an inventory count
In coordination measuring the thing you wait on, rather than waiting for news of it — query the blocker yourself instead of filtering for a message about it

That collapses two things most fleets treat as separate problems. Coordination failures are not a second category beside evidence failures. They are the same failure in a medium where the missing artifact is a message rather than a field.

One asymmetry, which decides where to spend if you can only afford one

You cannot enumerate the absences of messages you never wrote.

  • "The merger tells the unblocked lane" is unauditable. It leaves no trace, so nobody can verify it afterwards — including the merger.
  • "Every waiting lane measures its own blocker" is self-verifying by construction: the check either ran or it did not, and the next heartbeat says which.

Teach the pair. If only one survives, it is the waiter's.

And that is no longer a design argument — it is settled, three to zero. In one evening, three lanes sat waiting on work that was already done: ~2 hours, 68 minutes, and 566 minutes. None was detected by any monitor. Every one was found by someone measuring their own blocker. In all three cases nothing was stale, nothing was malformed, and no instrument had anything to report — the merges were correct, the heartbeats were correct and current, and a schema validator would have passed every one of those files.

But the two halves cover different sets, and that is why neither is optional. The waiter's half catches what you know you await. A lane cannot measure a blocker it does not know it has.

The demonstration is one merge with two victims that look like unrelated problems. A PR merged, and it (a) left one lane waiting 68 minutes on an already-merged PR, and (b) silently invalidated a second, unrelated PR's green by landing five files inside that PR's build-and-test closure — two of them the merged PR's own new guard files. Catalogued separately those are a notification gap and a staleness gap. They are one event.

The second lane's owner had no reason to check anything: nothing it was waiting on had moved. Only the merger could have reached it.

Half Covers Property
Waiter measures its own blocker blockers you know about auditable; 3 of 3 no-trace instances caught, 0 by any monitor
Merger tells everyone the merge affects the case the waiter structurally cannot see — evidence invalidated by a merge it was never part of leaves no trace when skipped, so it can never be verified after the fact

So notify-on-merge is not a courtesy — it is the thing that protects the other PR's evidence. Unauditable, and demonstrably not optional.

The demonstration is two audits that looked identical and were not. One session enumerated its own handoffs — a set it owns completely — and returned a sound negative naming seven items. Another enumerated its own reported merges and could not make the same claim, because merges and unblocks are different sets, and the set of waiters is precisely what no artifact records. "One omission found, and I cannot bound the rest" is a different claim from a clean negative.

That is rule 7 arriving at an audit instead of a count: the noun was right and the set was not the set the question was about. And the easy move was available and obvious — enumerate the merges, report all told, close the item — and a clean result would have been unfalsifiable.

A practice is only worth teaching where the confident version could never have been checked.

Every rule below carries a "does not bite" clause, and that is deliberate:

A rule applied everywhere is a rule nobody keeps. Knowing where it does not bite is what makes it survivable.

Worked examples for every rule: references/worked-examples.md.


0. What does this artifact SIT ON, and did that move?

Ask it separately from "did the artifact change". This is the rule the other eight are special cases of, and it is the one that survives when the others are forgotten.

Three members, none of them visible in a diff of what the artifact owns:

  • The CI definition changed under an unchanged branch.
  • A dependency changed unde
Полный SKILL.md на GitHub

Установить evidence-rules в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/worked-examples.md

FAQ

Что делает скилл evidence-rules?

One claim with ten sightings - a wrong predicate and a missing notification both produce a plausible, quiet, checkable-looking state, neither raises an error, and the only defence in both is a second reading through a different mechanism. In tooling that is the raw print through a different field; in coordination it is measuring the thing you wait on rather than waiting for news of it. Covers - ask what an artifact SITS ON and whether that moved, print the RAW STATE beside any predicate that decides whether to stop, a gate must name an input that turns it red, a destructive predicate needs its spare case proven by mutation, an absence needs the size of the space searched, a search-space cap manufactures false negatives while a result-set cap does not, check the exit code before reading the output, a true measurement stated as a durable property never expires and never stops being wrong, a count is only evidence when the thing counted is named, and a correction is itself a claim that names the set it ranges over. Use when writing a gate, guard, scanner, retention or delete rule; when reporting that something was not found, does not exist, or is not used; when writing a PR body, review verdict, status report or handover; when quoting a number to someone else; when relaying someone else's finding; and when correcting anything you or anyone else said earlier.

Как установить скилл evidence-rules?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл evidence-rules запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить evidence-rules с