Prepare Remote 0.1.0 test release and retain SSH-signed publishing

This commit is contained in:
Storm Dragon committed 2026-11-06 19:15:59 -05:00
1 parent d7da6548e1
commit 346ec77c75
8 files changed
+450 -29

No files matched your search

+9 -4
View File
@@ -31,8 +31,8 @@ def check_metadata(repoRoot):
"Unsupported metadata format")
require(repository["id"] == "storm.cthulhu-tentacles" and repository["name"],
"Repository identity is missing")
require([item["id"] for item in catalog["tentacles"]] == ["hello-world", "wormhole", "battery-status"],
"Catalog must list Hello World, Wormhole, and Battery Status")
require([item["id"] for item in catalog["tentacles"]] == ["hello-world", "wormhole", "battery-status", "remote"],
"Catalog must list Hello World, Wormhole, Battery Status, and Remote")
for item in catalog["tentacles"]:
name = item["id"]
require(item["manifest"] == f"{name}/tentacle.toml", "Manifest path must match ID")
@@ -40,10 +40,15 @@ def check_metadata(repoRoot):
require(manifest["format-version"] == 1 and manifest["id"] == name
and manifest["name"] and manifest["version"] == ("0.1.2" if name == "wormhole" else "0.1.0"), "Invalid Tentacle metadata")
expectedGrants = ["presentation"] + (["interaction"] if name in ("wormhole", "battery-status") else [])
if name == "remote":
expectedGrants = ["presentation", "interaction", "output-observe", "remote-present", "keyboard-capture",
"keyboard-inject", "braille-stream", "clipboard-exchange"]
expectedApis = (["commands", "session-events", "presentation", "interaction", "remote-access"]
if name == "remote" else ["commands"] + expectedGrants)
expectedProgram = "wormhole-tentacle" if name == "wormhole" else name
require(manifest["entry-point"] == [f"bin/{expectedProgram}"]
and manifest["capabilities"] == expectedGrants
and manifest["apis"] == ["commands"] + expectedGrants,
and manifest["apis"] == expectedApis,
"Unexpected launch or grants")
require((repoRoot / "LICENSE").is_file() and (repoRoot / name / "LICENSE").is_file()
and (repoRoot / name / "README.md").is_file(), "License and help are required")
@@ -156,7 +161,7 @@ def check_host(repoRoot, programPath, name):
def check_remote_manifest(repoRoot, readerRoot):
"""Remote is not in the catalog until a release is published and verified."""
"""Check Remote's protocol and grants against the matching reader SDK."""
manifest = read_toml(repoRoot / "remote/tentacle.toml")
require(manifest["format-version"] == 1 and manifest["id"] == "remote" and manifest["name"] == "Remote"
and manifest["runtime"] == "native" and manifest["platforms"] == ["linux"]