Install every plugin settings.json enables, and prove the bench's private files stay off the remote

This commit is contained in:
2026-10-03 00:13:51 +02:00
parent a60cefd283
commit 835ffe422c
6 changed files with 40 additions and 11 deletions
+4
View File
@@ -25,6 +25,10 @@ PRIVATE = [
"sessions/a.json",
"shell-snapshots/a.sh",
"tasks/a/b.json",
"workflow-bench/a-1-1.md",
"workflow-bench/a-1-1/README.md",
"workflow-bench/judge/a/1/fixes.diff",
"workflow-bench/logs/a.jsonl",
]
+15
View File
@@ -0,0 +1,15 @@
import json
import unittest
from test_python_floor import ROOT
class Install(unittest.TestCase):
def test_the_readme_installs_every_enabled_plugin_from_a_declared_marketplace(self):
settings = json.loads((ROOT / "settings.json").read_text(encoding="utf-8"))
readme = (ROOT / "README.md").read_text(encoding="utf-8")
for plugin, enabled in settings["enabledPlugins"].items():
if enabled:
self.assertIn(f"claude plugin install {plugin}\n", readme)
marketplace = settings["extraKnownMarketplaces"][plugin.split("@")[1]]["source"]["repo"]
self.assertIn(f"claude plugin marketplace add {marketplace}\n", readme)