Merge pull request 'Add first-party Tester inspection and communication packages (v0.15.0)' (#32) from ISSUE-23 into main
Check instruction packages / check (push) Successful in 5s

This commit was merged in pull request #32.
This commit is contained in:
anodyine committed 2026-11-25 20:00:02 -05:00
commit c461acf6ab
9 files changed
+199 -9

No files matched your search

+38 -4
View File
@@ -28,14 +28,15 @@ default and shows the saved and effective choice for each role.
| Planner | `planner` / `planning` | 1, 2, 3 | Yes | Admitted | `planner-investigation`, `planner-scope`, `planner-communication`, `research-auto` | Automatic: `codebase-design`. Manual: `grill-me`, `grilling`, `improve-codebase-architecture`, `research`, `to-questionnaire` |
| Implementer | `implementer` / `implementation` | 1, 3 | Yes | Admitted | `implementer-investigation`, `implementer-handoff`, `implementer-communication` | Automatic: `tdd-auto`, `diagnosing-bugs`, `domain-modeling`. Manual: `tdd`, `pr`, `prototype`, `migrate-to-shoehorn`, `scaffold-exercises`, `shared-abstraction-refactor`, `split-large-files`, `writing-for-agents` |
| Reviewer | `reviewer` / `review` | 1, 3 | Yes | Admitted | `reviewer-investigation`, `code-review-auto`, `reviewer-communication` | Manual: `code-review`, `c4-diff` |
| Tester | `tester` / `testing` | 1, 3 | Yes | Not yet admitted | None | None published |
| Tester | `tester` / `testing` | 1, 3 | Yes | Not yet admitted | None | Automatic: `tester-inspection`, `tester-communication`, the proposed defaults once RelayView admits the pair |
RelayView calls the Designer role the Specification Designer; the current
default package keeps its earlier ID, `issue-designer-default`. RelayView's
Tester runs today without skill assignment, and RelayView has no Technical
Coordinator role yet. This repository already validates both pairs, so a fork
can be prepared, but RelayView refuses `tester` and `coordinator` packages
until it adopts them; the
Coordinator role yet. This repository already validates both pairs and
publishes the Tester packages described in
[Tester packages](#tester-packages), so a fork can be prepared, but RelayView
refuses `tester` and `coordinator` packages until it adopts them; the
[contract](docs/authoritative/instruction-package-contract.md#relayview-adoption-of-the-tester-and-coordinator-pairs)
lists the proposed releases and the owner changes each pair needs.
@@ -91,10 +92,42 @@ whose bytes RelayView pins for that package.
| `reviewer-communication` | `reviewer` / `review` | automatic | 3 | `communication_context` | 0.13.0 | `v0.13.0` | Reviewer automatic, 3rd |
| `c4-diff` | `reviewer` / `review` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
| `code-review` | `reviewer` / `review` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
| `tester-inspection` | `tester` / `testing` | automatic | 1 | — | 0.15.0 | `v0.15.0` | No; pair not yet admitted |
| `tester-communication` | `tester` / `testing` | automatic | 3 | `communication_context` | 0.15.0 | `v0.15.0` | No; pair not yet admitted |
`tests/test_overriding.py` fails when this table disagrees with a package's
sidecar or frontmatter.
### Tester packages
The two Tester packages are the proposed automatic defaults for the Tester,
also called the Building Inspector, once RelayView admits the
`tester`/`testing` pair. Each replaces independently:
- **`tester-inspection`** carries the inspection method: boot the exact sealed
candidate and use it as a person would, capture the specification's
requested proof artifacts, record obvious UX and runtime defects, and
assemble a Verification Proof Bundle that separates verified runtime
observations from remaining manual Operator checks. It never edits product
code or substitutes a mock for a declared resource, and it escalates with a
typed reason (`verification_incomplete`, `behavioral_tradeoff`, or
`unique_resource_needed`) and a short risk summary. Fork it to change how
the Tester exercises a candidate, which defects it looks for, or when it
escalates. Keep the separation between verified observations and manual
checks: without it, a Review Packet can present an unverified claim as
proof.
- **`tester-communication`** carries the presentation of a proof summary:
observed behavior, defects found, a manual-check checklist, and any
escalation, each pointing to its artifact. Fork it to change tone, order,
or detail; keep `schemaVersion: 3` and the `communication_context`
treatment.
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
A package is model-facing text. It changes how an agent works inside its role;
@@ -115,6 +148,7 @@ admission.
| Manual methods | When a method is worth invoking | `/skill:<name>` reaches a session only if that name is in its captured assignment | Current |
| Acceptance | Nothing | Operator acceptance requires a person | Current |
| Coordination | Wave-selection and contention heuristics, Control Tower reporting tone | Dispatch authority, resource leases, nudge budgets and cooldowns | Proposed |
| Testing | How to exercise a candidate, which defects to look for, when to escalate, and how to present a proof summary | The Tester's tool and resource confinement, the exact-candidate binding of the Verification Proof Bundle and its fields, invalidation of proof from a superseded candidate, and the typed escalation record | Proposed |
| Review tiers | How to frame a risk or escalation summary | Repository trust ceiling (Layer A), the Operator's per-specification stamp (Layer B), and the one-way escalation ratchet with typed reasons (Layer C): no agent may downgrade `operator_review_required` | Proposed |
Proposed rows come from RelayView's coordinator and verification operating
+5 -2
View File
@@ -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`) 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,4 +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.
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.
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. Apart from the new Tester packages, other packages retain their existing versions. Forks can replace this presentation while retaining communication_context treatment metadata.
@@ -120,11 +120,13 @@ retained sessions.
RelayView's owner admits only `planner`, `implementer`, `reviewer`, and
`designer` packages. No released package declares `tester` or `coordinator`
yet. The planned releases below are proposed, not published:
yet. `tester-inspection` (schema 1) and `tester-communication` (schema 3)
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 |
| --- | --- | --- |
| `v0.15.0` | `tester`/`testing` | Tester inspection (schema 1) and Tester communication (schema 3) |
| `v0.15.0` | `tester`/`testing` | `tester-inspection` (schema 1) and `tester-communication` (schema 3) |
| `v0.17.0` | `coordinator`/`coordination` | Coordinator automatic and manual methods (schema 1) and Coordinator communication (schema 3) |
Before RelayView pins a release containing either pair, it must:
+22
View File
@@ -0,0 +1,22 @@
---
name: tester-communication
description: Communication style for the assigned tester; evidence-first proof summaries, proportional answers, Markdown and natural acknowledgements.
metadata:
relayview-display-name: Tester communication
relayview-version: 0.15.0
---
Lead with what you observed on the candidate, the defect you found, or the material uncertainty. Use detail proportional to the immediate question, with no fixed word, line, or token limit. Keep inspection effort independent of conversational length.
For user-facing messages, use Markdown when it makes the answer easier to read. A simple reply may be plain prose. Use concise headings, lists, tables, and inline code only when they help the content; avoid decorative structure. When a command, log excerpt, or trace needs a block, use a fenced code block with the correct language identifier if the language is known.
Keep the acknowledgement brief, clear, and professional, and vary its wording. Describe only work within your current authorization. Receipt never means completed inspection, a passed check, or approval.
Present a proof summary for the Review Packet evidence-first, in this order, and keep each item to the fact and its pointer:
1. **Observed behavior:** what you did and what the candidate visibly did, one line per flow, each pointing to the artifact that shows it.
2. **Defects found:** steps, expected and observed behavior, and the artifact pointer; say "None observed" when there are none.
3. **Manual-check checklist:** each remaining manual Operator check as a checkbox line with its steps, expected observation, and why it was not verified automatically.
4. **Escalation:** the typed reason and its one- or two-sentence risk summary, only when you escalated.
Name the exact candidate the summary covers. Write "observed" only for behavior you saw on that candidate; attribute anything else to its source. Before publishing, check that an Operator can tell from the summary alone what was verified, what was not, and what they must check themselves.
@@ -0,0 +1,16 @@
{
"schemaVersion": 3,
"source": {
"kind": "first-party",
"reference": "v0.15.0"
},
"role": "tester",
"step": "testing",
"treatment": "communication_context",
"files": [
{
"path": "SKILL.md",
"sha256": "bbe8947b610c7c82491e990a214cb9b55d6d31000a4c7dc574a3f485debc6c49"
}
]
}
+23
View File
@@ -0,0 +1,23 @@
---
name: tester-inspection
description: Inspect the sealed candidate as a real user, gather the requested proof, and report verified observations, remaining manual checks, and typed escalations.
metadata:
relayview-display-name: Tester inspection
relayview-version: 0.15.0
---
# Tester inspection
You are the Building Inspector. The Implementer built the candidate and the Planner or Reviewer checked its code; your job is to boot the sealed candidate and use it the way a person would, then report what you saw. Turn on the faucets and flush the toilets: open the screens, run the commands, and walk the flows the specification promises, rather than rereading the diff.
Work only on the exact candidate you were assigned, with the Tester's assigned tools and the resources the owner provides. You never edit product code, tests, or configuration, even to make a check pass. When something is wrong, record it as a defect with its evidence and leave the fix to the roles that own the code.
Follow the [inspection method](inspection.md) for the round:
1. Read the specification's requested proof artifacts, the verification goals the Planner derived from them, and any declared test resources.
2. Boot the candidate and exercise each core flow from a user's point of view, capturing each requested proof artifact as you go.
3. Note obvious UX and runtime defects you meet along the way, even outside the requested proof.
4. Assemble a concise Verification Proof Bundle bound to the exact candidate, separating verified runtime observations from remaining manual Operator checks.
5. Escalate with a typed reason and a short risk summary when a finding needs Operator judgment.
This step is complete when every requested proof artifact is either captured from the candidate or listed as a remaining manual Operator check with the reason it could not be captured, and every defect and escalation names its evidence.
+34
View File
@@ -0,0 +1,34 @@
# Inspection method
## Prepare
- Confirm the candidate you are about to boot is the exact candidate named in your assignment. If the running build, revision, or environment does not match, stop and report the mismatch instead of inspecting something else.
- List each requested proof artifact and verification goal as a line you will close with either a captured artifact or a remaining manual Operator check.
- Check that every declared test resource is available before relying on it. Use the real declared resource; never substitute a mock, stub, recorded response, or smaller stand-in for one and report the result as proof.
## Exercise
- 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 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
- Bind the bundle to the exact candidate you exercised. Leave out artifacts captured from any earlier candidate; if you mention one, label it historical.
- **Verified runtime observations:** each states what you did, what you observed, and the artifact that shows it.
- **Defects found:** each states the steps to reproduce, the expected and observed behavior, the severity as a user would feel it, and the artifact that shows it.
- **Remaining manual Operator checks:** each requested proof or verification goal you could not verify, with the reason (a resource was unavailable, the check needs human perception, or the environment could not reach the behavior) and exact steps and the expected observation, so an Operator can run it.
- Claim a pass only for what you observed. Incomplete automated verification is reported as remaining manual Operator checks, never as a pass, and never hidden by a mocked or skipped step.
Before submitting, check each bundle line: can an Operator open the named artifact and see the claimed behavior on this candidate? If not, move the line to the remaining manual Operator checks or remove the claim.
## Escalate with a typed reason
Escalate when a finding needs Operator judgment rather than another correction round. Use the typed reason that fits and a risk summary of one or two sentences naming what the Operator must decide and the evidence behind it:
- `verification_incomplete`: requested proof could not be captured or is ambiguous, so the candidate's behavior is not established.
- `behavioral_tradeoff`: the candidate works but behaves in a way the specification did not settle, such as degraded UX, a changed default, or a visible compromise.
- `unique_resource_needed`: complete verification depends on hardware, credentials, external services, or human perception the system cannot provide.
Escalation is a judgment you report, not a control you hold: a reason without evidence, or a vague escalation made just to be safe, wastes Operator attention. When nothing needs Operator judgment, report the bundle without an escalation.
@@ -0,0 +1,19 @@
{
"schemaVersion": 1,
"source": {
"kind": "first-party",
"reference": "v0.15.0"
},
"role": "tester",
"step": "testing",
"files": [
{
"path": "SKILL.md",
"sha256": "f229c97830f1d35905401c0c915dc68359ffcd8fb7bdf98ce5faedcbd12676a2"
},
{
"path": "inspection.md",
"sha256": "21b1ee3775247e8a5e87122bb193c92656786b4d4cd2c2d078d4b0f1116c7de0"
}
]
}
+38 -1
View File
@@ -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"):
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())
@@ -34,6 +35,42 @@ class PackageTests(unittest.TestCase):
self.assertIn("acknowledgement", text)
self.assertIn("Markdown", 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)