Skip to content

Add read-only PR proof triage dashboard - #118

Merged
Takhoffman merged 1 commit into
openclaw:mainfrom
brokemac79:codex/pr-proof-triage-dashboard
May 18, 2026
Merged

Takhoffman merged 1 commit into
openclaw:mainfrom
brokemac79:codex/pr-proof-triage-dashboard

Conversation

@brokemac79

Copy link
Copy Markdown
Contributor

Summary

  • Add a read-only /pr-proof-triage dashboard page for open pull requests with proof and proof-triage labels.
  • Add /api/pr-proof-triage JSON snapshot support using the same short-lived cache and stale fallback pattern as issue triage.
  • Add proof-focused views for needs proof, no proof supplied, supplied awaiting review, sufficient proof, mock-only proof, Telegram proof, and sufficient proof still carrying the needs-proof label.
  • Link the issue triage page and PR proof triage page to each other, and document the new page.

Why

The issue triage page from #79 makes ClawSweeper issue labels easier to work through. PRs have a similar review bottleneck around real behavior proof: many open PRs need proof, have proof supplied but not judged sufficient, or have proof labels that disagree with their current state. This page keeps that read-only and visible without changing labels, comments, PR state, merge state, or assignment.

Functional behavior

  • /pr-proof-triage renders the new PR proof dashboard UI.
  • /api/pr-proof-triage returns a GitHub Search snapshot for configured target repos.
  • Each view exposes its GitHub query, count, loaded item limit, filters, sorting, labels, assignees, priority/rating-style labels, and linked PR metadata where present.
  • The page uses the same reusable triage table shell as the issue dashboard.
  • Temporary GitHub API failures fall back to the last good stale snapshot when available.

Validation

  • pnpm exec oxfmt --check ./dashboard/worker.ts ./README.md ./docs/triage-dashboard.md ./docs/pr-proof-triage-dashboard.md ./test/dashboard-worker.test.ts
  • node --test ./test/dashboard-worker.test.ts
  • pnpm run build:all
  • pnpm run dashboard:smoke
  • Browser check against local Wrangler:
    • http://127.0.0.1:8787/triage
    • http://127.0.0.1:8787/pr-proof-triage
    • http://127.0.0.1:8787/api/pr-proof-triage

Check note

pnpm run check reaches build and lint successfully, then fails on two Windows-local existing tests unrelated to this dashboard change:

  • runCodex accepts valid structured output after non-zero Codex exit: hard-coded /usr/bin/git is not present on this Windows host.
  • read-only checkout mode restores file modes and leaves git metadata writable: POSIX file-mode assertion differs on Windows.

@brokemac79

Copy link
Copy Markdown
Contributor Author

Example screenshot of the new PR triage read only page below. Basically the PR equivalent of the previous issue triage page
image

@brokemac79 brokemac79 changed the title [codex] Add read-only PR proof triage dashboard Add read-only PR proof triage dashboard May 18, 2026
@Takhoffman
Takhoffman merged commit bca1cd9 into openclaw:main May 18, 2026
8 checks passed
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
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.

2 participants