32 lines
2.4 KiB
Markdown
32 lines
2.4 KiB
Markdown
# PLAN: Unaffirmed / Deferred Candidate Strategies from `PLAN-PIECEWISE-CODEBASE-MODULARITY-DEFERRED-STRATEGIES` (Plan #62)
|
|
|
|
**Document ID:** `PLAN-PIECEWISE-CODEBASE-MODULARITY-UNAFFIRMED-STRATEGIES`
|
|
**Status:** `INACTIVE / DEFERRED (docs/plans/inactive/ — zero PDF compilation)`
|
|
**Parent Plan:** `PLAN-PIECEWISE-CODEBASE-MODULARITY-DEFERRED-STRATEGIES` (Plan #62)
|
|
**Date:** 2026-12-01
|
|
|
|
---
|
|
|
|
## Deferred / Unaffirmed Candidate Strategies (`Rule C.4`)
|
|
|
|
All `6` Audit Points of Plan #62 were affirmed as **`1A, 2A, 3A, 4A, 5A, 6A`**. The partial and status-quo alternative candidate strategies below are preserved here for historical reference:
|
|
|
|
1. **Audit Point 1 (`1B`, `1C`):**
|
|
- `1B`: Extract only `render_explication_nav_html()` & `render_explication_subpage_html()`, keeping hub renderers separate.
|
|
- `1C`: Retain `v2.17.0` split (only `render_polyglot_cartridge_html()` and `_render_prereq_box_html()` shared).
|
|
2. **Audit Point 2 (`2B`, `2C`):**
|
|
- `2B`: Keep full mirrored copies across `ingglish-aq-archive/scripts/`, `packaging/bundle/scripts/`, and `packaging/bundle/skills/*/scripts/` in Git and auto-sync via `deploy_scripts_sync.py`.
|
|
- `2C`: Retain manual multi-copy script synchronization, duplicate podcast MP3/MD files, and split quant JSON state.
|
|
3. **Audit Point 3 (`3B`, `3C`):**
|
|
- `3B`: Add stat-memoized `count_file_lines_cached()` and `copy_result=False` fast-path only, without consolidating `CANONICAL_SIX_REPOS` / `resolve_workspace_repo_dir()` / `normalize_workspace_relpath()` / `run_git_stdout()`.
|
|
- `3C`: Keep separate helper copies and uncached line scans.
|
|
4. **Audit Point 4 (`4B`, `4C`):**
|
|
- `4B`: Wire `load_json_cached()` only into `quant_voice.py` & `highlights.py` + `fonts.py` font index, leaving `math_docs.py` / `quant/` / `sqlite_meta.py` / `ci/` on `json.loads(read_text())`.
|
|
- `4C`: Leave current uncached JSON reads and per-font `rglob` walks unchanged.
|
|
5. **Audit Point 5 (`5B`, `5C`):**
|
|
- `5B`: Promote bounded Pillow typography helpers into `publishing/fonts.py` only, keeping `flow_diagram.py` PNG re-rendering unconditional.
|
|
- `5C`: Keep bounded typography helpers duplicated across `closeups_sync.py` / `flow_diagram.py` / `cards.py`.
|
|
6. **Audit Point 6 (`6B`, `6C`):**
|
|
- `6B`: Remove redundant pre-test subprocesses in `push-all-to-git-libre-audio.sh` only, keeping `.git/hooks/pre-commit` unconditional across all 6 repos.
|
|
- `6C`: Keep double-executed checks and unconditional commit hooks.
|