| Name | Type |
|---|---|
| backend | Callable[[], BackendProtocol] |
| cwd | str |
Observe backend work and backfill only the initiating user turn.
Each observing tool call compares a snapshot taken after it runs with the newest earlier snapshot from the same turn, so a probe before the call is only needed when its arguments reach paths outside checkouts the turn has already inspected. A checkout first seen without an earlier inspection of the same paths only becomes a baseline, so preexisting dirt is not credited. Repeated probe failures back off and then disable probing for the session.