You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adopts the 7 valid items from CodeRabbit review.
A1 — `recent_markers` was alphabetical-first-20, not recency-ordered (the
markers table has no timestamp column). Rename to `sample_markers` with a
JSDoc note pointing at the proper time-ordered query (join `files.last_modified`).
A2 — `cmd-validate.ts` had a TOCTOU between existsSync and readFileSync.
Replace with a single guarded read; also drops one syscall in the common
path (open instead of stat + open).
N2 — Rename `performance` local in cmd-index.ts to `reportPerformance`
to avoid shadowing the global `performance` API.
N4 — Route the `files-hashes` golden through the bundled recipe (was
inline SQL); now exercises the recipe SQL itself and prevents drift.
Snapshot refreshed.
N5 — Add `validate` and `context` to the README "Daily commands" stripe;
they were the headline additions in this PR but weren't on the showcase.
N7 — `--for ""` was accepted as a valid intent and silently classified
as "other". Reject empty-string values with the same error as missing.
N8 — `--compact` now actually compacts: `JSON.stringify` is called
without indent in compact mode (was unconditional 2-space pretty-print).
Tests: +1 case for `--for ""` rejection. 19/19 goldens green, 24/24
cmd-context + cmd-validate tests pass.
0 commit comments