Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(core): ai-review@2 — findings quote code in backticks

4 months ago

8884568
Authored
grim7/13/2026, 1:53:23 AM
The reason must quote the code it accuses (`secrets.GITHUB_TOKEN`,
`pull_request`) so it reads as evidence, not prose — a material prompt change,
so a version bump.

- instructions.md (@1) untouched, byte-for-byte; @1 stays registered so stored
  runs remain interpretable (versioning law). @2 uses instructions-v2.md (= @1 +
  one output rule about backticks). rule.ts is now a defineAiReview(version,
  instructions) factory registering both.
- RULE_CATALOG pins ai-review to @2 — a repo enabling it runs the current
  version; existing @1 configs keep working.
- the findings renderer already parses inline backticks → sanitized mono <code>
  chips, handling @2 backticked and @1 plain notes identically.

replay unchanged: `bun run replay --corpus` = 15 runs · 13 unchanged · 2 flips ·
0 skipped (replay reuses stored snapshots + step envelopes, never re-invokes the
model — a prompt change can't move a verdict).

Checks: typecheck all, biome, boundaries, 204 tests.

Parent3bb7675

7 files changed
  • DECISIONS.md+20−0
  • all-summaries.md+11−0
  • packages/contracts/src/rules.ts+3−1
  • packages/core/src/rules/ai-review/instructions-v2.md+75−0
  • packages/core/src/rules/ai-review/rule.ts+62−50
  • packages/core/src/rules/registry.test.ts+4−1
  • packages/core/src/rules/registry.ts+2−1