Move larv-review's mechanical rules into a tested bin/larv-review, so the skill says only when to run it and what each answer means

This commit is contained in:
2026-10-09 01:02:48 +02:00
parent c7f6099945
commit 77fef49fce
18 changed files with 851 additions and 90 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ import sys
from metric_bench.bench import bench, co_changed, medians, METRICS, RunScores, Score
from failure import Failure
from metric_bench.python_units import measured, python_units, Unit
from metric_bench.places import resolved, scoring_runs, ScoringRun
from larv_review.history import resolved, scoring_runs, ScoringRun
def main(argv: list[str]) -> int:
@@ -56,7 +56,7 @@ def main(argv: list[str]) -> int:
return failed(benched)
rows, notes = benched
if not rows:
return failed(Failure(f"no scoring run in {history} could be scored; its format: ~/.claude/skills/larv-review/SKILL.md → \"History\"{noted(notes)}"))
return failed(Failure(f"no scoring run in {history} could be scored; its format is what ~/.claude/bin/larv-review writes{noted(notes)}"))
print(table(rows) + noted(notes))
return 0