2.7 KiB
Implementation Plan
Establish a stable infrastructure baseline for the mw-pfeddersheim-workstation by committing existing files, implementing missing Ansible tasks, and cleaning up legacy tool remnants.
This plan focuses on transition the repository from an uncommitted state to a managed baseline. It addresses the user's specific request to remove VS Code remnants and local AI tools while setting up a robust maintenance routine through Ansible and shell scripts. The goal is to ensure Michael Wegener's workstation is reproducible and follows the defined saTway standards.
[Types] No custom type system changes are required for this infrastructure-heavy task.
[Files] Updates existing Ansible roles and creates a new learning log for context restoration.
Detailed breakdown:
- New files:
docs/learnings/2026-02-27-initial-setup.md: Documentation of the initial repository state and first baseline.ansible/roles/maintenance/tasks/main.yml: Implementation of system cleanup and maintenance tasks.ansible/roles/dev-tools/tasks/main.yml: Implementation of development tool management (installation of core tools, removal of legacy ones).
- Existing files to be modified:
scripts/maintenance.sh: Enhanced to handle the--checkflag and integrate better with Ansible-driven cleanup.
- Configuration updates:
.gitignore: Ensure all relevant system and Ansible files are correctly tracked or ignored.
[Functions] No software functions are being implemented; focus is on shell script logic and Ansible tasks.
Detailed breakdown:
- Modified scripts:
scripts/maintenance.sh: Add parameter parsing for--checkand implement non-destructive validation mode.
[Classes] No classes are used in this project.
[Dependencies] Ansible 10.x and standard Arch Linux packages (paccache, checkupdates, journalctl).
[Implementation Order] The sequence is designed to establish a git baseline before making system-level changes.
- Create initial learning log for documentation.
- Perform initial git commit of all untracked infrastructure files.
- Create
feat/initial-baselinebranch for subsequent changes. - Implement
ansible/roles/maintenance/tasks/main.ymlincluding VS Code and AI tool cleanup. - Implement
ansible/roles/dev-tools/tasks/main.ymlfor core tool validation. - Update
scripts/maintenance.shto support--checkmode. - Execute Ansible playbook in check mode, then apply.
task_progress Items:
- Step 1: Document initial state and create baseline commit
- Step 2: Implement maintenance role with cleanup tasks (VS Code, AI tools)
- Step 3: Implement dev-tools role for core workstation software
- Step 4: Enhance maintenance script and verify via Ansible check mode