From c309b41e0c3aaf9fa2c4d5dbcd3816205f50775f Mon Sep 17 00:00:00 2001 From: Svrnty Date: Sun, 31 May 2026 21:44:51 -0400 Subject: [PATCH] Retire legacy SOT compatibility route --- sot | 1 - tools/check_s91_cto_dotpath.py | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 120000 sot diff --git a/sot b/sot deleted file mode 120000 index 40d48e5..0000000 --- a/sot +++ /dev/null @@ -1 +0,0 @@ -.sot \ No newline at end of file diff --git a/tools/check_s91_cto_dotpath.py b/tools/check_s91_cto_dotpath.py index 4764449..7ff882f 100755 --- a/tools/check_s91_cto_dotpath.py +++ b/tools/check_s91_cto_dotpath.py @@ -3,7 +3,6 @@ from __future__ import annotations -import os import re from pathlib import Path @@ -29,10 +28,8 @@ def main() -> int: if not (ROOT / ".sot").is_dir(): fail("missing canonical .sot directory") legacy = ROOT / "sot" - if not legacy.is_symlink(): - fail("legacy sot path must be a temporary symlink") - if os.readlink(legacy) != ".sot": - fail("legacy sot symlink must target .sot") + if legacy.exists() or legacy.is_symlink(): + fail("legacy sot path must be absent after compatibility retirement") for relative in REQUIRED_FILES: if not (ROOT / relative).is_file():