7.6 KiB
PLAN: Remove assert_zero_d_filter and All D-Filter Discussion from Engineering (/engineering/) and Math (/math/) Hubs & Subpages
Document ID: PLAN-REMOVE-D-FILTER-DISCUSSION-FROM-ENGINEERING-AND-MATH-HUBS
Status: ACTIVE / READY FOR IMPLEMENTATION
Target Ecosystem Version: v2.3.2 (or v2.4.0 when bundled with SDK)
Target Repositories: hyperstitionstudio-core, encyclopedia-knowledge-graph
Author: m00t & Hermes Agent
Date: 2026-11-30
1. Executive Summary & Objective
The Software Engineering Explication Hub (/engineering/, Units E0–E5) and Applied Mathematics Explication Hub (/math/, Units M0–M5) are designed to teach the active, foundational engineering and mathematical primitives of hyperstitionstud.io. Mentioning legacy negative-guardrails such as assert_zero_d_filter(), "Zero-d-Filter Isolation", or "10-letter decagram filters" on public pedagogical surfaces distracts readers with deprecated concepts that are not part of the active curriculum.
This plan removes all references to the legacy 10-letter decagram (nuoagmhysl) character-set filter (assert_zero_d_filter, Zero-d-Filter, d-filter, d_filter, d-list, 10-letter, and decagram) from the /engineering/ and /math/ compilers, manifests, and rendered HTML pages, while strictly preserving 100% of geometric, radial-distance, proximity, calculus, and statistical uses of d / D.
Explicit Preservation Guarantee (Non-Decagram Uses of d / D)
The surgical scope of this plan touches only concepts tied to the 10-letter decagram (nuoagmhysl) filter (assert_zero_d_filter(), Zero-d-Filter Isolation, Zero-d-Filter Boundary, 10-letter decagram filters). Every mathematical, geometric, radial-distance, and engineering use of d or D remains 100% intact and untouched:
- Radial Distance & Periphery (
d-periphery):/graph/docs/specification-concentric-eti-tier-ring-radar-d-periphery.pdf(Concentric ETI Tier-Ring Radar radial distancedand periphery geometry). - Confluence Dose (
D_{i,t} \in \{0..4\}): UnitE3and UnitM4Four-Species Confluence Dose indicator sumsD_{i,t} = \sum_{s=1}^4 I(\text{Species}_s). - Calculus Differentials & Derivatives (
d/dx,dx): UnitM4and REPL presets (d/dx(x^3),dx = (b - a) / n,riemann-integral). - Number-Theory Divisors & Deviations (
d): Trial-division divisordin(prime-factors n)and mean deviationd = x_i - muin(variance-pop xs). - Graph Degree & Degrees of Freedom (
\deg(v),df): UnitM3vertex degree\deg(v)and UnitM5statistical degrees of freedomdf = n - 2.
2. Exhaustive Audit of D-Filter Mentions in /engineering/ and /math/
A full-text regex audit ((?i)(d[-_ ]filter|zero[-_ ]d|assert_zero_d|decagram)) across src/hyperstitionstud_io/publishing/engineering_docs.py, src/hyperstitionstud_io/publishing/math_docs.py, site/engineering/, and site/math/ identified the following exact locations:
| Surface / File | Location | Current Text (To Be Replaced) | Downstream Propagation Surfaces |
|---|---|---|---|
src/hyperstitionstud_io/publishing/engineering_docs.py |
ENGINEERING_SUBPAGE_SPECS["ciphers-and-phonetics"]["title"] (Line 205) |
"Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Zero-d-Filter Isolation" |
/engineering/index.html (E0 card <h2>), /engineering/ciphers-and-phonetics/index.html (<title> & <h1>), /engineering/engineering-manifest.json, /engineering/engineering-manifest-data.js, and MCP tool hs_inspect_engineering_and_math_docs |
src/hyperstitionstud_io/publishing/engineering_docs.py |
ENGINEERING_SUBPAGE_SPECS["ciphers-and-phonetics"]["sections"][0]["heading"] (Line 223) |
"1. PEP 420 Namespace & Zero-d-Filter Boundary (hyperstitionstud_io.ciphers)" |
/engineering/ciphers-and-phonetics/index.html (Section 1 <h2>), /engineering/engineering-manifest.json, /engineering/engineering-manifest-data.js |
src/hyperstitionstud_io/publishing/engineering_docs.py |
ENGINEERING_SUBPAGE_SPECS["ciphers-and-phonetics"]["sections"][0]["body"] (Line 224) |
"...assert_zero_d_filter() enforces a hard boundary preventing legacy 10-letter decagram filters from ever entering Zoology or Knowledge Graph artifacts." |
/engineering/index.html (E0 card summary <p>), /engineering/ciphers-and-phonetics/index.html (Section 1 <p>), /engineering/engineering-manifest.json, /engineering/engineering-manifest-data.js |
src/hyperstitionstud_io/publishing/math_docs.py |
All M0–M5 specs & cartridges |
0 occurrences currently present |
Verified clean; locked via permanent regression assertion in tests/test_core_suite.py |
(Note: The internal Python guard function assert_zero_d_filter() in src/hyperstitionstud_io/ciphers/__init__.py remains intact for internal code/test safety, while being completely removed from all /engineering/ and /math/ explication hubs, subpages, and manifests.)
3. Exact Replacement Specification (src/hyperstitionstud_io/publishing/engineering_docs.py)
In ENGINEERING_SUBPAGE_SPECS["ciphers-and-phonetics"]:
- Subpage Title (
title):- Before:
"Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Zero-d-Filter Isolation" - After:
"Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation"
- Before:
- Section 1 Heading (
sections[0]["heading"]):- Before:
"1. PEP 420 Namespace & Zero-d-Filter Boundary (hyperstitionstud_io.ciphers)" - After:
"1. PEP 420 Namespace & Quantization Modes (hyperstitionstud_io.ciphers)"
- Before:
- Section 1 Body (
sections[0]["body"]):- Before:
"The cipher engine maps digits 0-9 to 0..9 (ord(c)-48) and ASCII letters A-Z to 10..35 (ord(c)-87) across three quantization modes: digit (default), off (qualitative lexical only), and spoken (number-word expansion via int_to_spoken_words()). assert_zero_d_filter() enforces a hard boundary preventing legacy 10-letter decagram filters from ever entering Zoology or Knowledge Graph artifacts." - After:
"The cipher engine maps digits 0-9 to 0..9 (ord(c)-48) and ASCII letters A-Z to 10..35 (ord(c)-87) across three quantization modes: digit (default), off (qualitative lexical only), and spoken (number-word expansion via int_to_spoken_words()), evaluating prime index ranks, 37×3k repdigit attractors, and 12-field bidirectional locks."
- Before:
4. Regeneration & Permanent Regression Gate
- Localhost CLI Regeneration (
/workspace):PYTHONPATH=/workspace/hyperstitionstudio-core/src python3 -m hyperstitionstud_io.publishing.engineering_docs --sync PYTHONPATH=/workspace/hyperstitionstudio-core/src python3 -m hyperstitionstud_io.publishing.math_docs --sync - Automated Regression Gate (
tests/test_core_suite.py):- In
test_ipld_quant_and_mcp_server(), iterate over every generated.html,.json, and.jsfile insite/engineering/andsite/math/and assert that:re.search(r"(?i)(assert_zero_d_filter|zero-d-filter|d-filter|d_filter|d-list|d_list|10-letter|decagram|nuoagmhysl)", content)isNone(zero decagram/d-filter concepts), and- Non-decagram geometric/calculus/statistical
d/Dterms (d/dx,D_{i,t},D ∈ {0..4}) remain present and intact.
- In
- Two-Script Deployment Invariant:
- Standard execution of
/workspace/push-all-to-git-libre-audio.shonlocalhostandsudo /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.shonhyperstitionstud.ioautomatically deploys the updated/engineering/*and/math/*pages and manifests into thetmpfswebroot.
- Standard execution of