Title: bug: remove preferences/typeIndex from pod creation — CSS does not create these · Issue #215 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: bug: remove preferences/typeIndex from pod creation — CSS does not create these · Issue #215 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: bug: remove preferences/typeIndex from pod creation — CSS does not create these · Issue #215 · JavaScriptSolidServer/JavaScriptSolidServer
Description: Summary JSS currently creates Settings/Preferences.ttl, Settings/publicTypeIndex.ttl, and Settings/privateTypeIndex.ttl during pod creation. This is wrong — these are app-level concerns, not server responsibilities. CSS (Community Solid ...
Open Graph Description: Summary JSS currently creates Settings/Preferences.ttl, Settings/publicTypeIndex.ttl, and Settings/privateTypeIndex.ttl during pod creation. This is wrong — these are app-level concerns, not server...
X Description: Summary JSS currently creates Settings/Preferences.ttl, Settings/publicTypeIndex.ttl, and Settings/privateTypeIndex.ttl during pod creation. This is wrong — these are app-level concerns, not server...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/215
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: remove preferences/typeIndex from pod creation — CSS does not create these","articleBody":"## Summary\n\nJSS currently creates `Settings/Preferences.ttl`, `Settings/publicTypeIndex.ttl`, and `Settings/privateTypeIndex.ttl` during pod creation. This is wrong — these are app-level concerns, not server responsibilities. CSS (Community Solid Server) does not create these files.\n\n## Why this is a bug\n\nThe correct approach per CSS and the Solid spec:\n\n1. **Preferences** — an app creates a preferences resource and links it from the profile by updating `profile/card` to include:\n ```turtle\n \u003c#me> \u003chttp://www.w3.org/ns/pim/space#preferences> \u003c/settings.ttl> .\n ```\n\n2. **Type Indexes** — apps create and manage type indexes, then link them from the WebID profile. The server has no business knowing about type registrations.\n\n3. **Discovery** — apps discover preferences via the WebID profile link (`pim:preferences`), not by convention paths hardcoded by the server.\n\n## Current behavior\n\nPod creation in `src/handlers/container.js` generates:\n- `Settings/Preferences.ttl` — with links to type indexes\n- `Settings/publicTypeIndex.ttl` — empty `solid:TypeIndex`\n- `Settings/privateTypeIndex.ttl` — empty `solid:TypeIndex`\n\nAnd `src/webid/profile.js` embeds `publicTypeIndex` and `privateTypeIndex` links directly in the profile.\n\n## Expected behavior\n\n- Server creates only: profile/card, ACLs, basic containers (public/, private/, inbox/)\n- Apps are responsible for creating preferences and type indexes via standard LDP operations (PUT/PATCH)\n- Apps link preferences from the profile via PATCH on `profile/card`\n- Aligns with CSS behavior where preferences are standard LDP resources, not server-managed\n\n## Reference\n\nCSS treats all resources as standard LDP resources. \"Preferences\" in CSS refers to HTTP content negotiation (Accept headers), not user preference storage.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-03-16T14:46:23Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/215"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7bf16e7a-02b6-6c3c-43e7-b33d5ab067bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D11A:78AAB:112060E:15B836B:6B038BC7 |
| html-safe-nonce | f74f54ec9a51b6971fe72fca9e670184e191ae9582414e2f62fef1cc16887e2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTFBOjc4QUFCOjExMjA2MEU6MTVCODM2Qjo2QjAzOEJDNyIsInZpc2l0b3JfaWQiOiIxNTIzOTQ0ODgwNDkyMjE5MzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5a4b7da9eb04bf291cb3c2183d70813f697394b8a318ac1e2b6db69a7f813866 |
| hovercard-subject-tag | issue:4082939368 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/215/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c194e00ffd38d1d45d70f3e941167192d2a2ed14f868c567caee98c265c69b0a/JavaScriptSolidServer/JavaScriptSolidServer/issues/215 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c194e00ffd38d1d45d70f3e941167192d2a2ed14f868c567caee98c265c69b0a/JavaScriptSolidServer/JavaScriptSolidServer/issues/215 |
| og:image:alt | Summary JSS currently creates Settings/Preferences.ttl, Settings/publicTypeIndex.ttl, and Settings/privateTypeIndex.ttl during pod creation. This is wrong — these are app-level concerns, not server... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width