Files
RingBRP/tools
slaguru666andClaude Opus 5 98ca282b89 check-anatomy: a creature's shape comes from bodyPlan, never species
Three tools read spec.species to decide a creature's SHAPE and all three were
wrong the same way, because every creature with a non-human body carries
species "baseline" and says what it is in bodyPlan:

  mj-queue        drew a wingless gryphon
  make-portraits  drew a human silhouette for 48 creatures
  bestiary        published "26 of them are not human-shaped" when it is 74

Each was found by looking at the neighbour of the one before, which is not a
method — the fourth would have been found by a fourth accident. A line that
feeds a shape function from species without naming a resolved plan is the
whole defect, in one line, every time, so it is checkable.

Proved against the real thing rather than a planted one: checking out each
file's parent commit from history makes the guard report that file, at the
line the fix touched, and the current tree is clean.

The first version required the literal `bodyPlan` on the line and so reported
all three FIXED call sites, because the correct form resolves a local `plan`
once and then falls back to species on the next line — and that fallback is
right. A guard that calls the corrected code broken is exactly what
check-rules was reported for earlier tonight, one file over.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-23 01:18:06 +01:00
..
2026-08-30 21:34:37 +01:00