Skip to content

tidy-gui: what three removals left behind in the frontend - #247

Merged
dinstein merged 1 commit into
mainfrom
tidy-gui
Aug 7, 2026
Merged

tidy-gui: what three removals left behind in the frontend#247
dinstein merged 1 commit into
mainfrom
tidy-gui

Conversation

@dinstein

@dinstein dinstein commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Nightly tidy over the GUI frontend — the one module tonight's rounds had not looked at, and the hottest by recent churn (style.css 49 changes, servers.ts 40).

  • 1. Remove what three removals left behind: 126 lines of approval-queue CSS, and three exports each traceable to the commit that stranded it

The stylesheet residue is the point. 45a668b removed the human-approval surface from the TypeScript, the Go and the e2e suite, and left the HITL banner, the decision countdown, the approve button and the "deciding" card state in the stylesheet — with comments in the present tense citing docs/modules/gui.md for a banner that document no longer describes.

.btn-deny stayed (7 live callers) and kept its reasoning, rewritten for what it is now.

Verified make gui-frontend-ci (npm ci, tsc --noEmit, production build) as well as make ci — the frontend is outside the default build, so make ci alone would not have caught a broken stylesheet.

The approval queue was removed rather than left half-wired, because a
governance surface that decides nothing still reads as protection
(AGENTS.md). 45a668b took the TypeScript, the Go and the e2e suite; it
did not take the stylesheet. 126 lines of it were still there: the HITL
banner with its role="alertdialog" rationale, the decision countdown and
its second-channel bar, the approve button, the decision group, and the
greyed "deciding" card state — none with a producer since that commit.

That residue is worse than dead code. Its comments are in the present
tense and cite docs/modules/gui.md for a banner that document no longer
describes, so a reader of the stylesheet concludes this product has a
gate that holds a call. It does not, by design.

Three orphaned exports go with it, each traceable to the removal that
stranded it: confirmBulk and BULK_CONFIRM_THRESHOLD to 45a668b (bulk
approve/deny), FILTER_BLOCKS_GLOBAL to 1a32789 (the tool-governance
surface, whose "Dismiss all" button it explained), clockTime to 07a3c79
(the retired governance streams).

btn-deny stayed and kept its reasoning, rewritten: it began as the deny
half of the pair and is now the ordinary destructive action.

make gui-frontend-ci and make ci both green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dinstein
dinstein merged commit e3e1555 into main Aug 7, 2026
3 checks passed
@dinstein
dinstein deleted the tidy-gui branch August 7, 2026 14:34
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.

1 participant