Skip to content

Remove extension asset mounts, contributions and form helpers left unused (#883 slice 6) - #896

Merged
jimhoyd merged 2 commits into
mainfrom
claude/remove-unused-core-seams
Sep 29, 2026
Merged

jimhoyd merged 2 commits into
mainfrom
claude/remove-unused-core-seams

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Slice 6 of #883. Before removing anything, I checked with git grep across packages, proofs, recipes, examples, tests and scripts that nothing outside core and its own tests used these seams after slices 1–5.

Removed

  • Extension asset mounts.
    • immutableAssets, assetMounts, immutableAssetResponse and ExtensionAssetContext, with their helpers.
    • An extension answer is now always no-store.
    • The readiness probe, the extension-assets source and extensionAssetRouteMethods in the audit JSON.
    • The runtime's asset maps.
  • Contributions.
    • Contribution, HostContext.contributions and ExtensionDefinition.contributes.
    • The descriptor field and its parse check, docs-search's summary field, and the edge in build-addon-manifest, generate-extension-reference and workspaces.
  • Form helpers in extension-http.
    • readBody is JSON-only and returns the parsed value. The form kind and accept are gone.
    • readFields, wantsJson and readCookie are removed, with their error codes. The store now calls readBody(request, {maxBytes}).
  • create-extension. The optional-doc placeholder feature, which no remaining package uses.
  • Docs. EXTENSIONS: asset mounts, contributions, request helpers, authoring rules, descriptor fields and the ctx shape. Also READINESS, FRAMEWORK and TOOLING. RIM-EXT-ASSETS-001 is deleted, and the RIM-ADDON-001, RIM-EXT-HTTP-001 and RIM-STREAM-001 cards are trimmed.

Kept

  • isSameOriginRequest, jsonResponse and ExtensionHttpError: store and mcp use them.
  • Sandbox path unchanged: no file under the sandbox: true path changed, and the sandbox tests pass.
  • Core budget not tightened: it measures 921,844 / 3,654,209 bytes; changes to that limit have always been measured raises.

git diff --shortstat: 29 files, +139 / −761.

Evidence (macOS, Node 26), on main after #895

npm run verify passes (1152 root tests plus the workspace suites), and so does npm run test:package.

🤖 Generated with Claude Code

…m helpers left unused (#883 slice 6)

With ui, forms and mail gone nothing uses these core seams:

- immutableAssets / assetMounts / ExtensionAssetContext /
  immutableAssetResponse: an extension answer is now always no-store. The
  readiness asset-mount probe, ProjectPlan.extensionAssets and the audit
  report's extensionAssetRouteMethods go with it.
- contributes / HostContext.contributions / Contribution: the definition
  field, descriptor field and parse check, docs-search summary, extension
  reference "contributes to" peer line, workspace ordering edge and
  composeHost collection.
- extension-http: readBody reads JSON only and returns the parsed value
  (no accept option, no form kind); readFields, wantsJson, readCookie and
  their error codes are removed. The store is the one remaining caller.
- create-extension --from no longer copies optional-doc placeholders: no
  remaining package carries any of those files.

Docs: EXTENSIONS (cache exception, asset mounts, contributions, request
helpers, authoring rules, descriptor, definition), READINESS asset mounts,
FRAMEWORK, TOOLING, the RIM-EXT-ASSETS-001 card and the RIM-ADDON-001,
RIM-EXT-HTTP-001 and RIM-STREAM-001 cards; llms-full regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimhoyd
jimhoyd enabled auto-merge (squash) September 29, 2026 03:17
@jimhoyd
jimhoyd merged commit 2f94bfa into main Sep 29, 2026
27 checks passed
@jimhoyd
jimhoyd deleted the claude/remove-unused-core-seams branch September 29, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant