From 8b77af007c212d4071625723e2d37b40a611fda3 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 27 Dec 2025 20:58:12 -0600 Subject: [PATCH] Update Technical_Decomp_Harvest --- Technical_Decomp_Harvest.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Technical_Decomp_Harvest.md b/Technical_Decomp_Harvest.md index c02db6a..611207e 100644 --- a/Technical_Decomp_Harvest.md +++ b/Technical_Decomp_Harvest.md @@ -1,6 +1,13 @@ ## enroll/harvest.py -All of these are dataclasses that act as the schema for state.json. harvest.harvest() creates them, then serializes them with asdict(). +`harvest.harvest()` is the producer: + +- uses UnitInfo / TimerInfo (systemd introspection) +- uses IgnorePolicy + PathFilter/CompiledPathPattern to decide what files are safe to copy +- emits ServiceSnapshot, PackageSnapshot, UsersSnapshot, etc. +- emits ManagedFile and ExcludedFile entries everywhere +- writes everything into state.json, and file copies into artifacts//... + ### ManagedFile (dataclass)