Title: id: design: library typing & upload taxonomy — subtypes, entity attachment, DLL vs compile-in, libraries by URL · Issue #5969 · developing-today/code · GitHub
Open Graph Title: id: design: library typing & upload taxonomy — subtypes, entity attachment, DLL vs compile-in, libraries by URL · Issue #5969 · developing-today/code
X Title: id: design: library typing & upload taxonomy — subtypes, entity attachment, DLL vs compile-in, libraries by URL · Issue #5969 · developing-today/code
Description: Part of the worlds design program: #5955. Statements S59–S65 of the 2026-11-04 brief. Requirement (Drew, in substance) Libraries need a type system of their own: We need a type for libraries. Libraries and scripts built for a specific wo...
Open Graph Description: Part of the worlds design program: #5955. Statements S59–S65 of the 2026-11-04 brief. Requirement (Drew, in substance) Libraries need a type system of their own: We need a type for libraries. Libra...
X Description: Part of the worlds design program: #5955. Statements S59–S65 of the 2026-11-04 brief. Requirement (Drew, in substance) Libraries need a type system of their own: We need a type for libraries. Libra...
Opengraph URL: https://github.com/developing-today/code/issues/5969
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id: design: library typing & upload taxonomy — subtypes, entity attachment, DLL vs compile-in, libraries by URL","articleBody":"Part of the worlds design program: [#5955](https://github.com/developing-today/code/issues/5955). Statements S59–S65 of the 2026-11-04 brief.\n\n## Requirement (Drew, in substance)\n\nLibraries need a type system of their own:\n\n- **We need a type for libraries.**\n- Libraries and scripts built for a **specific world or game type** may need some sort of **arbitrary definition or subtype**.\n- A library may **attach to any given entity ID** — so it could attach to the **genre**, to a **specific game**, or to **nothing** if they want, whatever.\n- A library may be **flagged for being built to be used as a DLL** versus **built to be compiled into another program**.\n- **Most uploads would probably be worlds or DLL code**, because other libraries can just be **a URL**, essentially.\n- Any number of kinds of libraries could be uploaded; the ones **marked as DLLs could be precompiled and cached** (economics: the compile-economics child of [#5955](https://github.com/developing-today/code/issues/5955)).\n\n## Design points to settle\n\n- The library manifest: what fields (kind, subtype/attachment, build mode, platform requirements — from the capability-model child, license — from the licensing children, version). KDL is our config/manifest language ([#5753](https://github.com/developing-today/code/issues/5753)) — the manifest should be a KDL profile unless there's a reason otherwise.\n- Attachment semantics: does attaching to a genre make a library *discoverable* by that genre's worlds, *eligible* for them, or *restricted* to them? (Discovery vs eligibility vs restriction are three different designs.)\n- Subtype definition: who defines a game-type subtype — the world author publishes an interface, and libraries declare conformance? Checked how?\n- URL libraries: identity and integrity (a URL is mutable — pin by hash? by version?), and how a URL library participates in capability subset checking.\n- How the taxonomy shows up in the registry next to worlds themselves.\n\n## Related\n\n- Library imports design, capability model, compile economics, licensing children of [#5955](https://github.com/developing-today/code/issues/5955)\n- Invites (attachment to entities has a family resemblance): [#5751](https://github.com/developing-today/code/issues/5751)\n\n## Done looks like\n\nA design doc: the library type/manifest schema, attachment semantics, build-mode flags, and the upload taxonomy (world / DLL / source library / URL library) as registry kinds.\n\n## Triage — task 10338 (2026-11-05)\n\n**Verdict: live design issue; stays OPEN.** This is a design/documentation deliverable, not a code fix. At verified current main, the requested library taxonomy, registry and entity-attachment model are not implemented; there is no evidence the issue is handled or superseded.\n\n**Verification:** Issue #5969 is OPEN, has no linked PR, and has no hard-stop labels. The checkout is `main` at `7aae3accaf`, equal to `origin/main`.\n\n**Current-main evidence:** `pkgs/id/src/world_session/types.rs:275-290` install frames carry bytes/hash/signature/seed, not a library type; `pkgs/id/src/world/mod.rs:408-440` records a world module hash with only Artifact/SourceBuild/Fork provenance. `pkgs/id/src/world_compile.rs:38-47,197-210` compiles bounded .roc files and does not fetch packages. The app/world manifests identify a source path or module hash, not a library registry. `src/boards.rs:142-169,335-367` is a content-addressed attachment precedent, but board-specific. `doc/2026-11-05_design_id5965.md` says DLL support is not implemented and defines proposed cache treatment; `doc/2026-11-05_design_id5997.md` proposes content-addressed library identity and capability manifests, also without implementation.\n\n**Scope and ordering:** Produce the design note requested here: distinguish world executable, compile-in source library, DLL/linkable library and URL-addressed library; separate type metadata from entity/world attachment; settle discovery vs eligibility vs restriction; specify immutable identity and URL integrity (URLs are locators, not identities). Parent #5955 stages V1 imports (#5956 → #5957) before the V2 registry/permissions work, then V3 dynamic user functions. Coordinate the import-facing minimum with #5956 before #5957 consumes it; the full taxonomy is V2. A first draft can proceed now. Align capability fields with #5958, license fields with #5977/#6008, and runtime attachment semantics with #6003. Defer DLL ABI/linking claims until #5964/#5995 settle them; reuse #5965's cache decisions and #5997's content-identity proposal rather than reopening them.\n\n**Next action:** design-authoring pass on #5969, explicitly referencing and deferring sibling-owned decisions. No code patch is warranted at triage; these are sequencing constraints, not grounds to close or abandon the issue.","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T05:05:03Z","url":"https://github.com/developing-today/code/issues/5969"}
| 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:6cda24ba-f9ae-4ee1-9565-6275a55783db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA64:249987:27FB0D:35E15D:6B0616E3 |
| html-safe-nonce | c9a49f2e9fb3460e1765506d27f1c5b5c73fa5369fdf426c3d9e0424afc96a26 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTY0OjI0OTk4NzoyN0ZCMEQ6MzVFMTVEOjZCMDYxNkUzIiwidmlzaXRvcl9pZCI6Ijg1OTE2MTE5MjM1MzM3MTg3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4e0a0b5c4444c42d03cfeeb8f713307da203c87dd98e6e4b7b81b4eb16f7cc34 |
| hovercard-subject-tag | issue:6217153307 |
| 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/developing-today/code/5969/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e1c13514f7fee13097ae7a62c7fa7f5ca47d565ea9d83ece0ea60619183fb95f/developing-today/code/issues/5969 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e1c13514f7fee13097ae7a62c7fa7f5ca47d565ea9d83ece0ea60619183fb95f/developing-today/code/issues/5969 |
| og:image:alt | Part of the worlds design program: #5955. Statements S59–S65 of the 2026-11-04 brief. Requirement (Drew, in substance) Libraries need a type system of their own: We need a type for libraries. Libra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| 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 | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| 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