Skip to content

feat: auto-maintained arm64 sha256 pin for the kiro-cli install#84

Merged
cplieger merged 1 commit into
mainfrom
feat/kiro-cli-arm64-digest
Jul 16, 2026
Merged

feat: auto-maintained arm64 sha256 pin for the kiro-cli install#84
cplieger merged 1 commit into
mainfrom
feat/kiro-cli-arm64-digest

Conversation

@cplieger

Copy link
Copy Markdown
Owner

Summary

Renovate config for enforcing the kiro-cli aarch64 zip digest (today only amd64 is enforced; arm64 is logged, not gated):

  • custom.kiro-cli-arm64 datasource — same install manifest, JSONata selects the aarch64-unknown-linux-gnu headless zip sha256 per release.
  • Second match shape on the kiro-cli customManager — rewrites KIRO_CLI_SHA256_ARM64="…" # kiro-cli <version> in entrypoint.sh; the trailer comment carries the version (golang per-arch sha manager model).
  • kiro-cli grouping packageRule — one PR moves KIRO_CLI_VERSION, KIRO_CLI_SHA256, and KIRO_CLI_SHA256_ARM64 together, so neither arch's fail-closed gate can land stale.

Landing order

This must merge before the paired web-terminal-kiro / vibekit entrypoint changes (both-arch enforcement). Without this config, their next kiro-cli bump would strand the arm64 literal and fail-closed every aarch64 boot.

Tested

  • Install manifest fetched: latest 40 releases all carry per-arch sha256 for the headless zips.
  • Both matchStrings simulated (Python re, re2-compatible patterns) against both repos' updated entrypoints: amd64 pair and arm64 line each match exactly once, no cross-match between shapes.
  • default.json validates as JSON.

Add a custom.kiro-cli-arm64 datasource (same install manifest, JSONata
selecting the aarch64-unknown-linux-gnu headless zip digest), a second
match shape on the kiro-cli customManager for the KIRO_CLI_SHA256_ARM64
literal (its `# kiro-cli <version>` trailer is the version anchor, the
same trailer model as the golang per-arch sha manager), and a kiro-cli
grouping packageRule folding the version and both arch digests into one
PR.

The web-terminal-kiro and vibekit entrypoints are moving from
log-only aarch64 hashes to fail-closed per-arch verification; the
grouping rule is load-bearing for them — an ungrouped bump would land
version-without-arm64-sha and break every aarch64 boot until the paired
update arrived. This config must land before the entrypoint changes.

Manifest coverage verified: the latest 40 releases all publish per-arch
sha256 for the headless zips. Both manager shapes simulated against both
entrypoints (exact matches, no cross-contamination with the existing
amd64 pair shape).
@cplieger
cplieger enabled auto-merge (rebase) July 16, 2026 19:19
@cplieger
cplieger merged commit ff0bfde into main Jul 16, 2026
12 checks passed
@cplieger
cplieger deleted the feat/kiro-cli-arm64-digest branch July 16, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant