Skip to content

Open-source skills for designing and reviewing software with AI agents

docs: clarify runtime contracts and verification gates

Oliver2710c940b30d
diff --git a/docs/designs/releases.md b/docs/designs/releases.md
index 06a9165..4d6be89 100644
--- a/docs/designs/releases.md
+++ b/docs/designs/releases.md
@@ -30,6 +30,9 @@ The proposed `scripts/prepare_release.py` accepts `--tag`, `--commit`, and
Local invocation validates the supplied values and builds archives. It does
not prove Git ancestry or run tests. The workflow owns those checks.
+The local source SHA is a caller declaration, not verified source identity.
+Label that limitation in the generated notes. Publication uses workflow-built
+candidates after source verification and exact-artifact checks.
## Workflow and permissions
@@ -47,6 +50,9 @@ The provenance identifies the workflow dispatched from `main`. Its source
identity can differ from the selected tag checked out during the job. Release
notes record the tagged source SHA. Review both identities before publication.
Attestations establish artifact provenance, not host compatibility or code safety.
+Verification must identify the signing workflow on `refs/heads/main` and the
+downloaded ZIP's digest. Compare the recorded tagged SHA with the tag resolved
+by the build job. Workflow identity alone does not verify that tag mapping.
A separate draft job receives
the artifacts, verifies their checksums, rechecks tag identity, and creates a
@@ -63,9 +69,12 @@ replacing existing assets. Neither job creates tags or publishes releases.
5. Dispatch the workflow. Inspect both archives, checksums, and source identity.
Verify each ZIP with `gh attestation verify FILE --repo google/elephant-goldfish-model`.
Require the signing workflow `.github/workflows/release.yml` from `main`.
-6. Complete #60 for each claimed host using these exact artifacts. Record
+6. Complete [the exact-bundle verification procedure in #60](https://github.com/google/elephant-goldfish-model/issues/60)
+ for each claimed host using these exact artifacts. Record
installed-file identity, host/model versions, date, and separate installation,
workflow, and isolation results.
+ Completion requires clean installation, intended artifact identity, and
+ supported workflow and isolation outcomes. Preserve any partial host result.
7. Review final release notes and publish manually. Directory approval remains
separate from release publication.
diff --git a/docs/designs/runtime_packaging.md b/docs/designs/runtime_packaging.md
index b8ffca2..5b0cb3f 100644
--- a/docs/designs/runtime_packaging.md
+++ b/docs/designs/runtime_packaging.md
@@ -26,6 +26,22 @@ documentation, licenses, and image assets. Include SVG and PNG files under
`docs/assets` for README images. Exclude website content, tests, workflows,
hooks, development marketplace metadata, and unrelated files.
+The target inventory is explicit:
+
+- Shared: `plugin.json`, `LICENSE`, `README.md`, `skills/*/SKILL.md`,
+ `skills/*/agents/openai.yaml`, skill assets and references, `agents/*.md`,
+ `resources/*.md`, and `resources/document_standards/*.md`.
+- Shared guides: `docs/index.md`, `docs/getting_started.md`, `docs/harnesses.md`,
+ `docs/claude.md`, `docs/codex.md`, `docs/faq.md`, and `docs/privacy.md`.
+ Include `docs/releases.md` when release preparation adds that guide.
+- Shared images: SVG and PNG files under `assets/` and `docs/assets/`.
+- Claude: `.claude-plugin/plugin.json`, `.claude-plugin/icon.png`, and
+ `.claude-plugin/agents/*.md`.
+- OpenAI: `.codex-plugin/plugin.json`.
+
+The builder's `SHARED`, `HOST`, and `REQUIRED_SHARED` constants implement this
+inventory. Required references must exist; optional files must match these paths.
+
Keep installation guides, host instructions, personas, skills, and review
standards in the runtime. Exclude repository design documents, `TESTING.md`,
`CONTRIBUTING.md`, `AI_POLICY.md`, and the PR template. Link to those development
@@ -53,6 +69,11 @@ Remove the automatic permission-approval hook. Keep bounded tools on Claude
native adapters. Resource reads use normal host permissions. A denied read
must stop the affected reviewer without a fabricated verdict.
+Read-only Claude reviewers allow `Read`, `Grep`, and `Glob`. The synthesizer
+also allows `Agent` and `Write` for delegation and reports. Bootstrap allows
+`Agent`, `Bash`, `Read`, `Grep`, `Glob`, `Write`, and `Edit` for documentation.
+These tool lists do not establish a filesystem or network sandbox.
+
Test parent-context isolation separately from filesystem access and host-added
instructions or memory. A Claude CLI probe does not establish Cowork behavior.
OpenAI packaging does not establish support for every ChatGPT mode.
@@ -64,7 +85,9 @@ OpenAI packaging does not establish support for every ChatGPT mode.
- Verify allowed and denied resource reads against the generated runtime.
- Record the source SHA, installed artifact identity, host/model version,
and separate installation, workflow, and isolation outcomes.
-- Preserve the evidence gaps tracked in #105 and #106.
+- Preserve the cloud workflow and isolation gaps in
+ [Cowork #105](https://github.com/google/elephant-goldfish-model/issues/105)
+ and [ChatGPT Work #106](https://github.com/google/elephant-goldfish-model/issues/106).
- Obtain scope approval and merge this design before merging #136.
- Coordinate tagged artifacts through the [release design](releases.md).