Ratchet remeasure

From SlopLabs/slopos · View interactive version

Ratchet remeasure is an AI agent skill from the GitHub repository SlopLabs/slopos. Re-measure a tracked gate file under `scripts/gates/` after a gate fails on a cap, an allowlist or a recorded list. Use when `xtask elf`, `run_tests gate`, `xtask base-interface` or `xtask libc-exports` rejects a change you meant to make.

How to use this skill

Skill file

A ratchet failure is a measurement to re-take, not a number to raise. First

decide whether the change should move it: a frame that grew, a lock order

that inverted or a call path that reached a power primitive may be the bug.

Read first

Rules a change must keep

which lock, test, account, frame or call added it.

removed test hands its exemption back in the same commit.

failure is a CPU that stopped scheduling.

its file is refused.

captures (--log once per boot) so the cap carries the spread.

takes the next number.

must see, and is the one exception to the first rule.

How

elf --variant <dev|release|tests> builddir/kernel-<variant>.elf

--emit-allowlist <gate> writes scripts/gates/<gate>/<variant>.txt`.

builddir/ci-test.log; then `builddir/run_tests gate <name> --variant

tests --emit-allowlist --log builddir/ci-test.log >

scripts/gates/<name>/tests.txt`.

slopos-abi raised by one. --print shows the surface for a diff.

both directions: a lacks the probe now finds present is a decision to

re-take, not a line to flip.

Checks

Not yet in the docs

Read pending.md beside this file when it exists. A change that adds or alters an invariant the docs do not state appends it there in the same commit.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.