summaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-12-01 06:23:36 -0600
committerCraig Jennings <c@cjennings.net>2025-12-01 06:23:36 -0600
commit50423fd3066778764feb73594f172dc10194e038 (patch)
treefdabbb3107d6d97563f26ebca01e6719f33dbb4d /TODO.org
parent75b0a17576f2722611db3ce710e673e0445848cf (diff)
feat(archsetup): implement state tracking for resume capability
Enables resuming from where the script left off if interrupted: - State stored in /var/lib/archsetup/state/ as marker files - run_step() wrapper tracks completion, skips completed steps - --status flag shows installation progress - --fresh flag clears state for clean restart - --help flag documents all options - 12 major steps tracked (intro through boot_ux) Example: archsetup --status # check progress archsetup # resume from last step archsetup --fresh # start over 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org9
1 files changed, 8 insertions, 1 deletions
diff --git a/TODO.org b/TODO.org
index 9067d6d..dd86ad2 100644
--- a/TODO.org
+++ b/TODO.org
@@ -168,8 +168,15 @@ RESOLVED: Added preflight_checks() function that verifies:
- pacman available
- Running on Arch Linux (/etc/arch-release exists)
-*** TODO [#A] Implement state tracking for install progress
+*** DONE [#A] Implement state tracking for install progress
+CLOSED: [2025-12-01 Sun]
Track what completed vs failed mid-run to enable targeted recovery and resume capability
+RESOLVED: Implemented file-based state tracking:
+- State stored in /var/lib/archsetup/state/ as marker files
+- run_step() wrapper skips completed steps on resume
+- --status flag shows progress
+- --fresh flag clears state for clean restart
+- 12 major steps tracked (intro through boot_ux)
*** TODO [#A] Fix sleep/suspend on Framework Laptop
Critical functionality for laptop use - current battery drain unacceptable