fix(navigation): survive stale discovery service

This commit is contained in:
冰朔 2026-07-27 14:14:32 +08:00
commit 15837cb391
3 changed files with 31 additions and 8 deletions

View file

@ -39,7 +39,12 @@ to `ICE-P-ZY001`. A conflicted or unknown id must stop with
Use the returned domestic `repository_web` and `raw_base`. Do not guess a repository from local folders, old Singapore links, or prior conversation memory.
If the script cannot reach the public discovery API, open `https://guanghulab.com/.well-known/guanghu.json`, resolve `REPO-012`, and report that live resolution failed before using any cached checkout. Use `REPO-001` only for fourth-generation history.
If the public AI resolver is stale or returns no `REPO-012`, the script may use its
locked public fallback `https://guanghulab.com/code/bingshuo/guanghu-ice-heart` only
after successfully reading the live `.code-map` and all required identifiers from
that repository. Report `repository_resolution_source` and `resolver_error`; this is
a verified online repository fallback, not a cached checkout. Use `REPO-001` only
for fourth-generation history.
## Walk the canonical path