summaryrefslogtreecommitdiff
path: root/docs/NOTES.org
diff options
context:
space:
mode:
Diffstat (limited to 'docs/NOTES.org')
-rw-r--r--docs/NOTES.org147
1 files changed, 15 insertions, 132 deletions
diff --git a/docs/NOTES.org b/docs/NOTES.org
index 854e598..3562f30 100644
--- a/docs/NOTES.org
+++ b/docs/NOTES.org
@@ -1,6 +1,21 @@
#+TITLE: ArchSetup Development Notes
#+DATE: 2025-11-10
+* 2026-01-09: AI Assistants Tmux Launcher Script
+
+** Work Completed
+
+- Created ~/.local/bin/ai-assistants script for launching multiple Claude sessions
+- Script creates tmux session "ai-assistants" with 7 named windows (health, finances, danneel, jr-estate, kit, homelab, nextjob)
+- Each window opens respective project directory and starts Claude with session-start workflow prompt
+- Script attaches to existing session if already running (idempotent)
+- Fixed rofi absolute symlink conflict during stow (removed and let stow recreate as relative)
+
+** Context for Next Session
+
+- ai-assistants script ready to use - just run `ai-assistants` from terminal
+- Consider adding more projects to the script as needed
+
* 2025-12-01: Major Feature Session - Pre-flight, State Tracking, Integration Test
** Work Completed
@@ -125,135 +140,3 @@ cat /proc/1728/environ | tr '\0' '\n' | grep -E 'GPG|TTY|DISPLAY' # Empty - no
- Run verification test to confirm yay-debug is no longer installed
- Investigate 56 AUR package retry errors
- Consider if errors need to be addressed or are acceptable failures
-
-* 2025-11-13: Critical Bug Fixes & Test Infrastructure
-
-** Test Results Summary
-- Test 20251113-232631: *PASSED* (exit code 0) in 17m 33s
-- Test 20251113-190717: Exit code 1 (ran old version without fixes) in 40m 54s
-- All validations passed: user creation, dotfiles stowed, yay installed, DWM built
-- 56 non-critical errors (mostly AUR package retry failures)
-
-** Bug Fixes Implemented
-*** Root Permission Check (archsetup:21-27)
-- Added EUID check at script start
-- Fails fast with clear error message if not run as root
-- Prevents confusing errors later in execution
-
-*** Disable Debug Packages
-- Added --nodebug flag to all yay calls (archsetup:167-171)
-- Added --nodebug to makepkg for yay build (archsetup:375)
-- Prevents installation of unnecessary -debug packages (saves ~500MB+)
-- *Note*: Still need to verify yay-debug is prevented in next test
-
-*** Safe Git Operations
-- Replaced dangerous `git pull --force` with safe rm + fresh clone
-- Applied to git_install function (archsetup:154-160)
-- Applied to yay installer (archsetup:366-372)
-- Prevents accidental data loss in local repositories
-
-*** Completion Marker for Tests
-- Added unique marker: `=== ARCHSETUP_EXECUTION_COMPLETE ===` (archsetup:1044)
-- Test script now detects completion reliably (run-test.sh:239)
-- Fixed false negative test failures
-
-*** Test Script Process Detection
-- Fixed pgrep infinite loop bug (run-test.sh:216)
-- Changed from `pgrep -f 'bash archsetup'` to `ps aux | grep '[b]ash archsetup'`
-- Prevents test script from matching its own SSH commands
-
-** Package Changes
-*** Removed Packages
-- anki: Build hangs 98+ minutes (removed from archsetup:924)
-- adwaita-color-schemes: CMake build issues (removed comment from archsetup:704)
-
-*** Added Packages
-- geoclue: Geolocation service with correct systemd service (archsetup:456-458)
- - Service name: geoclue.service (not geoclue-agent@user.service)
-
-** Test Infrastructure Added
-- Comprehensive VM-based testing framework in scripts/testing/
-- Network diagnostics and pre-flight checks
-- Snapshot-based testing for reproducible runs
-- Support for --skip-slow-packages flag for faster testing
-
-** Git Commits
-- 2e10a88: fix(archsetup): implement critical bug fixes and test improvements
-- 0148a1d: fix(archsetup): prevent yay-debug package installation during yay build
-
-** Next Session TODO
-- [ ] Run verification test to confirm yay-debug is no longer installed
-- [ ] Investigate 56 AUR package retry errors
-- [ ] Consider if errors need to be addressed or are acceptable failures
-
-* 2025-11-10: Successful Test Run & Package Fixes
-
-** Test Results
-- Completed successful full test run in VM
-- Total runtime: 58 minutes, 4 seconds
-- Errors encountered: 0
-- Test results location: test-results/20251110-154908/
-
-** Package Issues Resolved
-*** anki (DISABLED - line 924)
-- Problem: Hangs for 98+ minutes during cargo build, missing .gitconfig
-- Solution: Temporarily disabled with comment
-- TODO: Investigate and re-enable or replace
-
-*** tageditor (DISABLED - line 933)
-- Problem: Hangs indefinitely building qt5-webengine dependency
-- Solution: Temporarily disabled with comment
-- TODO: Investigate alternatives or fix dependency issue
-
-*** Other packages removed/fixed:
-- gtk-engine-murrine: Removed (no longer needed)
-- vagrant: Moved to AUR (was in official repos, now AUR-only)
-- Blue light filter: Removed entirely from installation
-
-** Test Infrastructure Improvements
-*** Git Clone Simulation
-- Test now properly simulates: git clone --depth 1
-- Uses git bundle to transfer repository to VM with full git metadata
-- Location: scripts/testing/run-test.sh lines 158-180
-
-*** Dotfiles Git Restore
-- Confirmed working: stow --adopt followed by git restore
-- Reverted conditional git restore back to unconditional (line 320-322)
-- This workflow requires proper git repository structure (provided by git clone)
-
-** Known Issues
-*** Test Script Timeout Detection
-- Bug: Test script doesn't properly detect when archsetup completes
-- Symptom: Reports "timeout after 90 minutes" even when archsetup finishes at 58 minutes
-- Impact: Test marked as failed despite successful completion
-- All validations still pass (user creation, dotfiles, yay, DWM)
-- TODO: Fix timeout detection logic in run-test.sh
-
-** Remaining High Priority Tasks (see TODO.org)
-- [#A] Replace nitrogen with feh for wallpaper management
-- [#A] Fix or permanently disable adwaita-color-schemes
-
-** VM Configuration
-- VM Name: archsetup-base
-- Clean snapshot: clean-install
-- IP: 192.168.122.21 (typically)
-- Location: vm-images/archsetup-base.qcow2
-
-** Important Commands
-#+begin_src bash
-# Run test
-./scripts/testing/run-test.sh
-
-# Run test and keep VM up for debugging
-./scripts/testing/run-test.sh --keep
-
-# Manual snapshot management
-virsh --connect qemu:///system snapshot-list archsetup-base
-virsh --connect qemu:///system snapshot-revert archsetup-base clean-install
-
-# Check VM status
-virsh --connect qemu:///system list --all
-#+end_src
-
-** Git Commits Made
-- 18c6bc3: fix(archsetup): disable problematic slow packages