PLAN-68: Implement shorthand disambiguation standard, hs-shorthand-lint, pre-commit gate, and core comment/UI migration

This commit is contained in:
Hermes Agent committed 2026-12-02 08:19:03 +00:00
1 parent 32cd771707
commit 9378c594f9
15 files changed
+301 -94

No files matched your search

@@ -112,7 +112,7 @@ ATLAS_HTML_TEMPLATE = """<!DOCTYPE html>
</header>
<div class="atlas-grid" id="atlasGrid">
<!-- G01 .. G08 -->
<!-- G01.QUANT .. G08.MCP_DEPLOY -->
<div class="tool-card" id="g01-quant">
<h2>G01.QUANT (/quant/)</h2>
<ul>
@@ -907,7 +907,7 @@ def render_all_quadrant_closeups(
im.save(out_dir / "quadrant-4-operators-deployment-vps.png", "PNG")
tracked_draws["quadrant-4-operators-deployment-vps.png"] = d
# 10. Quadrant 04 Tab 2: Unit E4 MCP, REST & ETag 304 Probe
# 10. Quadrant 04 Tab 2: UNIT-E04.MCP_REST_IPLD MCP, REST & ETag 304 Probe
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=ROSE)
d.text((24, 18), "STATELESS MCP (/mcp), REST v1 (/api/v1/*) & LIVE ETAG 304 PROBE", font=f_hdr, fill=ROSE)
@@ -950,7 +950,7 @@ def render_all_quadrant_closeups(
im.save(out_dir / "quadrant-4-tab-2-mcp-etag.png", "PNG")
tracked_draws["quadrant-4-tab-2-mcp-etag.png"] = d
# 11. Quadrant 04 Tab 3: /ci/ 4-Gate Pipeline & P1-P6 Smoke
# 11. Quadrant 04 Tab 3: /ci/ 4-Gate Pipeline & SMOKE-GATE-P01.STATIC_ROUTES..SMOKE-GATE-P06.NAV_STYLE_PARITY Smoke
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=ROSE)
d.text((24, 18), "4-GATE INGGLISH CI PIPELINE (/ci/) & 6-GATE PUBLIC SMOKE SUITE", font=f_hdr, fill=ROSE)
@@ -514,6 +514,7 @@ if [[ -d "${CORE_SRC}" ]]; then
git -C "${REPO_ROOT}" add site/assets/closeups/
fi
python3 -m hyperstitionstud_io.publishing.readme_sync --repo "${REPO_NAME}" --stage
python3 -m hyperstitionstud_io.ci.shorthand_lint --staged-diff --repo "${REPO_ROOT}"
fi
"""
@@ -559,7 +560,7 @@ def install_git_pre_commit_hooks(ws_root: Path | None = None, check_only: bool =
if not hooks_dir.is_dir():
continue
for h_name, h_script, markers in (
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync", "deploy_scripts_sync")),
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync", "deploy_scripts_sync", "shorthand_lint")),
("commit-msg", COMMIT_MSG_HOOK_SCRIPT, ("COMMIT-MSG GATE",)),
):
hook_path = hooks_dir / h_name