Repository navigation
[3511 by Claude Opus 5.5] Settings: flat Skills & MCP servers list with enable checkboxes and per-item limits; additional extensions in the automation editor - #3525
Conversation
…ervers and Skills), and the automation editor now has an "Additional extensions" control. The UI checks pass: typecheck, lint with zero warnings, all 3143 vitest tests, and both Playwright specs (23 tests). I didn't run the full repository test suite.
Settings screen. The old 835-line `AgentExtensionsSection.tsx` is now a short container. The lists, forms, shared row and limits control live in `propr-ui/src/pages/SettingsPage/extensions/`.
- Rows: each one shows an enabled checkbox, name, kind, a Read/Write badge, where it applies ("All repositories" or the list), and whether it applies automatically.
- Enabled checkbox: one click saves through the single-item endpoint. While the request runs the checkbox is disabled. If it fails, the checkbox goes back to its previous state and the error is shown. A switched-off row stays in the list, dimmed with an "Off" status, and keeps its settings and stored token.
- Add server / Add skill: one form each, with "Limit to repositories", "Apply automatically" (on by default), and "Limit to agents" under a collapsed "Advanced". The skill form takes an already imported bundle, an archive or a pinned GitHub commit.
- Remove: asks for confirmation. If an automation adds the item, the API's refusal naming those automations is shown.
- Explanation and warnings: the short explanation sits at the top. Warnings cover:
- the Codex limitation, on items that can reach a Codex agent.
- more than 8 servers or 8 skills applying to one repository/agent combination.
- "Imported from profile X; not applied automatically".
- which automations add an item, and on a switched-off item, that they currently run without it.
- a missing Bearer token.
- Revision history, connectivity validation and phone width (checked at 390 px) still work.
Behaviour changes:
- No more "Save library" button. Each form, checkbox and removal saves straight away against the latest revision.
- Changing a server's name or endpoint clears its stored token. The server already worked this way; the form now warns you to enter the token again.
API addition. The library read (`GET /api/instance/extensions/v1`) now also returns `usage`: which automations add each item and which profile each migrated item came from. The logic is in `packages/core/src/extensions/extensionLibraryUsage.ts`, with a new core test. I updated the OpenAPI schema and regenerated `propr-api.yaml` and the client types.
Automation editor. `ExtensionItemsSelector` is replaced by `AdditionalExtensionsSelector`, wired into `AgentSettingsForm.tsx`. It offers only items whose limits allow the automation's repositories and agent, and marks items that already apply automatically. A selected item that has been removed, switched off or no longer matches is shown as skipped with the reason and can still be unticked. Members still see it read-only.
Profile wording is gone from the UI, `settingsCategoryGuides.ts` and `AgentExtensionsGuide.tsx`, except the required "Imported from profile X" note. `agent-extensions.md`, `agents.md` (the automations docs) and `web-ui.md` describe the new screens.
Tests. There are new component tests for the lists, the checkbox (success, in flight, failure rollback), both forms, the removal refusal, the warnings and the automation control. Both Playwright specs are rewritten for the new flow, including save-and-reload round trips of the enabled state, limits, automatic apply and token status.
Preview screenshots were captured for the lists, the server form, phone width and the automation control.
|
/ultrafix goal=8 max=10 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 10) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR delivers the flat lists and automation selector, but needs changes before merge. Four regressions affect credential handling, concurrent editing, and form behavior. ✅ Focused components — Lists, forms, shared controls, and persistence logic replace the large settings component. ✅ Toggle and permission coverage — Tests cover in-flight disabling, failure rollback, removal refusals, and read-only automation selections. ✅ Consistent API additions — Usage information is represented in the route, schema, generated client, and documentation. The supplied checks report 30 passed, four pending, and no failures. This review uses static analysis only; no commands were run. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Clear pending tokens when endpoints change
F2: 🔴 Preserve conflict detection for open forms
F3: 🔴 Make switching back to HTTPS work
F4: 🔴 Prevent older responses replacing newer revisions
SuggestionsThese are optional follow-ups and are not sent to No suggestions. ScoreThe implementation has useful coverage and a clearer structure, but credential transfer and lost-update regressions require correction alongside the two other demonstrated defects. Current checks show no failures, with four still pending. Score: 5/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 6e33e71
Summary of ChangesI've fixed F1–F4 in the Skills & MCP servers screen and added a regression test for each. The UI checks pass: typecheck, lint with zero warnings, all 3149 vitest tests, and the 6 tests in F1 – pending token follows the endpoint. In
A vitest test covers all three transitions and checks that the save sends no token. I added the same assertions to the Playwright token test. F2 – open forms can't overwrite newer settings.
F3 – switching back to HTTPS works. F4 – older responses no longer replace newer ones. In I checked the other places these assumptions could show up. Removal reads the latest library, and the catalog option copies only explicit fields, so neither needed a change. I didn't create preview images: these changes affect behaviour and an error message, not how the screen looks. 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ed a regression test for each. The UI checks pass: typecheck, lint with zero warnings, all 3149 vitest tests, and the 6 tests in `e2e/agent-extensions.pw.ts`. I didn't run the full repository test suite. I also ran the 5 new vitest tests against the original code, and all 5 failed there. I've fixed F1–F4 in the Skills & MCP servers screen and added a regression test for each. The UI checks pass: typecheck, lint with zero warnings, all 3149 vitest tests, and the 6 tests in `e2e/agent-extensions.pw.ts`. I didn't run the full repository test suite. I also ran the 5 new vitest tests against the original code, and all 5 failed there. **F1 – pending token follows the endpoint.** In `ExtensionServerForm.tsx`, a token you've typed but not saved is now cleared when: - the endpoint changes, by typing or through the saved-endpoint picker. - authentication is set to None. - the server type changes. A vitest test covers all three transitions and checks that the save sends no token. I added the same assertions to the Playwright token test. **F2 – open forms can't overwrite newer settings.** - **Saving:** each form now remembers the saved item it was opened on. In `libraryEdits.ts`, `withServer` and `withSkill` refuse to save if that item has since changed (apart from its on/off state) or been removed. The form then shows "…was changed elsewhere after you opened it. Reload to edit the current settings." This also covers a newer revision arriving through a switch on another item. - **Adding:** a new server whose name, or a new skill whose bundle, was added by someone else in the meantime is refused the same way. - **Reload:** Reload now closes any open server or skill form. - **Tests:** these cover the refusal for both kinds, a save that still goes through when only other items changed, and Reload closing both forms. **F3 – switching back to HTTPS works.** `newHttpsServer` now copies only `repositories`, `agents` and `autoApply`, so switching from a catalog entry back to HTTPS gives a plain HTTPS server. A test checks the endpoint field returns and the saved server is a clean HTTPS one. **F4 – older responses no longer replace newer ones.** In `useExtensionLibrary.ts`, a library response older than the one already shown is now ignored, whether it comes from a switch, a save or a reload. A test resolves two switch responses in reverse order (revision 5, then 4). The newer state stays shown and the next save uses revision 5. I checked the other places these assumptions could show up. Removal reads the latest library, and the catalog option copies only explicit fields, so neither needed a change. I didn't create preview images: these changes affect behaviour and an error message, not how the screen looks. PR: #3525 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR replaces the large library editor with focused lists and forms, adds usage metadata, and filters automation extensions by their limits. It needs a localized correction before merge: a valid server name can crash the new usage-note rendering. ✅ Revision handling — Older responses are discarded, and form saves check whether the edited item changed while preserving unrelated updates. ✅ Immediate toggles — Checkboxes use the single-item endpoint, disable while pending, and restore saved state after failure; dedicated tests cover these transitions. ✅ Permission preservation — The automation selector avoids loading the administrative library for members and displays their saved selections read-only. The supplied checks show 34 passed, none failed, and one pending. This review used static analysis only, as requested. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F5: 🔴 Handle inherited keys in usage maps
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Batch provenance queries
ScoreThe implementation is focused and well covered, with strong supplied CI results. The inherited-key defect requires correction because it can break both settings rendering and the library read endpoint. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 890e694
Summary of ChangesF5 is fixed. Library item names are now treated as plain data in the settings UI and in the backend usage code, so a server named Backend (
Frontend
Regression tests
Checks run
I didn't run the full repository test suite. I skipped a visual preview because this is a crash fix for an unusual item name, not a visible UI change. 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ta in the settings UI and in the backend usage code, so a server named `constructor` no longer breaks the settings lists or the library GET. F5 is fixed. Library item names are now treated as plain data in the settings UI and in the backend usage code, so a server named `constructor` no longer breaks the settings lists or the library GET. **Backend** (`packages/core/src/extensions/extensionLibraryUsage.ts`) - The usage maps are now built on objects with no inherited properties, so names like `constructor`, or a valid name like `__proto__`, can't collide with built-in object properties. - `add` only reads an existing entry when that name is actually in the map. - The result is turned back into ordinary objects before it's returned, so the API response shape is unchanged. **Frontend** - A new helper, `ownEntry`, in `extensionUi.ts` reads a name from a map only if the map really holds that name. - `itemNotes` (`extensionNotes.ts`) uses it for the "Imported from profile" lookup and for the Bearer-token check. - **Same bug in one more place:** `CatalogServerDetails` (`ExtensionServerFields.tsx`, also added by this PR) looked up `secrets[server.name]` directly. For a catalog server named `constructor` with no stored secret entry, that lookup found the built-in property instead of nothing, so the catalog's own secret status was never checked and it showed "Operator secrets: not configured" by mistake. It now uses `ownEntry` too. **Regression tests** - **Core usage test:** the library now includes `constructor` (with a migration mapping) and `tostring` (without one). `constructor` is reported with its profile and `tostring` is left out. - **UI tests:** - `constructor` with no migration history shows no "Imported from" note. - `constructor` with migration history shows "Imported from profile “Docs”". - A catalog server named `constructor` falls back to the catalog's secret status. - I ran the new tests against the original code: the core test failed with a TypeError, and two of the three UI tests failed. The UI case with migration history already passed on the original code; it covers the second half of what the finding asked for. **Checks run** - The core usage test passes. - The 270 vitest tests in `propr-ui/src/pages/SettingsPage` pass. - Typecheck is clean for `packages/core` and `propr-ui`. - Lint passes with zero warnings on the changed files. I didn't run the full repository test suite. I skipped a visual preview because this is a crash fix for an unusual item name, not a visible UI change. PR: #3525 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR implements the flat lists, immediate saves, usage notes, and automation selector with substantial focused coverage. It needs a localized performance correction before merge. ✅ Concurrent edit protection — Form saves compare the opened item with current settings, while revision adoption rejects older responses. ✅ Toggle recovery — Checkboxes show pending state, roll back after failure, and preserve settings through the existing single-item endpoint. The supplied checks show 31 passed, three pending, and no failures. This review used static analysis only; no commands were run. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F6: 🔴 Bound the overlap-warning computation
SuggestionsThese are optional follow-ups and are not sent to S2: 🟢 Batch migration provenance reads
ScoreThe implementation has strong focused coverage and sound revision handling, but the new rendering calculation can make valid libraries impractical to manage. The remaining checks are pending, not failed. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 01de235
Summary of ChangesThat timeout notice came from the watcher I set on the check run, and it doesn't change anything. Typecheck and lint were clean, and all 1,872 tests had already passed. F6 is fixed as I described above. 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…k run, and it doesn't change anything. Typecheck and lint were clean, and all 1,872 tests had already passed. F6 is fixed as I described above. That timeout notice came from the watcher I set on the check run, and it doesn't change anything. Typecheck and lint were clean, and all 1,872 tests had already passed. F6 is fixed as I described above. PR: #3525 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR implements the flat settings lists and automation selector with a clear separation between forms, presentation, and persistence. It is merge-ready within the reviewed scope, conditional on the remaining checks passing. ✅ Safe revision handling — Older responses are discarded, and open forms reject intervening changes to the edited item while preserving newer changes to other items. ✅ Immediate enabled controls — Checkboxes use the single-item endpoint, disable while pending, and restore saved state on failure without replacing credentials. ✅ Focused coverage — Added tests cover failure rollback, reversed response ordering, removal refusals, token handling, and saved-state reloads. This review used static analysis of the supplied diff and context; no commands were run. The authoritative check summary reports zero failures and four pending checks. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S3: 🟢 Batch migration provenance queries
S4: 🟢 Clarify server capacity warning
ScoreThe implementation has strong targeted coverage and no verified merge-blocking defect in the supplied changes. Final merge readiness remains conditional on completion of the pending checks. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
AI Implementation Summary
Closes #3511
Branch:
3511/claude-opus-5-5-settings-flat-skills-mcp--20261113-0807-v70Commits: ✅ Changes committed (0265329)
AI Processing Completed
Execution Details:
Summary:
I've rebuilt the Skills & MCP servers screen as two flat lists (MCP servers and Skills), and the automation editor now has an "Additional extensions" control. The UI checks pass: typecheck, lint with zero warnings, all 3143 vitest tests, and both Playwright specs (23 tests). I didn't run the full repository test suite.
Settings screen. The old 835-line
AgentExtensionsSection.tsxis now a short container. The lists, forms, shared row and limits control live inpropr-ui/src/pages/SettingsPage/extensions/.Behaviour changes:
API addition. The library read (
GET /api/instance/extensions/v1) now also returnsusage: which automations add each item and which profile each migrated item came from. The logic is inpackages/core/src/extensions/extensionLibraryUsage.ts, with a new core test. I updated the OpenAPI schema and regeneratedpropr-api.yamland the client types.Automation editor.
ExtensionItemsSelectoris replaced byAdditionalExtensionsSelector, wired intoAgentSettingsForm.tsx. It offers only items whose limits allow the automation's repositories and agent, and marks items that already apply automatically. A selected item that has been removed, switched off or no longer matches is shown as skipped with the reason and can still be unticked. Members still see it read-only.Profile wording is gone from the UI,
settingsCategoryGuides.tsandAgentExtensionsGuide.tsx, except the required "Imported from profile X" note.agent-extensions.md,agents.md(the automations docs) andweb-ui.mddescribe the new screens.Tests. There are new component tests for the lists, the checkbox (success, in flight, failure rollback), both forms, the removal refusal, the warnings and the automation control. Both Playwright specs are rewritten for the new flow, including save-and-reload round trips of the enabled state, limits, automatic apply and token status.
Preview screenshots were captured for the lists, the server form, phone width and the automation control.
Detailed Logs:
dc90dd47-d649-4542-ae5b-3ffea1d2ae3eLog files stored at:
/usr/src/app/logs/executions/issue-3511-2026-11-13T08-40-52-955Z-conversation.json/usr/src/app/logs/executions/issue-3511-2026-11-13T08-40-52-955Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3511.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Automation additional extensions
The automation editor's Additional extensions control: MCP server and skill lists, an automatic item marked, and a switched-off item shown as skipped.
Connect sign-in required. Original retained until 2027-02-11T08:40:58.273Z.
View the full-resolution original in ProPR Connect
Skills & MCP servers lists
Flat MCP server and skill lists with enabled checkboxes; a switched-off server stays dimmed with an Off status.
Connect sign-in required. Original retained until 2027-02-11T08:40:59.488Z.
View the full-resolution original in ProPR Connect
Phone width
The lists at 390 px width.
Connect sign-in required. Original retained until 2027-02-11T08:41:00.757Z.
View the full-resolution original in ProPR Connect
Add server form
One form for an HTTPS or catalog server with tools, capability, write-only token, repository limit, Apply automatically and the agent limit under Advanced.
Connect sign-in required. Original retained until 2027-02-11T08:41:02.060Z.
View the full-resolution original in ProPR Connect