Merge main (Tester packages) into ISSUE-26
Resolve doc and test conflicts with the v0.15.0 Tester packages by keeping both: Tester and Coordinator rows in the override guide, both communication packages in the README list, both pairs in the contract, and both roles in the communication-package test. Mark the Tester v0.15.0 rows "not yet tagged" to match the package-matrix note. Refs #26 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
3e1fa75d8c
9 files changed
+203
-13
No files matched your search
+38
-1
@@ -1,4 +1,5 @@
|
||||
import json
|
||||
import re
|
||||
import hashlib
|
||||
import shutil
|
||||
import tempfile
|
||||
@@ -24,7 +25,7 @@ class PackageTests(unittest.TestCase):
|
||||
self.assertNotIn("save a research file", text)
|
||||
|
||||
def test_communication_packages_declare_their_treatment(self):
|
||||
for role in ("planner", "implementer", "reviewer", "coordinator"):
|
||||
for role in ("planner", "implementer", "reviewer", "tester", "coordinator"):
|
||||
package = ROOT / f"packages/{role}-communication"
|
||||
result = check_package(package)
|
||||
manifest = json.loads((package / "relayview-skill.json").read_text())
|
||||
@@ -74,6 +75,42 @@ class PackageTests(unittest.TestCase):
|
||||
"Review Packet inbox", "Autopilot"):
|
||||
self.assertIn(phrase, text)
|
||||
|
||||
def test_tester_release_sidecars_and_building_inspector_method(self):
|
||||
expected = {
|
||||
"tester-inspection": (1, None, (
|
||||
"Building Inspector", "sealed candidate", "requested proof artifact",
|
||||
"Verification Proof Bundle", "exact candidate", "remaining manual Operator checks",
|
||||
"never edit product code", "mock", "verification_incomplete",
|
||||
"behavioral_tradeoff", "unique_resource_needed", "risk summary",
|
||||
)),
|
||||
"tester-communication": (3, "communication_context", (
|
||||
"observed behavior", "artifact", "defects found", "manual-check checklist",
|
||||
)),
|
||||
}
|
||||
for name, (schema, treatment, phrases) in expected.items():
|
||||
with self.subTest(name=name):
|
||||
package = ROOT / "packages" / name
|
||||
check_package(package)
|
||||
manifest = json.loads((package / "relayview-skill.json").read_text())
|
||||
self.assertEqual((manifest["role"], manifest["step"]), ("tester", "testing"))
|
||||
self.assertEqual(manifest["schemaVersion"], schema)
|
||||
self.assertEqual(manifest.get("treatment"), treatment)
|
||||
self.assertEqual(manifest["source"], {"kind": "first-party", "reference": "v0.15.0"})
|
||||
skill = (package / "SKILL.md").read_text()
|
||||
frontmatter = skill.split("---", 2)[1]
|
||||
self.assertIn("relayview-version: 0.15.0", frontmatter)
|
||||
self.assertNotIn("disable-model-invocation", frontmatter)
|
||||
text = "".join((package / item["path"]).read_text() for item in manifest["files"])
|
||||
for phrase in phrases:
|
||||
self.assertIn(phrase.lower(), text.lower())
|
||||
# Owner artifact and tool schemas stay out of prose: no JSON
|
||||
# objects or code fences, and no snake_case, camelCase, or
|
||||
# PascalCase identifiers beyond the typed escalation reasons.
|
||||
self.assertNotIn("{", text)
|
||||
self.assertNotIn("```", text)
|
||||
identifiers = set(re.findall(r"\b\w+_\w+\b|\b[a-z]+[A-Z]\w*\b|\b[A-Z][a-z]+[A-Z]\w*\b", text))
|
||||
self.assertLessEqual(identifiers, {"verification_incomplete", "behavioral_tradeoff", "unique_resource_needed"})
|
||||
|
||||
def test_automatic_review_is_only_extracted_presentation(self):
|
||||
package = ROOT / "packages/code-review-auto"
|
||||
check_package(package)
|
||||
|
||||
Reference in new issue
Block a user