chore: migrate GRACE-Poly anchors to hierarchical dotted naming
Systematic rename of all semantic anchors (#region, [DEF], @RELATION) across 1400+ files — backend Python, frontend Svelte/TS, specs, docs: - Flat anchors become Namespace.Module.Entity - @RELATION references updated to match new anchor paths - Zero business logic changes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# #region BuildOfflineDockerBundle [C:1] [TYPE Module]
|
||||
# #region Tooling.BuildOfflineDockerBundle [C:1] [TYPE Module]
|
||||
# @PURPOSE: Thin wrapper — delegates to ./build.sh bundle (.tar.xz output)
|
||||
# @COMPLEXITY: 1
|
||||
# @RATIONALE: Unified into build.sh to avoid confusion; kept for backward compat.
|
||||
# #endregion BuildOfflineDockerBundle
|
||||
# #endregion Tooling.BuildOfflineDockerBundle
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ def extract_names(filepath: Path) -> set[str]:
|
||||
except Exception:
|
||||
return names
|
||||
|
||||
# #region anchors
|
||||
# #region Tooling.FindRelatedTests.Anchors
|
||||
for m in REGION_RE.finditer(content):
|
||||
names.add(m.group(1))
|
||||
|
||||
@@ -268,3 +268,4 @@ def main() -> None:
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
# #endregion Tooling.FindRelatedTests.Anchors
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# #region scan_secrets [C:1] [TYPE Module]
|
||||
# #region Tooling.ScanSecrets [C:1] [TYPE Module]
|
||||
# @PURPOSE: Utility script for scan_secrets
|
||||
set -euo pipefail
|
||||
|
||||
@@ -25,3 +25,4 @@ git grep -nIE \
|
||||
| rg -v 'oauth2:(token|secret)@' || true
|
||||
|
||||
# [/DEF:scan_secrets:Module]
|
||||
# #endregion Tooling.ScanSecrets
|
||||
|
||||
Reference in New Issue
Block a user