From d1b1b3c0c8472814884c84f9555faa1d0e705a8f Mon Sep 17 00:00:00 2001 From: Kyle Merritt Date: Wed, 25 Nov 2026 19:55:19 -0500 Subject: [PATCH] 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 --- OVERRIDING.md | 9 +++++---- README.md | 7 ++++--- .../instruction-package-contract.md | 2 +- packages/tester-inspection/inspection.md | 2 +- packages/tester-inspection/relayview-skill.json | 2 +- tests/test_packages.py | 17 ++++++++--------- 6 files changed, 20 insertions(+), 19 deletions(-) diff --git a/OVERRIDING.md b/OVERRIDING.md index e957ec0..1890684 100644 --- a/OVERRIDING.md +++ b/OVERRIDING.md @@ -122,10 +122,11 @@ also called the Building Inspector, once RelayView admits the or detail; keep `schemaVersion: 3` and the `communication_context` treatment. -Neither package defines the bundle's fields, its binding to the candidate, the -escalation record, or which tools and resources the Tester may use; RelayView's -owner would supply those, and the packages describe only the judgment and -presentation inside them. +Neither package defines the owner's record format for the bundle or an +escalation, how a bundle is bound to its candidate, or which tools and +resources the Tester may use; RelayView's owner would supply those. The +packages describe only what the Tester observes, writes, and presents within +them. ## What a skill controls and what the owner enforces diff --git a/README.md b/README.md index e9cb41b..30aabfc 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,8 @@ The MIT license covers this repository only. The contribution policy is in [CONT The automatic `code-review-auto` package supplies optional bounded, path-aware finding presentation. Broader two-axis standards/spec inspection remains in the manual `code-review` package. Both use only the assigned Reviewer capabilities; required adequacy, disposition and recovery stay with the owner. Automatic role communication packages (`planner-communication`, -`implementer-communication`, `reviewer-communication`, `tester-communication`) use schema 3 with +`implementer-communication`, `reviewer-communication`, +`tester-communication`) use schema 3 with `treatment: "communication_context"`. This metadata declares their ablation boundary; it grants no tools or authority. Preserve the declaration in forks. RelayView rejects these packages in a named automatic set when the frozen @@ -71,6 +72,6 @@ answer/detail/example/acknowledgement presentation only. The automatic `research-auto` Planner package supplies primary-source selection, preferred-domain exploration/refinement and evidence-reading methodology, publication/version checking, corroboration and already-admitted empirical evidence methods. The manual `research` package remains available on request. Tool arguments, budgets, continuation, recovery and untrusted research provenance belong to the owner. -The automatic Tester packages `tester-inspection` and `tester-communication` (v0.15.0) teach the Building Inspector method: exercise the exact sealed candidate as a user, capture the requested proof, separate verified runtime observations from remaining manual Operator checks, and escalate with a typed reason. They are the proposed Tester defaults; RelayView admits them only after it adopts the `tester`/`testing` pair. See [Tester packages](OVERRIDING.md#tester-packages). +The automatic Tester packages `tester-inspection` and `tester-communication`, versioned 0.15.0 for the not-yet-tagged `v0.15.0` release, teach the Building Inspector method: exercise the exact sealed candidate as a user, capture the requested proof, separate verified runtime observations from remaining manual Operator checks, and escalate with a typed reason. They are the proposed Tester defaults; RelayView admits them only after it adopts the `tester`/`testing` pair. See [Tester packages](OVERRIDING.md#tester-packages). -Planner direct-address presentation is supplied by planner-communication v0.14.0. Other packages retain their existing versions. Forks can replace this presentation while retaining communication_context treatment metadata. +Planner direct-address presentation is supplied by planner-communication v0.14.0. Apart from the new Tester packages, other packages retain their existing versions. Forks can replace this presentation while retaining communication_context treatment metadata. diff --git a/docs/authoritative/instruction-package-contract.md b/docs/authoritative/instruction-package-contract.md index bfb3c8d..dd460d1 100644 --- a/docs/authoritative/instruction-package-contract.md +++ b/docs/authoritative/instruction-package-contract.md @@ -121,7 +121,7 @@ retained sessions. RelayView's owner admits only `planner`, `implementer`, `reviewer`, and `designer` packages. No released package declares `tester` or `coordinator` yet. `tester-inspection` (schema 1) and `tester-communication` (schema 3) -declare `tester`/`testing` on `main` with source reference `v0.15.0`; that tag +declare `tester`/`testing` in this repository with source reference `v0.15.0`; that tag is not yet published. The planned releases below are proposed, not published: | Proposed release | New pair | Planned packages | diff --git a/packages/tester-inspection/inspection.md b/packages/tester-inspection/inspection.md index f011626..e952127 100644 --- a/packages/tester-inspection/inspection.md +++ b/packages/tester-inspection/inspection.md @@ -10,7 +10,7 @@ - Start from what a user sees first and follow each core flow to its visible outcome: a page renders, a command prints its result, a request returns the promised response, a state change persists after reload. - Capture each requested artifact while you observe the behavior it shows: a screenshot or recording of the screen, the command and its output, the request and response trace, the relevant log lines. Note which flow and step produced each one. -- Try the obvious neighbors of each flow: an empty input, a repeated action, a reload, the back button, a narrow window. Record clear UX or runtime defects such as errors, broken layout, dead controls, unreadable text, hangs, and console or server errors, with the artifact that shows them. +- Try the obvious neighbors of each flow on the interface the candidate offers. For a screen: an empty input, a repeated action, a reload, the back button, a narrow window. For a command: a missing or invalid argument and a second run. For a service: a malformed or repeated request. Record clear UX or runtime defects such as errors, broken layout, dead controls, unreadable text, hangs, and console or server errors, with the artifact that shows them. - Judge the result by what you observed. A test suite passing, a log line claiming success, or code that looks correct is not a runtime observation. ## Assemble the Verification Proof Bundle diff --git a/packages/tester-inspection/relayview-skill.json b/packages/tester-inspection/relayview-skill.json index 4c5ee15..64db2bf 100644 --- a/packages/tester-inspection/relayview-skill.json +++ b/packages/tester-inspection/relayview-skill.json @@ -13,7 +13,7 @@ }, { "path": "inspection.md", - "sha256": "ddd058669225f007201adbb17208dc85e8ff128ce2806bbaab1fc7375fd19071" + "sha256": "21b1ee3775247e8a5e87122bb193c92656786b4d4cd2c2d078d4b0f1116c7de0" } ] } diff --git a/tests/test_packages.py b/tests/test_packages.py index 7765f47..ee1c7cd 100644 --- a/tests/test_packages.py +++ b/tests/test_packages.py @@ -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):