Skip to content

Open-source skills for designing and reviewing software with AI agents

Keep runtime guide selection explicit across host additions

n3wth431c4c97c015
diff --git a/docs/directory.md b/docs/directory.md
index ecc74db..1066a15 100644
--- a/docs/directory.md
+++ b/docs/directory.md
@@ -20,6 +20,8 @@ Symlinked runtime paths and escaping manifest references are rejected.
Contributor instructions, the AI policy, and the Markdown PR template are
excluded. Runtime documentation links to their repository copies.
No workflow configuration ships.
+The runtime guide list is explicit. New host guides do not enter these archives
+until their package requirements are reviewed.
For Anthropic, the generated runtime is checked in at `distributions/claude`.
Submit that subfolder through the directory portal. After source changes,
diff --git a/scripts/pack_plugin.py b/scripts/pack_plugin.py
index 68d90a5..a01c370 100644
--- a/scripts/pack_plugin.py
+++ b/scripts/pack_plugin.py
@@ -13,7 +13,9 @@ SHARED = (
"skills/*/SKILL.md", "skills/*/agents/openai.yaml",
"skills/*/assets/*.svg", "skills/*/assets/*.png", "skills/*/references/*.md",
"skills/*/references/*.json", "agents/*.md", "resources/*.md",
- "resources/document_standards/*.md", "docs/*.md",
+ "resources/document_standards/*.md", "docs/index.md", "docs/getting_started.md",
+ "docs/harnesses.md", "docs/claude.md", "docs/codex.md", "docs/faq.md",
+ "docs/privacy.md",
"assets/*.svg", "assets/*.png", "docs/assets/*.svg", "docs/assets/*.png",
)
HOST = {
@@ -41,7 +43,7 @@ def build(root: Path, target: str, output: Path) -> tuple[Path, Path]:
raise ValueError(f"Symlink in runtime path: {relative}")
if not path.resolve().is_relative_to(root):
raise ValueError(f"Path outside source: {relative}")
- if path.is_file() and relative.as_posix() != "docs/directory.md":
+ if path.is_file():
files.add(relative)
for name in ("plugin.json", "LICENSE", "README.md",
HOST[target][0]):
diff --git a/tests/unit/test_packaging.py b/tests/unit/test_packaging.py
index 6d8c8db..bd2f296 100644
--- a/tests/unit/test_packaging.py
+++ b/tests/unit/test_packaging.py
@@ -39,7 +39,8 @@ def test_runtime_bundle_is_complete_and_reproducible(
) -> None:
for name in ("site/font.woff2", "tests/secret.txt", ".github/workflows/a.yml",
".agents/plugins/marketplace.json", "hooks/run.sh",
- ".claude-plugin/hooks/run.sh", "assets/private.txt"):
+ ".claude-plugin/hooks/run.sh", "assets/private.txt",
+ "docs/experimental-host.md"):
file = source / name
file.parent.mkdir(parents=True, exist_ok=True)
file.write_text("must not ship")
@@ -76,6 +77,8 @@ def test_runtime_bundle_is_complete_and_reproducible(
or p.endswith("/TEST.md") or p.endswith("marketplace.json")
for p in names)
assert "assets/private.txt" not in names
+ assert "docs/experimental-host.md" not in names
+ assert "docs/directory.md" not in names
assert (".claude-plugin/plugin.json" in names) == (target == "claude")
assert (".claude-plugin/icon.png" in names) == (target == "claude")
assert (".claude-plugin/agents/style.md" in names) == (target == "claude")