Skip to content

refactor(review)!: replace TSV artifacts with JSON records - #244

Merged
BjRo merged 8 commits into
mainfrom
refactor/review-json-records
Sep 26, 2026
Merged

BjRo merged 8 commits into
mainfrom
refactor/review-json-records

Conversation

@BjRo

@BjRo BjRo commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Why

TSV review records cannot preserve tabs or newlines in paths, commands, and check evidence. Valid review input was rejected or flattened at the artifact boundary.

What changed

Review artifacts now use UTF-8 JSON arrays of string records at .json paths with v2 protocol IDs. Parsing and validation preserve embedded tabs and newlines; Markdown rendering escapes them for a stable report. The review specification, skill instructions, fixtures, runner proof readers, and Adaptive Delivery and Verify Change consumers were updated. The three changed plugin manifests were versioned together within each plugin.

Verification

  • bun run check:python — passed, including 237 darrow-review and 214 Adaptive Delivery backend tests.
  • bun test — 641 passed, including review outcome eval checks under bash and /bin/bash.
  • bun run lint, bun run lint:ts, bun run lint:shell, bun run typecheck, bun run check:decisions, and bun run check:docs — passed.
  • Review eval YAML parsed; the copied runtime-only review plugin test passed. Live model eval trials were not run.

Review notes

Breaking change: v1 TSV artifacts are not accepted; installed review consumers need the matching JSON update. The eval-only fixture adapters retain tab-oriented assertions and can flatten distinctions between embedded control characters and literal escape text; production round-trip tests cover these values, and direct JSON eval assertions are a follow-up cleanup.

Checklist

  • I have read and followed CONTRIBUTING.md, including the contribution
    licensing terms.
  • I added or updated the applicable invariant before implementation, or
    this change does not affect a capability invariant.
  • I added or updated colocated evals, or this change does not affect skill
    behavior.
  • I confirmed that each changed plugin remains self-contained, or this
    change does not affect plugin content.
  • I ran bun run check:python, or this change does not affect registered
    Python packages or their repository quality infrastructure.

@BjRo
BjRo merged commit 4a356ca into main Sep 26, 2026
68 checks passed
@BjRo
BjRo deleted the refactor/review-json-records branch September 26, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant