Skip to content

Commit db5f669

Browse files
committed
feat: clean up runtime-core to single authoritative protocol implementation
- Remove all legacy/duplicate src files: canonical.ts, encoding.ts, errors.ts, normalize.ts, schema-client.ts, types.ts (all used wrong protocol or imported ajv which is not a dep) - Remove root-level duplicate TS files (old pre-src layout) - Remove stale tests/runtime-core.test.mjs (imported removed API) - Remove instructional APPLY.md and DELETIONS.sh (already applied) - Fix crypto.ts: use sign(null,...)/verify(null,...) for Ed25519 — createSign("Ed25519") is invalid in Node.js crypto API - Fix package.json test script: --require tsx/esm → --import tsx/esm (ESM packages require --import, not --require) - Fix test/crypto.test.ts: static import of createHash, async callback All 41 tests pass (canonicalize, crypto, receipt round-trip). https://claude.ai/code/session_01GJsQ9fnXzuYDuhtBuByKeW
1 parent 7e27251 commit db5f669

22 files changed

Lines changed: 549 additions & 1860 deletions

APPLY.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

DELETIONS.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

canonicalize.test.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

canonicalize.ts

Lines changed: 0 additions & 176 deletions
This file was deleted.

ci.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)