Repository navigation
[3603 by Claude Opus 5.5] Settings → Skills & MCP servers: validate the Add server form, fix the false "Confirmed import commit", and cut the explanatory text - #3629
Conversation
… tests it asks for. Typecheck and zero-warning lint pass. All 3,297 UI unit tests pass. The four new browser tests (Add server and Add skill at 1440 and 390 px) pass, along with the existing extension and Settings layout browser tests.
Add server form
- Validation: name and URL are checked when you leave each field, and errors show inline. "Add server" and "Discover tools" stay disabled until the fields are valid; package name and version are also required for a local package. "Check sign-in" waits for a valid URL too.
- Rules match the server:
- Name: 1–48 characters, starts with a lowercase letter, then lowercase letters, digits, `-` and `_`. Not `propr`, and unique in the library.
- URL: `https://` only, port 443, no user/password, query or fragment, and not localhost or `.local`.
- A unit test checks the name rule against the shared server schema. The server still makes the final decision.
- Size and layout: fields now use the standard Settings sizes. On a phone the Add/Cancel buttons stick to the bottom of the screen.
- Escape and discarding: Escape closes the form. If you've typed something, Escape, Cancel, a link, a Settings category tab or the phone back button first ask "Discard changes?" in the app's own dialog. After you confirm, the click you made goes through. Reloading or closing the tab gets the browser's own prompt.
- One gap: the browser Back button is not intercepted. The app's router has no built-in way to block navigation, so I guard clicks instead.
- Labels:
- "Other tool", "Other repository (owner/name)" and "Other agent"; typed repository and agent values are checked before they can be added.
- "npm" shown as plain text instead of a one-option select.
- "Check sign-in" and "Check package".
- The repository limit list shows whole rows, and gets a filter when it has more than ten entries.
Add skill
- "Confirmed import commit" now appears only for a 40-character commit that the lookup verified. A typed commit is checked against the repository with the existing branch/tag lookup endpoint, so no API change was needed. Free text says what's wrong, and "Import pinned skill" stays disabled until then.
- A typed repository only shows as the selected option once it's a valid `owner/name`.
Text
- The description is now two sentences plus the docs link, and the five bullets are gone. The inspector note and status line ("Changes apply to new runs.") are the wording from the issue.
- The Codex note is one line with a "Details" link to a new docs heading.
- The wording changes from items 10–12 are in, and loading now shows a skeleton.
- One choice of mine: the issue gave no replacement for "Operator secrets: configured", so it now reads "Credentials: set by the operator". The catalog item's SHA-256 moved to a hover tooltip.
- Agent Runtime Packages is cut to one or two sentences plus a docs link.
- On a phone, the category title in the header now wraps instead of being cut off.
- The two notices you asked to keep (secrets readable in the task container, and OAuth runs acting as the signed-in account) are unchanged.
Docs: in `agent-extensions.md` I added a "Codex configuration" heading, the form validation rules and the guidance removed from the screen. In `propr-cli.md` I added a "Finding package names" section with the help text removed from the packages screen.
Tests: existing tests that checked the old wording are updated. The new tests are `extensionValidation.test.ts`, `ExtensionFormValidation.test.tsx` and the browser test `e2e/agent-extensions-forms.pw.ts`, which saves screenshots at both widths. The screenshots are also staged as previews.
The main new files are `extensionValidation.ts` (the client rules), `useDiscardGuard.tsx` (Escape and the discard prompt) and `ExtensionFormActions.tsx` (the sticky footer).
|
/ultrafix goal=8 max=6 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 6) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR improves form validation, import confirmation, and Settings presentation, but needs changes to discard handling and commit-lookup recovery before merge. ✅ Verified commit gating — Imports require a full commit verified for the selected repository; stale asynchronous responses are ignored. ✅ Shared validation contracts — Name, repository, agent, and package checks reuse shared schemas, with focused validation tests. ✅ Preserved credential notices — The container-secret and shared OAuth identity warnings remain intact. This review used static analysis of the supplied diff and context; no commands were run. Current checks show no failures and five pending checks. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Coordinate discard guards across open forms
F2: 🔴 Allow retrying failed commit verification
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Align documentation with renamed controlsThe OAuth and local-package instructions still refer to Check, although the controls now say Check sign-in and Check package. Updating those references would improve consistency; the existing instructions remain understandable, so this is non-blocking. ScoreThe validation and presentation changes have useful coverage, but two reachable state-management defects require localized fixes. Pending CI checks have no reported failures. 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 75f2dcc
Summary of ChangesI fixed F1 and F2, and added regression tests for both. Typecheck, zero-warning lint, all 348 Settings unit tests and the 11 extension browser tests pass. I also put the new tests back over the old code to check them: all four failed, as they should. F1: two forms with unsaved text
F2: retrying a failed commit check
Separate issues (not changed):
I saved new previews of the failed-check state with the Check again link, at 1440 px and 390 px. Review digestRisk-tiered paths
Validation evidence
Diff size: 5 files changed, +97/−7 lines Visual previewAdd skill: commit check failed (1440 px)When the commit check is refused or fails, the form says the commit could not be verified and offers Check again. Import pinned skill stays disabled; editing the commit also starts a new check. Add skill: commit check failed (390 px)The same state with the Check again link at phone width. 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…echeck, zero-warning lint, all 348 Settings unit tests and the 11 extension browser tests pass. I also put the new tests back over the old code to check them: all four failed, as they should. I fixed F1 and F2, and added regression tests for both. Typecheck, zero-warning lint, all 348 Settings unit tests and the 11 extension browser tests pass. I also put the new tests back over the old code to check them: all four failed, as they should. **F1: two forms with unsaved text** - **Cause:** confirming "Discard" sent your click on its way again but left that form open with its text. Each form only let its own resent click through, so the two forms kept stopping each other's clicks and asking in turn. - **Fix:** confirming "Discard" before leaving now closes that form, then sends the click on (`useDiscardGuard.tsx`). If the other form also has text, it asks once. Confirming that one goes through, because the first form is gone. This matches what "Discard" says. - **Detail:** the hook reads the close handler from a ref. Both lists pass it as an inline arrow function, so otherwise the click listener would be removed and re-added on every render. - **Tests:** a new test opens both forms with text, clicks a Settings tab, confirms both prompts, and checks that the click gets through exactly once with both forms closed. The existing single-form test now also checks that the form closes before you leave. **F2: retrying a failed commit check** - **Cause:** a failed check was stored as "not found" and never re-run for the same commit. - **Status split:** "not found" now means only that the repository answered with a different commit. A check that fails gets a separate status, with the text "This commit could not be verified. It may not exist in the repository, or the check failed." next to a **Check again** link. - **Invalidation:** any edit to the commit or repository now forgets a lookup that didn't verify, so clearing the commit and typing it again checks it again. A verified lookup is kept. - **Tests:** two new tests make the first check fail and the second succeed for the same commit. One retries with Check again, the other clears and retypes the commit; both end with "Confirmed import commit" and Import pinned skill enabled. The "not found" test now uses a lookup that returns a different commit, and the browser test expects the new text and the button. **Separate issues (not changed):** - **The server can't tell "missing" from "failed":** for a commit GitHub doesn't have, the route answers with the same generic 400 it uses for other GitHub errors. So the form can't know a commit is really missing, which is why the message gives both possibilities. A clear "not found" would need the API to return a distinct status. - **Branch or tag picker:** if turning a branch or tag into a commit fails, the message says "Select again", but picking the same option again does nothing. You have to pick a different one first. I saved new previews of the failed-check state with the Check again link, at 1440 px and 390 px. PR: #3629 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 improves form validation, layout, wording, and commit verification with focused unit and browser coverage. It needs a localized correction to discard detection before merge. ✅ Verified commit gating — GitHub imports remain disabled until a repository-specific lookup confirms the exact commit, with stale responses cancelled and failed checks retryable. ✅ Accessible field errors — Server fields connect inline errors to their inputs and prevent invalid submissions. The supplied current-head status reports 14 passed checks, one 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. F3: 🔴 Include pending entries in discard detection
SuggestionsThese are optional follow-ups and are not sent to S2: 🟢 Clarify endpoint validation parity
S3: 🟢 Update remaining button referencesThe OAuth and local-package instructions in ScoreThe implementation has substantial focused coverage and no reported failing checks, but discard detection misses several editable input states. The required correction is localized. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
🔄 Starting work on follow-up changes requested by @propr-ultrafix I'll analyze the 1 request and implement the necessary changes. |
…entry you've typed but not yet added with its Add button. This works in both the server editor and the skill editor. Typecheck, zero-warning lint, all 355 Settings unit tests and the 11 extension browser tests pass. I fixed F3: Escape and Cancel now ask before discarding an entry you've typed but not yet added with its Add button. This works in both the server editor and the skill editor. Typecheck, zero-warning lint, all 355 Settings unit tests and the 11 extension browser tests pass. **How it works** - A new file, `pendingEntries.ts`, lets each form track which of its entry fields contain text. Spaces alone don't count. - `ExtensionItemPicker` uses it for its typed-entry field. That covers "Other tool" (also "Tool name" on a local package server), "Other repository (owner/name)" and "Other agent". - The "New secret variable name" field in `ExtensionPackageFields.tsx` uses it too. - `ExtensionServerForm` now treats the form as changed when the draft changed or any of these fields has text. `ExtensionSkillForm` does the same alongside its existing checks. - When an entry is added or cleared, the form stops counting it. If the field disappears, for example because the server type changes, its text goes with it, so it no longer counts either. **Tests:** the new file is `ExtensionPendingEntries.test.tsx`. It opens a saved server, a saved package server and a saved skill without changing them, and types into each entry field: - Escape asks first; "Keep editing" keeps the typed text. - Cancel asks first; only "Discard" closes the form. - One more test checks that a field cleared back to spaces closes on Escape straight away. I also ran the new tests against the old code: the six that type an entry all failed, as they should. The cleared-field test passed there too, since that behaviour didn't change. **Same defect elsewhere:** I checked the other typed fields in these forms. Scopes, arguments and environment variables update the draft as you type, so the existing check already catches them. The skill import fields were already counted. No other field had this problem. I didn't add a visual preview, because nothing looks different: it's the same "Discard changes?" dialog already in the PR's previews, now shown in more cases. PR: #3629 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryI resolved the one conflict by keeping this PR's version of the file. A search for conflict markers across the repository finds none left. I couldn't run the type check or unit tests here: What the conflict was about
How I resolved it
Why
🤖 Resolution Details
System-triggered merge conflict resolution |
…-5-5-settings-skills-mcp-serve-20261117-0125-jgu Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - propr-ui/src/pages/SettingsPage/AgentExtensionsGuide.tsx PR: #3629 Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
|
❌ ProPR could not start on The ProPR worker refused the job because the disk that holds its working copies is nearly full. Nothing was changed on this pull request. Once space has been freed on the worker host, post the command again. |
1 similar comment
|
❌ ProPR could not start on The ProPR worker refused the job because the disk that holds its working copies is nearly full. Nothing was changed on this pull request. Once space has been freed on the worker host, post the command again. |
|
|
|
/ultrafix goal=8 max=4 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 4) First action:
|
|
ℹ️ Analyzed the follow-up request by @integry
Analysis SummaryI made no changes: F3 is already fixed in the commit the review names ( What's in place
Tests: Verification
Similar fields: I checked the other fields that keep their own text: OAuth scopes, package arguments, environment variables and the skill import fields. Each of them either updates the form data as you type or is already part of the form's change check, so none has the same gap. There's no visual change, so I made no preview. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR improves form validation, wording, mobile layout, and discard protection. It needs a localized correction before merge: the new repository filter can unexpectedly submit the enclosing form. ✅ Verified commit gating — GitHub imports remain disabled until a matching repository/commit lookup succeeds, with retry support for unavailable checks. ✅ Pending-entry protection — Unsubmitted tool, repository, agent, and secret-variable entries participate in discard detection. ✅ Validation coverage — Added unit and browser tests cover invalid inputs, discard confirmation, and mobile layouts. Current checks report 16 passed, none failed or pending. This review uses static analysis of the supplied diff and context; no commands were run. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F4: 🔴 Filtering can unexpectedly save the form
SuggestionsThese are optional follow-ups and are not sent to S4: 🟢 Cover remaining discard routesThe new guard handles selected navigation clicks, but the existing library Reload button still remounts both lists and discards dirty forms without confirmation. Browser Back also remains unguarded, as the implementation summary acknowledges. These existing navigation paths are useful follow-up coverage for the new protection, rather than additional regressions introduced by this PR. S5: 🟢 Align documentation button namesThe detailed OAuth and local-package instructions in ScoreThe implementation has substantial focused coverage and passing current checks, but the new filter introduces an unintended-save path that needs correction before merge. 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 a0f3dd3
Summary of ChangesI fixed F4: pressing Enter in the list filter no longer saves the server or skill form. All tests, typecheck and zero-warning lint pass. Fix: in Tests:
I also ran the new tests against the old picker code: both unit tests and the browser test fail there, so they catch the bug. Results:
There's nothing visible to show, so I made no preview. Review digestRisk-tiered paths
Validation evidence
Diff size: 3 files changed, +39/−1 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…es the server or skill form. All tests, typecheck and zero-warning lint pass. I fixed F4: pressing Enter in the list filter no longer saves the server or skill form. All tests, typecheck and zero-warning lint pass. **Fix:** in `propr-ui/src/pages/SettingsPage/extensions/ExtensionItemPicker.tsx`, the filter box now cancels the browser's default action for Enter, the same way the "Other …" entry box already did. Enter now just ends the search, with the filtered list left in place. Both forms use this one picker for all their lists (tools, repositories, agents), so this single change covers every list long enough to show a filter. I found no other input in the changed forms with the same problem. Enter in the real fields, like name or URL, still submits, as it should. **Tests:** - **Unit** (`ExtensionFormValidation.test.tsx`): one test for each form. Each fills in a valid server or skill with 26 repositories, types into the filter and presses Enter. They check that Enter's default action was blocked and that save was not called. The test runner can't simulate the browser's own submit-on-Enter, which is why they check for the blocked default instead. - **Browser** (`e2e/agent-extensions-forms.pw.ts`): with a valid Add server form, Enter in the filter must send no save request, and the form must stay open with the filtered list. I also ran the new tests against the old picker code: both unit tests and the browser test fail there, so they catch the bug. **Results:** - 357 of 357 Settings unit tests pass. - All 11 browser tests in the forms and extensions files pass. There's nothing visible to show, so I made no preview. PR: #3629 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 improves extension form validation, commit verification, mobile layout, and explanatory text. No merge-blocking defect was verified from the supplied diff and context. Merge readiness is conditional on the pending Validate Changes check completing successfully. ✅ Verified commit gating — Typed commits require a matching repository lookup before import is enabled; failed requests offer retry. ✅ Pending input protection — Unsaved manual tool, repository, agent, and secret-variable entries participate in discard confirmation. ✅ Focused regression coverage — Added tests cover validation, discard flows, retry behavior, and desktop/mobile layouts. This was a static review; no commands or tests were run. Supplied current-head status reports 15 passed, one pending, and no failed checks. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S6: 🟢 Clarify discovery validation wording
S7: 🟢 Guard the library Reload actionThe new ScoreThe changes have focused coverage and no verified merge blocker. Final CI validation remains pending, and the assessment is based on static inspection. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |


AI Implementation Summary
Closes #3603
Branch:
3603/claude-opus-5-5-settings-skills-mcp-serve-20261117-0125-jguCommits: ✅ Changes committed (ab8aba1)
AI Processing Completed
Execution Details:
Summary:
I've implemented everything in issue #3603, plus the unit and browser tests it asks for. Typecheck and zero-warning lint pass. All 3,297 UI unit tests pass. The four new browser tests (Add server and Add skill at 1440 and 390 px) pass, along with the existing extension and Settings layout browser tests.
Add server form
-and_. Notpropr, and unique in the library.https://only, port 443, no user/password, query or fragment, and not localhost or.local.Add skill
owner/name.Text
Docs: in
agent-extensions.mdI added a "Codex configuration" heading, the form validation rules and the guidance removed from the screen. Inpropr-cli.mdI added a "Finding package names" section with the help text removed from the packages screen.Tests: existing tests that checked the old wording are updated. The new tests are
extensionValidation.test.ts,ExtensionFormValidation.test.tsxand the browser teste2e/agent-extensions-forms.pw.ts, which saves screenshots at both widths. The screenshots are also staged as previews.The main new files are
extensionValidation.ts(the client rules),useDiscardGuard.tsx(Escape and the discard prompt) andExtensionFormActions.tsx(the sticky footer).Review digest
Risk-tiered paths
propr-ui/src/pages/SettingsPage/extensions/ExtensionOAuthConnection.tsx(+2/−2): auth-looking pathpropr-ui/src/pages/SettingsPage/extensions/ExtensionOAuthFields.tsx(+26/−23): auth-looking pathpropr-ui/src/api/extensionProfilesApi.ts(+1/−1)propr-ui/src/pages/SettingsPage/AgentExtensionsGuide.tsx(+2/−19)propr-ui/src/pages/SettingsPage/AgentExtensionsSection.tsx(+20/−16)propr-ui/src/pages/SettingsPage/AgentRuntimePackagesGuide.tsx(+9/−34)propr-ui/src/pages/SettingsPage/SettingsNavigationParts.tsx(+2/−1)propr-ui/src/pages/SettingsPage/extensions/CodexLimitation.tsx(+6/−5)propr-ui/src/pages/SettingsPage/extensions/ExtensionFormActions.tsx(added, +13/−0)propr-ui/src/pages/SettingsPage/extensions/ExtensionItemLimits.tsx(+13/−8)propr-ui/src/pages/SettingsPage/extensions/ExtensionItemPicker.tsx(+54/−21)propr-ui/src/pages/SettingsPage/extensions/ExtensionItemRow.tsx(+2/−2)propr-ui/src/pages/SettingsPage/extensions/ExtensionPackageFields.tsx(+46/−37)propr-ui/src/pages/SettingsPage/extensions/ExtensionServerFields.tsx(+65/−34)propr-ui/src/pages/SettingsPage/extensions/ExtensionServerForm.tsx(+60/−37)propr-ui/src/pages/SettingsPage/extensions/ExtensionSkillForm.tsx(+15/−7)propr-ui/src/pages/SettingsPage/extensions/ExtensionSkillImport.tsx(+101/−39)propr-ui/src/pages/SettingsPage/extensions/extensionUi.ts(+12/−2)propr-ui/src/pages/SettingsPage/extensions/extensionValidation.ts(added, +99/−0)propr-ui/src/pages/SettingsPage/extensions/packageServerUi.ts(+1/−1)propr-ui/src/pages/SettingsPage/extensions/useDiscardGuard.tsx(added, +61/−0)propr-ui/src/pages/SettingsPage/settingsCategoryGuides.ts(+1/−1)docs/docs/features/agent-extensions.md(+34/−10)docs/docs/features/propr-cli.md(+4/−0)propr-ui/e2e/agent-extensions-forms.pw.ts(added, +187/−0)propr-ui/e2e/agent-extensions.pw.ts(+24/−23)propr-ui/src/pages/SettingsPage/AgentExtensionsOAuth.test.tsx(+6/−5)propr-ui/src/pages/SettingsPage/AgentExtensionsSection.test.tsx(+15/−14)propr-ui/src/pages/SettingsPage/AgentRuntimePackagesSection.test.tsx(+3/−2)propr-ui/src/pages/SettingsPage/extensions/ExtensionFormValidation.test.tsx(added, +243/−0)propr-ui/src/pages/SettingsPage/extensions/ExtensionOAuthServerName.test.tsx(+1/−1)propr-ui/src/pages/SettingsPage/extensions/ExtensionPackageServer.test.tsx(+10/−10)propr-ui/src/pages/SettingsPage/extensions/extensionValidation.test.ts(added, +101/−0)propr-ui/src/pages/SettingsPage/extensions/extensionWarnings.test.tsx(+2/−2)propr-ui/src/pages/SettingsPage/settingsCategoryGuides.test.ts(+8/−0)Validation evidence
Diff size: 35 files changed, +1,249/−357 lines
Detailed Logs:
60f5449a-7c3e-405e-a48b-a45fe0efc3f0Log files stored at:
/usr/src/app/logs/executions/issue-3603-2026-11-17T02-17-05-975Z-conversation.json/usr/src/app/logs/executions/issue-3603-2026-11-17T02-17-05-975Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3603.
💡 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
Discard prompt
Escape (or Cancel, or a link away) on a form with typed content asks before discarding, using the app's confirmation dialog.
Full-size original
Skills & MCP servers lists
Two-sentence description with the docs link, no bullet list, 'Last changed … Changes apply to new runs.', the short Codex note with a Details link, and Test connections.
Full-size original
Lists at phone width
The lists at 390 px with the full category title in the header.
Full-size original
Add server on a phone (390 px)
Valid fields with the Add server / Cancel actions pinned to the bottom of the screen, and the category title wrapping instead of being cut off.
Full-size original
Add server: inline validation (1440 px)
A name with capitals and an http:// endpoint are flagged when each field is left; Add server and Discover tools stay disabled. Standard Settings field sizes, 'Other tool' / 'Other repository (owner/name)' disclosures, 'Access' select, and a filtered 26-repository limit list showing eight whole rows.
Full-size original
Add skill: unverified commit (1440 px)
A 40-character commit the repository lookup did not find is not called confirmed; Import pinned skill stays disabled.
Full-size original
Add skill: verified commit (1440 px)
'Confirmed import commit' appears only after the lookup verified the typed commit; the typed owner/name repository is the selected option.
Full-size original
Add skill on a phone (390 px)
The same verified state at phone width with the sticky actions footer.
Full-size original