Skip to content

fix(agents): address the PR 124 manual-testing findings - #140

Merged
Jacksondr5 merged 1 commit into
feature/agent-library-folder-pickerfrom
feature/agent-library-review-fixes
Sep 14, 2026
Merged

Jacksondr5 merged 1 commit into
feature/agent-library-folder-pickerfrom
feature/agent-library-review-fixes

Conversation

@bryantderosier

Copy link
Copy Markdown
Collaborator

Jackson's manual pass on #124 turned up five things in the agent library. This PR fixes all five; the persona-on-spawn_agent gap is covered by the crews work, and the delegate_task fold and the artifacts hookup follow as their own PRs.

  • Model menu stays open after a pick. Base UI radio items default to closeOnClick=false; the primary/fallback picker now closes on selection.
  • Built-in agents can't be disabled. Every listed agent now has an On/Off switch. Imported copies keep their own flag; folder and bundled ids go to <stateDir>/disabled-source-agent-personas.json through a new setAgentPersonaEnabled RPC on the J5 group, so switching one off never touches its file, and an imported copy overrides its source's entry.
  • @scout opened the file picker. Typing @ plus the start of an agent's id or name now lists matching agents above the file results on web and mobile (one appended spread in each composer's path branch, recorded in FORK.md); @agent: still lists every launchable agent. Settings → Agents states the syntax.
  • "Missing" on a folder the user never configured. The unconfigured default personas row now reads "Default · not created; bundled examples in use" instead of an error badge.
  • "Why are these blocked?" The catalog carries one attempts entry per rejected route with typed failure codes, and the Blocked badge explains them: hover on web/desktop, inline lines on mobile (for example "Primary · Codex gpt-5.6-terra (high): model is not offered by the signed-in provider", or "runtime policy is not enforceable on this provider yet" for diagnostic and publish-only).

Validation

  • Server J5 agent suite (92 tests), client-runtime J5 (61), web J5 plus composer logic (180), mobile J5 plus command menu (9); typecheck and lint clean on every touched package.
  • No browser or native pass.

Merge order

Part of GitHub stack 120, on top of #124.

🤖 Generated with Claude Code

@bryantderosier
bryantderosier added this pull request to stack #120 September 14, 2026 12:17
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L 100-499 effective changed lines (test files excluded in mixed PRs). labels Sep 14, 2026
@bryantderosier bryantderosier self-assigned this Sep 14, 2026
@bryantderosier
bryantderosier force-pushed the feature/agent-library-review-fixes branch from 1620e44 to bdc3c12 Compare September 14, 2026 12:37
Five fixes from Jackson's review of the agent library:

- The primary/fallback model menu closes after a pick; Base UI radio items
  default to staying open.
- Every listed agent has an On/Off switch. Imported copies keep their flag;
  folder and bundled ids are written to disabled-source-agent-personas.json
  through a new setAgentPersonaEnabled RPC, so switching one off never touches
  its file. An imported copy overrides its source's entry on that list.
- Typing @ and the start of an agent's id or name lists matching agents above
  the file results on web and mobile, so @scout finds Scout; the explicit
  @agent: trigger still lists every launchable agent. Settings states the syntax.
- The unconfigured default personas folder reads as the default with bundled
  examples in use rather than as Missing.
- Blocked badges explain themselves: the catalog carries one attempt per
  rejected route with typed failure codes, and Settings shows which model or
  provider is missing, or that the runtime policy is not enforceable yet.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Jacksondr5
Jacksondr5 merged commit d074d95 into j5/main Sep 14, 2026
20 checks passed
@Jacksondr5
Jacksondr5 deleted the feature/agent-library-review-fixes branch September 14, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants