Repository navigation
Done
Labels
area: uiWeb interface components, routes, styling, and localization.enhancementNew feature or requestsecurityPublic security hardening or remediation; disclose vulnerabilities privately.
Milestone
Description
Phase: 5 | Step: 1 of 5 | Priority: P0
Introduce the versioned extension target catalog and the first declarative targets, so apps attach to existing platform surfaces instead of always getting a framed page with its own navigation entry.
Scope
- Define extension target catalog v1. Each target declares its identifier, version, the context it passes (bounded by the app's grants), its presentation, size limits and required permissions. Negotiate the catalog version per app generation alongside the app protocol.
- Extend the package manifest and contracts with
ui.extensions(target,id, localizedtitle,permission,entry). Validate it during package verification and in the Marketplace candidate checks. - Add the declarative
proxyHosts.table.columntarget: one batched, schema-validated response per visible table page (badge, text, time, number, action link), rendered with platform cells and platform loading/unavailable states. Never run app code per row. - Add the
proxyHosts.table.rowActiontarget: a platform menu item with a localized label and permission gating that opens the extension's dialog. - Replace the hard-coded monitoring column and the edit-dialog app tab link with these generic targets. Keep built-in monitoring working until the app pilot lands.
- Add
app.pagenavigation metadata: an allowed navigation group, an icon from the platform icon set, a permission and routes. Show a navigation entry only for apps that declareapp.page; the command search lists declared pages. - Prototype remote rendering with Remote DOM and with a minimal own component tree protocol. Record the decision here before step 2 starts, covering the security review surface, bundle size, update performance and React support.
Dependencies
Acceptance criteria
- An app without
app.pagehas no navigation entry or page; an app with it appears in its declared group with a platform icon and only for permitted users. - Column responses are batched per page, schema-validated and bounded; malformed, late or oversized responses show the unavailable state without breaking the table.
- Row actions appear only for permitted users and for hosts the app's grants cover; hiding an action never replaces server-side authorization.
- Manifest validation rejects unknown target versions, duplicate IDs, invalid permissions and free-form icons; apps without
ui.extensionskeep working. - No platform code references a specific app ID for these surfaces.
- The remote rendering decision is recorded with prototype evidence.
Planning baseline: Beta 4.
This issue schedules future work; backlog creation does not implement or deploy it.
Use focused project checks and short integration/recovery tests. Endurance runs belong to release preparation. Normal PRs need no additional documentation files or screenshot commits unless requested.
Metadata
Metadata
Assignees
Labels
area: uiWeb interface components, routes, styling, and localization.enhancementNew feature or requestsecurityPublic security hardening or remediation; disclose vulnerabilities privately.
Activity
RentnerKev commentedon Nov 29, 2026
Remote rendering decision
Decision: build step 2 (RentnerProxy/platform#626) on the framework-independent core of Remote DOM,
@remote-dom/core1.12.x, pinned exactly. Do not use@remote-dom/reactor@quilted/threads.createRemoteElementandRemoteMutationObserverin the existing opaque-origin iframe, with a native DOM and no polyfill. Apps write React 19, or any framework, against SDK-defined platform elements.eventmessages with validated plain-JSON details, so no general function RPC crosses the boundary.RemoteReceiverholds the tree. Our own validation runs beforemutateand checks allowlisted element names, a property schema per element, text length, node count, depth, batch size and rate. Our own React 19 renderer maps elements to platform components.Prototype evidence
React 19.3.1, happy-dom 21.0.4, an app with a button and 200 rows whose highlighted row moves on each press:
@remote-dom/reactMutationObservercannot see property assignments, so this would need its own element layerRemoteReceiver)For reference:
react-dom(production) is 212 KB minified and 66 KB gzip in the sandbox either way. A custom-reconciler protocol would replace it withreact-reconciler(136 KB minified, 41 KB gzip) and tie every app to the platform's React minor version.Why not the alternatives
@remote-dom/react: its peer range is React^17 || ^18, and React 19 support is still open (Shopify/remote-dom#530, Shopify/remote-dom#602). React 19's native custom element support makes the package unnecessary in the sandbox. On the host, a renderer of our own keeps the validation in platform code.@quilted/threads: general function proxies across the boundary add retain/release memory management and a second message protocol beside the bridge. Event IDs through the bridge keep one admission path with the existing limits.Risks and mitigations
@remote-dom/coreis MIT, small, and actively released (1.12.1 on 2026-10-30). Pin it exactly and wrap its records in our own versioned bridge message. The host validates records independently of library internals, so a fork stays feasible.RemoteReceiverdoes not validate. Every batch therefore passes the host validation first, and rejected batches retire the frame the same way spoofed bridge messages do today.postMessage, so the prototype measured in one realm. Browser tests in feat(apps): render app extensions and pages with native platform components #626 must cover the real iframe transport.Status of this issue
Done in RentnerProxy/platform#630 and RentnerProxy/platform#631:
x-rentnerproxy-extensionsapp.pagenavigation and searchproxyHosts.table.columnandproxyHosts.table.rowActionRemaining: strict SDK schema and Marketplace candidate checks for the extension document in RentnerProxy/app-sdk. The platform reads the document leniently and skips invalid entries.
fix(apps): close app pages a user may not open and isolate slow app c…
RentnerKev commentedon Nov 30, 2026
All acceptance criteria are met, so I'm closing this issue. Evidence per criterion:
1. Pages only through
app.page, in their group, with a platform icon, only for permitted usersdeniedRoutes,appPageRoute): fix(apps): close app pages a user may not open and isolate slow app columns #644.extensions.test.ts(entries by held key, slots ignored once extensions exist);ui-summaries.test.ts;application-shell.test.tsx("places declared app pages in their groups and highlights the open page");quick-search-ui.test.tsx;page-access.test.ts(fix(apps): close app pages a user may not open and isolate slow app columns #644).2. Column answers batched per page, schema-validated and bounded; malformed, late or oversized answers show the unavailable state
parseHostCells).ui-host-table.test.ts(including "a late or oversized answer leaves only the columns of that app unavailable"),extensions.test.ts,proxy-hosts-ui.test.tsx.3. Row actions only for permitted users and covered hosts; hiding an action never replaces server-side authorization
ui-execute.test.ts,ui-results.test.ts,authority.test.ts).4. Validation rejects unknown target versions, duplicate IDs, invalid permissions and free-form icons; apps without extensions keep working
x-rentnerproxy-extensionsdocument of the API document against the catalog in TypeScript and Rust, with shared fixtures: feat(contracts): validate UI extension documents and release 1.6.0 app-sdk#14. The fixtures reject version 1.1.0, a duplicate ID, the iconsmile, an unknown target and oversized documents.proxy-hosts-ui.test.tsx"slot-only apps add nothing and send no request").5. No platform code references a specific app ID for these surfaces
monitoringdomain, not an app ID.native-presentation.server.ts, by archive hash). It predates the catalog and is not an extension target. It goes when Greeting 1.0.0 leaves the catalog.6. Remote rendering decision recorded with prototype evidence
web/src/lib/AppUi/remote-tree.ts) instead of@remote-dom/core'sRemoteReceiver. The app side uses@remote-dom/corein@rentnerproxy/app-ui.RemoteReceiverdoes not offer.Verified end to end on a test instance with Monitoring 1.1.0: column, row action and dialog in the built-in look.