Repository navigation
[codex] Add read-only ClawSweeper triage dashboard - #79
Conversation
|
Follow-up update after local testing:
Validation:
|
|
A couple of notes on scope and follow-up: This PR is intentionally limited to the read-only issue triage dashboard. It does not mutate issues, apply labels, assign maintainers, trigger workflows, or make any routing decisions. It only presents the existing ClawSweeper labels in a more filterable dashboard view. One implementation note on GitHub API limits: the issue triage page is a read-only GitHub Search snapshot. It uses short-lived caching and stale fallback, so temporary GitHub API failures should show the last good snapshot where available rather than mutating or misrouting anything. Longer term, if this becomes a heavily used public dashboard, a useful follow-up would be to persist snapshots into KV/state storage from a scheduled job, so the page mostly reads stored data instead of making live Search calls on page refresh. I also have a similar read-only prototype locally for PR proof triage, using the same dashboard pattern. That one groups PRs into views such as:
I have not added that to this PR because I wanted to keep this one focused on issue triage first. If this direction looks useful, I can open the PR proof triage page separately after we get feedback on this initial dashboard. |
26c9a53 to
99a6137
Compare
89b4be6 to
7a021b6
Compare


Summary
Adds a read-only ClawSweeper issue triage dashboard at
/triage, plus a JSON snapshot route at/api/triage.The dashboard turns existing
clawsweeper:advisory labels into maintainer-friendly views without writing to GitHub Projects, issues, labels, comments, close state, or repair state.Related to #66.
What this does
clawsweeper:prefix, so the broad ClawSweeper view can pick up future advisory labels without code changes.clawsweeper:linked-pr-openwith linked PR chips from GitHub timeline data.Safety / boundaries
This is intentionally observability-only:
The dashboard reads GitHub Search and GraphQL data server-side, caches a short-lived snapshot, and renders local-only UI state in the browser.
Validation
pnpm exec oxfmt --check ./dashboard/worker.js ./README.md ./docs/triage-dashboard.md ./.gitignorenode --check ./dashboard/worker.jspnpm run build:allpnpm run dashboard:smokepnpm run check/triagefor rendered rows, linked PR column, compact labels, wrapped titles, click filtering, and persisted resizable columnsNative Windows
pnpm run checkis not used as the final signal because several repair tests rely on Linux-style executable shims and LF-only Git temp repos. The same check passes in a Linux container, which matches this repo's GitHub Actionsubuntu-latestCI job.