Scope
Port Bun corpus position 4005, js/third_party/jsonwebtoken/claim-exp.test.js.
Acceptance criteria
- The Sinon fake-clock import uses Home's timer runtime and supports install/tick/uninstall.
jws.signcreates raw tokens for claim-validation fixtures.expiresInvalidates numbers/timespan strings, detects payload conflicts, and derivesexpfromiator the current clock.- Verification enforces numeric expiration with clock timestamp/tolerance and ignore-expiration behavior.
- Errors remain concrete JWT error types with claim/operation/cause stack context.
- Focused, adjacent JWT, and permanent diagnostics pass.