Detect runs on-device, getting diagnostic data periodically and using Triage-lib to decide whether to take actions such as generating a crash report/snapshot.
TODO(fxbug.dev/61333): Add more info.