test(pytest): register clean_install marker for opt-in clone-and-verify test

This commit is contained in:
ed
2026-06-03 00:28:20 -04:00
parent 0309420ba1
commit 573d289941
5 changed files with 63 additions and 0 deletions
@@ -0,0 +1,22 @@
# Implementation Plan: Clean Install Test (clean_install_test_20260603)
## Phase 1: Add pytest marker
Focus: Register the `clean_install` marker in `pyproject.toml` so the test can be selected with `pytest -m clean_install` or filtered with `-m "not clean_install"`.
- [ ] Task 1.1: Pre-edit checkpoint - `git add .`
- [ ] Task 1.2: Edit `pyproject.toml` to add `clean_install` marker
- [ ] Task 1.3: Run `pytest --collect-only` to confirm marker is recognized
- [ ] Task 1.N: Atomic commit + git note
## Phase 2: Create the test file
Focus: Create `tests/test_clean_install.py` with opt-in clone-and-verify logic.
- [ ] Task 2.1: Pre-edit checkpoint - `git add .`
- [ ] Task 2.2: Create `tests/test_clean_install.py` using `urllib.request` (deviation from plan, see spec.md)
- [ ] Task 2.3: Run the test in skip mode - should be 1 skipped
- [ ] Task 2.N: Atomic commit + git note
## Phase 3: Phase Completion Verification
- [ ] Task 3.1: Run the test in default mode - should be 1 skipped (gating works)
- [ ] Task 3.2: `pytest --collect-only -m clean_install` confirms marker works
- [ ] Task 3.N: conductor(checkpoint) commit + audit note