Repository navigation
Description
Friction
The dashboard GitHub tab (#685) shipped on 2026-10-21 in one commit (7f61846a: 1,932 lines added, 706 of them tests). It has never loaded a queue from live GitHub. Both of its GraphQL queries ask for statusCheckRollup { pageInfo }, and GitHub rejects that field. The tab also polls GitHub every 60 seconds whenever the dashboard runs. A person who wants the oldest-first pull request queue, or issue triage, in a terminal has no working tool.
An open tool does this job: gh-dash, a terminal dashboard for pull requests and issues. Each tab is a GitHub search filter, and a key can run a shell command.
Evidence
src/devops_cli/github/pr_queue.py:60-62and132-134ask forstatusCheckRollup { pageInfo { hasNextPage } }. On 2026-10-22,fetch_pr_queue("dan-petty", "devops-cli", 1)raisedGitHubOperationError: Field 'pageInfo' doesn't exist on type 'StatusCheckRollup'. The 28 tests intests/test_github_dashboard.pygive the parser hand-written dicts and never send the query.- gh-dash v4.26.2: Go, MIT license, released 2026-10-16, last push 2026-10-17, 12,663 stars, 95 open issues and 16 open pull requests (GitHub search API, 2026-10-22). One person wrote 353 of 585 commits.
AI_POLICY.mdbans contributions that an LLM wrote or found. A person files every upstream issue. - The real installer (
install_binary) installed the pinned linux-amd64 build in a scratch home. It checked the sha256, linkedgh-dash, and_at_pinreturnedTrue. All four hashes were also checked by download (seetools-lock-entries.md). - An offline run of the pinned binary (dummy host, no token use) with
gh-dash --config .gh-dash.ymlloaded the file. It started 4 PR section fetches, then 3 issue fetches afters, then 1 notification fetch after a seconds.GH_DASH_CONFIGwas set to a file that does not exist, and the flag won. - Config lookup, from the source (
internal/config/parser.go):--config, thenGH_DASH_CONFIG, then.gh-dash.ymlin the current directory (not the git root), then the global file. The first start always writes~/.config/gh-dash/config.yml. - Budget, measured with GraphQL dry runs on queries rebuilt from the source (one point of error per query is possible): a PR section costs 1 point at 20 rows and 2 at 50, an issue section 1 point at 20 rows. A full refresh of the PR view costs 5 points. A first selection of a row costs up to 2 points, and a second selection before the next refresh costs 0. A key command or a terminal focus loads the next page of the current section while one exists, at 1 point a page. The key
scycles PRs, Issues, Notifications. With the stock config the Notifications view makes up to 160 lookups at once (8 sections of 20), which is up to 320 GraphQL points and about 168 REST calls (source reading, not run against GitHub).
Proposed remedy
Add these files and edits:
src/devops_cli/tools_lock/tools.lock: the[binary.gh-dash]block fromtools-lock-entries.md, and the note for the header..gh-dash.ymlat the repository root (63 lines). Four PR tabs (Queue, Failing CI, Needs review, Drafts), each withsort:created-asc. Three issue tabs (Triage and quality, P0 and P1, No milestone). One notification section (reason:review-requested),includeReadNotifications: falseandnotificationsLimit: 5.refetchIntervalMinutes: 15. Keysw(monitor, then waits for Enter),T(checks),D(unresolved threads) andd(diff), which rundevops pr ...with{{.PrNumber}}and{{.RepoName}}only. The first line is a modeline that points to the vendored schema.tests/fixtures/gh_dash_schema/: the 14 JSON files that gh-dash publishes for v4.26.2 (21,018 bytes), their folder layout unchanged, withLICENSE.txt(MIT, Dolev Hadar) and aVERSIONfile that holds4.26.2. The files equalhttps://gh-dash.dev/schema.jsonand its referenced files, and the output ofdocs/src/pages/schema*.json.tsin the v4.26.2 tag (compared as JSON on 2026-10-22). Each file has one added trailing newline, so theend-of-file-fixerhook changes nothing.tests/test_gh_dash_config.py: 10 tests (see Tests).tests/test_tools_lock.py: add"gh-dash"to_REQUIRED_TOOLS.pyproject.toml,[tool.mutmut] also_copy: add".gh-dash.yml".docs/DEVCONTAINER_USAGE.md: a short "Terminal tools" paragraph for gh-dash and k9s. It says: start gh-dash at the root of the clone withgh-dash --config .gh-dash.yml; the first start writes~/.config/gh-dash/config.yml; gh-dash sends one release-check request toapi.github.comat start and has no switch; its approve, merge, close, ready, reopen, update, assign, label and comment keys stay active and use the person's own token; agents never start it.changelog.d/<issue>.mdunder### Added.
What it deletes
Nothing. The pull request "refactor(ui): delete the dashboard GitHub tab; gh-dash replaces it" deletes the tab after this change merges.
Tests
tests/test_gh_dash_config.py has 10 tests and runs in under one second in a scratch tree. They check: the shipped config breaks no rule of the strict schema (unknown keys forbidden in every object, and the keys that the parser reads and the published schema lacks added: notificationsSections, includeReadNotifications, defaults.notificationsLimit); four negative controls (a misspelt section key, a misspelt default key, a misspelt keybinding key, a section with no filter); the VERSION of the schema equals the pin in tools.lock; every PR section has sort:created-asc; the "Triage and quality" filter equals the filter of the "Triage & Quality Table" view in .github/project-template.json; a key command uses only RepoName, PrNumber and IssueNumber; the first step of each key command resolves in the real command tree (resolve_devops_argv). The test imports referencing, which jsonschema already requires and uv.lock already holds at 0.37.0. deptry runs on src only (ci.py:751).
Person-run steps
- Run
devops install-tools --tool gh-dash, thendevops install-tools --check. - In a terminal, at the root of the clone, run
gh-dash --config .gh-dash.yml. Use your own token (GH_TOKEN, orgh auth login). Check that four PR tabs show, that Queue is oldest first, and thatw,T,Danddrun the devops commands and return to gh-dash. - Run
devops gh rate-limit, keep gh-dash open on the PR tab for 30 minutes, run it again, and report the change of thegraphqlline. Expected: about 7 points at start, 5 per refresh, and up to 2 per row you select. Thegraphqlline is quiet: it showed 0 of 5,000 used at 13:32 UTC on 2026-10-22, whilecoreshowed 923. - Say whether you use
GH_DASH_CONFIGor a global gh-dash config, and whether the host terminal has a Nerd Font. The container cannot set the font. - File upstream issues by hand. Find each defect without an LLM (
AI_POLICY.md).
Cost (written)
- Apply, from the drafts: about 300 lines and 21 KB of vendored JSON; about half a day; about 25k to 40k tokens (estimate).
- Upkeep: a bump edits 1 version, 4 URLs, 4 hashes, and replaces the vendored schema. It happens only on need.
- Fix cost: gh-dash has one main maintainer. If it stops, pin the last good release, then fork.
- The internal alternative cost 1,932 lines and does not load.
Dependencies
None. The pull request "feat(tools): pin tuicr with a no-update-check config template and .tuicrignore" edits the same two files (tools.lock, tests/test_tools_lock.py) and opens after this one.
Acceptance criteria
devops install-tools --tool gh-dashinstalls the pinned build, anddevops install-tools --checkexits 0.gh-dash --config .gh-dash.ymlat the clone root shows the four PR tabs, the three issue tabs and one notification tab.uv run pytest tests/test_gh_dash_config.py tests/test_tools_lock.pypasses, anduv run devops cipasses.- A person has reported the GraphQL change over 30 minutes in the pull request.
- No agent starts gh-dash (the permission entries come from the pull request "docs(review): the human review round ...").
Size: M.
Proposed design
Problem statement
The existing GitHub dashboard tab in devops-cli fails to load live data from GitHub due to unsupported GraphQL queries and excessive polling. Users need a working terminal tool for oldest-first PR queues and issue triage.
Acceptance criteria
- Criterion 1: devops install-tools --tool gh-dash installs the pinned build of gh-dash and devops install-tools --check exits 0
Verification: Run 'devops install-tools --tool gh-dash' followed by 'devops install-tools --check' and verify both commands complete successfully - Criterion 2: gh-dash --config .gh-dash.yml at the clone root shows four PR tabs, three issue tabs and one notification tab
Verification: Execute 'gh-dash --config .gh-dash.yml' from repository root and confirm it displays exactly four PR tabs (Queue, Failing CI, Needs review, Drafts), three issue tabs (Triage and quality, P0 and P1, No milestone) and one notification tab - Criterion 3: uv run pytest tests/test_gh_dash_config.py tests/test_tools_lock.py passes
Verification: Run 'uv run pytest tests/test_gh_dash_config.py tests/test_tools_lock.py' and verify all tests pass without failures - Criterion 4: A person has reported the GraphQL change over 30 minutes in the pull request
Verification: Verify that a report was made documenting GraphQL usage patterns observed during a 30-minute monitoring period - Criterion 5: No agent starts gh-dash (the permission entries come from the pull request 'docs(review): the human review round ...')
Verification: Confirm that no automated agents or processes are configured to start gh-dash automatically, based on the documented permission settings
Key questions
None.
Open questions
- What is the exact version of gh-dash that needs to be pinned? (missing verified source)
- What are the required PR tabs for the gh-dash configuration? (missing verified source)
- What are the required issue tabs for the gh-dash configuration? (missing verified source)
- What is the notification section configuration for gh-dash? (missing verified source)
- What keybindings are defined for gh-dash in the configuration? (missing verified source)
- Which files need to be added for the gh-dash implementation? (missing verified source)
Fit
Needs splitting into 7 items:
- Add gh-dash binary to tools.lock
- Create .gh-dash.yml configuration file
- Add schema fixtures for gh-dash validation
- Implement tests for gh-dash configuration
- Update tools lock test suite
- Update pyproject.toml with new config files
- Update DEVCONTAINER_USAGE.md documentation
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 22, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate adds a new tool and configuration for issue triage and PR queue management.This improves developer experience but doesn't block core functionality or fix an urgent issue.Provides useful developer tooling for managing PRs and issues, improving workflow efficiency.Involves integrating a new binary, creating configuration files, and updating tests with extensive fixture data.dan-petty commentedon Oct 22, 2026
Proposal needs splitting into 7 items at ae8c2d9 (see proposed design in issue body).
feat(tools): pin gh-dash and ship .gh-dash.yml for the oldest-first P…
dan-petty commentedon Oct 22, 2026
What changed
#1889, merged into
release/v0.2.39as 3c38f0b.24 file(s) changed.
How it was verified
Check runs at dc8c031:
Acceptance Criteria of
docs/agent/tasks/task-1882-pin-gh-dash-and-ship-config.md:tools.lockpins gh-dash 4.26.2 with a SHA-256 and anhttpsURL for each platform:test_the_packaged_lock_holds_every_tool_install_tools_installsandtest_every_binary_build_is_an_https_url_with_a_sha256.devops install-tools --tool gh-dashinstalls the pinned build, anddevops install-tools --checkexits 0.test_the_shipped_config_breaks_no_rule_of_the_strict_schemaandtest_the_strict_schema_refuses_a_misspelt_or_missing_key.test_the_vendored_schema_is_the_schema_of_the_pinned_gh_dash.test_every_pr_section_lists_the_oldest_pull_request_first.test_the_triage_section_filters_like_the_triage_view_of_the_board.devopscommand:test_a_key_binding_names_no_template_value_that_can_hold_shell_syntaxandtest_every_key_binding_runs_a_devops_command_that_exists.test_the_shipped_config_holds_only_ascii.test_the_shipped_config_hides_every_glyph_cell_the_schema_lets_it_hide.tests/test_gh_dash_config.pyandtests/test_tools_lock.pypass. They run offline and never start gh-dash.devops cipasses in the pre-push hook before the push.changelog.d/1882.mdrecords the change.CHANGELOG.mdanddocs/ROADMAP.mdare not edited.docs/DEVCONTAINER_USAGE.md.gh-dash." is indocs/DEVCONTAINER_USAGE.md. The entries that enforce it are a person-run change to.claude/settings.json. They come with #1884, which pins tuicr. Its second part is the human review round.devops install-tools --tool gh-dash, thendevops install-tools --check. The check prints that every tool is linked at its locked version and exits 0.gh-dash --config .gh-dash.ymlwith your own token. Check that four pull request tabs, three issue tabs and one notification tab show. Check that Queue lists the oldest pull request first. Check thatw,T,Danddrun the devops commands and return to gh-dash. Check how the terminal shows the icons in the preview pane, the notification rows and the column headers.devops gh rate-limit. Keep gh-dash open on the pull request tab for 30 minutes. Rundevops gh rate-limitagain. Report the change of thegraphqlline in the pull request. Expect about 7 points at start, 5 for each refresh and up to 2 for each row you select.GH_DASH_CONFIGor a global gh-dash config. Say whether the terminal on the host has a Nerd Font.AI_POLICY.mdof gh-dash bans contributions that an LLM wrote or found.chore(settings): allow the devops, openspec and tuicr commands, and d…
feat(release): v0.2.39 (#1947)