Scope
Port Bun corpus position 4029, js/third_party/jsonwebtoken/schema.test.js.
Acceptance criteria
- Signing accepts only the supported
none, HS, RS, PS, and ES algorithm enum values. headermust be an object,encodinga string, andnoTimestampa boolean when provided.- Registered
expclaims require numeric seconds while retaining valid fractional numbers. - Schema failures retain code, algorithm/operation metadata, original cause, and operation-aware cause stacks.
- Focused, algorithm-family regressions, and permanent diagnostics pass.