# Instruction package contract An instruction package is one closed directory: `SKILL.md`, optional declared `.md`/`.txt` resources, and the `relayview-skill.json` sidecar. `tools/packages.py` enforces this contract. Its `check` action prints a package's identity and its `pack` action builds the release archive and prints its SHA-256, for example: ```sh python3 -m tools.packages check packages/planner-scope python3 -m tools.packages pack packages/planner-scope dist/planner-scope.zip ``` RelayView's owner applies its own admission check, which stays authoritative: a package that passes here can still be refused by an owner that does not yet support its role/step pair. ## Role and step Each package guides exactly one role during that role's one step. | `role` | `step` | Schemas | | --- | --- | --- | | `planner` | `planning` | 1, 2, 3 | | `implementer` | `implementation` | 1, 3 | | `reviewer` | `review` | 1, 3 | | `designer` | `design` | 1 | | `tester` | `testing` | 1, 3 | | `coordinator` | `coordination` | 1, 3 | Any other pairing, including a known role with another role's step, fails the check. Role and step names are lower-case strings. ## Sidecar fields The sidecar is UTF-8 JSON without a BOM or NUL bytes, at most 64 KiB, with exactly the fields its integer `schemaVersion` names: - **Schema 1** — `schemaVersion`, `source`, `role`, `step`, `files`. - **Schema 2** — schema 1 plus `issueClaim: {"statusLabel":