Repository navigation
feat(herdr): replace the agents panel with a pull requests panel - #89
Conversation
The spaces list now carries the waiting alerts, so the agents list was unused and took half the sidebar. Spaces fills the full height. The refactoria-agents mod stays in the repo for an easy return. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9D7ph123Jn8iB1eGbr8Nz
Shows the open PRs of the active space's repo with a combined checks state; a click opens the PR in the browser. The repo comes from git's origin where the space lives (any machine) and gh runs locally, so remote machines need no GitHub login. Refreshes on space switch and every minute. Linked by install.sh and herdr-screens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A9D7ph123Jn8iB1eGbr8Nz
Fleet review (deepseek)Lens: evidence + test design. The change is small and internally consistent: the refactoria layout block, install.sh and herdr-screens all link refactoria-prs, the mod renders every state the PR body names (no space, not a GitHub repo, no open PRs, gh failure), and a row marks draft PRs and shows the combined checks dot. The diff matches the body; the gaps are evidence, not behavior. The two exported pure functions (slug, checks) have no tests, the remote-space and non-GitHub branches are untested by the author's own admission, and the refresh path silently drops a space switch while a fetch is in flight. No blocking finding. Suggestion (2)
Question (1)
Verdict: ready to merge |
Fleet review (glm)Lens: requirements + adversarial. The PR replaces the agents panel with a pull-requests panel and delivers what its body promises: the layout block swaps to refactoria-prs, the mod is linked from install.sh and herdr-screens, the panel reads the repo from the active space's git origin, lists open PRs with a combined checks dot, refreshes on switch and every 60s, and shows explicit notes for no space / not a GitHub repo / no open PRs. The refresh logic handles space switches during an in-flight request (stale results dropped via key comparison, loading guard), and gh/git failures degrade to an error note instead of breaking the panel. No linked issue; the PR body's own summary was used as criteria and is satisfied. No blocking defects found; two minor robustness notes and one open verification question from the PR's own test plan. Suggestion (2)
Question (1)
Verdict: ready to merge |
Summary
agentsblock (refactoria-agentsmod) from the refactoria layout; waiting alerts already live on the space rows and machine headers. The mod files stay in the repo.refactoria-prs: open PRs of the active space's repo, each with a combined checks dot (green pass, red fail, amber running, gray none); click opens the PR in the browser.git remote get-url originwhere the space lives (any machine);gh pr list -Rruns locally, so remote machines need no GitHub login.install.shandherdr-screenslink the new mod.Test plan
node --check,herdr-app checkon the mod,bash -n install.sh,fish -n herdr-screens.fish🤖 Generated with Claude Code
https://claude.ai/code/session_01A9D7ph123Jn8iB1eGbr8Nz