agentleFS
June74June74/agentic-workflow/skills/setback-check/SKILL.md

setback-check

Skill0 starsChanged 3 months agoMITView on GitHub

Use at specific moments — before certifying a preflight, before counting a dispatch as returned, before declaring work complete, before git or publish operations, and before trusting a negative search result. Reads only the incidents tagged for that moment. Never read the whole log at startup.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not load every incident at startup.

    line 14
  2. Very specific:

    Read INDEX.md — the table only, from .agentic/incidents/ for the project and this framework's docs/incidents/ for the machinery.

    line 34
  3. Distinctive:

    If a matching incident's closure is a GUARD, confirm the guard is actually in place — a guard that was reverted is worse than none, because …

    line 39
  4. Very specific:

    Before verify, and before preflight, ask the question this log keeps answering:

    line 48
  5. Very specific:

    Run setback-log. Do it at the time — the exact error text is the most valuable part and it is gone in ten minutes.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setback check

An incident log that is written but never read is archaeology. This is the read side — deliberately narrow, because the failure mode of a mistakes file is that it grows until nobody reads it, including agents.

Never read the whole log

Do not load every incident at startup. A 40-entry log costs context on every run, gets skimmed, and buries the two entries that mattered under thirty-eight that did not. Read by trigger, at the moment the trigger fires.

The triggers

TriggerFires before you…
preflightcertify a roster or declare a component available
dispatchcount a returned session as a result
verifydeclare work complete, fixed, passing, or done
gitworktree, checkout, push, or branch operations
searchtrust a negative result from a search or traversal tool
writegenerate a file others or agents will read as data
shellrun a command across a shell or OS boundary
setupinstall, authenticate, or configure a harness
publishdo anything outward-facing or irreversible

How to check

  1. Read INDEX.md — the table only, from .agentic/incidents/ for the project and this framework's docs/incidents/ for the machinery.
  2. Take rows whose Triggers column contains the firing trigger.
  3. The title and closure are usually enough. Open the full entry only when the situation in front of you resembles it.
  4. If a matching incident's closure is a GUARD, confirm the guard is actually in place — a guard that was reverted is worse than none, because everyone believes it is there.

Typically one to three rows match. If a trigger routinely matches ten, the tagging is too loose — tighten it rather than reading them all.

The check that matters most

Before verify, and before preflight, ask the question this log keeps answering:

Did a check succeed and mean nothing?

Nine of the eleven incidents in this framework's own log share exactly that shape. A binary resolved but could not execute. A traversal tool returned zero from a directory full of files. A model list came back empty for working agents. A dispatched session returned on time carrying the wrong conversation. A directory was fully readable and was not a repository.

The general form: a negative or empty result is not evidence until you have confirmed the tool can see the thing at all. Invoke, do not resolve. Read a file, do not count files. Check that a return answers the question you asked.

When you hit something new

Run setback-log. Do it at the time — the exact error text is the most valuable part and it is gone in ten minutes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.