mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-25 05:00:07 +00:00
41e47191f3
The recursive AgentState walk in DiagnosticsPackageService already captures StateArchiver's `.part1-<utc>/` buckets on WG Part-2 boots, but no test asserts it. A future refactor that flips includeSubfolders to false or trims StateFilePatterns would silently drop the Part-1 forensic snapshot from the diagnostics ZIP. Adds a lock-test that creates the four bucket files (snapshot/signal-log/ journal/reason) and asserts they round-trip under AgentState/.part1-…/. Also extends the Section 4 comment to name `.part1-<utc>/` alongside `.quarantine` as the second intended subfolder consumer of the recursion. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>