Expand description
Change detection for DAG roots: polling, the settle time, and the content hash.
The agent scans each root on every poll. A changed scan isn’t hashed at once: the root must stay unchanged for the settle time, so half-written files are never parsed. Only a new content hash is reported; a scan that changed with the same contents (e.g. files touched) isn’t (see archive/PROJECT.md, Code versions and change detection). The first scan after start settles too.
Structs§
- Change
Detector - Decides when a changed root has settled.
- Root
Watcher - Watches one root: scans it, waits for it to settle and copies and hashes it.
Enums§
- Observation
- What a
ChangeDetectordecided about a scan. - Poll
- The result of polling a root.