Address review: label the trust pyramid, add first-party assignment

Present the trust pyramid as authoring guidance rather than current RelayView
behavior, add the catalog path for first-party packages outside the pinned
defaults, correct manual-invocation wording for Designer methods, note the
communication-treatment set rejection, and drop the unresolved placeholder.
Derive role schemas from the contract table and pin the role matrix's launch
order to the package matrix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-11-25 19:37:57 -05:00
1 parent 6c74666289
commit 602b1baa4a
2 files changed
+50 -23

No files matched your search

+37 -11
View File
@@ -20,7 +20,7 @@ in launch order.
| Role | `role` / `step` | Schemas | `communication_context` | RelayView admission | Maintained automatic default (launch order) | Other first-party packages | | Role | `role` / `step` | Schemas | `communication_context` | RelayView admission | Maintained automatic default (launch order) | Other first-party packages |
| --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- |
| Specification Designer | `designer` / `design` | 1 | No (schema 3 is rejected) | Admitted | `issue-designer-default` (pinned) | Manual: `designer-wayfinder`, `designer-grilling`, `designer-research`, `designer-domain-modeling`, `designer-triage`, `designer-to-spec`, `designer-to-tickets`, `designer-prototype`; none is assigned until the Operator selects it | | Specification Designer | `designer` / `design` | 1 | No (schema 3 is rejected) | Admitted | `issue-designer-default` (pinned) | Manual: `designer-wayfinder`, `designer-grilling`, `designer-research`, `designer-domain-modeling`, `designer-triage`, `designer-to-spec`, `designer-to-tickets`, `designer-prototype`; the maintained configuration assigns none |
| Technical Coordinator | `coordinator` / `coordination` | 1, 3 | Yes | Not yet admitted | None | None published | | Technical Coordinator | `coordinator` / `coordination` | 1, 3 | Yes | Not yet admitted | None | None published |
| 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` | | 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` | | 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` |
@@ -36,9 +36,11 @@ until it adopts them; the
[contract](docs/authoritative/instruction-package-contract.md#relayview-adoption-of-the-tester-and-coordinator-pairs) [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. lists the proposed releases and the owner changes each pair needs.
Optional automatic packages such as `tdd-auto` run only when an Operator adds Other first-party packages run only when an Operator assigns them; see
them to the role's automatic assignment. Manual packages run only when an [assign other first-party guidance](#assign-other-first-party-guidance). A
Operator sends `/skill:<name>` to a session that has them assigned. manual package's text stays out of a session until an Operator invokes it: by
sending `/skill:<name>` to a session that has it assigned, or, for a Designer
method, through the owner's method-entry gate.
## Package matrix ## Package matrix
@@ -113,7 +115,8 @@ admission.
| 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 | | 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 Proposed rows come from RelayView's coordinator and verification operating
model, which RelayView documents as speculative architecture. Do not rely on model (`docs/speculative/coordinator-and-verification-operating-model.md` in
RelayView), which RelayView documents as speculative architecture. Do not rely on
an owner rule marked Proposed; until RelayView ships it, a package cannot an owner rule marked Proposed; until RelayView ships it, a package cannot
assume it. assume it.
@@ -207,6 +210,10 @@ own package and name throughout.
members: [planner-investigation, team-planner-scope, planner-communication, research-auto] members: [planner-investigation, team-planner-scope, planner-communication, research-auto]
``` ```
When a deployment's frozen communication treatment is off, RelayView
rejects a selected automatic set that contains a communication package;
leave `planner-communication` out of the set there.
- **Specification Designer:** select the imported package in the - **Specification Designer:** select the imported package in the
Specification Designer card, as the default (an automatic package) or as Specification Designer card, as the default (an automatic package) or as
an optional method (a manual package), and save. No named set or restart an optional method (a manual package), and save. No named set or restart
@@ -215,6 +222,25 @@ own package and name throughout.
New sessions for that role use the fork; existing sessions keep their New sessions for that role use the fork; existing sessions keep their
captured packages. captured packages.
### Assign other first-party guidance
RelayView pre-admits the ten maintained Planner, Implementer, and Reviewer
defaults and the nine Designer packages. Settings import accepts only
`source.kind: "user"` packages, so any other first-party package, such as
`tdd-auto` or `grill-me`, is admitted through the owner catalog instead:
1. Copy the package directory from its release, for example
`packages/tdd-auto` at tag `v0.13.0`, under `trustedSkills.root`.
2. Add it to the catalog, keyed by its ID:
```yaml
trustedSkills:
catalog:
tdd-auto: tdd-auto/SKILL.md
```
3. Add the ID to a named set and select it as in step 8 above.
## Release identity ## Release identity
A release tag pins public source. Published tags are never moved or rebuilt: a A release tag pins public source. Published tags are never moved or rebuilt: a
@@ -245,9 +271,8 @@ a fork.
## Layer-4 authoring template ## Layer-4 authoring template
RelayView follows a trust pyramid for recurring defects: correct them as low Correct a recurring defect as low in this trust pyramid as possible, and write
as possible, and write a skill only for a judgment call nothing lower can a skill only for a judgment call nothing lower can decide.
decide.
1. **Architecture and APIs** — a boundary that makes the failure impossible. 1. **Architecture and APIs** — a boundary that makes the failure impossible.
2. **Static checks and fast tests** — a lint rule with a root-cause message, a 2. **Static checks and fast tests** — a lint rule with a root-cause message, a
@@ -256,7 +281,8 @@ decide.
property test, or formal check. property test, or formal check.
4. **A role skill** — judgment that cannot be checked deterministically. 4. **A role skill** — judgment that cannot be checked deterministically.
RelayView's proposed Guardrail Proposal loop would draft layer 1–3 tasks or a RelayView's proposed Guardrail Proposal loop, described in the same
speculative operating model, uses this order. It would draft layer 1–3 tasks or a
candidate layer-4 skill when a defect escapes, and would activate a skill only candidate layer-4 skill when a defect escapes, and would activate a skill only
on explicit Operator approval. Until RelayView ships it, an Operator activates on explicit Operator approval. Until RelayView ships it, an Operator activates
a layer-4 skill through the [fork and override recipe](#fork-and-override-recipe). a layer-4 skill through the [fork and override recipe](#fork-and-override-recipe).
@@ -324,5 +350,5 @@ After writing it, confirm each item:
or owner schema, and does not restate owner-enforced rules. or owner schema, and does not restate owner-enforced rules.
- [ ] The guidance changed behavior across several runs, judged from each - [ ] The guidance changed behavior across several runs, judged from each
run's tool calls, not one successful conversation. run's tool calls, not one successful conversation.
- [ ] `python3 -m tools.packages check <directory>` passes after recalculating - [ ] `python3 -m tools.packages check team-review-judgment` (with your
the digest. directory name) passes after recalculating the digest.
+13 -12
View File
@@ -20,14 +20,7 @@ ROLE_NAMES = {
"Reviewer": "reviewer", "Reviewer": "reviewer",
"Tester": "tester", "Tester": "tester",
} }
SCHEMAS = { CONTRACT = ROOT / "docs/authoritative/instruction-package-contract.md"
"planner": "1, 2, 3",
"implementer": "1, 3",
"reviewer": "1, 3",
"designer": "1",
"tester": "1, 3",
"coordinator": "1, 3",
}
def section(text, heading): def section(text, heading):
@@ -45,7 +38,7 @@ def section(text, heading):
if body is not None: if body is not None:
body.append(line) body.append(line)
if body is None: if body is None:
raise AssertionError(f"OVERRIDING.md has no '## {heading}' section") raise AssertionError(f"no '## {heading}' section")
return "".join(body) return "".join(body)
@@ -86,8 +79,7 @@ class OverrideGuideTests(unittest.TestCase):
self.text = GUIDE.read_text() self.text = GUIDE.read_text()
def test_readme_points_operators_to_the_guide(self): def test_readme_points_operators_to_the_guide(self):
readme = (ROOT / "README.md").read_text() self.assertIn("(OVERRIDING.md)", (ROOT / "README.md").read_text())
self.assertTrue("(OVERRIDING.md)" in readme, "README.md does not link OVERRIDING.md")
def test_package_matrix_matches_every_package_sidecar(self): def test_package_matrix_matches_every_package_sidecar(self):
rows = table_rows(section(self.text, "Package matrix")) rows = table_rows(section(self.text, "Package matrix"))
@@ -112,12 +104,21 @@ class OverrideGuideTests(unittest.TestCase):
def test_role_matrix_covers_all_six_roles(self): def test_role_matrix_covers_all_six_roles(self):
rows = table_rows(section(self.text, "Role matrix")) rows = table_rows(section(self.text, "Role matrix"))
schemas = {codes(row[0])[0]: row[2] for row in table_rows(section(CONTRACT.read_text(), "Role and step"))}
slots = {}
for row in table_rows(section(self.text, "Package matrix")):
slot = re.fullmatch(r"(\w+) automatic, (\d)\w\w", row[7])
if slot:
slots.setdefault(slot.group(1).lower(), []).append((slot.group(2), codes(row[0])[0]))
elif row[7] == "Pinned Designer default":
slots.setdefault("designer", []).append(("1", codes(row[0])[0]))
seen = {} seen = {}
for row in rows: for row in rows:
role = ROLE_NAMES[row[0]] role = ROLE_NAMES[row[0]]
seen[role] = row seen[role] = row
self.assertEqual(codes(row[1]), [role, ROLE_STEPS[role]]) self.assertEqual(codes(row[1]), [role, ROLE_STEPS[role]])
self.assertEqual(row[2], SCHEMAS[role]) self.assertEqual(row[2], schemas[role])
self.assertEqual(codes(row[5]), [name for _, name in sorted(slots.get(role, []))])
self.assertEqual(row[3].split(" ")[0], "No" if role == "designer" else "Yes") self.assertEqual(row[3].split(" ")[0], "No" if role == "designer" else "Yes")
for name in codes(row[5]): for name in codes(row[5]):
with self.subTest(role=role, default=name): with self.subTest(role=role, default=name):