Scope
Port Bun corpus position 4026, js/third_party/jsonwebtoken/option-maxAge.test.js.
Acceptance criteria
- Verification accepts positive/negative numeric seconds and string timespans.
- Invalid booleans, strings, arrays, and objects produce the exact upstream validation message in sync and callback paths.
- Max-age errors retain concrete JWT error identity, claim
iat, operation metadata, original cause, expiration time where applicable, and operation-aware cause stacks. - Focused, issued-at/max-age regressions, and permanent diagnostics pass.