Preselect requested channel services on first entry - #3688
Merged
AbigailDeng merged 1 commit intoSep 29, 2026
Conversation
AbigailDeng
marked this pull request as ready for review
September 29, 2026 10:36
AbigailDeng
merged commit Sep 29, 2026
de2e2b9
into
feat/2026-08-04_workflow-activity-vnext
17 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a Channel Bind or Edit URL contains
requiredServiceId, the form now preselects the exact active, account-available services on first entry. Previously these rows only displayed Requested and needed a manual click. Existing saved selections and built-in required services are retained; binding or saving still requires an explicit user action.Defaults apply once, after the first successful fresh inventory. Initial failures may retry. Subsequent refreshes, new availability, rerenders and query changes do not reselect services that the user removed or apply new URL defaults. Manual edits made from cached inventory while the first refresh is pending also take precedence. A different bot/registration or a full page reload creates a new entry. Missing, inactive and account-denied IDs are never selected; matching a slug does not substitute another instance. Login-time service grants remain independent of the account inventory.
Scope and documentation
The change is confined to the shared Channel configuration form, its Bind/Edit route tests and
apps/aevatar-console-web/docs/superpowers/specs/2026-09-28-channel-service-access.md. It needs no new backend contract and does not restore the withdrawn Skill recommendations.This PR is for user review and local testing. Do not merge or deploy without explicit user authorization.
Local verification
Passed: 4 related suites / 26 tests across focused runs, changed-file Biome (3 files), test stability guards and whitespace checks. The initial run passed 25 tests; two asynchronous refresh assertions in the Edit suite were corrected to wait for the rendered inventory instead of reading before Query notification. The final rerun passed all 4 Edit access tests. Production implementation did not change during those test corrections.
Dependency discovery found the four Channel suites above plus the broad vNext index suite. The latter also covers unrelated workflow/settings domains and is delegated to GitHub CI. Full frontend suite, typecheck and production build are delegated to GitHub CI by personal local validation policy. No reliable repository-native affected typecheck is available.
Browser verification used the authenticated local console on port 5199 against the configured remote backend and an actual unbound bot. An exact Firecrawl UserService URL hint was checked on entry; deselecting and filtering preserved the user's choice. No bind/save was submitted.
Design baseline
apps/aevatar-console-web/docs/design-baselines/workflow-activity-vnext/aevatar-workflow-activity-vnext.excalidraw30e74d7b410ae72c4c91432355436679033679c54c10b1702908435b001577deapps/aevatar-console-web/docs/superpowers/specs/2026-08-04-workflow-activity-vnext-design.mdapps/aevatar-console-web/docs/superpowers/specs/2026-08-04-workflow-activity-vnext-user-paths.md