Skip to content

v0.6.7

Choose a tag to compare

@shrsv shrsv released this 09 Aug 14:29
· 10 commits to main since this release

Release v0.6.7

Date: 2026-08-09

Summary

Adds lrc coverage (CI/CD-friendly review-coverage lookup for commits/ranges) and an offline-first background sync queue that reports plain lrc review commits back to the LiveReview dashboard once they're actually committed.

Install and Update

New install:

# Linux/macOS
curl -L https://hexmos.com/ipm-install | bash && ipm i HexmosTech/git-lrc

# Windows
iwr https://hexmos.com/ipm-install-ps | iex; ipm i HexmosTech/git-lrc

Update:

lrc self-update

Changes

  • New lrc coverage <ref> [ref...] command: given commit SHAs and/or a..b ranges, reports every scan found for them, merged from two sources — the local commit-log "LiveReview Pre-Commit Check" trailer (no network call) and LiveReview's backend (POST /api/v1/review-coverage, covering PR/MR, API, MCP, and --commit/--range CLI reviews). Supports --json for CI/CD gates; no pass/fail verdict is computed, so callers apply their own policy over the reports (cmd/app.go, internal/appcore/coverage_flow.go).
  • Plain lrc review (staged/working diff, the default) now syncs the commit it ends up in back to the LiveReview dashboard, offline-first: hooks/post-commit.sh queues the commit into a local ~/.lrc/sync-queue.db and kicks off a detached background worker; if that fails or the machine is offline, any later lrc invocation in any repo opportunistically retries due items with exponential backoff (internal/syncqueue, internal/appcore/sync_flow.go, main.go).
  • New lrc sync status|list|flush|forget commands to inspect and manage the sync queue — counts and oldest-pending age, a filterable item list, a manual foreground flush, and a way to give up on one stuck item (cmd/app.go, internal/appcore/sync_flow.go).
  • The per-repo review ledger (.git/lrc/reviews.db) now snapshots the API URL/key used at review-submission time so a later background sync always targets the account the review was actually submitted to, even if ~/.lrc.toml changes in the meantime; that file and the new ~/.lrc/sync-queue.db are both created with 0600 permissions (internal/reviewdb/service.go, attestation/db.go, storage/attestation_review_db_io.go).

Breaking Changes

  • None.

Verification

  • lrc --version
  • lrc --help
  • lrc coverage --help
  • lrc sync --help

Known Issues

  • None.