René's URL Explorer Experiment


Title: Plugin API seam: api.reservePath — an API-shim owns fixed routes outside its prefix and can't self-exempt them from WAC · Issue #602 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Open Graph Title: Plugin API seam: api.reservePath — an API-shim owns fixed routes outside its prefix and can't self-exempt them from WAC · Issue #602 · JavaScriptSolidServer/JavaScriptSolidServer

X Title: Plugin API seam: api.reservePath — an API-shim owns fixed routes outside its prefix and can't self-exempt them from WAC · Issue #602 · JavaScriptSolidServer/JavaScriptSolidServer

Description: One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most-hit finding: 7+ consumers. The gap A plugin can register routes outside its one prefix, but the loader WAC-exempts only that single p...

Open Graph Description: One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most-hit finding: 7+ consumers. The gap A plugin can register routes outside its one prefix, but t...

X Description: One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most-hit finding: 7+ consumers. The gap A plugin can register routes outside its one prefix, but t...

Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plugin API seam: api.reservePath — an API-shim owns fixed routes outside its prefix and can't self-exempt them from WAC","articleBody":"One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader ([report](https://github.com/JavaScriptSolidServer/plugins/blob/gh-pages/REPORT.md)). The **most-hit** finding: 7+ consumers.\n\n## The gap\n\nA plugin can *register* routes outside its one `prefix`, but the loader WAC-exempts only that single `prefix`. So:\n\n- **`/.well-known/*` works by luck** — core happens to blanket-exempt it (nip05 `nostr.json`, webfinger, the DAV discovery docs). The two most-wanted `.well-known` docs a deployment serves ride an undocumented coincidence.\n- **Fixed protocol roots do NOT work** — `/api`,`/oauth` (mastodon), `/xrpc` (bluesky), `/ap` (activitypub), `/_matrix` (matrix) all 401 at the WAC hook until the operator hand-passes `appPaths`. The plugin cannot self-exempt the paths the protocol *fixes*.\n- **Parameterized paths can't be expressed at all** — `didweb/` must serve `/\u003cuser>/did.json` *inside* the pod's own WAC-governed namespace; `appPaths` matches literal prefixes, and the DID method pins the URL (no fake root to escape to).\n\n## Witnessed collision (both directions)\n\n`webfinger/` and `remotestorage/` both legitimately own parts of `/.well-known/webfinger`. Load one order → boot fails with a duplicate-route error (and the loader drops `err.code` — filed as #599). Load the other → the try/catch-guarded claimant **silently loses** its links. Loud failure or silent loss, both wrong: for a *shared* discovery document the reservation primitive isn't enough — a **link/JRD registry** (`api.webfinger.addLink`) is the real fix for that case.\n\nCounter-witnesses that scope it: `micropub/` and `jmap/` needed *no* reservation because their endpoints are client-/session-discovered, not protocol-fixed. The seam is for **protocols that pin absolute paths**, not API shims per se.\n\n## Sketch\n\n`api.reservePath('/xrpc')` / `api.reservePath('/:user/did.json')` (or `paths: [...]` on the loader entry): the loader WAC-exempts *and* claims each deliberately, and reports collisions at boot. Plus `api.webfinger.addLink(...)` (or a generic link registry) for the shared-document case.\n\n## Cost\n\nSmall-medium — generalizes the existing `appPaths` mechanism from operator config to plugin declaration.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-07-11T08:59:39Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:621363dd-5f57-e6b9-8005-5615a6cd4ab4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEE16:4874B:29DF0D9:3759298:6B038A2B
html-safe-noncec9f5ed805ba27e8b01e0c40b637148085d2603210f075a117fca370109e749bc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTE2OjQ4NzRCOjI5REYwRDk6Mzc1OTI5ODo2QjAzOEEyQiIsInZpc2l0b3JfaWQiOiIxNzgxOTc1MzY1OTAwNzk4NTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac22d103de664668b06b1cf011c8a0f7baa841b94ec59f8e411eaabba1dab224ba
hovercard-subject-tagissue:4861501000
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/602/issue_layout
twitter:imagehttps://opengraph.githubassets.com/54bb125041f9104e5b2bb22288e234a2ea6bb8cae50664a95402b78408e05830/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/54bb125041f9104e5b2bb22288e234a2ea6bb8cae50664a95402b78408e05830/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
og:image:altOne of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most-hit finding: 7+ consumers. The gap A plugin can register routes outside its one prefix, but t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id958025407
octolytics-dimension-repository_nwoJavaScriptSolidServer/JavaScriptSolidServer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958025407
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/JavaScriptSolidServer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F602
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F602
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JavaScriptSolidServer%2FJavaScriptSolidServer
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Codehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues165 (165)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests14 (14)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actionshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projectshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insightshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/insights
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
#607https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/607
Plugin API seam: api.reservePath — an API-shim owns fixed routes outside its prefix and can't self-exempt them from WAChttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602#top
#607https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/607
enhancementNew feature or requesthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22enhancement%22
pluginCould be implemented as a plugin (#206); core/plugin line defined in #564https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22plugin%22
priority: mediumP2 - Do when time allowshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22priority%3A%20medium%22
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Jul 11, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602#issue-4861501000
#206https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/206
reporthttps://github.com/JavaScriptSolidServer/plugins/blob/gh-pages/REPORT.md
#599https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/599
melvincarvalhohttps://github.com/melvincarvalho
enhancementNew feature or requesthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22enhancement%22
priority: mediumP2 - Do when time allowshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22priority%3A%20medium%22
pluginCould be implemented as a plugin (#206); core/plugin line defined in #564https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22plugin%22
on Jul 11, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602#event-27848019369
melvincarvalhohttps://github.com/melvincarvalho
on Jul 11, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602#event-27853191088
feat(plugins): api.reservePath — claim protocol-pinned paths (#602) (#…https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/9dadbc9aa06ed39b0d708b6abd5c083c6f7502dd
#602https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
#…https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/607
9dadbc9https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/9dadbc9aa06ed39b0d708b6abd5c083c6f7502dd
melvincarvalhohttps://github.com/melvincarvalho
completedhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#607https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/607
on Jul 11, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602#event-27853191101
melvincarvalhohttps://github.com/melvincarvalho
on Jul 11, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602#event-27854819378
bump version to 0.0.218https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/b5e06779ab76fcfb1b868bca29ad2b8e0ee183ba
b5e0677https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/b5e06779ab76fcfb1b868bca29ad2b8e0ee183ba
Sign up for freehttps://github.com/signup?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
Sign in to commenthttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/602
enhancementNew feature or requesthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22enhancement%22
pluginCould be implemented as a plugin (#206); core/plugin line defined in #564https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22plugin%22
priority: mediumP2 - Do when time allowshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22priority%3A%20medium%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.