Address review: interface-neutral probing, owner record wording, test cleanup
Name screen, command, and service neighbors in the inspection method; say the packages leave the owner's bundle and escalation record format to the owner; fold the tester communication checks into the shared communication test and widen the identifier guard; label the unpublished v0.15.0 release in the README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e20d668e3f
commit
d1b1b3c0c8
6 files changed
+20
-19
No files matched your search
@@ -25,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"):
|
||||
for role in ("planner", "implementer", "reviewer", "tester"):
|
||||
package = ROOT / f"packages/{role}-communication"
|
||||
result = check_package(package)
|
||||
manifest = json.loads((package / "relayview-skill.json").read_text())
|
||||
@@ -35,7 +35,7 @@ class PackageTests(unittest.TestCase):
|
||||
self.assertIn("acknowledgement", text)
|
||||
self.assertIn("Markdown", text)
|
||||
|
||||
def test_tester_packages_teach_the_building_inspector_method(self):
|
||||
def test_tester_release_sidecars_and_building_inspector_method(self):
|
||||
expected = {
|
||||
"tester-inspection": (1, None, (
|
||||
"Building Inspector", "sealed candidate", "requested proof artifact",
|
||||
@@ -45,7 +45,6 @@ class PackageTests(unittest.TestCase):
|
||||
)),
|
||||
"tester-communication": (3, "communication_context", (
|
||||
"observed behavior", "artifact", "defects found", "manual-check checklist",
|
||||
"proportional", "acknowledgement", "Markdown",
|
||||
)),
|
||||
}
|
||||
for name, (schema, treatment, phrases) in expected.items():
|
||||
@@ -64,12 +63,12 @@ class PackageTests(unittest.TestCase):
|
||||
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, no
|
||||
# field or tool identifiers beyond the typed escalation reasons.
|
||||
body = text.replace(frontmatter, "")
|
||||
self.assertNotIn("{", body)
|
||||
self.assertNotIn("```", body)
|
||||
identifiers = set(re.findall(r"\b[a-z]+(?:_[a-z]+)+\b|\b[a-z]+[A-Z]\w*\b", body))
|
||||
# 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):
|
||||
|
||||
Reference in new issue
Block a user