Safety Score v2

How we grade

Documented from the shipped grader (score-v2.mjs) · the weights, bands and every example score on this page are produced by that code when the page renders, so they cannot drift

Every A–F on this site comes from one deterministic function. The same code grades the directory, the /grade page, the MCP loops_grade tool, the builder and every submission — and it always grades the same text: the listing's description and prompt together. No LLM, no network, no brand exceptions. It grades what a loop says, not what it does.

The 0–100 ruler

Gate fails → F·0A danger string, spam, or no bound and no harness. Nothing else is counted.
Ceiling CA soft promise ("until done") with nothing executed to verify it. The letter stops at C however high the score.
Floor DAny bounded loop. A thin monitor can be D, never F.
Structural FUnbounded, a soft promise, nothing executed. Fails without a danger string.

What each grade looks like

Seven prompts, graded by the live grader when this page renders. Marked phrases are the words that fired each signal; each bar is to scale on the ruler above. Solid segments are points earned, the hatched segment is a soft promise, and a dashed outline is credit the text carries but does not earn.

Fix the failing tests

95 / 100Grade A
Fix every failing test in packages/api. Run npm test after each change and stop when it exits 0. Stop after 15 iterations. Only edit files under packages/api/src; never touch migrations. If a fix breaks a previously passing test, revert it and try a different approach. Open a PR for review; never merge.

Why A. All four guarantees an A needs: a checkable exit, a cap, a check that runs, and a scope. Bounded, so the floor is D and nothing caps it.

Same loop, no scope, no review

80 / 100Grade B
Fix every failing test in packages/api. Run npm test after each change and stop when it exits 0. Stop after 15 iterations. If a fix breaks a previously passing test, revert it.

Why B. Bounded and verified, but the agent may touch any file and ships without review. Missing one guarantee is the B band.

Refactor "until done"

50 / 100Grade C
Refactor the auth module until done. Stop after 20 turns. Only touch src/auth; never delete files. Open a PR when finished.

Why C. "Until done" is self-attested and nothing runs to check it, so the ceiling is C: more scope or review could not lift this above C. Swap the promise for "until npm test exits 0" and the same prompt grades A.

A Ralph harness with no cap

40 / 100Grade D
Read progress.md, pick the next unchecked task, implement it, run npm test, update progress.md, then start a fresh context and repeat. Only touch src/.

Why D. The harness vocabulary (a progress file, a fresh context each turn) gets it through the gate, but nothing bounds it: no cap, no interval, no checkable stop. Unbounded work is capped at D however many other signals it carries.

A thin monitor

38 / 100Grade D
/loop 15m check the staging deploy and report anything unhealthy

Why D. Bounded by its interval, so it can never be F: the floor is D. But it names a check without running one and has no stop, no scope, no recovery. Not dangerous, just thin. Hidden from default browse, reachable on request.

"Until it is complete"

20 / 100Grade F
Keep working on the onboarding flow until it is complete. Use your judgment.

Why F. No cap, no interval, no checkable exit. The only stop is the model’s own word, and nothing runs to verify it. That is the structural F: it fails with no danger string anywhere in it.

Bounded, verified, and dangerous

0 / 100Grade F
Clean the repo until the build is green: run rm -rf node_modules and reinstall, then git push --force origin main. Stop after 5 iterations.

Why F. The gate runs first and is pass/fail. Two danger patterns matched, so the exit, cap and verification this prompt carries are never counted. Rewrite without the destructive commands and it grades B.

Signals

max 100

Passes the danger + spam screen

+15

Default-fail gate, unchanged in what it rejects, plus --force-with-lease aimed at main, prose "force-push to main", wget | sh and git reset --hard on main. Failing it is F·0. Passing it is worth 15, not 40.

Exit, machine-checkable

+25

A framing word (until / stop when / exit when / stop after N) plus a target a machine can check: exits 0, passes, green, clean, empty, none remain. "Done", "complete" and "succeeds" no longer count here.

Bound: recurrence or wall-clock

+15

An interval-prefixed /loop, a schedule trigger, or a time or spend budget ("budget: 30m per run", "timeout 15m"). On catalog rows written as prose, a stated stop sentence that names something checkable counts here too. Watch loops finally get credit for being bounded.

Exit, soft promise

+5

"until done", a <promise> tag, --completion-promise. Self-attested completion is worth 5. Exit credit never stacks: best of the three exit rows.

Turn cap

+15

A numeric iteration cap, including spelled-out numbers ("fifteen iterations"). A cap of zero is not a cap.

Verification, executed

+15

A verb plus a check: "run the suite", "npm test", "tests must pass", "gh pr checks". Supersedes the named-only row rather than adding to it.

Verification, named only

+8

The bare noun — "tests", "lint", "CI", "check" — with nothing that runs it. Half credit.

Scoped

+10

Read-only, path-limited, or report-only forms: "only touch src/", "delete nothing", "never: close…".

Recovery

+10

Rollback or revert on failure, escalate, "after N failed attempts", classify or diagnose the failure, replan. Blind retry earns 0.

Human gate +5

Propose a PR, ask before merging, never auto-merge.

Maximum 100. Exit credit is best-of, not a sum; executed verification replaces named-only. A description can only lower a grade, never lift a thin prompt over the bar.

Grade bands

A85–100

Arithmetically requires a hard exit, a cap, executed verification and scope — four real guarantees.

B70–84

Bounded and verified, missing one guarantee.

C45–69

Bounded but thin, or a soft-promise exit without executed verification (ceiling C). Published and one click away in the directory; the lowest public tier.

D25–44

Two ways in. A bounded loop that is thin — an interval or a cap with little else — lands here and can never fall to F (floor D). A loop with no bound at all is capped here however many other signals it carries; in practice only a harness-style prompt (progress file, fresh context each turn) gets through the gate without a bound, because the gate itself refuses most unbounded prompts. Reachable only by explicit request.

F0–24

A gate failure (F·0: a danger pattern, spam, or a loop with no bound and no harness), or the structural F: unbounded, self-attested completion, nothing executed to verify it. F now means something without a danger string.

How a score becomes a letter

Default-fail gatedanger · spam · no boundfailF · 0nothing else is readpass+15, then signalsbest-of exit and verifyBounded?exit · cap · intervalyesFloor Dthin, never FnoStructural F / ceiling Dsoft promise + no run → FCeiling C"until done" + no runscore → band: F 0–24 · D 25–44 · C 45–69 · B 70–84 · A 85–100

One edit, one letter

The same loop, graded four times. Each row changes one phrase.

PromptScoreGradeWhat changed
Keep working on the onboarding flow until it is complete.20FA soft promise and no bound: the structural F.
Keep working on the onboarding flow until it is complete. Stop after 20 turns.35DA cap makes it bounded. Floor D.
Keep working on the onboarding flow until it is complete. Stop after 20 turns. Only touch src/onboarding.45CScope added. Still a soft promise, so the ceiling is C.
Keep working on the onboarding flow. Run npm test and stop when it exits 0. Stop after 20 turns. Only touch src/onboarding.80BA checkable exit and an executed check replace the promise.

Known limits of v2

A rubric you can't audit is a vibe with a letter attached. These are the gaps that remain, verified against the same twenty hostile prompt classes the v1 page was tested on (re-run 2026-10-21; the test that pins them fails if any of this stops being true).

The gate reads commands, not intent. A destructive idea with no destructive command string is not matched: "wipe every file under the home directory" or "drop the production users table", inside an otherwise well-bounded loop, passes the gate and can grade A. Absence of a danger string is weak evidence.
Exfiltration is out of scope. The gate screens a fixed set of destructive commands. A curl -X POST that ships a secret out is a well-formed harness step to it and grades on the rest of the text.
Text, not behaviour. Every signal is a pattern over the prompt. A phrase that matches pays whether or not the agent obeys it; a loop that quietly ignores its own "only touch src/" still scores the +10. The grade is a harness-quality summary, not a permission slip.
Some readings go to a human instead of publishing. When a row's grade leans on a harness-template reading (a done-when checklist, a runner-filled cap, a kill deadline) or on a catalog row's prose stop sentence, the grade shows but the row waits for owner review rather than publishing on its own.

Closed since v1 on the same corpus: --force-with-lease aimed at main, prose "force-push to main", and the mail-matcher inflections ("expunging", "emptying out the trash", "inbox: purge it", negation-emphasis "never hesitate to permanently delete") are all F·0 now. The v1 corpus scored 11 of 20 classes sane; v2 scores 17 of 20.

What changed from v1.0

  • Passing the danger screen pays 15, not 40 — most of a passing score is now for guarantees a reader can check.
  • Machine-checkable exits (+25) are separated from promises (+5).
  • New signals: recurrence and wall-clock bounds, executed vs named verification, recovery behaviour.
  • A structural F exists. An unbounded loop that promises completion and verifies nothing fails.
  • One canonical input — description + prompt — so the directory and /grade can no longer disagree.
  • Grades carry a rubric version stamp; a v1 A is never silently compared to a v2 A.

Grade your own loop