T-NY9Q-move-the-hand-rolled-gitignore-glob-compiler-and-python
State: closed/done · Impact: low · Complexity: small
From the Phase-4 audit’s recommended task list
(docs/planning/notes/N-OCUK-2026-09-24-sdlc-1-0-audit.md, on origin/sdlc/p4-audit): Move the
hand-rolled .gitignore glob compiler and Python-mtime formatter out of
project/ops/scan-candidates.ts into lib/util/.
| Area | Note |
|---|---|
lib/services/project/ | scan-candidates.ts |
lib/util/ | New glob compiler and mtime formatter homes |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1: The .gitignore glob compiler lives in lib/util/ with a test.
- AC-2: The Python-mtime formatter lives in lib/util/ with a test.
- AC-3: scan-candidates.ts imports both rather than defining them inline.
Out of scope
Section titled “Out of scope”- none
Dependencies
Section titled “Dependencies”- none