fix: restore user-mode libvirt (no sudo) and fix preseed partitioning
Two critical fixes in this commit:
1. VM Creation Regression (13139f2):
- Restored qemu:///session (user mode) from qemu:///system (root mode)
- Changed storage paths from /var/lib/libvirt/images to ~/.local/share/libvirt/images
- Removed all sudo calls from vm_create and vm_destroy functions
- Updated test to expect session URI
2. Preseed Partitioning Fix:
- Added GPT partition table directives
- Added LVM confirmation settings
- Fixed EFI partition syntax per Debian official example
- Fixed /boot max size from 512 to 1024
- KEY FIX: Added 'partman-auto/choose_recipe select efi-boot-root'
Additional changes:
- Added LICENSE file (GNU AGPL v3.0 only)
- Updated AGENTS.md to enforce auto-commit/push behavior
💘 Generated with Crush
Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
18
AGENTS.md
18
AGENTS.md
@@ -12,9 +12,18 @@
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ CRITICAL: SDLC COMPLIANCE IS MANDATORY
|
||||
## ⚠️ CRITICAL RULES - READ THESE FIRST
|
||||
|
||||
### ZERO TOLERANCE FOR SDLC VIOLATIONS
|
||||
### 1. AUTO-COMMIT & AUTO-PUSH IS MANDATORY
|
||||
|
||||
**You MUST commit and push AUTOMATICALLY as you work. NEVER wait for user to ask.**
|
||||
|
||||
- **Commit after EVERY logical change** - Don't batch work
|
||||
- **Push immediately after commit** - `git push origin main`
|
||||
- **Never ask permission to commit** - Just do it
|
||||
- **Never leave uncommitted changes** - At session end, everything is committed
|
||||
|
||||
### 2. SDLC COMPLIANCE IS MANDATORY
|
||||
|
||||
**You MUST follow docs/SDLC.md for EVERY change. NO EXCEPTIONS.**
|
||||
|
||||
@@ -419,10 +428,11 @@ Assisted-by: <AI-Model> via Crush <crush@charm.land>
|
||||
- [ ] All tests pass (`./run.sh test`)
|
||||
- [ ] Lint passes (`./run.sh lint`)
|
||||
- [ ] Documentation updated (PRD, security-model, TEST-COVERAGE, JOURNAL)
|
||||
- [ ] Conventional commit message used
|
||||
- [ ] **AUTO-COMMITED** with verbose conventional message
|
||||
- [ ] **AUTO-PUSHED** to origin main
|
||||
- [ ] No security requirements violated
|
||||
- [ ] Docker workflow followed
|
||||
- [ ] Changes committed and pushed
|
||||
- [ ] **NO UNCOMMITTED CHANGES REMAIN**
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user