aboutsummaryrefslogtreecommitdiff
path: root/docs/session-context.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-23 13:08:38 -0600
committerCraig Jennings <c@cjennings.net>2026-01-23 13:08:38 -0600
commit0ff02dda8a2bfb21bb223e42054066626e429ba1 (patch)
treeed5bb5748264912f1a0003da2dcf6ae9555ae85b /docs/session-context.org
parent3b5363234599a72d4dd04847c1124d6381ca21c7 (diff)
downloadarchangel-0ff02dda8a2bfb21bb223e42054066626e429ba1.tar.gz
archangel-0ff02dda8a2bfb21bb223e42054066626e429ba1.zip
Research: Btrfs expansion and multi-filesystem support
Comprehensive research for expanding project to support both ZFS and Btrfs: - Feature parity analysis (ZFS vs Btrfs equivalents) - Btrfs limitations: RAID 5/6 unstable, no native encryption (use LUKS) - Recommended subvolume layout: @, @home, @snapshots, @var_log, @var_cache - Snapshot stack: snapper + snap-pac + grub-btrfs + btrfs-assistant - Multi-disk support: raid1 (mirror), raid10 only - Installer architecture proposal with modular lib/ structure - Testing strategy and VM test matrix - Project rename recommendation: archsnap Cloned 8 reference repos: grub-btrfs, easy-arch, arch-btrfs-installation, btrfs-assistant, snap-pac, btrbk, buttermanager, alis
Diffstat (limited to 'docs/session-context.org')
-rw-r--r--docs/session-context.org96
1 files changed, 59 insertions, 37 deletions
diff --git a/docs/session-context.org b/docs/session-context.org
index 580be99..2f390fd 100644
--- a/docs/session-context.org
+++ b/docs/session-context.org
@@ -4,48 +4,70 @@
* Current Session: Friday 2026-01-23 @ 11:28 CST
** Current Task
-Code review of archzfs project complete. Issues documented in todo.org.
+Btrfs expansion research complete. Architecture documented.
** Completed This Session
-- Merged zfsbootmenu branch to main (fast-forward, pushed to origin)
+- Merged zfsbootmenu branch to main
- ratio booted successfully with ZFSBootMenu
-- Researched code review best practices (10+ web searches)
-- Created docs/project-workflows/code-review.org
- - Core Checklist: ~27 items across pyramid levels
- - Deep Dives: Security, Performance, Concurrency, Error Handling, API Compatibility, Dependencies
-- Conducted senior developer code review of entire archzfs codebase
-- Added 14 new tasks to todo.org based on code review findings
-
-** Code Review Findings Summary
-*** Critical (Priority A)
-- README.org has outdated GRUB references (now uses ZFSBootMenu)
-- Missing LICENSE file (referenced but doesn't exist)
-- custom/archsetup-zfs is a non-functional skeleton
-- Initial password should be configurable, not hardcoded
-
-*** Important (Priority B)
-- Stale SESSION-CONTEXT.md should be deleted
-- PLAN-zfsbootmenu-implementation.org should move to docs/
-- Makefile lint target swallows errors
-- Unclear directories need documentation or gitignore
-- Empty docs/someday-maybe.org
-
-*** Cleanup (Priority C)
-- Inconsistent shebangs across scripts
-- Inconsistent email addresses
-- No .editorconfig for formatting
-- Test scripts need documentation
+- Created code review workflow (docs/project-workflows/code-review.org)
+- Conducted senior developer code review, added 14 cleanup tasks
+- Committed and pushed changes
-** Files Created This Session
-- docs/project-workflows/code-review.org - Code review workflow
+*** Btrfs Expansion Research
+- Researched btrfs best practices for Arch Linux
+- Researched snapshot management: snapper, btrbk, snap-pac
+- Researched GRUB integration: grub-btrfs, grub-btrfsd
+- Researched multi-disk configurations: raid1, raid10 (raid5/6 unstable)
+- Researched GUI tools: btrfs-assistant, snapper-gui, buttermanager
+- Cloned 8 reference repositories to reference-repos/
+- Created comprehensive research document: docs/research-btrfs-expansion.org
+
+** Key Research Findings
+
+*** Project Rename Recommendation
+*archsnap* - Short, memorable, emphasizes snapshot capability
+
+*** Btrfs Feature Parity
+| ZFS Feature | Btrfs Equivalent |
+|-------------+------------------|
+| Native encryption | LUKS2 + dm-crypt |
+| Mirror | btrfs raid1 |
+| ZFSBootMenu | GRUB + grub-btrfs |
+| sanoid | snapper + snap-pac |
+| Datasets | Subvolumes |
-** Files Modified This Session
-- todo.org - Added Makefile targets, code review tasks (14 new items)
+*** Btrfs Limitations
+- RAID 5/6 is UNSTABLE - do not offer
+- No native encryption - must use LUKS
+- Need GRUB for bootable snapshots (not systemd-boot)
-** Pending User Review
-- docs/project-workflows/code-review.org (task in todo.org)
+*** Recommended Subvolume Layout
+- @ → /
+- @home → /home
+- @snapshots → /.snapshots
+- @var_log → /var/log
+- @var_cache → /var/cache
+
+*** Snapshot Stack
+snapper + snap-pac + grub-btrfs + btrfs-assistant
+
+** Reference Repos Cloned
+- grub-btrfs (GRUB snapshot menu)
+- easy-arch (automated installer)
+- arch-btrfs-installation (manual guide)
+- btrfs-assistant (GUI)
+- snap-pac (pacman hooks)
+- btrbk (snapshot/backup)
+- buttermanager (GUI)
+- alis (multi-fs installer)
+
+** Files Created This Session
+- docs/project-workflows/code-review.org
+- docs/research-btrfs-expansion.org
** Next Steps
-- User to review code-review.org document
-- Address Priority A issues from code review
-- Delete SESSION-CONTEXT.md (root) after confirming this file is canonical
+1. Review research document with Craig
+2. Decide on project name
+3. Decide on implementation approach
+4. Create implementation tasks in todo.org
+5. Begin Phase 1: Refactor current installer