Files
encyclopedia-knowledge-graph/docs/plans/active/PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION.md
T

2.2 KiB
Raw Blame History

PLAN: True Root-Cause Resolution of Namespace Discrepancies via Single-Name Standardization (PLAN #71)

Document ID: PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION
Status: ACTIVE (docs/plans/active/)
Target Ecosystem Version: v2.17.2 (Baseline: v2.17.1)
Target Repositories: hyperstitionstudio-core, encyclopedia-knowledge-graph
Author: m00t & Hermes Agent
Date: 2026-12-02


1. Context & Problem Statement

The Flaw of Symlinking/Aliasing

As correctly noted, relying on symlinking or runtime aliasing between hyperdope-ci-build and ingglish-hyperdope-ci preserves the underlying naming discrepancy rather than resolving it. Maintaining two separate folder names across environments introduces cognitive overhead, fragile path checks, and structural ambiguity.

Architectural Goal

True Root-Cause Elimination: Eliminate the discrepancy entirely by establishing a single canonical directory name (hyperdope-ci-build) across local development (/workspace), production VPS (/srv/hyperstitionstud.io/repos), Gitea remotes, clone documentation, and ecosystem tooling, with zero runtime aliases or symlinks.


2. Technical Implementation Specifications

1. Single Canonical Naming Across All Remotes & Tooling

Standardize hyperdope-ci-build as the sole canonical repository key across sync-vps-repos.sh, push-all-to-git-libre-audio.sh, README.md onboarding instructions, and workspace.toml.

2. Removal of Legacy Aliases from Path Resolution (config/__init__.py)

Refactor resolve_workspace_repo_dir() to drop legacy alias fallbacks for the CI repository, enforcing that the repository folder must exist strictly at ws_root / "hyperdope-ci-build".

3. Upstream Remote & Gitea Synchronization

Align Gitea remote clone URLs and deployment automation to pull and push exclusively to hyperdope-ci-build (ingglish-hyperdope-ci is formally deprecated and retired).


3. Verification Plan

  1. Compile Plan Markdown into Dark-Mode PDF via hs-pdf-build.
  2. Run python3 -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root /workspace (Gates D1–D8).
  3. Run tests/test_core_suite.py (ALL 7 TEST SUITES PASSED).