coordinator-release-verify writes "Not run" under every section after the Run Summary whenever nothing launched, and says why. A match with an open issue or Review Packet is named in the draft for the Operator rather than written to the issue, matching "change no issue"; matching drafts merge. The default scope starts from changed entries. OVERRIDING, README, and the release notes say the updated packages keep their earlier checks and report a missing Feature Map, list every no-launch case, and give the Tester's digest step. Long added lines in OVERRIDING and the notes are rewrapped. Refs #29 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
651 lines
41 KiB
Markdown
651 lines
41 KiB
Markdown
# Overriding RelayView role skills
|
||
|
||
RelayView's maintained deployment gives each agent role that takes skills
|
||
first-party packages from this repository as its default instructions. This guide shows which package each role runs, what
|
||
a replacement package can change, what RelayView's owner enforces regardless of
|
||
any package, and how to publish a fork that the owner admits.
|
||
|
||
RelayView's own documentation and admission checks stay authoritative. This
|
||
guide describes the owner behavior that RelayView documents as current, and
|
||
labels planned behavior as proposed. The
|
||
[instruction package contract](docs/authoritative/instruction-package-contract.md)
|
||
gives every file, sidecar, and frontmatter rule the local checks enforce.
|
||
|
||
## Role matrix
|
||
|
||
A package declares one `role` and its one `step`. Schema 3 packages carry
|
||
`treatment: "communication_context"`; schema 2 is the Planner's issue-claim
|
||
schema. RelayView's maintained deployment assigns the automatic defaults below,
|
||
in launch order. A deployment sets its own Planner and Implementer defaults in
|
||
`workflowPresets.rolePolicies.<role>.skills` and its Reviewer defaults in
|
||
`workflowPresets.reviewerSkills`; Settings → Skills calls these the Configured
|
||
default and shows the saved and effective choice for each role.
|
||
|
||
| 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) | Default from release v0.15.0, not yet pinned: `specification-designer-default`. 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 | Automatic, in source for the proposed v0.17.0 release: `coordinator-dispatch`, `coordinator-recovery`, `coordinator-communication`. Manual, in source for the same release: `coordinator-wave-audit`, `coordinator-tracker-hygiene`. Manual, in source for the proposed v0.18.0 release: `coordinator-release-verify` |
|
||
| 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 | Automatic: `tester-inspection`, `tester-communication`, the proposed defaults once RelayView admits the pair |
|
||
|
||
RelayView calls the Designer role the Specification Designer. From
|
||
`v0.15.0`, `specification-designer-default` replaces `issue-designer-default`
|
||
as this repository's Designer default. The replacement adds guidance on
|
||
requested proof artifacts, fast-test completeness, declared test resources,
|
||
and the recommended review stamp, and the eight methods carry the same
|
||
guidance where they touch those decisions. RelayView still pins
|
||
`issue-designer-default` and assigns it until it pins `v0.15.0`, which needs
|
||
the owner changes the
|
||
[contract](docs/authoritative/instruction-package-contract.md#relayview-adoption-of-the-specification-designer-default)
|
||
lists. `issue-designer-default` stays unchanged at `v0.13.0` so retained
|
||
sessions reconstruct their captured bytes.
|
||
|
||
RelayView's Tester runs today without skill assignment, and RelayView has no
|
||
Technical 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
|
||
Coordinator packages are in source for the proposed `v0.17.0` release, with
|
||
the manual `coordinator-release-verify` added for the proposed `v0.18.0`
|
||
release, and become RelayView defaults only when RelayView adopts the role and
|
||
pins those releases; 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.
|
||
|
||
Other first-party packages run only when an Operator assigns them; see
|
||
[assign other first-party guidance](#assign-other-first-party-guidance). A
|
||
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
|
||
|
||
Mode comes from the `SKILL.md` frontmatter: `disable-model-invocation: true`
|
||
makes a package manual. Release is the sidecar's `source.reference`, the tag
|
||
whose bytes RelayView pins for that package. A release marked *not yet tagged*
|
||
is the planned tag; until it is published, the package exists only on `main`
|
||
and no RelayView bundle contains it.
|
||
|
||
| Package | Role / step | Mode | Schema | Sidecar extra | Version | Release | RelayView maintained default |
|
||
| --- | --- | --- | --- | --- | --- | --- | --- |
|
||
| `specification-designer-default` | `designer` / `design` | automatic | 1 | — | 0.15.0 | `v0.15.0` | Proposed Designer default |
|
||
| `issue-designer-default` | `designer` / `design` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Pinned Designer default; replaced by `specification-designer-default` once RelayView pins `v0.15.0` |
|
||
| `designer-domain-modeling` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `designer-grilling` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `designer-prototype` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `designer-research` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `designer-to-spec` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `designer-to-tickets` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `designer-triage` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `designer-wayfinder` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No |
|
||
| `coordinator-dispatch` | `coordinator` / `coordination` | automatic | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted |
|
||
| `coordinator-recovery` | `coordinator` / `coordination` | automatic | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted |
|
||
| `coordinator-communication` | `coordinator` / `coordination` | automatic | 3 | `communication_context` | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted |
|
||
| `coordinator-wave-audit` | `coordinator` / `coordination` | manual | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted |
|
||
| `coordinator-tracker-hygiene` | `coordinator` / `coordination` | manual | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted |
|
||
| `coordinator-release-verify` | `coordinator` / `coordination` | manual | 1 | — | 0.18.0 | `v0.18.0`, not yet tagged | No; role not yet admitted |
|
||
| `planner-investigation` | `planner` / `planning` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Planner automatic, 1st |
|
||
| `planner-scope` | `planner` / `planning` | automatic | 2 | `issueClaim: status/in-progress` | 0.16.0 | `v0.16.0`, not yet tagged | Planner automatic, 2nd |
|
||
| `planner-communication` | `planner` / `planning` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0`, not yet tagged | Planner automatic, 3rd |
|
||
| `research-auto` | `planner` / `planning` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Planner automatic, 4th |
|
||
| `codebase-design` | `planner` / `planning` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `grill-me` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `grilling` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `improve-codebase-architecture` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `research` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `to-questionnaire` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `implementer-investigation` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Implementer automatic, 1st |
|
||
| `implementer-handoff` | `implementer` / `implementation` | automatic | 1 | — | 0.18.0 | `v0.18.0`, not yet tagged | Implementer automatic, 2nd |
|
||
| `implementer-communication` | `implementer` / `implementation` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0`, not yet tagged | Implementer automatic, 3rd |
|
||
| `diagnosing-bugs` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `domain-modeling` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `tdd-auto` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `migrate-to-shoehorn` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `pr` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `prototype` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `scaffold-exercises` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `shared-abstraction-refactor` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `split-large-files` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `tdd` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `writing-for-agents` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `reviewer-investigation` | `reviewer` / `review` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Reviewer automatic, 1st |
|
||
| `code-review-auto` | `reviewer` / `review` | automatic | 1 | — | 0.16.0 | `v0.16.0`, not yet tagged | Reviewer automatic, 2nd |
|
||
| `reviewer-communication` | `reviewer` / `review` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0`, not yet tagged | Reviewer automatic, 3rd |
|
||
| `c4-diff` | `reviewer` / `review` | manual | 1 | — | 0.13.0 | `v0.13.0` | No |
|
||
| `code-review` | `reviewer` / `review` | manual | 1 | — | 0.16.0 | `v0.16.0`, not yet tagged | No |
|
||
| `tester-inspection` | `tester` / `testing` | automatic | 1 | — | 0.18.0 | `v0.18.0`, not yet tagged | 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.
|
||
|
||
From `v0.18.0`, `tester-inspection` also drives each flow through the
|
||
repository's Feature Map and Verification Driver and reports Feature Map
|
||
coverage in the bundle; see
|
||
[Feature Map verification packages](#feature-map-verification-packages).
|
||
|
||
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.
|
||
|
||
### Planner and Reviewer escalation and guardrail packages
|
||
|
||
From `v0.16.0`, the Planner and Reviewer defaults carry the operating model's
|
||
proof translation, typed escalation, and Guardrail Proposal guidance. Until
|
||
RelayView pins `v0.16.0`, it uses the earlier releases of these packages. The
|
||
[release notes](RELEASE-NOTES.md) summarize each package's change, before and after.
|
||
Each package forks independently:
|
||
|
||
- **`planner-scope`** translates the Specification Designer's requested proof
|
||
artifacts, fast-test completeness, and declared test resources into
|
||
Implementer fast checks and Building Inspector verification goals in Plan v1
|
||
(`scope.md`). Its `escalation.md` handles an Implementer
|
||
`needs_operator_decision` or `scope_exceeded` flag once the Implementer
|
||
reports one: it resolves the flag when the answer is strictly inside the
|
||
approved specification and promotes it otherwise. It also
|
||
escalates directly with one typed reason (`boundary_crossed`,
|
||
`spec_ambiguity`, `verification_incomplete`, `behavioral_tradeoff`, or
|
||
`convergence_exceeded`) and a short risk summary. Fork `scope.md` to change
|
||
the Plan's shape or translation rules and `escalation.md` to change when the
|
||
Planner resolves or escalates. Keep `schemaVersion: 2` and the `issueClaim`
|
||
object if the fork should keep the owner's issue claim.
|
||
- **`code-review-auto`** and **`code-review`** carry the same "Propose a
|
||
guardrail" and "Escalate" sections. When a repeatable defect class escapes
|
||
the Implementer, the Reviewer proposes the lowest viable rung of the trust
|
||
pyramid in the [layer-4 authoring template](#layer-4-authoring-template):
|
||
an architecture or API boundary, then a static check or lint rule with a
|
||
root-cause message or a fast regression test, then a verification harness
|
||
such as a Feature Map update, and a candidate prose skill only as the last
|
||
resort. Fork these sections to change when a guardrail is worth proposing or
|
||
which rung to prefer. A fork that drops the ladder order recommends prose
|
||
rules where a deterministic check would hold.
|
||
- **`planner-communication`** and **`reviewer-communication`** present an
|
||
escalation as its typed reason and risk summary first, and a Review Packet's
|
||
findings and Guardrail Proposals after it. Fork them to change tone or
|
||
order; keep `schemaVersion: 3` and the `communication_context` treatment.
|
||
|
||
No package defines the owner's escalation record, the Guardrail Proposal card,
|
||
or how a guardrail task is queued; RelayView's owner would supply those. Where
|
||
the owner assigns no escalation interface, the packages put the reason and
|
||
risk summary in the Plan or review result instead.
|
||
|
||
### Implementer inner-loop and flag packages
|
||
|
||
From `v0.16.0`, the Implementer defaults carry the operating model's tight
|
||
inner loop and indirect escalation; `implementer-handoff` adds Feature Map
|
||
checks in `v0.18.0`, described under
|
||
[Feature Map verification packages](#feature-map-verification-packages).
|
||
Until RelayView pins `v0.16.0`, it uses the `v0.13.0` releases of these
|
||
packages. The
|
||
[release notes](RELEASE-NOTES.md) summarize each package's change, before and
|
||
after. Each package forks independently:
|
||
|
||
- **`implementer-handoff`** runs the Plan's Implementer fast checks (types,
|
||
lint, static analysis, unit and integration tests: seconds, not minutes)
|
||
after each change and resolves Planner feedback before sealing a candidate
|
||
for review and the Building Inspector. On genuine specification ambiguity,
|
||
an unexpected sensitive boundary, a visible tradeoff the specification does
|
||
not settle, or scope creep, it raises a
|
||
`needs_operator_decision` or `scope_exceeded` flag to the Planner instead of
|
||
paging the Operator or improvising, and it never escalates with a typed
|
||
reason itself; `planner-scope` settles or promotes the flag. Its handoff
|
||
report adds declared test-resource readiness and known gaps. Fork
|
||
`handoff.md` to change the inner loop, when to flag, or the report's
|
||
content; fork `SKILL.md` to change the method's outline.
|
||
- **`implementer-communication`** leads a candidate handoff with its
|
||
readiness, fast-check results, and known gaps, and frames a flag as a
|
||
question for the Planner with its options and evidence. Fork it to change
|
||
tone or order; keep `schemaVersion: 3` and the `communication_context`
|
||
treatment.
|
||
|
||
No package defines the owner's flag record, its routing to the Planner, or how
|
||
a candidate is sealed; RelayView's owner would supply those. Where the owner
|
||
assigns no flag interface, `implementer-handoff` puts the flag at the top of
|
||
its message to the Planner and lists open flags in the handoff.
|
||
|
||
### Feature Map verification packages
|
||
|
||
From `v0.18.0`, the Implementer, Tester, and Technical Coordinator use a
|
||
repository's Feature Map, its versioned list of user-facing capabilities with
|
||
their entrypoints, owning paths, and checks, and its reusable Verification
|
||
Driver instead of writing throwaway verification scripts for each task.
|
||
RelayView pins neither `v0.16.0` nor `v0.18.0` yet, so its Implementer runs the
|
||
`v0.13.0` `implementer-handoff`, and it admits no Tester or Coordinator
|
||
package. The [release notes](RELEASE-NOTES.md) summarize each package's
|
||
change, before and after. Each package forks independently. When a repository
|
||
has no Feature Map, the two updated packages keep their earlier checks and
|
||
say that the repository has none, and `coordinator-release-verify` verifies
|
||
only the flows the Operator names:
|
||
|
||
- **`implementer-handoff`** notes the Feature Map entries that own each
|
||
modified path, using the owner's mapping when it reports one, runs the
|
||
mapped fast checks in the inner loop after each change, and runs the
|
||
Verification Driver checks that the Plan or an entry assigns to the
|
||
Implementer once the fast checks pass and again on the exact candidate
|
||
before sealing. Its handoff reports Feature Map coverage: the mapped checks
|
||
run and their results, checks not run and why, and unmapped modified paths.
|
||
It changes the Feature Map only when the Plan includes that change. Fork
|
||
`handoff.md` to change which checks run, when, or how coverage is reported.
|
||
- **`tester-inspection`** finds the Feature Map entries that cover the
|
||
candidate's changes and verification goals, drives each flow from its
|
||
entrypoint with the Verification Driver, and captures multimodal proof as it
|
||
goes, running every check itself on the sealed candidate. Its Verification
|
||
Proof Bundle adds Feature Map coverage: each touched entry exercised or not
|
||
exercised, and each Feature Map gap, beside the remaining manual Operator
|
||
checks. It never edits the Feature Map or the driver. Fork `inspection.md`
|
||
to change how the Tester reaches flows or reports coverage.
|
||
- **`coordinator-release-verify`** is a manual method the Operator invokes
|
||
with `/skill:coordinator-release-verify`, usually after a release or a
|
||
merged wave. It plans a bounded outer-loop release or exploratory run across
|
||
the Feature Map at one exact revision and launches it through the owner's
|
||
release verification command, but only with that revision, a Feature Map or
|
||
flows the Operator named, and a budget the Operator gave or approved. It
|
||
reproduces each failure and returns repro-backed candidate bug drafts for
|
||
the Specification Designer and the Operator to triage. It files and changes
|
||
no issue and touches no branch. Fork its `SKILL.md` to change which entries
|
||
a run covers first, which exploratory variations it tries, or the candidate
|
||
bug draft's fields; keep schema 1 and `disable-model-invocation: true`.
|
||
|
||
No package defines the Feature Map's schema, the Verification Driver's
|
||
invocation, how coverage is recorded on a candidate report or proof bundle, or
|
||
how a release run is isolated and bounded; RelayView's owner would supply
|
||
those. Where the owner assigns no release verification command,
|
||
`coordinator-release-verify` returns its run plan for the Operator and
|
||
launches nothing.
|
||
|
||
## What a skill controls and what the owner enforces
|
||
|
||
A package is model-facing text. It changes how an agent works inside its role;
|
||
it never changes what the role may do. A package that requests tools,
|
||
permissions, network access, or scripts fails both the local check and owner
|
||
admission.
|
||
|
||
| Concern | A skill can customize | RelayView's owner enforces regardless of skill prose | Owner rule status |
|
||
| --- | --- | --- | --- |
|
||
| Tools, network, credentials | Which assigned tools to reach for, and in what order | Each role's tool allowlist, network policy, filesystem confinement, and credentials come from its owner capability profile | Current |
|
||
| Which instructions load | Its own text and declared resources | Ambient skill discovery is off; only admitted packages are captured, and their bytes and package identity are verified before every launch | Current |
|
||
| Specification work | Interview style, question order, method entry, draft shape | Publication, the method-entry gate, and Operator acceptance of a specification | Current |
|
||
| Planning and investigation | Investigation methods, scope analysis, research method, Plan presentation | Plan authority, finalization schemas, validation-manifest adoption, research budgets and tool contracts | Current |
|
||
| Issue claim | Nothing in prose | The schema-2 `issueClaim` sidecar value selects the claim; the owner validates and performs the Gitea change after proved implementation handoff | Current |
|
||
| Implementation handoff | Change focus, fast-check iteration, clarification cadence, documentation-writing technique | Report fields, documentation disposition, evidence submission, clean committed candidates, stop rules | Current |
|
||
| Review | Finding presentation and inspection techniques | Exact-candidate scope, dispositions, correction routing, review and merge gates | Current |
|
||
| Communication | Tone, detail, examples, acknowledgements | Publication identity and order, mandatory status, complete durable artifacts; communication packages load only when the frozen `communication_context` treatment is on | Current |
|
||
| 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 aggressiveness, contention heuristics, resource batching, when to escalate, when and how to nudge a stalled task, when to park it, reorientation after a context refresh, what goes in the Working Ledger, Control Tower reporting tone, on-request wave audit and tracker proposals | Ready state and prerequisites, dispatch through owner commands, the Operator's Autopilot toggle, resource leases, review policy, nudge budgets and cooldowns, task state and the Working Ledger's persistence, tracker changes, which the Coordinator only proposes and the Operator applies | 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, when the Planner resolves or promotes an Implementer flag, and how the Specification Designer proposes proof artifacts, fast-test completeness, test resources, and a review stamp | 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 |
|
||
| Implementer flags | When the Implementer raises a `needs_operator_decision` or `scope_exceeded` flag, how it frames one, and how it reports test-resource readiness | The structured flag record, its routing to the Planner rather than the Operator, and sealing the candidate | Proposed |
|
||
| Feature Map verification | Which Feature Map entries and Verification Driver checks to run, in what order, how coverage and gaps are reported, which release-run entries and exploratory variations to try, and a candidate bug draft's content | The Feature Map and Verification Driver contracts, coverage records on candidate reports and proof bundles, release-run isolation, bounds, and leases, and Operator triage of every bug draft | Proposed |
|
||
| Guardrail proposals | When a defect class is repeatable enough to propose a guardrail, and which Trust Pyramid rung to recommend | The Guardrail Proposal card, queueing its follow-up task, and Operator approval before any candidate prose skill becomes active | Proposed |
|
||
|
||
Proposed rows come from RelayView's coordinator and verification operating
|
||
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
|
||
assume it.
|
||
|
||
Existing sessions keep the bytes they captured at launch. A new selection
|
||
affects only future sessions.
|
||
|
||
## Fork and override recipe
|
||
|
||
This example forks `planner-scope` as `team-planner-scope`. Substitute your
|
||
own package and name throughout.
|
||
|
||
1. **Copy the package under a distinct name.** The directory name, the
|
||
frontmatter `name`, and the RelayView import ID must all be equal and must
|
||
differ from every first-party ID; RelayView never lets a configured or
|
||
imported package overwrite an admitted ID.
|
||
|
||
```sh
|
||
cp -R packages/planner-scope team-planner-scope
|
||
```
|
||
|
||
2. **Edit the frontmatter.** Set `name: team-planner-scope`, give it your own
|
||
`relayview-display-name` and `relayview-version`, and keep
|
||
`disable-model-invocation` as it is unless you mean to change the mode.
|
||
Then edit the instructions and resources.
|
||
|
||
3. **Edit the sidecar.** Set `"source": {"kind": "user", "reference":
|
||
"team-planner-scope-1.0.0"}`. Keep `role`, `step`, and `schemaVersion`.
|
||
- A Planner scope fork keeps `schemaVersion: 2` and its `issueClaim` object
|
||
if it should keep the owner's linked-issue claim; schema 1 declares no
|
||
claim, and the owner then claims nothing. An automatic Planner assignment
|
||
may contain only one schema-2 package.
|
||
- A communication fork keeps `schemaVersion: 3` and
|
||
`"treatment": "communication_context"`, so RelayView keeps applying the
|
||
communication treatment boundary to it.
|
||
- Add any new resource to `files`; every file in the directory except the
|
||
sidecar must be declared.
|
||
|
||
4. **Recalculate the SHA-256 digests.** This rewrites every `files[].sha256`
|
||
from the current bytes:
|
||
|
||
```sh
|
||
python3 - team-planner-scope <<'EOF'
|
||
import hashlib, json, sys
|
||
from pathlib import Path
|
||
package = Path(sys.argv[1])
|
||
sidecar = package / "relayview-skill.json"
|
||
manifest = json.loads(sidecar.read_text())
|
||
for item in manifest["files"]:
|
||
item["sha256"] = hashlib.sha256((package / item["path"]).read_bytes()).hexdigest()
|
||
sidecar.write_text(json.dumps(manifest, indent=2) + "\n")
|
||
EOF
|
||
```
|
||
|
||
5. **Check and pack it.** `check` prints the package identity the owner will
|
||
record; `pack` writes a reproducible archive and prints its SHA-256.
|
||
|
||
```sh
|
||
python3 -m tools.packages check team-planner-scope
|
||
python3 -m tools.packages pack team-planner-scope dist/team-planner-scope.zip
|
||
```
|
||
|
||
Preserve `LICENSE` and `NOTICE.md` when you redistribute a fork; the archive
|
||
includes both.
|
||
|
||
6. **Install it.** Copy the package directory under the owner's configured
|
||
`trustedSkills.root`, which must not contain or sit inside any target
|
||
repository.
|
||
|
||
7. **Import it in RelayView Settings → Skills.** Enter the ID
|
||
`team-planner-scope` and the path `team-planner-scope/SKILL.md`, relative
|
||
to the trusted root. Import requires `source.kind: "user"`, validates the
|
||
package, and records its digest; it does not assign it. To change a
|
||
package after import, publish it under a new ID.
|
||
|
||
8. **Assign it.**
|
||
- **Planner, Implementer, Reviewer:** add the ID to a named set in
|
||
`trustedSkills.sets` with the matching `role`, `step`, and
|
||
`invocationMode`, restart the owner to load the set, then select the set
|
||
for the role in Settings → Skills and save. A saved automatic set
|
||
replaces the whole automatic assignment: list every package the role
|
||
should still run.
|
||
|
||
```yaml
|
||
trustedSkills:
|
||
sets:
|
||
- id: team-planning
|
||
name: Team planning
|
||
role: planner
|
||
step: planning
|
||
invocationMode: automatic
|
||
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 card, as the default (an automatic package) or as
|
||
an optional method (a manual package), and save. No named set or restart
|
||
is needed.
|
||
|
||
New sessions for that role use the fork; existing sessions keep their
|
||
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.
|
||
|
||
The eight Designer methods are already admitted. Select them as optional
|
||
methods in the Specification Designer card, or list their IDs in
|
||
`workflowPresets.designerSkills` and restart the owner; that list applies
|
||
until an Operator saves a Designer choice in Settings.
|
||
|
||
## Customize the Technical Coordinator
|
||
|
||
RelayView does not yet admit `coordinator` packages, so this describes how a
|
||
Coordinator fork is prepared now and assigned once RelayView adopts the pair.
|
||
The maintained packages split the Coordinator's judgment into seams that fork
|
||
independently:
|
||
|
||
| To change | Edit | For example |
|
||
| --- | --- | --- |
|
||
| Wave aggressiveness | The "Aggressiveness" section of `coordinator-dispatch`'s `wave-selection.md` | Admit a candidate unless contention is evident, or hold any two candidates that touch the same top-level directory |
|
||
| Contention heuristics | The "Implicit contention" list in `wave-selection.md` | Always serialize tasks that touch `migrations/`, or treat a shared staging environment as contended |
|
||
| Resource batching | The "Resource affinity" list in `wave-selection.md` | Follow the owner's Ready order strictly, accepting `ml-server` model reloads |
|
||
| When to escalate | The "Escalate" section of `coordinator-dispatch`'s `SKILL.md` | Raise `portfolio_conflict` for any overlap in a protected directory instead of sequencing it |
|
||
| Nudge wording and when to nudge | The "Nudge a stalled task" section of `coordinator-recovery`'s `SKILL.md` | Include the failing check's last output in each nudge, or never nudge during a long build |
|
||
| When to stop nudging and park | The bounds in "Nudge a stalled task" and the "Park and escalate" section | Park after the first stall in review, or add the task's recent commits to the diagnostic summary |
|
||
| Reorientation after a context refresh | The "Reorient after a context refresh" section | Rebuild only the running wave first, or include recently closed issues for a day |
|
||
| What goes in the Working Ledger | The "Keep the Working Ledger" section of `coordinator-recovery`, and the Stale group of `coordinator-tracker-hygiene` for edges it resolves | Also record each resource reload, or omit nudges that succeeded |
|
||
| Control Tower reporting tone | `coordinator-communication`'s `SKILL.md` | Lead with held issues, or report only changes since the last status |
|
||
| On-request wave audit | `coordinator-wave-audit`'s `SKILL.md` | Audit one milestone by default, or add a section for issues that touch `migrations/` |
|
||
| Tracker proposals | `coordinator-tracker-hygiene`'s `SKILL.md` | Draft only issue comments, never prerequisite edges, or use the team's comment template |
|
||
| Release verification runs | `coordinator-release-verify`'s `SKILL.md` | Cover every entry on each release, add a field for the affected customer tier to each candidate bug draft, or never try property checks |
|
||
|
||
Fork each package you change under its own name with the
|
||
[fork and override recipe](#fork-and-override-recipe), for example
|
||
`team-coordinator-dispatch` with schema 1. A `coordinator-communication` fork
|
||
keeps schema 3 and `"treatment": "communication_context"`. An automatic set
|
||
replaces the whole assignment, so the Coordinator's set lists the fork and
|
||
every package you did not fork.
|
||
|
||
Recovery and nudge behavior lives only in `coordinator-recovery`, and wave
|
||
selection in `coordinator-dispatch` and its on-request copy in
|
||
`coordinator-wave-audit`, so recovery and dispatch fork without each other.
|
||
For example, to replace recovery while keeping the maintained dispatch and
|
||
communication packages, fork `coordinator-recovery` as
|
||
`team-coordinator-recovery` with schema 1 and put it in a named set beside
|
||
them:
|
||
|
||
```yaml
|
||
trustedSkills:
|
||
sets:
|
||
- id: team-coordination
|
||
name: Team coordination
|
||
role: coordinator
|
||
step: coordination
|
||
invocationMode: automatic
|
||
members: [coordinator-dispatch, team-coordinator-recovery, coordinator-communication]
|
||
```
|
||
|
||
Once RelayView adopts the pair, select the set for the Technical Coordinator
|
||
in Settings → Skills and save, as in step 8 of the recipe. Under the proposed
|
||
model, a recovery fork changes when and how the Coordinator nudges, parks,
|
||
reorients, and records, but the owner keeps the nudge budgets and cooldowns,
|
||
task state, and the Working Ledger itself: prose cannot raise a budget or skip
|
||
a cooldown, and the ledger survives a context refresh whatever a fork records
|
||
in it.
|
||
|
||
`coordinator-wave-audit` carries its own copy of the contention and
|
||
resource-affinity checks, because a package cannot read another package's
|
||
files: when you change contention heuristics, resource batching, or
|
||
aggressiveness, fork `coordinator-wave-audit` too so audits match dispatch.
|
||
|
||
`coordinator-wave-audit`, `coordinator-tracker-hygiene`, and
|
||
`coordinator-release-verify` are manual methods: their text reaches a
|
||
Coordinator session only when the Operator sends `/skill:<name>` and the name
|
||
is in that session's captured manual assignment. All three return proposals;
|
||
the release verification method's candidate bug drafts are described under
|
||
[Feature Map verification packages](#feature-map-verification-packages). The
|
||
wave audit dispatches nothing, and tracker hygiene drafts prerequisite edges
|
||
and issue comments for the Operator to approve and apply one at a time; it
|
||
never changes the tracker itself. It records stale edges as resolved in the
|
||
Working Ledger, as `coordinator-recovery` does, so a fork that changes when an
|
||
edge counts as resolved changes both packages. A fork keeps schema 1 and
|
||
`disable-model-invocation: true`. Once RelayView adopts the pair, the manual
|
||
methods would sit in their own set with `invocationMode: manual`, apart from
|
||
the automatic set. This set pairs the first-party audit with a team fork of
|
||
tracker hygiene, `team-coordinator-tracker-hygiene`:
|
||
|
||
```yaml
|
||
trustedSkills:
|
||
sets:
|
||
- id: coordinator-on-request
|
||
name: Coordinator on request
|
||
role: coordinator
|
||
step: coordination
|
||
invocationMode: manual
|
||
members: [coordinator-wave-audit, team-coordinator-tracker-hygiene]
|
||
```
|
||
|
||
A fork changes the Coordinator's judgment, not the owner's gates. Under
|
||
RelayView's proposed operating model, the owner keeps every gate regardless of
|
||
the package: an issue with an open prerequisite never becomes Ready, the owner
|
||
grants and releases resource leases and carries out dispatch through its own
|
||
commands, the Operator toggles Autopilot and applies any tracker change the
|
||
Coordinator proposes, and no agent can lower a review tier.
|
||
A fork can change when the Coordinator raises `portfolio_conflict` or
|
||
`unique_resource_needed`, but not the escalation types or the one-way review
|
||
ratchet, and prose asking for a lower review tier has no effect.
|
||
|
||
## Release identity
|
||
|
||
A release tag pins public source. Published tags are never moved or rebuilt: a
|
||
change to any package byte ships under a new tag, and RelayView keeps every
|
||
earlier bundle so retained sessions can reconstruct their exact packages.
|
||
|
||
RelayView copies a release into `first-party-skills/<tag>/` with a
|
||
`bundle-lock.json` recording the source repository, the release tag and
|
||
commit, each package's identity and archive SHA-256, and the SHA-256 of every
|
||
bundled file, including `LICENSE` and `NOTICE.md`. RelayView's
|
||
`npm run verify:first-party-skills-source` recomputes those values from the
|
||
tagged source and fails on any difference. To recompute them yourself, for
|
||
example for `planner-communication` at `v0.14.0`:
|
||
|
||
```sh
|
||
git fetch --tags origin
|
||
git switch --detach v0.14.0
|
||
python3 -m tools.packages check packages/planner-communication
|
||
python3 -m tools.packages pack packages/planner-communication dist/planner-communication.zip
|
||
git switch main
|
||
```
|
||
|
||
The two printed digests match the `identity` and `archiveSha256` recorded for
|
||
`planner-communication` in RelayView's `first-party-skills/v0.14.0/bundle-lock.json`.
|
||
A fork's changed `source` gives it a distinct identity even when its
|
||
instructions match a first-party package, so a bundled update never replaces
|
||
a fork.
|
||
|
||
## Layer-4 authoring template
|
||
|
||
Correct a recurring defect as low in this trust pyramid as possible, and write
|
||
a skill only for a judgment call nothing lower can decide.
|
||
|
||
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
|
||
type constraint, an import fence, or a regression test.
|
||
3. **Verification harness** — a feature map entry, verification driver,
|
||
property test, or formal check.
|
||
4. **A role skill** — judgment that cannot be checked deterministically.
|
||
|
||
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
|
||
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).
|
||
|
||
Before writing a layer-4 skill, confirm each item:
|
||
|
||
- [ ] No architecture change, lint rule, type, test, or harness check can catch
|
||
this failure class; if one can, put the correction there instead.
|
||
- [ ] The guidance concerns a judgment the role makes, not a tool, permission,
|
||
gate, or schema the owner controls.
|
||
- [ ] It names one role and step, and adds no instruction an existing package
|
||
in that assignment already gives.
|
||
|
||
Start from this template. Replace each `<...>` with your text, keep the
|
||
frontmatter keys exactly as shown, and set `role` and `step` in the sidecar to
|
||
the one pair the guidance serves.
|
||
|
||
```markdown
|
||
---
|
||
name: team-review-judgment
|
||
description: Weigh <the judgment call> when reviewing the assigned candidate.
|
||
metadata:
|
||
relayview-display-name: Team review judgment
|
||
relayview-version: 1.0.0
|
||
---
|
||
|
||
# Team review judgment
|
||
|
||
Use this guidance when <the situation that needs judgment>, which no check in the repository decides.
|
||
|
||
## Decide
|
||
|
||
1. Gather <the facts the decision needs>, reading them from <where they live>.
|
||
2. Weigh <the tradeoff>; <the factor> tips it toward <the outcome>.
|
||
3. Report the decision, its reason, and the evidence you read.
|
||
|
||
## Check before finishing
|
||
|
||
- <A question the agent can answer from its own output, such as "Does each finding name the file and the rule it breaks?">
|
||
```
|
||
|
||
```json
|
||
{
|
||
"schemaVersion": 1,
|
||
"source": {
|
||
"kind": "user",
|
||
"reference": "team-review-judgment-1.0.0"
|
||
},
|
||
"role": "reviewer",
|
||
"step": "review",
|
||
"files": [
|
||
{
|
||
"path": "SKILL.md",
|
||
"sha256": "<sha256 of SKILL.md>"
|
||
}
|
||
]
|
||
}
|
||
```
|
||
|
||
After writing it, confirm each item:
|
||
|
||
- [ ] Each instruction states an action and a check the agent can run on its
|
||
own result, rather than only what to avoid.
|
||
- [ ] The text claims no tool, permission, network access, workflow authority,
|
||
or owner schema, and does not restate owner-enforced rules.
|
||
- [ ] The guidance changed behavior across several runs, judged from each
|
||
run's tool calls, not one successful conversation.
|
||
- [ ] `python3 -m tools.packages check team-review-judgment` (with your
|
||
directory name) passes after recalculating the digest.
|