Repository navigation
feat(web): specialist grants, assign step and Runs as (issue 749 slice 3) - #926
Merged
Merged
Conversation
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.
Part of #749
The web side of slice 3 (RUNNER-DEEP-AGENTS.md), following the merged demo screens from PR 912. It calls the routes added in #924 (
getMemberSpecialists,setMemberSpecialists, andassignTask.specialist), so merge it after #924. Until #924 is deployed:Summary
team/specialists-model.tsis pure. It checks the read's shape, builds the assign options in catalog order (labels fromlib/role-catalog.ts, never matched on label), works out which tasks a draft stops, and explains refusal codes.Where this follows the specs rather than the demo, or the demo is specific to its seed data:
Evidence
apps/web npm run typecheck: exit 0.apps/web npm test: exit 0, 201 files and 3881 tests passed.team/specialists.test.tsx(new, 10 tests):{ specialists }, Cancel, a kept-but-not-offered choice, refusal wording, the member line (no read), and an agent that offers none.tasks/task-sheet.test.tsx(+4 tests):specialistsent;node e2e/test-timing-check.mjs: passed.Not verified: the browser, a11y and e2e suites (left to CI), phone width, and keyboard use of the second step. Nothing ran against staging or a real API.
Merge Danger
Door: two-way. This is UI only: no contract, migration or server change.
Blast Radius: small. It touches the Team › agent Sheet and the task's Assignee row. For owners and admins, offering a task now first reads the agent's specialists, and falls back to a plain offer if that read fails.