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 <noreply@anthropic.com>
This commit is contained in:
JeremyandClaude Opus 5.5 committed 2026-11-04 17:14:24 +00:00
1 parent 58eb58c784
commit ffd8512e5a
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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")
+1 -1
View File
@@ -367,7 +367,7 @@ th { font-weight: 650; }
</section>
<section id="refs" aria-labelledby="refs-h">
<h2 id="refs-h">References</h2>
<ul><li><a href="design-notes.md">Design notes (package envelope, storage, trust, launcher screen)</a></li><li><a href="../craft-launcher-src/AGENTS.md">Launcher AGENTS.md (layering, golden rules)</a></li><li><a href="../photocraft-src/docs/plugins.md">PhotoCraft plug-in contract (ABI v1)</a></li><li><a href="../ai-framework-handoff/NEXT.md">AI layer handoff, the pattern this follows</a></li></ul>
<ul><li><a href="design-notes.md">Design notes (package envelope, storage, trust, launcher screen)</a></li><li><a href="https://github.com/storytold/craft-launcher/blob/main/AGENTS.md">Launcher AGENTS.md (layering, golden rules)</a></li><li><a href="https://github.com/storytold/photocraft/blob/main/docs/plugins.md">PhotoCraft plug-in contract (ABI v1)</a></li><li><a href="https://github.com/storytold/craft-ai-integrations">AI layer, the pattern this follows</a></li></ul>
</section>
</main>
<footer><p>Local plan. No commit, push, post or install is authorised by this page. Generated by build.py from plan_data.py and plan_tasks.py; do not edit index.html alone.</p></footer>
+3 -3
View File
@@ -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"),
]