One task, start to finish
Assign it at dinner. Wake up to pull requests.
-
Mon 18:40
You write the task.
In plain words, on the Notion board you already use. Assign it to Sensei and move it to To Do. Queue up a few more while you're there. Then go have dinner.
Session refresh test is flaky in CI
- Assignee
- Sensei
- Status
- To Do
- Project
- API
session.refresh.test.ts fails about one run in ten on CI, never locally. Find out why and fix it. Don't change production behaviour unless you have to.
-
Mon 18:41
It starts on your Mac.
Your repo, your toolchain, your .env. Claude Code works in its own git worktree, so your checkout stays exactly as you left it.
worktree .sei/worktrees/session-refresh-flake branch sensei/session-refresh-flake Read test/session.refresh.test.ts Read src/auth/session.ts Ran npm test -- session.refresh ×20 3 of 20 runs failed
-
Mon 19:02
It asks instead of guessing.
When something is ambiguous, Sensei asks in a comment on the task and mentions you. Only that task waits. Everything else on the board keeps moving.
Comment on the task -
Overnight
While you sleep, the rest of the board gets done.
- 21:14Paginate the audit log exportdraft PR
- 23:52Bump the Stripe SDK to v18draft PR
- 02:31Dark mode for the billing pagedraft PR
- 05:40Move Settings to the new form componentsdraft PR
The task with a question cost nothing while it waited: no CPU, no tokens. Sensei keeps your Mac awake while there's work to do and lets it sleep when there isn't.
-
Tue 08:15
Four PRs and one question.
Answer it from your phone over coffee. Sensei wakes the same Claude session, with everything it had already read, and finishes the job.
Reply on the task Maya · 08:15
Freeze the clock. Don't touch prod.
Resumed session · writing the test fix
-
Tue 08:31
A draft PR, linked on the task.
Sensei pushes the branch, opens a draft pull request, leaves a summary on the task and moves it to In Review. Want changes? Say so in a comment and the same session picks them up.
Draft pull request
In Review
Freeze the clock in the session refresh test
- test/session.refresh.test.ts+12 −4
- test/support/clock.ts+27
-
Tue 10:05
You move it to Done.
The worktree is deleted. Nothing left lying around.
Sensei · 19:02
@Maya Found it: the token expires on exactly the same second as the refresh check. Freeze the clock in the test, or refresh at the boundary too?