Skip to content
Hindsight
Esc
↑↓navigate↵open⌘Jpreview
On this page

How time counts

The whole model on one page. What counts, what doesn't, and why nobody can farm hours by leaving an agent running.

Hindsight counts two kinds of time, and leaves a third out on purpose.

Hands-on time is you typing, prompting, reviewing a diff or committing. Watching time is your agent working while you’re sitting there following along. Add them up and that’s your total. Unattended time is the agent working while nobody’s around. It shows up on your timeline, hatched out, and never touches the total.

Byte, the cat in your tray, is how Hindsight tells the difference. While your agent is busy and you’ve gone quiet, he pops up and asks what it’s up to. Answer him and the clock keeps going.

Two things have to be true

For a second to count, you have to be there, and you have to have done something.

Being there means keyboard or mouse input in an app where you work with your agent: a terminal, an editor, or the Claude, Codex or OpenCode desktop app. Stop touching it for 35 seconds and the clock stops. Switch to another app and it stops right away (unless you’re back within 15 seconds, which counts as a glance).

Having done something means a prompt, an edit, a diff review, a commit or an answer to Byte, within 5 minutes before or after that second. Scrolling and mouse wiggles prove you’re at the computer, not that you’re working. Someone scrolling while an agent builds a whole project is there, but isn’t contributing.

That second rule is what stops the obvious trick. You can’t send one prompt, leave the mouse jiggling, and collect hours.

The pieces

An hour, worked through

Here’s one made-up hour with the default rules.

When What happened What counted
14:00 to 14:12 You type code in VS Code with the Hindsight extension. 12 minutes hands-on
14:12 You write a 120-character prompt in Claude Code. Writing it took about 40 seconds. 40 seconds hands-on
14:12 to 14:20 The agent works. You read along and scroll now and then. Around 14:15 Byte asks what it’s running, and you answer in a sentence. 8 minutes watching
14:20 to 14:24 You go make tea. The agent keeps going until 14:24. 4 minutes unattended, not counted
14:30 to 14:44 You’re back. You review the diff, fix two things and commit. 14 minutes hands-on

Your total for the hour is about 35 minutes: 27 hands-on and 8 watching. The 4 unattended minutes sit on your timeline as a hatched block.

Why does watching stop at 14:20? Your prompt keeps the clock going for 5 minutes, which takes it to about 14:17. Answering Byte at 14:15 pushes that out to about 14:20. Then you walked off.

The numbers at a glance

These are the defaults. The pages in this section explain each one.

Rule Value
Keep the clock going after any sign you’re there 35 seconds
React after a hands-off stretch ends within 20 seconds
Time counts within this long of something you did 5 minutes, before and after
A quick reply (“ok”, “continue”, under 20 typed characters) 1 minute, before and after
A glance at another app up to 15 seconds
A prompt you already sent in the last hour counts as a quick reply
Agent run with no activity ends 5 minutes after its last activity
Agent run silent for longer than this pauses 15 minutes
Reading what a finished run wrote 30 seconds to 5 minutes

Counting happens on the server

Your computer never says “I worked 3 hours”. The daemon on your machine only uploads a log of what happened: a prompt was sent at this time, an edit was made, the agent ran a tool, the app lost focus. It never contains prompt text, code or file paths. The Hindsight server works out the minutes itself, with rules only it controls, and a modified client can’t change them.

Some things the server does to keep that honest:

  • Events are chained together with hashes, so history can’t be rewritten after it’s uploaded.
  • Every upload gets a receipt stamped with the server’s clock. An event recorded after a receipt can’t be dated more than 20 minutes before it, or it earns nothing.
  • An event dated more than 5 minutes after it reached the server earns nothing, since an event can only be reported after it happens.
  • A prompt only counts if keyboard or mouse input was recorded near it, so a script typing into your agent while you’re away earns nothing.
  • The same event uploaded from two computers counts once, and your computers are counted together, so two machines can’t double your hours.
  • When a release changes the rules, the server recomputes everyone’s history under the new ones.

Your desktop app shows a local estimate when it can’t reach the server, and marks it as one. The server’s number is the official one.

Was this page helpful?