Feeder release: the install §4 hash comparison cannot match a stapled asset (ADR 0008) #70

Open
opened 2026-11-15 11:16:18 +00:00 by svc-agent-writer · 0 comments

Filed under: the #56 architect gate, operator ruling Q1 of 2026-11-15 (Note 5 of the PR #55 reviews). #56 leaves ADR 0008 and install §4 unchanged.

Problem

ADR 0008 and the install document compare two hashes that cannot match.

  • ADR 0008 "Release", step 2: CI builds the bundle from the tag and publishes the hash of the artifact.
  • ADR 0008 "Release", step 3: the project owner then signs the artifact, notarises it and staples the ticket. Signing and stapling change the bundle's bytes.
  • docs/install-single-host.md §4: "Compare … the asset hash with the hash CI reported". The asset the Owner obtains is the stapled bundle. Its hash is never the hash that CI reported before signing.

An Owner who follows §4 sees a mismatch on every genuine release, and §4 says to stop on a mismatch.

Decision needed

ADR 0008 is an operator surface, so this needs a ruling before any edit. Options:

  1. Amend ADR 0008: the project owner publishes the hash of the stapled asset in the release note, and §4 compares with that hash. The CI hash then proves only that the owner signed the build CI made.
  2. Keep ADR 0008: §4 compares the CI hash with a reproducible unsigned build, and checks the stapled asset by codesign and spctl only.

Acceptance

  • The operator rules on the option, and approves any ADR 0008 amendment text before the merge.
  • ADR 0008 and install §4 name the same hash for the Owner's comparison.
  • A tests/test_layout.py assertion pins the §4 wording.
Filed under: the #56 architect gate, operator ruling Q1 of 2026-11-15 (Note 5 of the PR #55 reviews). #56 leaves ADR 0008 and install §4 unchanged. ## Problem ADR 0008 and the install document compare two hashes that cannot match. - ADR 0008 "Release", step 2: CI builds the bundle from the tag and publishes the hash of the artifact. - ADR 0008 "Release", step 3: the project owner then signs the artifact, notarises it and staples the ticket. Signing and stapling change the bundle's bytes. - `docs/install-single-host.md` §4: "Compare … the asset hash with the hash CI reported". The asset the Owner obtains is the stapled bundle. Its hash is never the hash that CI reported before signing. An Owner who follows §4 sees a mismatch on every genuine release, and §4 says to stop on a mismatch. ## Decision needed ADR 0008 is an operator surface, so this needs a ruling before any edit. Options: 1. Amend ADR 0008: the project owner publishes the hash of the stapled asset in the release note, and §4 compares with that hash. The CI hash then proves only that the owner signed the build CI made. 2. Keep ADR 0008: §4 compares the CI hash with a reproducible unsigned build, and checks the stapled asset by `codesign` and `spctl` only. ## Acceptance - [ ] The operator rules on the option, and approves any ADR 0008 amendment text before the merge. - [ ] ADR 0008 and install §4 name the same hash for the Owner's comparison. - [ ] A `tests/test_layout.py` assertion pins the §4 wording.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dev/messages-mind-mcp#70
No description provided.