Files
notarius/docs/roadmap/remediation.md

65 lines
3.5 KiB
Markdown

# ReleaseKit Adoption Remediation
## Review Scope
Reviewed the seven stages of [implementation.md](implementation.md) against the
committed implementation at `be65c52be94cc2cb20fd1b23e4b6256c2fd208de`, using
`7e6cbd9` as the pre-sprint baseline and ReleaseKit v0.10.0 at
`82bac1a3ab935beddd4b8789d1e07f52135d4243` as the upstream reference.
The native runtime accessor, registered tool, profile, thin launcher, legacy
removal, attribution, CI handoff, and installation guidance match the intended
architecture. One policy-scope issue remains. No runtime correctness defect or
additional implementation gap was identified.
## Finding 1: Describe Unselected Deliverables Without Prohibiting Them
**Priority:** P2. **Affected stage:** Stage 5.
**Evidence:** `docs/policy/release.md:43-46` correctly selects Linux/amd64 binary
and checksum delivery, but ends with the unconditional instruction:
"Do not add signing or packaging."
The [feature roadmap](releasekit.md#release-deliverables-and-credential-supply)
instead describes signing and other packaging as outside this work set and
expressly states that the selection is not a permanent prohibition. The user
approved a particular initial distribution scope, not a general policy against
future signing or packaging. Moving the sprint's scope limit into an unqualified
policy instruction risks recreating the unwanted policy ossification this review
was specifically asked to detect.
**Required correction:** Replace that instruction with a factual description
of the current selected deliverables, or state that signing and additional
packaging are not part of the current release workflow. Preserve the approved
Linux/amd64-only profile. Future changes can follow the existing policy's
deliberate distribution-channel decisions; add no new approval process or
implementation restriction.
**Acceptance:** The policy accurately describes today's release scope without
establishing a blanket signing/packaging prohibition. No code, profile, CI,
credential, or release-artifact change is needed. Check the relevant policy
paragraph against the feature roadmap and run `git diff --check`.
## Verification Completed
- Default offline Go test suite and standalone vet passed with Go 1.27.0,
`GOWORK=off`, and `GOPROXY=off`; module verification passed.
- Launcher syntax, native usage exit status, and ReleaseKit v0.10.0 identity
passed. Invocation from outside the checkout with inherited cross-compilation
settings still selected the native host correctly.
- The ordinary executable reported `notarius dev`. A native synthetic build
outside the checkout produced one Linux/amd64 artifact and a native receipt;
the artifact reported `notarius v0.0.0`.
- Native profile JSON, CI YAML, and secret mapping were checked. The CI bootstrap
matches the pinned upstream template except for the selected Go image.
- Checked 171 rendered local Markdown links and five pinned upstream ReleaseKit
file destinations in changed documents, with no missing destinations/headings.
Attribution and the actual linked runtime dependencies were reviewed.
- Confirmed obsolete scripts/private buildinfo were removed and pipeline code,
domain assets, examples, historical notes, and ADRs were unchanged. The token
path is ignored and no credential file is tracked; token contents were not read.
No source publication, hosted delivery, or production API call was performed.
Woodpecker secret provisioning and real Git/module/forge access remain external
operator setup, as already disclosed by the implementation plan and runbook.