Commit Graph
4 Commits
Author SHA1 Message Date
aiongg f1e654b078 Typed Expression twins of the shared SQL-text fragments (hidden-repo filters, quiet PRs, public status, run columns, phase, current head, picks, manual only, tracked repos, open groups, command work, unsure review), checked against their text versions on SQLite and Postgres; pnpm test:pg runs the kx and portable tests by default 2026-11-21 20:34:26 +00:00
aiongg 107243e7a2 Postgres: planner facts, flow counts, plan reads, rank and runner queries portable; ref pairs read as JSON values; INDEXED BY, OR REPLACE, lastInsertRowid and untyped NULL tests rewritten 2026-11-21 18:58:19 +00:00
aiongg 31b7fbba75 Dashboard readers get only what they may see of the planner's stored text, and expensive GETs are limited by the matched route
- One reader helper (src/dash/api/reader.ts) cuts queue rows, plan reasons, waits and status lines per reader: viewers get no review reason, verification text, plan note or refusal text and the reasons without their quoted part; a quiet pull request gives viewers none of it; nobody reads an item of a repo hidden from them ("another item, which blocks its review").
- The merge queue endpoints and their member lookups filter with the requester's allow-list, so batches and queued PRs of untracked repos are left out for everyone but operators.
- Decision facts name no PR of a hidden repo; the item API leaves out owner statements of hidden repos and gives viewers no excerpt or reason.
- The Needs feed blanks feedback about a quiet pull request for viewers; stopped fix reasons are staff only.
- Agent runs recorded without items are shown to operators only; duplicate comparisons are bound to the items they compare.
- The expensive-GET budget is spent by the matched route, so every spelling of a path counts.
- Limiter maps are capped: expired keys go at most once per window, then the oldest.
- /healthz/checks gives anonymous callers check names and states; signed-in operators and maintainers also get times and counts.
2026-11-14 23:21:57 +00:00
aiongg dfc01a1929 Job, agent-run and outside-hold filters for non-operators allow only visible repos 2026-11-11 12:54:35 +00:00