Skip to content

prx-w2mf: adopt @bounded-systems/seam-check (pin the door-SDK surface) + add CI#16

Merged
bdelanghe merged 1 commit into
mainfrom
prx-w2mf-adopt-seam-check
Jun 28, 2026
Merged

prx-w2mf: adopt @bounded-systems/seam-check (pin the door-SDK surface) + add CI#16
bdelanghe merged 1 commit into
mainfrom
prx-w2mf-adopt-seam-check

Conversation

@bdelanghe

Copy link
Copy Markdown
Contributor

Resolves the door-kit half of the seam-coverage baseline (prx-w2mf). Per the clarification that door-kit is the SDK for working on doors, it's a bootstrap-layer package like the capability seams themselves — so it declares its primitive surface rather than being exempted:

  • prod: [node:buffer, node:crypto, node:fs, node:process, bun] — the door-client's four node builtins + the vendored guest-room protocol's Bun socket API.
  • Reads ambient env to discover its door sockets (CONCIERGE_SOCK, LAUNCHERD_SOCK, ROOM_ID, …) — the one ambient it declares; spawn stays forbidden (DEFAULT_AMBIENT_RULES minus the env rule).
  • Adds the first test-running ci.yml (the repo had none) so the claim actually runs.

Any new import or a subprocess spawn now fails CI. Local: seam test passes. (Noted in the test: the vendored guest-room/protocol.ts is older than upstream — re-vendoring would drop bun from the surface.)

🤖 Generated with Claude Code

…) + add CI

door-kit is the in-box door-CLIENT SDK — a bootstrap-layer package like the
capability seams themselves, so it declares (not hides) its primitive surface:
prod imports are exactly node:buffer/crypto/fs/process + the vendored protocol's
bun socket API, and it reads ambient env to discover its door sockets (the one
ambient it declares; spawn stays forbidden). assertSeam pins that — any new
import or a subprocess spawn now fails CI. Adds the first test-running ci.yml
(the repo had none) + the JSR registry .npmrc.

Resolves the door-kit half of the seam-coverage baseline: it's a legitimate
low-level door SDK with a declared surface, not an exemption.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bdelanghe bdelanghe merged commit f3ec5ca into main Jun 28, 2026
4 checks passed
@bdelanghe bdelanghe deleted the prx-w2mf-adopt-seam-check branch June 28, 2026 14:04
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