agentleFS
DanMcInerneyDanMcInerney/architect-loop/skills/frozen-checks/SKILL.md

frozen-checks

Skill626 starsChanged 4 months agoMITView on GitHub

Use when the strategist drafts per-issue graded checks after decomposition and before builder dispatch. Produces one check file per issue at `docs/checks/<run>/<slice>.md`, frozen in git, read-only after.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All check files for a run commit to the factory branch before any builder is dispatched.

    line 60
  2. Very specific:

    After that commit, everything under docs/checks/ is read-only to every builder and reviewer — an edit there is an automatic FAIL regardless …

    line 62

≈ “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

Frozen checks

One check file per issue, at docs/checks/<run>/<slice>.md. Open it with purpose, a spec pointer, and a fix contract stating what a failure means and which file to fix — that header is the closing review's entire intent context for the issue. Write for a reader with no other memory of this run, in the codebase-design vocabulary (skills/codebase-design/SKILL.md).

RUN grammar

Normative from the shipped runner, skills/architect/check-runner.ps1; cite it, do not restate it divergently from skills/architect/dispatch.md's ## Check-runner dispatch. A graded item is exactly:

- RUN: `command` -> exit:<n> with optional trailing match:"<substring>".

match: is a fixed, case-sensitive stdout substring — never a regex. A RUN item without an -> exit:<n> expectation makes the runner exit 5 with no partial evidence kept; that is a check defect, not a builder defect. Every other line — rationale, judge-only intent items — is read by the closing review and the orchestrator, never graded by the runner.

Falsifiable and atomic

Each RUN item asserts exactly one falsifiable fact. Run every draft command against the current tree before freezing; a check that cannot fail is not a check.

Attack-list, run before freeze:

  • Repo-name grep collisions — a pattern that matches unrelated hits because it contains the repo's own name.
  • Self-matching — a pattern that matches the check file itself, not just the intended target.
  • git grep is blind to a builder's untracked new files in a worktree that hasn't staged them; use filesystem grep/test there instead.
  • New artifact paths — run git check-ignore <path>; a gitignored path never gets graded no matter what the check says.

Dependency surface

A RUN command's dependency set — the test files, validators, and scripts it executes — is part of the check's enforcement surface: agents that game a check edit the test, not the criteria file. Name that set in the check header. Decomposition keeps those files out of MAY TOUCH by default; when an issue legitimately owns one (a job writing the tests a RUN item runs), every builder edit to it must be disclosed in the job report, and the orchestrator re-verifies intent before trusting a green — the edited dependency must still fail a known-bad input.

Freeze protocol

All check files for a run commit to the factory branch before any builder is dispatched; record the freeze SHA on the tracking issue. After that commit, everything under docs/checks/ is read-only to every builder and reviewer — an edit there is an automatic FAIL regardless of the rest of the job report. An intent change discovered after freeze is a ruling: it goes in the run's rulings file, never a rewrite of the frozen check.

Duration hints

An issue or check file may note a duration hint in prose (e.g. "full suite ~20m") so a monitor doesn't mistake legitimate long work for a stall. A hint is informative only — never a kill ceiling, never a RUN expectation.

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.