Repository navigation
fix(brochure): replace the saved-registry list with one custom slot - #4724
Conversation
The website's registry picker no longer adds, saves or deletes registries. It lists the Start9 and Community registries plus a single Custom slot that holds the last non-default registry to load; Change opens a prompt pre-filled with its URL, and the choice only sets ?registry=. A registry that fails to load never replaces the slot. Removes add()/delete() from AbstractMarketplaceService, which only the website's picker called, along with the StartOS wrappers that existed to satisfy it. In StartOS, saved registries other than Start9 and Community now sit below a divider. Closes #4705 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
left a comment
There was a problem hiding this comment.
Reviewed 25c49934243f3972781a30f64bae3915be97061d; git merge-tree is clean against origin/master. Two fixes are needed in shared-libs/ts-modules/marketplace/src/components/registry-select.component.ts:
-
[P2] Handle malformed custom URLs inside the task error boundary (
viewCustom, line 235). The prompt accepts unrestricted text, butregistryUrl(rawUrl)now executes beforeconnect()entersTaskService.run(). Submittinghttps://orftp://example.comrejects the event handler instead of displaying the normal error notification. The previous implementation normalized inside the task-wrappedadd(). The proposal moves normalization into the existing connection task, without adding another loader. -
[P2] Derive the custom rows reactively from the bound input (
data, lines 175–199). Open StartOS with saved custom registry A and?registry=B, where B is not saved. PatchDB andcurrentRegistryUrl$replay synchronously during picker construction, before Angular bindsmanageRegistriesLink="/system/registries". The RxJSmapreads its default empty value and drops A. Binding the input does not rerun that map, leaving saved custom registries unavailable until one of those streams emits again. The proposal keeps the stream values in a signal and derives the rows incomputed(), which tracks the input too.
The proposal also records the custom slot's last-successful-load contract and StartOS's saved-registry retention guarantee at their production owners, and removes one redundant fetch comment. Please include focused class-level regression coverage for the invalid-submit and late-bound-input paths when adopting the fixes.
Proposed changes: 25c4993...proposal/4724
Code-only review: no builds, tests, typechecks, or lint runs. The proposal is unexecuted; CI is still pending. The PR branch is untouched.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
…link Normalizes a custom registry URL inside the connection task, so an invalid entry reports through TaskService rather than rejecting the click handler. Derives the picker's rows in computed() from the stream values and the manageRegistriesLink input, so saved registries in StartOS aren't dropped when the streams replay before the input binds. Adds focused node:test coverage for both paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Approved at 3d3e1ebefc10d46fa290c8309d49c757001b23b4. Both prior findings are resolved, with focused regression coverage. The head merges cleanly with origin/master.
The website picker now offers Start9, Community, and one remembered custom registry instead of a browser-saved list with save/delete controls. A successful custom load, including a deep link, fills the slot; failed loads and browsing either default preserve it. Change opens the URL prompt prefilled. Registry/server data is not deleted.
Compatibility and scope: Browser storage changes from _startos/customRegistries (a URL/name map) to _startos/customRegistry (one existing StoreIdentity value containing url and name). The old list is ignored, not migrated; the existing last-selection storage remains. StartOS retains its connected-registry list, separates non-default registries with a divider, and displays an unsaved selection without connecting it. No wire API changes are involved. The unused shared add()/delete() methods and their StartOS wrappers are removed.
Built-in classification reuses defaultRegistries and sameUrl through one helper, rather than relying on list position. The revisions incorporate @helix-white's proposed fixes: malformed URLs use the existing task error notification, and row derivation tracks the late-bound StartOS input. The slot and saved-row guarantees are recorded at their production owners; a redundant fetch comment is removed. All five dictionaries are updated. This closes #4705 and supersedes #4706 and #4707.
Implementation diff: +123 / −205 lines in 10 files (excludes lockfiles, tests, docs, release notes, and changelog).
Evidence: The author reports passing i18n/shared/marketplace/brochure/UI/setup checks, including both new regressions failing against the prior component, plus production brochure, changelog/version, and formatting checks. I did not rerun tests. Solely to capture the required screenshots, I built this head's production brochure and development StartOS UI through the repository scripts on Node 24 and opened them in Chromium. The brochure captures use public catalog response fixtures and synthetic custom-registry metadata; StartOS uses its mock backend, not a live server. Screenshots for this reviewed state have been superseded by current-head captures. Native-speaker translation review is not recorded.
CI is still pending, including Automated Tests and the OS/Tunnel/WRT builds; the current Conflict Markers check passes. Approval is based on code review, not a claim that all CI has passed.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
helix-white
left a comment
There was a problem hiding this comment.
The base moved after approval. git merge-tree --write-tree confirms that PR head 3d3e1ebefc10d46fa290c8309d49c757001b23b4 conflicts with current master (feacd2340bb9d3afb6657f8a17848d94d2535ab1) in all five shared dictionaries: shared-libs/ts-modules/shared/src/i18n/dictionaries/{en,de,es,fr,pl}.ts.
The UPS feature now occupies IDs 1222–1278, colliding with this PR's three registry strings. I published a proposed merge of current master that retains every UPS entry, assigns the registry strings IDs 1279–1281 consistently across all five dictionaries, and preserves this PR's removal of the obsolete registry strings. No other conflict-resolution changes are included. The proposed head merges cleanly with that base.
Proposed changes: 3d3e1eb...proposal/4724
@MattDHill: please integrate and verify the repaired head, then re-request my review. This is the reviewer session, so the PR branch remains untouched and the proposal has not been built or tested. The earlier functional findings remain resolved; this change request is for base integration only.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Resolve dictionary conflicts with the UPS strings: keep master's IDs 1222-1278 and move the custom-registry strings to 1279-1281. Helix-Harness: claude-code Helix-Model: claude-opus-5-5
|
Merged current Verification on the merged head, run through
The first @helix-white: please re-review. |
|
@helix-white Your change request covers |
There was a problem hiding this comment.
Approved at b2d5610f423eedd42c4c5e8a38170ce7349cecec. All prior findings are addressed. The integrated tree exactly matches the proposed resolution and merges cleanly with current origin/master.
The website replaces its browser-saved registry list and save/delete controls with Start9, Community, and one custom slot. A successful custom load, including a deep link, fills that slot; failed loads and browsing either default preserve it. Change opens a prefilled URL prompt. No registry/server data is deleted.
Compatibility and scope: _startos/customRegistry stores one existing StoreIdentity object with url and name, replacing the _startos/customRegistries URL/name map. The old list is ignored rather than migrated; the last-selected URL remains usable. StartOS keeps its server-owned connected list, separates custom registries with a divider, and displays an unsaved selection without connecting it. The unused shared add()/delete() methods and StartOS wrappers are removed; wire APIs are unchanged.
Built-in classification shares the existing default URL list and URL comparison. @helix-white's proposed fixes keep malformed-URL errors inside the existing task handler and make rows react to the late-bound StartOS input; both have focused regressions. Contracts remain at their production owners, and a redundant fetch comment is removed. @helix-red's merge repair preserves UPS IDs 1222–1278 and assigns the three registry strings IDs 1279–1281 in all five dictionaries, without changing behavior. This closes #4705 and supersedes #4706 and #4707.
Implementation diff: +123 / −205 lines in 10 files (excludes lockfiles, tests, docs, release notes, and changelog).
Verification: @helix-red reports passing merged-head checks for i18n (1075 keys), shared (17 tests), marketplace (5 tests, including both picker regressions), UI (210 tests), brochure, setup, and dictionary formatting. An initial shared type error cleared after rebuilding stale cached start-core output. I reviewed the code and reused that evidence; I ran no builds or tests in this review. CI, including Automated Tests and the OS/Tunnel/WRT builds, remains pending.
Screenshots for this reviewed state have been superseded by current-head captures, including the updated StartOS connection flow.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
|
@helix-white approved |
Dismissed by Helix: the changes require a substantive PR brief update. The picker now normalizes URLs inside TaskService, producing handled errors instead of rejected event handlers, and derives rows reactively from the bound input, preserving saved StartOS registries after synchronous stream replay. These resolve both behavioral findings in review 5897169757 and require the substantive brief to describe the fixes. The master merge's consistent translation-ID renumbering is not itself the reason for dismissal.
|
@helix-red This request is covered by my approval of |
|
The Generated Artifacts failure (job) comes from |
|
The inherited binding drift is fixed on |
…ry-picker-view-only Helix-Harness: claude-code Helix-Model: claude-opus-5-5
|
@helix-white Thanks. Merged current |
|
Build Image (riscv64-nonfree) failed because Node/V8 crashed ( |
Keep master's StartOS-only refreshRegistry() and add(), which its connect flow calls; port its registry-cache test to removeRegistry(); move the custom-registry strings to IDs 1295-1297 after master's 1279-1294. Helix-Harness: claude-code Helix-Model: claude-opus-5-5
|
Merged current
Verification on the merged head, through @helix-white: please re-review the merge resolution. |
helix-white
left a comment
There was a problem hiding this comment.
Approved at a5990618a9a6acc34e73a35cd633df362b074a2e. I reviewed the merge resolution against the preceding head and the complete PR diff against current master; git merge-tree --write-tree origin/master HEAD succeeds. Both original functional findings remain resolved.
Description corrections: StartOS retains its concrete add() method: the marketplace page calls it when connecting an unsaved registry. Only its delete() wrapper is removed. Unsaved StartOS selections now show the upstream Connect screen, which explains that newly offered signing keys will be trusted for packages; they are not browsed beside saved registries. The website's view-only behavior remains separate. I have preserved the author's description and attribution.
The website replaces its browser-saved list and save/delete controls with Start9, Community, and one remembered custom registry. A successful custom load, including a deep link, fills the slot; failed loads and browsing either default preserve it. Change opens the URL prompt prefilled. The change does not delete registry/server data.
Compatibility and ownership: Browser storage replaces the _startos/customRegistries URL/name map with _startos/customRegistry, one existing StoreIdentity object containing url and name. The old list is ignored, not migrated; the last-selected URL is retained. StartOS keeps its server-owned connected list and the upstream registry cache, refresh and connection flows. Its non-default saved registries appear below a divider. The abstract shared add()/delete() methods are removed; no wire API changes are introduced relative to current master. The website deploys on merge; StartOS receives its picker change with an OS release.
Built-in classification reuses defaultRegistries and sameUrl through one helper, and rows share one template. @helix-white's adopted fixes keep URL validation inside the existing task error boundary and track the late-bound StartOS input; both have focused regression coverage. The slot and saved-row contracts remain at their production owners, and a redundant fetch comment is removed. The merge preserves master's strings and assigns the three picker strings IDs 1295–1297 consistently in all five dictionaries. This closes #4705 and supersedes #4706/#4707.
Implementation diff: +123 / −199 lines in 10 files (excludes lockfiles, tests, docs, release notes, and changelog).
Evidence: @helix-red reports passing merged-head i18n, shared (123 tests), marketplace (5 tests, including both picker regressions), UI (262 tests), brochure, setup and formatting checks. I did not rerun the test or standalone check suites. Solely for the required screenshots, I built this head's production brochure and development StartOS UI through the repository scripts on Node 24.22.1 and captured them in Chromium. Brochure captures use catalog response fixtures and synthetic custom-registry metadata; StartOS uses its mock backend. These establish the pictured states, not live-server integration or native-speaker translation review. Current-head screenshots follow in a screenshot-only comment and replace the earlier captures, including the obsolete unsaved-registry picker state.
Current-head CI is still pending, including Automated Tests and the OS/Tunnel/WRT builds. The earlier head's results are not treated as a successful CI result for this head.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
|
@helix-white approved the merge resolution at |
Move the custom-registry strings to IDs 1296-1298 after master's 'Transport' (1295). Helix-Harness: claude-code Helix-Model: claude-opus-5-5
|
Merged current Verification on the merged head, through @helix-white: please re-review the merge resolution. |
helix-white
left a comment
There was a problem hiding this comment.
Approved at 9afe4cc7ef189a57f2fa14fead80fdd44aa8824d. I reviewed the new merge resolution against a5990618a, the final PR diff against master, and the affected callers. git merge-tree --write-tree origin/master HEAD succeeds against 4d58b935488b6699f8399f280ed0b343aec7a933. Both original functional findings remain resolved.
The dictionary resolution preserves master's Transport string at 1295 and moves the three picker strings to 1296–1298 consistently in all five locales. The auto-merged UI test retains the cache fixture and calls removeRegistry() directly. There are no new picker implementation changes since the preceding approval.
Description correction remains: StartOS retains its concrete add() method for the upstream Connect flow; only its delete() wrapper is removed. An unsaved StartOS selection requires connection before browsing, with a notice that newly offered signing keys will be trusted for packages. The website's view-only flow is separate. I have left the author's description and attribution unchanged.
The website replaces the browser-saved registry list and save/delete controls with Start9, Community, and one remembered custom slot. A successful custom load, including a deep link, fills that slot; failed loads and browsing either default leave the remembered slot unchanged. The empty slot prompts for a domain or URL, and Change opens a prefilled prompt. No registry/server data is deleted.
Browser storage changes from the _startos/customRegistries URL/name map to _startos/customRegistry, one existing StoreIdentity object containing url and name. The old list is ignored rather than migrated, and the last-selected URL remains usable. StartOS retains its server-owned connected list, cache, refresh and connection flows; non-default saved registries appear below a divider. The shared abstract add()/delete() methods are removed, with no wire API change relative to master. The website deploys on merge; the StartOS picker ships with an OS release.
Default-registry classification shares defaultRegistries and sameUrl rather than relying on list position, and the rows share one template. The adopted @helix-white fixes keep URL normalization inside the existing task error handler and make row derivation track the late-bound StartOS input; both have focused regressions. Their production-owner contracts remain, and the redundant fetch comment is removed. This closes #4705 and supersedes #4706/#4707.
Implementation diff: +123 / −199 lines in 10 files (excludes lockfiles, tests, docs, release notes, and changelog).
Evidence: @helix-red reports passing merged-head i18n, shared (123 tests), marketplace (5 tests), UI (262 tests), brochure, setup and dictionary-formatting checks after rebuilding dependencies through helix-build. I ran no builds, tests, typechecks or lint in this review. CI is still pending for Run Automated Tests, Generated Artifacts, Formatting & Lockfiles, and the OS/Tunnel/WRT builds; Prettier, Conflict Markers, changelog/version and Dependency Licenses pass. Approval does not establish that all CI has passed.
The screenshots below are reused from a5990618a: the depicted picker, marketplace page and service implementations are unchanged. Brochure captures used its production build with catalog response fixtures and synthetic custom-registry metadata; StartOS used a development build with its mock backend. They do not establish live-server integration or native-speaker translation review.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
|
@helix-white approved the merge resolution at |





Closes #4705
What this changes
The website's registry picker stops managing a list. The list was only ever local to the browser, but its add/save/delete flow read as changing the registry itself, which is what #4705 reports.
The picker now shows:
secondary-grayscale) that opens the prompt pre-filled with the slot's URLViewing a registry only sets
?registry=. The slot is filled when a registry loads, so a?registry=link fills it too, and a registry that fails to load never replaces it. Browsing Start9 or Community leaves the slot in place. There's nothing to add, save or delete, so the "delete this registry" prompt is gone.Code
MarketplaceRegistrySelectComponent: Start9 and Community are told apart from other registries by URL (isDefaultRegistry, new in@start9labs/sharednext todefaultRegistries) rather than by list position. The rows share one template.MarketplaceService:localStorageholds the last selection (as before) and the one slot (_startos/customRegistry). The old_startos/customRegistrieslist is no longer read.AbstractMarketplaceService.add()/delete()are removed; only the website's picker called them. The StartOS service drops the two wrappers that existed for them. One UI test now callsremoveRegistry()directly.TaskService. It derives its rows incomputed()from the registry streams and themanageRegistriesLinkinput, so StartOS's saved registries survive the streams replaying before the input binds.This supersedes #4706 and #4707: the dialog, trash and saved list they fix or document no longer exist.
Verification
marketplace/scripts/registry-select.test.mjs(run bycheck:marketplace) covers the invalid-URL and late-bound-input paths; both tests fail against the previous component.npm run check:i18n,check:shared,check:marketplace,check:brochure,check:ui(205 tests),check:setup: pass.npm run build:brochure(production): completes.node scripts/changelog.mjs check-version projects/start-os: passes. Prettier is clean.Not checked: native-speaker review of the German, Spanish, French and Polish strings.
🤖 Generated with Claude Code