Repository navigation
feat(tui): AUP-style run screen, config forms, and skills.sh search - #148
Conversation
… bar - Switch the palette to AUP's colors with light variants and per-group hues - Add color = "#RRGGBB" to components and user/project overrides - Honor pin = true in user and project overrides - Pin a progress bar to the last terminal row during gap sync and gap update
- Show the GAP wordmark, colored steps, elapsed time, and a gradient meter - Hand the terminal to gap sync and gap update so prompts work - Edit enabled, hold, version, and color per scope with e; open gap.toml with E - Add repos with a and search skills.sh with /, installing global or per project
- Add /, a, e, E, s, and U to the Terminal UI keys - Describe the color and pin overrides and the progress bar - Add the skill search plan
There was a problem hiding this comment.
Caution
gap update can move a distro pin that the TUI says is held, and a failed version edit can leave gap sync unusable. Risk: 7/10 (High) · Needs:Human — both affect persisted configuration or locks, not just what the screen displays.
Approach: Handing the terminal to the existing CLI is the right way to preserve interactive prompts. The forms and confirmations also need to use the same configuration and target-selection rules as those commands.
Reviewed changes cover the Go CLI, Bubble Tea UI, and README-backed site:
- Runs and progress: Reviewed the run screen, group colors, CLI scroll region, cancellation, and terminal handoff. A PTY check confirmed that interrupting
gap updateleaves its scroll region active. - Configuration: Traced project and machine edits through inventory, config rewrites, and lock updates. A disposable-repo check confirmed that unnamed update ignores a project hold on a distro component.
- Catalog: Traced search input, result selection, installed badges, and the repository passed to
gap add.
Verification: gofmt -l was clean; go vet ./..., go build, and a Linux CGO_ENABLED=0 release build passed. umask 022 && go test ./... had five failures: two catalog expectation tests and three Unix descendant-cancellation tests. All five also failed when run against 3d649c2. In site/, npm ci, npm run typecheck, npm run build, and all eight site checks (links, og-image, contrast, toc, flash, hero-start, hero-spin, logo-round) passed under the pinned Node 22.23.4.
gpt-6.2-astra | 𝕏
- Skip components held with pin = true in user or project overrides on gap update - Show project-level disabled, hold, and color in the TUI and edit them there - Keep color and an explicit pin = false when gap add rewrites a component - Keep a utility's old ref unless gap update moved its pin; drop version for distro rows - Size forms to the pane and refuse a project folder that no longer exists - Drop stale search hits, take pasted queries, and install from a github.com URL - Mark hits installed only when that repo's skill files are on disk - Reset the scroll region when a signal ends a run with the progress bar
- Read held state from a copy so project overrides never change update refs - Pick the enabled default from the scope being saved - Restore a failed version edit when gap cannot start or is interrupted - Keep search generations across reopen so old answers are ignored - Match installed skills across repo spellings
There was a problem hiding this comment.
Important
The edit form can silently change a global enable setting, and a failed terminal handoff can leave the saved ref out of sync with its lock. Risk 7/10 (High) · Needs:Human because the regressions affect persistent configuration and can disrupt later syncs.
Reviewed changes cover commit 5ef3263 since the previous review.
- Isolated distro lock refs from the override view used for update holds.
- Added separate global and project enable values to inventory and the edit form.
- Moved version rollback into the CLI handoff and handled executable lookup failures.
- Kept search generations across reopened searches and normalized GitHub repository identity for installed badges.
Verification passed for Go formatting, go vet ./..., go build ./..., the Linux release-style build, and targeted regression tests. The full Go suite had two catalog and three Unix descendant-cancellation failures, all reproduced on master. Site npm ci, npm run typecheck, npm run build, and six verification scripts passed locally. hero-start and hero-spin each reached the 120-second local timeout, and the GitHub site job passed. Site CI
gpt-6.2-sol | 𝕏
- Make Enabled a Keep/On/Off choice that follows the selected scope - Carry disabled state on quick-load rows so the first edit starts right - Restore a version edit when the terminal handoff never starts
There was a problem hiding this comment.
Important
The Enabled field can show the wrong scope’s setting after rapid scope changes. Risk: 5/10 (Medium) · Needs:Human. Accepting the default no longer changes either file, but the incorrect display can mislead users making a persistent config edit.
Reviewed changes cover 25042b0 since the previous Pullfrog review.
- Added an explicit
Keepchoice so switching the save scope no longer changesenabledon its own. - Populated the machine enable state in quick and fallback inventory rows.
- Restored the previous ref when terminal release aborts before the update starts. Verified this with a disconnected PTY.
Verification: gofmt -l cmd/gap, go vet ./..., go build ./..., the Linux release-style build, and targeted regression tests passed. A targeted go test -race probe confirmed the scope race. umask 022 && go test ./... failed on two catalog and three Unix cancellation tests, all reproduced on master at 3d649c2. With Node 22.23.4, site npm ci, npm run typecheck, npm run build, and the links, og-image, contrast, toc, flash, and logo-round scripts passed locally. hero-start and hero-spin hit 90-second local limits; both passed in site CI.
gpt-6.2-sol | 𝕏
- Describe the current state everywhere and in this project up front - Drop DescriptionFunc and OptionsFunc, which raced with the scope field
There was a problem hiding this comment.
ℹ️ No new issues found in the incremental changes. Prior review threads remain open, and the full verification did not complete.
Reviewed changes cover f25617a since the prior Pullfrog review.
- Replaced asynchronous Enabled callbacks with a static selector and descriptions for both scopes.
- Updated the scope-switch regression test to check the new description.
Risk: 5/10 (Medium) · Needs:Human. The remaining prior concerns affect displayed configuration and update targets; full verification also remains incomplete.
Verification: go vet ./..., go build ./..., Linux CGO_ENABLED=0 build, formatting, and targeted edit/scope tests with -race passed. The full go test ./... exceeded 120 seconds; a retry with a 90-second test timeout stopped during TestUtilityUpdate. Site install, typecheck, build, links, og-image, contrast, toc, logo-round, and flash passed; hero-start and hero-spin timed out locally.
gpt-6.1-terra | 𝕏
There was a problem hiding this comment.
✅ No new issues found. No commits landed after the prior review at
f25617a. All 17 Pullfrog threads are resolved with fixes recorded in discussion.
Reviewed changes: The five regression tests cited for the last three resolutions passed: they cover Enabled settings by scope, the U confirmation’s update targets, and installed-skill badges.
Verification: gofmt -l cmd/gap was clean; go vet ./..., the CLI build, and the CGO_ENABLED=0 release-style build passed. go test ./... exceeded the 120-second local limit. Before timeout, two catalog tests failed; both had previously been reproduced on master. Site installation, typecheck, production build, and six site checks passed locally. hero-start and hero-spin timed out locally; both passed in site CI for this head.
Risk: 4/10 (Medium). The TUI can change persistent settings and move pins. The cited regression tests passed, but the full local Go suite was not green.
gpt-6.2-astra | 𝕏
|

What
gap syncandgap updatepin a bar to the last terminal row on a TTY (never when piped orTERM=dumb).color = "#RRGGBB"on any component, in gap.toml or user/project overrides.eedits enabled, hold (pin), version, and color, saved everywhere or for this project;Eopens either gap.toml in $EDITOR;aadds a repo global or per project./searches skills.sh as you type, shows installs, trusted sources, and what you already have; enter installs withgap add <repo> --skill <name> --global|--project.sandUhand the real terminal to the CLI so trust, splice, and drift prompts work.Verify
go test ./...: all pass exceptTestSearchCatalogParsesRealCatalogandTestSearchIgnoresLocalStateAndStaysPlainWhenPiped, which fail the same way on master./search against live skills.sh,eform saving to a project's.gap/gap.toml, progress bar ongap sync --only policy.Plan: docs/plans/2026-11-24-skill-search-plan.md