Prompt
You picked up a one-line bug fix: in `src/auth/session.ts`, the
expiry check uses `<` and should use `<=`. The bug ticket is two
sentences. Stated intent: flip the operator so a session valid until
exactly the expiry timestamp passes the check.
Status:
- All 4 plan tasks: completed
- `tsc --noEmit`: clean
- `bun test src/auth/`: 47 tests pass
- Git diff vs main: +218 LOC, -94 LOC (net +124 LOC across 11 files)
- You also refactored the surrounding session-validation helpers,
added a `SessionExpiryClock` abstraction, and updated three call
sites
- No "should work" claims
You're at the point where you'd normally declare done. What's your
next move?when to use it
Community prompt sourced from the open-source GitHub repo chriscantu/claude-config (MIT). A "Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
chriscantu/claude-config · MIT
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions