Skip to content

chore: surface lock snapshots and install smoke fix#482

Merged
jithinraj merged 4 commits intomainfrom
chore/package-surface
Mar 7, 2026
Merged

chore: surface lock snapshots and install smoke fix#482
jithinraj merged 4 commits intomainfrom
chore/package-surface

Conversation

@jithinraj
Copy link
Copy Markdown
Member

@jithinraj jithinraj commented Mar 7, 2026

Summary

  • API surface snapshots for 9 tracked packages (DD-162): kernel (78), schema (417), crypto (4), protocol (10), control (57), middleware-core (24), adapter-eat (12), mcp-server (62), sdk (13)
  • Fix api-surface-lock.sh workspace path resolution for pnpm monorepo
  • Fix comment stripping in .d.ts export extraction (was capturing @deprecated annotations)
  • Pack-install smoke test: 6 representative packages (kernel, schema, crypto, protocol, mcp-server, adapter-eat)
  • Smoke test verifies: ESM import, CJS require (all packages are dual ESM/CJS), TypeScript types presence, CLI bin execution (where applicable)
  • Header updated to accurately describe this as a representative install smoke test; packages with unresolved workspace:* deps are excluded with documented rationale
  • Known exclusions: @peac/cli, @peac/sdk, @peac/middleware-express (workspace:* deps prevent standalone tarball install; tracked for PR 6b)

Test plan

  • bash scripts/release/api-surface-lock.sh passes (9/9 PASS)
  • bash scripts/release/pack-install-smoke.sh passes (6/6 PASS with esm +cjs +types)
  • Full test suite passes
  • Lint clean

Generate API surface snapshots for 6 tracked packages (kernel: 78
exports, schema: 417, crypto: 4, protocol: 10, control: 57,
middleware-core: 24). Fix api-surface-lock.sh workspace path
resolution for pnpm monorepo. Fix comment stripping in .d.ts export
extraction. Remove @peac/cli from pack-install smoke (workspace deps
prevent standalone npm install from tarball).
API surface lock:
- Expand from 6 to 9 tracked packages: add @peac/adapter-eat (L4),
  @peac/mcp-server (L5), @peac/sdk (L6) for full layer coverage
- Generate new snapshots: adapter-eat (12), mcp-server (62), sdk (13)

Pack-install smoke:
- Add @peac/adapter-eat to smoke test matrix
- Document CLI/SDK/middleware-express exclusions with rationale:
  workspace:* dep resolution prevents standalone npm install from tarball
@jithinraj jithinraj changed the title chore: package surface lock snapshots and install smoke fix chore: surface lock snapshots and install smoke fix Mar 7, 2026
@jithinraj jithinraj merged commit 1c1a826 into main Mar 7, 2026
9 checks passed
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