Files
hyperstitionstudio-core/docs/SHORTHAND-DISAMBIGUATION-STANDARD.md
T

4.8 KiB

Global [A-Z][0-9] Shorthand Disambiguation Standard (<PREFIX><NN>.<DOMAIN_TAG>)

Document ID: SHORTHAND-DISAMBIGUATION-STANDARD Plan Reference: PLAN-HUMAN-TEXT-AND-COMMENT-SHORTHAND-DISAMBIGUATION (Plan #68) Scope: All human-read documentation (README.md, docs/*.md, plans, manuals, encyclopedias), non-executable source comments (#, //, /* ... */, <!-- ... -->), and web UI prose across all 6 hyperstitionstud.io repositories.


1. Global Executable Code Exemption & ast.dump Invariance

Executable code is globally exempt so software functionality is 100% unimpacted:

  • Never alter: variable/function/class/constant names, imports, expressions, control flow, CLI flags, HTTP routes, JSON/TOML keys, schema enums, CSS selectors/classes, HTML element IDs, regexes, or runtime-asserted strings.
  • ast.dump Parity Guarantee: Any .py file modified for shorthand disambiguation must only alter # comment tokens and must satisfy ast.dump(ast.parse(before)) == ast.dump(ast.parse(after)).
  • DOM/CSS Safety: HTML/CSS anchors remain lowercase hyphenated (#g01-quant, #unit-e03-quant-brief) so . never breaks CSS selectors.
  • Locked JSON Keys: When referencing SHA-256-locked JSON keys (ReadOnlyIsolationGuard in taxonomy/glossary-registry.json and encyclopedia/encyclopedia-manifest.json), use disambiguated canonical tags in prose without altering JSON keys or locked digests.

2. Canonical Disambiguation Table (<PREFIX><NN>.<DOMAIN_TAG>)

Subsystem / Category Legacy Bare Form Canonical Disambiguated Form (<PREFIX><NN>.<DOMAIN_TAG>)
Architecture Atlas Tool Groups G1..G8 G01.QUANT, G02.CALC_CI, G03.GRAPH, G04.ZOOLOGY, G05.ARCHIVE, G06.ENG_MATH, G07.PORTAL_LEARN, G08.MCP_DEPLOY
Orthographic Generations G0, G1 GEN-00.ENGLISH, GEN-01.INGGLISH
Cipher & Phonemic Rules / Vectors G1..G6 RULE-G01.COLLAPSE, RULE-G02.CROSS_GEN_TWIN, RULE-G03.STRUCTURAL, RULE-G04.ISOMETRIC, RULE-G05.TWIN_PRIME, RULE-G06.COMPOSITE
Engineering Plan Binary Gates G1..G4 PLAN-GATE-G01.EXTANT_DATA, PLAN-GATE-G02.ZERO_LLM, PLAN-GATE-G03.EROFS_SAFE, PLAN-GATE-G04.EXPORTABLE
Deploy Script Gates D1..D8 DEPLOY-GATE-D01.MIRROR_PARITY .. DEPLOY-GATE-D08.PRE_COMMIT_STAGE
Public Smoke Gates P1..P6 SMOKE-GATE-P01.STATIC_ROUTES .. SMOKE-GATE-P06.NAV_STYLE_PARITY
Style & Mobile Regression Gates S1..S4 STYLE-GATE-S01.NO_SLATE_BG, STYLE-GATE-S02.DEJAVU_FONT, STYLE-GATE-S03.HEADER_PARITY, STYLE-GATE-S04.MOBILE_UI
Engineering Hub Units E0..E5 UNIT-E00.HUB, UNIT-E01.CIPHERS, UNIT-E02.GRAPH_SQLITE, UNIT-E03.QUANT_BRIEF, UNIT-E04.MCP_REST_IPLD, UNIT-E05.CICD_VPS
Applied Math Hub Units M0..M5 UNIT-M00.HUB, UNIT-M01.BASE36_AQ, UNIT-M02.PHONETICS_ENTROPY, UNIT-M03.GRAPH_SPECTRAL, UNIT-M04.Z_CALCULUS, UNIT-M05.MACRO_BAYESIAN
/learn/ Track Folios M01..M06 LEARN-M01.CABBALA, LEARN-M02.PARASITE, LEARN-M03.SERIES, LEARN-M04.STRATA, LEARN-M05.RHIZOME, LEARN-M06.GEOMANCY
Singularity Classes S1..S6 CLASS-S01.SILICON, CLASS-S02.TEMPLEX, CLASS-S03.WAR_MACHINE, CLASS-S04.CARRIER_WAVE, CLASS-S05.BWO, CLASS-S06.AGI
Memetic Superclasses M1..M7+ CLASS-M01.ENTROPIC, CLASS-M02.KINETIC, CLASS-M03.LEVIATHAN, CLASS-M04.MIMETIC, CLASS-M05.ORACLE, CLASS-M06.ABYSSAL, CLASS-M07.HYPERSTITIONAL
Confluence Dose & Regimes D0..D4, R1..R3 DOSE-D00.NONE .. DOSE-D04.FULL_LOCK; REGIME-R01.BULL, REGIME-R02.PINNED_ISOMETRIC, REGIME-R03.TAIL_DRAWDOWN
Polyglot Sandbox Security Rings R1..R4 RING-R01.AST_WHITELIST, RING-R02.ZERO_EVAL, RING-R03.BOUNDED_FUEL, RING-R04.PURE_SUBSET
Ingglish AQ Curve Grading D1..D5 CURVE-D01.LINEAR, CURVE-D02.LOG_COMPRESSION, CURVE-D03.QUANTILE, CURVE-D04.SIGMOID, CURVE-D05.HYBRID_ZSCORE

3. Explicit Non-Shorthand Allowlist

The following tokens are standard technical/domain identifiers and are explicitly exempt from disambiguation:

  • HTTP / Protocol / Runtime: H1, H2, H3, V8 (Yahoo Finance v8 API)
  • Monetary Aggregates: M1, M2 (when referring to FRED M1/M2 money supply)
  • Statistical Percentiles: P20, P50, P90
  • Harvest Keys & Encodings: H01..H39, UTF-8, CIDv1, SHA-256, EUV, AI

4. Automated Verification (hs-shorthand-lint)

  • Full 6-Repo Audit: hs-shorthand-lint (or python3 -m hyperstitionstud_io.ci.shorthand_lint --check-all)
  • Pre-Commit Staged Gate: python3 -m hyperstitionstud_io.ci.shorthand_lint --staged-diff --repo <repo_root> (wired into .git/hooks/pre-commit across all 6 repositories via hs-readme-sync --install-hooks).