Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .planning/REQUIREMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Requirements for this milestone. Each maps to roadmap phases.
- [x] **UX-01**: User can enable a feature with `--now` flag to immediately download extensions
- [x] **UX-02**: User can disable a feature with `--now` flag to immediately remove extension files
- [x] **UX-03**: User disabling a feature sees extension files removed (not just update config changed)
- [ ] **UX-04**: User can pass `--reboot` to update command to reboot after update completes
- [x] **UX-04**: User can pass `--reboot` to update command to reboot after update completes

### Auto-Update

- [x] **AUTO-01**: User can generate systemd timer and service files for scheduled updates
- [ ] **AUTO-02**: User can install generated timer/service to system with `install-timer` command
- [ ] **AUTO-03**: User can check auto-update timer status with status command
- [ ] **AUTO-04**: Auto-update only stages files, does not auto-activate merged extensions
- [x] **AUTO-02**: User can install generated timer/service to system with `install-timer` command
- [x] **AUTO-03**: User can check auto-update timer status with status command
- [x] **AUTO-04**: Auto-update only stages files, does not auto-activate merged extensions

### Testing

Expand Down Expand Up @@ -73,10 +73,10 @@ Which phases cover which requirements. Updated during roadmap creation.
| UX-02 | Phase 2: Core UX Fixes | Complete |
| UX-03 | Phase 2: Core UX Fixes | Complete |
| AUTO-01 | Phase 3: Systemd Unit Infrastructure | Complete |
| AUTO-02 | Phase 4: Auto-Update CLI | Pending |
| AUTO-03 | Phase 4: Auto-Update CLI | Pending |
| AUTO-04 | Phase 4: Auto-Update CLI | Pending |
| UX-04 | Phase 4: Auto-Update CLI | Pending |
| AUTO-02 | Phase 4: Auto-Update CLI | Complete |
| AUTO-03 | Phase 4: Auto-Update CLI | Complete |
| AUTO-04 | Phase 4: Auto-Update CLI | Complete |
| UX-04 | Phase 4: Auto-Update CLI | Complete |
| TEST-03 | Phase 5: Integration & Polish | Pending |
| POLISH-01 | Phase 5: Integration & Polish | Pending |
| POLISH-02 | Phase 5: Integration & Polish | Pending |
Expand All @@ -89,4 +89,4 @@ Which phases cover which requirements. Updated during roadmap creation.

---
*Requirements defined: 2026-01-26*
*Last updated: 2026-01-26 after Phase 3 completion*
*Last updated: 2026-01-26 after Phase 4 completion*
9 changes: 4 additions & 5 deletions .planning/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Decimal phases appear between their surrounding integers in numeric order.
- [x] **Phase 1: Test Foundation** - Establish testing infrastructure and patterns
- [x] **Phase 2: Core UX Fixes** - Fix dangerous remove/disable semantics
- [x] **Phase 3: Systemd Unit Infrastructure** - Build internal package for timer/service management
- [ ] **Phase 4: Auto-Update CLI** - Expose auto-update via daemon commands
- [x] **Phase 4: Auto-Update CLI** - Expose auto-update via daemon commands
- [ ] **Phase 5: Integration & Polish** - End-to-end validation and UX polish

## Phase Details
Expand Down Expand Up @@ -76,11 +76,10 @@ Plans:
3. User can run `updex daemon status` to check timer state
4. Auto-update only stages files, does not auto-activate merged extensions
5. User can pass `--reboot` to update command to reboot after update
**Plans**: TBD
**Plans**: 1 plan

Plans:
- [ ] 04-01: TBD
- [ ] 04-02: TBD
- [x] 04-01-PLAN.md — Create daemon command (enable/disable/status) and add --reboot to update

### Phase 5: Integration & Polish
**Goal**: End-to-end workflows are validated and user experience is polished
Expand All @@ -107,5 +106,5 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5
| 1. Test Foundation | 2/2 | Complete ✓ | 2026-01-26 |
| 2. Core UX Fixes | 2/2 | Complete ✓ | 2026-01-26 |
| 3. Systemd Unit Infrastructure | 3/3 | Complete ✓ | 2026-01-26 |
| 4. Auto-Update CLI | 0/TBD | Not started | - |
| 4. Auto-Update CLI | 1/1 | Complete ✓ | 2026-01-26 |
| 5. Integration & Polish | 0/TBD | Not started | - |
28 changes: 16 additions & 12 deletions .planning/STATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ See: .planning/PROJECT.md (updated 2026-01-26)
## Current Position

Phase: 4 of 5 (Auto-Update CLI)
Plan: 0 of TBD in current phase
Status: Ready to plan
Last activity: 2026-01-26 — Phase 3 verified complete
Plan: 1 of 1 in current phase
Status: Phase complete
Last activity: 2026-01-26 — Completed 04-01-PLAN.md

Progress: [███████░░░] 70%
Progress: [████████░░] 80%

## Performance Metrics

**Velocity:**
- Total plans completed: 7
- Total plans completed: 8
- Average duration: 5 min
- Total execution time: 36 min
- Total execution time: 38 min

**By Phase:**

Expand All @@ -30,9 +30,10 @@ Progress: [███████░░░] 70%
| 01-test-foundation | 2 | 27 min | 13.5 min |
| 02-core-ux-fixes | 2 | 7 min | 3.5 min |
| 03-systemd-unit-infrastructure | 3 | 2 min | 0.7 min |
| 04-auto-update-cli | 1 | 2 min | 2 min |

**Recent Trend:**
- Last 5 plans: 5min, 2min, 0min, 1min, 1min
- Last 5 plans: 2min, 0min, 1min, 1min, 2min
- Trend: fast

*Updated after each plan completion*
Expand All @@ -58,6 +59,9 @@ Recent decisions affecting current work:
- [03-02]: IsActive/IsEnabled return false (not error) for non-zero exit codes
- [03-03]: Install fails if files exist - require explicit Remove first
- [03-03]: Remove ignores stop/disable errors (may not be running)
- [04-01]: Fixed daily schedule for timer (configurable deferred to v2)
- [04-01]: Service uses --no-refresh to stage files only (AUTO-04)
- [04-01]: Reboot only triggers when anyInstalled && err == nil

### Test Coverage

Expand All @@ -82,12 +86,12 @@ None.

## Session Continuity

Last session: 2026-01-26
Stopped at: Phase 3 verified, ready for Phase 4
Last session: 2026-01-26T19:36:30Z
Stopped at: Completed 04-01-PLAN.md, Phase 4 complete
Resume file: None

## Next Steps

Phase 3 verified complete. Ready for:
- /gsd-discuss-phase 4Auto-Update CLI
- /gsd-plan-phase 4 — skip discussion, plan directly
Phase 4 complete. Ready for:
- /gsd-discuss-phase 5Integration & Polish
- /gsd-plan-phase 5 — skip discussion, plan directly
Loading