## Thinking Path > - Paperclip helps people manage work with agents. > - People pick a recipient in the new-task and task reply composers. > - The picker puts people before agents. Frequently used recipients can be far down the list. > - The composer can use its saved assignee history to put recent recipients at the top. > - This change shows up to five recent choices, then puts the other agents before the other people. ## Linked Issues or Issue Description **What existing behavior does this improve?** The assignee list in the task composer. **Subsystem affected** UI board. **Current behavior** Open the assignee picker in a task composer. The list can show people before all agents. It has no top list of mixed agent and human selections. **Proposed behavior** Show the five most recent available choices first in newest-first order. Show the other agents, then the other people. Put No assignee at the end of the list and include it in search. **Reason and benefit** People can find recipients they use often and reach other agents sooner. Related composer UI changes are #15050 and #14250. ## What Changed - Read company-specific assignee history in the shared composer picker. - Record each explicit picker selection, including reselection of the current assignee. Reset run settings only when the assignee changes. - Keep the saved recent-agent fallback for older browser history. - Test recency order, the five-choice limit, company boundaries, search, reselection, and reopening with 268 choices in the new-task and reply composers. Bound option reads in each step. ## Verification - The new regression test failed on the old order and passed with the fix. - Ran the composer, run settings, assignee, and recent selection test files with Vitest. All 205 tests passed. - Ran `pnpm --filter @paperclipai/ui typecheck`. It passed. - Ran `pnpm test:e2e tests/e2e/new-task-picker-touch.spec.ts --workers=1`. All three Chromium tests passed. ## Risks Low risk. This changes the order of existing options. The history uses the browser's existing storage. The regression test checks that a missing assignee does not reduce the five-choice limit. ## Model Used OpenAI Codex, GPT-6, with shell and GitHub tooling. ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [x] All Paperclip CI gates are green - [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge --------- Co-authored-by: Paperclip <noreply@paperclip.ing>
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Storybook
Storybook config, stories, and fixtures live under ui/storybook/.
pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.
Editor dependency identity
Keep the root and workspace overrides for @codemirror/state,
@codemirror/view, and @lezer/common aligned. CodeMirror requires shared
extension identity, while Lezer parsers and syntax highlighters require shared
NodeProp IDs. Multiple Lezer copies can crash code-block highlighting with
tags is not iterable. src/lib/codemirror-single-instance.test.ts checks the
installed dependency graph and highlights sample code through the editor's real
language dependencies. GitHub Actions owns regeneration of pnpm-lock.yaml.