## Use case
Environment toggle buttons get a red border when the environment pipeline contains a failed or unfinished step. The state updates with WebSocket environment updates and does not disable the toggle.
## Verification
- `node --check frontend/app.js`
- `git diff --check`
- `27 passed, 1 skipped`; 4 Playwright tests blocked by unavailable `/var/run/docker.sock`
---------
Co-authored-by: rudolf <rudolfss13@gmail.com>
Reviewed-on: admin/brencher#82
Co-authored-by: hermes <rudolfss13+hermes@gmail.com>
Closes#16
Adds environment toggle buttons above the branch list. Selected environments are combined as a union; with no active toggles the existing all-environments view is preserved. The existing branch text filter and column visibility remain applied within the selected environments.
Validation:
- `node --check frontend/app.js`
- `git diff --check`
- `uv run pytest -q`: 27 passed, 1 skipped, 4 Playwright setup errors because Docker socket is unavailable in the test environment.
Reviewed-on: admin/brencher#81
Co-authored-by: hermes <rudolfss13+hermes@gmail.com>
## Summary
- disable the `admin/brencher` remote for the main `brencher` profile
- document backend/API use cases in `docs/USE_CASES_BACKEND.md`
- document UI/state use cases in `docs/USE_CASES_UI.md`
- preserve the application goal section in both documents
- document the actual boundary: REST is read-only (`/state`, `/branches`); mutations are currently sent through `/ws`
## Verification
- `git diff --check`
- `python3 -m compileall -q backend`
- backend scenarios: `B-01..B-19`
- UI scenarios: `U-01..U-21`
- main profile no longer contains `admin/brencher`; `brencher2` remains unchanged
## Notes
The PR head is `hermes/docs/exhaustive-use-cases` and the target is `admin/main`.
---------
Co-authored-by: brencher_bot <rudolfss13@gmail.com>
Reviewed-on: admin/brencher#80
Co-authored-by: hermes <rudolfss13+hermes@gmail.com>