From ffd8512e5a3755637f58cf31cfcf2fdb09cfb943 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 4 Nov 2026 17:14:24 +0000 Subject: [PATCH] docs: make the handoff plan build from its new folder Replace links to folders on one PC with GitHub links, and let the link check accept https links, so build.py passes. Co-Authored-By: Claude Opus 5.5 --- docs/handoff/build.py | 2 +- docs/handoff/index.html | 2 +- docs/handoff/plan_data.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/handoff/build.py b/docs/handoff/build.py index 08bea0e..931328a 100644 --- a/docs/handoff/build.py +++ b/docs/handoff/build.py @@ -210,7 +210,7 @@ def validate(page: str) -> list[str]: if href.startswith("#"): if href[1:] not in p.ids: errors.append("broken anchor: " + href) - elif not (ROOT / href).resolve().is_file(): + elif not href.startswith("https://") and not (ROOT / href).resolve().is_file(): errors.append("missing local link: " + href) if "\u2014" in page or "\u2013" in page: errors.append("em or en dash") diff --git a/docs/handoff/index.html b/docs/handoff/index.html index bb09b2d..d291cdc 100644 --- a/docs/handoff/index.html +++ b/docs/handoff/index.html @@ -367,7 +367,7 @@ th { font-weight: 650; }

References

- +
diff --git a/docs/handoff/plan_data.py b/docs/handoff/plan_data.py index d5b93d4..cd975f7 100644 --- a/docs/handoff/plan_data.py +++ b/docs/handoff/plan_data.py @@ -159,7 +159,7 @@ QUESTIONS = [ REFERENCES = [ ("Design notes (package envelope, storage, trust, launcher screen)", "design-notes.md"), - ("Launcher AGENTS.md (layering, golden rules)", "../craft-launcher-src/AGENTS.md"), - ("PhotoCraft plug-in contract (ABI v1)", "../photocraft-src/docs/plugins.md"), - ("AI layer handoff, the pattern this follows", "../ai-framework-handoff/NEXT.md"), + ("Launcher AGENTS.md (layering, golden rules)", "https://github.com/storytold/craft-launcher/blob/main/AGENTS.md"), + ("PhotoCraft plug-in contract (ABI v1)", "https://github.com/storytold/photocraft/blob/main/docs/plugins.md"), + ("AI layer, the pattern this follows", "https://github.com/storytold/craft-ai-integrations"), ]