Implement Phase (P3)
Steps
- •Read
.workflow/specs/tasks-v{VERSION}.md - •Find the next undone task
- •Read affected files listed in the task
- •Implement following existing patterns
- •Verify: lint clean, imports resolve
- •Mark task done in task file
- •Repeat until all implementation tasks complete
Patterns to Follow
- •
utils/:@staticmethod, returnTuple[str, List[str], str] - •
ui/: inheritBaseTab, useself.run_command() - •System calls:
PrivilegedCommand(always unpack tuple) - •Package detection:
SystemManager.get_package_manager() - •Errors: use typed exceptions from
utils/errors.py
Verification
bash
flake8 loofi-fedora-tweaks/ --max-line-length=150 --ignore=E501,W503,E402,E722 python loofi-fedora-tweaks/main.py --version
Rules
- •Only change files listed in the task
- •Minimal diff — no overengineering
- •If blocked, document why and move to next task
- •Reference
.github/workflow/prompts/implement.mdfor full prompt