Skip to content

Conversation

@jithinraj
Copy link
Member

Summary

  • Add @peac/crypto/testkit subpath export for test-only utilities
  • Fix ESM import hygiene (./errors.js suffix)
  • Add exports.test.ts to guard that generateKeypairFromSeed is NOT in main entry

Key design

Production bundlers can tree-shake testkit away since it's a separate export path:

```typescript
// Test fixtures only - NOT exported from main entry
import { generateKeypairFromSeed } from '@peac/crypto/testkit';
```

Test plan

  • CI passes
  • exports.test.ts passes (guards export surface)
  • generateKeypairFromSeed NOT in main @peac/crypto exports

Stacked PRs

  1. PR1 -> main: kernel codegen + bundle error codes
  2. PR2 -> PR1: audit dispute bundle verifier
  3. PR3 (this) -> PR2: crypto testkit subpath export
  4. PR4 -> PR3: CI drift gate

Merge in order: PR1 -> PR2 -> PR3 -> PR4

@jithinraj jithinraj force-pushed the feat/v0.9.30-pr2-audit-verifier branch from 1310749 to 3df626c Compare January 12, 2026 09:49
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr3-crypto-testkit branch from 2381ef6 to e5a35b9 Compare January 12, 2026 09:49
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr2-audit-verifier branch from 3df626c to 023ef4a Compare January 12, 2026 09:51
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr3-crypto-testkit branch from e5a35b9 to 15ddee8 Compare January 12, 2026 09:52
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr2-audit-verifier branch from 023ef4a to bc3b99c Compare January 12, 2026 09:55
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr3-crypto-testkit branch 2 times, most recently from 64ee71f to 323e842 Compare January 12, 2026 10:13
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr2-audit-verifier branch from 41ba9a0 to 900e729 Compare January 12, 2026 10:16
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr3-crypto-testkit branch 2 times, most recently from a6396d5 to 16b2c2a Compare January 12, 2026 10:18
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr2-audit-verifier branch 4 times, most recently from 36b2873 to 645322b Compare January 12, 2026 10:43
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr3-crypto-testkit branch from 16b2c2a to 0ed4332 Compare January 12, 2026 10:47
@jithinraj jithinraj changed the base branch from feat/v0.9.30-pr2-audit-verifier to main January 12, 2026 10:47
@jithinraj jithinraj force-pushed the feat/v0.9.30-pr3-crypto-testkit branch from 169cab1 to 83daf61 Compare January 12, 2026 10:54
@jithinraj jithinraj merged commit 6a8f565 into main Jan 12, 2026
3 checks passed
jithinraj added a commit that referenced this pull request Jan 12, 2026
Version bump 0.9.29 -> 0.9.30 for all 45 packages.

v0.9.30 Theme: Dispute Bundle + Deterministic Verification

Shipped:
- Dispute Bundle ZIP format (peac.dispute-bundle/0.1)
- CLI: peac bundle create|verify|info
- Deterministic verification reports with JCS canonicalization
- Kernel error codegen from specs/kernel/errors.json
- E_BUNDLE_* error codes (9 codes)
- Crypto testkit subpath export
- 8 conformance vectors with expected report hashes
- CI drift gates for codegen and bundle vectors

PRs: #260, #261, #262, #263, #264, #265
jithinraj added a commit that referenced this pull request Jan 12, 2026
Version bump 0.9.29 -> 0.9.30 for all 45 packages.

v0.9.30 Theme: Dispute Bundle + Deterministic Verification

Shipped:
- Dispute Bundle ZIP format (peac.dispute-bundle/0.1)
- CLI: peac bundle create|verify|info
- Deterministic verification reports with JCS canonicalization
- Kernel error codegen from specs/kernel/errors.json
- E_BUNDLE_* error codes (9 codes)
- Crypto testkit subpath export
- 8 conformance vectors with expected report hashes
- CI drift gates for codegen and bundle vectors

PRs: #260, #261, #262, #263, #264, #265
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.

2 participants