# PLAN: Piecewise Codebase Modularity, Deduplication & Resource Economization — Revised for `v2.12.0..v2.15.0` Code Delta (`Audit Points 1–4`, `Rule C` Piecewise Specification) **Document ID:** `PLAN-PIECEWISE-CODEBASE-MODULARITY-DEFERRED-STRATEGIES` **Status:** `PENDING AUDIT PIECEWISE (docs/plans/piecewise/ — 0/4 AUDIT POINTS AFFIRMED)` **Parent Plan:** `PLAN-PIECEWISE-CODEBASE-MODULARITY-DEDUPLICATION-AND-RESOURCE-ECONOMIZATION` (`v2.12.0`) **Target Ecosystem Version:** `v2.16.0` (Baseline: `v2.15.0`, evaluating full `v2.12.0..v2.15.0` delta) **Target Repositories:** `hyperstitionstudio-core`, `ingglish-hyperdope-gematria`, `encyclopedia-knowledge-graph` **Author:** m00t & Hermes Agent **Date:** 2026-12-01 --- ## 1. Ground-Truth Audit: Reactivated Deferred Strategy `2A` + `v2.12.0..v2.15.0` Code Delta (`+4,970` Lines Across 6 Repositories, `Rule C.1`) Between `v2.12.0` (when the parent Plan #53 was executed) and `v2.15.0`, implementing Plans `#56`, `#57`, `#58`, `#59`, and `#60` added **`+4,970` insertions across 96 touched files** (`+1,500` in `hyperstitionstudio-core`, `+2,090` in `ingglish-hyperdope-gematria`, `+314` in `haiperdohp-jemaytreeah`, `+971` in `hyperdope-ci-build`, and `+220` in `encyclopedia-knowledge-graph`). Re-auditing the deferred strategy candidates alongside this exact `v2.12.0..v2.15.0` code delta reveals **4 high-leverage modularity, deduplication, security, and resource-economization Audit Points**: | Audit Point & Subsystem | Empirically Verified `v2.12.0..v2.15.0` Codebase Delta Measurement | Duplication, Drift Risk, Security Gap or Resource Hotspot Identified | | :--- | :--- | :--- | | **Audit Point 1**
*Unified Explication Hub, Subpage & Navigation Template Engine (`publishing/explication_template.py`, `engineering_docs.py` `801` lines & `math_docs.py` `628` lines — Reactivated Strategy `2A` from Plan #53)* | • In Plan #53 (`v2.12.0`), `Strategy 2B` unified `render_polyglot_cartridge_html()` and `_render_prereq_box_html()`, while deferring **`Strategy 2A`** (full `explication_template.py` extraction).
• `publishing/engineering_docs.py` (`801` lines) and `publishing/math_docs.py` (`628` lines) still duplicate `~260` lines of identical `` CSS, `
` layout, `> 6` subpage `More Units ▾` overflow `