aboutsummaryrefslogtreecommitdiff
path: root/docs/session-context.org
blob: 8275b4f7d33274a8188c31c46b9342eeb165242c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#+TITLE: Session Context - Active Session
#+DATE: 2026-01-23

* Session: Friday 2026-01-23 @ 14:08 CST (ongoing)

** Key Decisions This Session

*** Project Rename: archangel
- Decided to rename project from "archzfs" to "archangel"
- Script name will be just "archangel" (not install-archangel)
- Checked for conflicts: pwnerfly/Archangel is dead (2020, 0 stars, no license)
- Name is clear for use

** Work Completed

*** 1. Recovered interrupted session context
Previous session (11:28-13:15 today) covered:
- ZFSBootMenu merge to main
- Code review workflow creation
- Btrfs expansion research

*** 2. Reviewed btrfs implementation approach
- 5-phase plan: Refactor, Btrfs support, Testing, CLI tools, Docs
- Snapper chosen over Timeshift (better Arch integration with snap-pac + grub-btrfs)
- Btrfs uses GRUB, ZFS uses ZFSBootMenu

*** 3. Scanned archsetup for chroot compatibility
Analyzed ~/code/archsetup/archsetup (1852 lines) for chroot-incompatible operations:

**** Incompatible (need --chroot flag):
- 5x systemctl start calls (lines 712, 807, 877, 905, 1199)
- 3x ping checks (lines 243, 1105, 1107)
- 1x tmpfs mount (line 702)

**** Compatible (work as-is):
- 20+ systemctl enable calls
- User creation (useradd, chpasswd)
- Package installation (pacman, yay/makepkg)
- All file configurations

*** 4. Added TODO for archsetup --chroot mode
Added [#B] task to todo.org with full implementation details.

** Files Modified This Session
- todo.org - Added archsetup --chroot task, btrfs implementation TODO
- docs/PLAN-archangel-btrfs.org - Created implementation plan
- docs/research-btrfs-expansion.org - Expanded testing validation checks

** Implementation Progress (Phase 1.1)

Created lib/ directory structure:
- [X] custom/lib/common.sh - output, validation, fzf prompts, disk utils
- [X] custom/lib/config.sh - arg parsing, config loading, validation
- [X] custom/lib/disk.sh - partitioning, EFI management, disk selection
- [X] custom/lib/zfs.sh - pool, datasets, ZFSBootMenu, services, hooks

Next: Integrate libs into install-archzfs, test, then add filesystem selection

** Pending Items (from earlier + this session)
1. Review code-review.org document
2. Address Priority A cleanup tasks (README, LICENSE, etc.)
3. Create btrfs implementation tasks
4. Begin Phase 1: Refactor installer

** Notes
- Craig on remote console: 30 lines tall, ~145 columns wide
- Keep responses compact