Skip to content

fix(bootstrap): verify downloaded tools against pinned checksums - #111

Merged
furedea merged 5 commits into
mainfrom
fix/105-bootstrap-checksums
Nov 9, 2026
Merged

furedea merged 5 commits into
mainfrom
fix/105-bootstrap-checksums

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

概要

bootstrap_server.sh が入れる全ツールを,スクリプトに固定した値で検証し,違えば何も入れずに止まるようにした.uv は install.sh の実行をやめ,検証した release archive から入れる.固定した hash と commit は,Renovate が版と一緒に更新する.

項目 変更前 変更後
検証(8 ツール) agent-harness のみ,同じ場所の .sha256 スクリプトに固定した sha256
検証(bats-core) なし tag と,それが指すべき commit(40 文字)を固定.git clone --depth 1 --branch <tag> の HEAD が違えば止まる
uv astral.sh/uv/<版>/install.sh を実行 uv-x86_64-unknown-linux-musl.tar.gz を検証して展開し,uv と uvx を入れる
版と固定値の更新 Renovate が版のみ Renovate が版と sha256 / commit を同じ PR で更新

Renovate の構成

  • 1 つ目の customManager(github-release-attachments,semver-coerced): 版または tag を currentValue,その隣の sha256 を currentDigest として捉える.対象は agent-harness,shfmt,ripgrep,jq,ruff,dprint,shellcheck,uv.
  • tag と版が違うツール(agent-harness agent-harness-v0.9.10,shfmt v3.13.1,jq jq-1.8.1,shellcheck v0.11.0): Renovate の getDigest は release を releases/tags/${currentValue} で探し,extractVersion を currentValue に適用しない.そのため完全な tag を *_TAG に固定し,*_VERSION は tag から導く.
  • 2 つ目の customManager(github-tags,semver-coerced): bats-core の BATS_TAG を currentValue,BATS_COMMIT を currentDigest として捉え,同じ PR で更新する.bats-core は release asset を公開せず,ソース archive の hash は Renovate が計算できないため,archive ではなく commit を固定した.
  • Renovate の挙動は,ローカルでは実行できていない(Renovate が入っていない).bats のテストで,regex が 8 ツール(tag または版と hash)と bats-core(tag と commit)に一致することだけを確認した.

検証

  • bats 81 件が通る(hash 不一致で全ツールが,commit 不一致で bats-core が失敗し,何も入らないテストを先に書いて赤を確認)
  • 取得時に,8 ツールの固定 hash が release asset の digest と一致することを確認
  • BATS_COMMIT(3bca150e…)は gh api repos/bats-core/bats-core/commits/v1.13.0 の結果と一致
  • shellcheck と pre-commit(ls-lint,shfmt,shellcheck,commitlint)が通る

決めたこと

  • 同じ場所の .sha256 は,改ざんを防げないため検証に使わず,固定 hash に置き換えた.
  • hash は gh api の asset digest から取得した.digest のない ripgrep 14.1.1 は nix store prefetch-file で取得した.
  • bats-core は archive の hash をやめ,tag と commit の固定にした.更新用のスクリプトと automerge の特例は不要になった.
  • bats-core の取得に git が必要になる.

フォローアップ

  • 最初の Renovate PR で,8 ツールの sha256 と bats-core の commit が版と同時に更新されることを確認する.

Closes #105

計画コメント

🤖 Generated with Claude Code

furedea and others added 2 commits November 9, 2026 18:53
Pin a sha256 next to every release version in bootstrap_server.sh and stop
before installing when a download does not match. Install uv from its verified
release archive instead of running install.sh, and drop the sidecar .sha256
check, which shares the archive's origin. Add update_bootstrap_checksums.sh to
refresh the pins after a version bump.

Closes #105

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Move the eight release-asset tools to the github-release-attachments
datasource and capture each sha256 as currentDigest, so Renovate rewrites the
version and the hash together. bats-core publishes only a source archive, so
its hash stays with a script reduced to bats alone.

Refs #105

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea

furedea commented Nov 9, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T10:41:50.426134Z c93eb5e Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread scripts/bootstrap_server.sh Outdated
readonly SHELLCHECK_SHA256="${SHELLCHECK_SHA256:-8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198}"
# renovate: datasource=github-releases depName=bats-core/bats-core extractVersion=^v(?<version>.+)$
readonly BATS_VERSION="${BATS_VERSION:-1.13.0}"
readonly BATS_SHA256="${BATS_SHA256:-a85e12b8828271a152b338ca8109aa23493b57950987c8e6dff97ba492772ff3}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: A Renovate PR that bumps bats will pass CI and still break bootstrap.

Renovate will change BATS_VERSION and leave BATS_SHA256 as it is. The only thing that fixes the hash is someone remembering to run scripts/update_bats_checksum.sh. Nothing in CI catches a stale hash: tests/test-helper/setup.bash overrides every *_SHA256 with the fixture hash, and the "pins a sha256" test only checks the format. If the shared preset automerges minor or patch updates, main ends up with a bootstrap_server.sh that always exits with checksum mismatch for …bats-core….

Two possible fixes:

  • Run update_bats_checksum.sh --check in CI on PRs that touch scripts/bootstrap_server.sh.
  • Set automerge: false for the bats manager or package so the manual step can't be skipped.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Partly addressed in bb403f5: a packageRule sets automerge false for bats-core/bats-core and adds the update_bats_checksum.sh step to the Renovate PR body, so the bump cannot merge unattended. I did not add a CI check: it needs a .github/workflows change, which the agent App cannot push, and a stale hash still fails closed in bootstrap_server.sh (nothing is installed). A CI job running update_bats_checksum.sh --check is a reasonable follow-up for the owner to decide.

Comment thread scripts/bootstrap_server.sh Outdated
# verified against the sha256 pinned next to its version. For release assets Renovate rewrites
# the hash in the same PR; bats-core publishes only a source archive, so after a bats bump run
# scripts/update_bats_checksum.sh.
# renovate: datasource=github-release-attachments depName=furedea/agent-harness extractVersion=^agent-harness-v(?<version>.+)$

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Renovate may not update the hash for the tools whose tag differs from their version. (Not verified against Renovate's source.)

This affects agent-harness, shfmt, jq and shellcheck. With extractVersion, currentValue is 0.9.10, 3.13.1 and so on, but the release tags are agent-harness-v0.9.10, v3.13.1, jq-1.8.1 and v0.11.0. As far as I know, github-release-attachments getDigest finds the current and new release by tag using currentValue/newValue, and only strips a leading v when it maps asset names. If that's right, it won't find these releases. The PR then either never gets a new digest or bumps the version and keeps the old hash.

The bootstrap tests can't catch this either, because they replace every hash with a fixture hash. Before relying on it, please confirm this on a real Renovate run, or with renovate --platform=local and debug logs. A CI step that checks each pinned hash against its pinned release asset (gh api asset digest) would catch a stale hash whichever way Renovate behaves.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed against Renovate source (getDigest fetches releases/tags/${currentValue}; extractVersion is not applied to currentValue). Fixed in bb403f5: agent-harness, shfmt, jq and shellcheck now pin the full tag (*_TAG) with no extractVersion, the version is derived from the tag, and the manager uses semver-coerced versioning. bats tests check the download URLs carry the pinned tag and that the manager regex matches all 8 release-asset tools. I could not run Renovate itself here.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Review summary

The verification logic looks correct:

  • download_verified checks the pinned sha256 and rejects an empty one.
  • uv is now installed from the verified release tarball, which unpacks with --strip-components=1.
  • The tests cover a hash mismatch for each of the 9 tools.

No blocking findings. Two P2 comments, both about what happens after merge when the pinned hashes are updated:

  1. bats: A Renovate bump changes the version but never the hash, and nothing in CI notices. The bats test fixtures replace every pinned hash, so a bump that skips update_bats_checksum.sh passes and breaks bootstrap (worse if it's automerged).
  2. Tools with a tag prefix (agent-harness, shfmt, jq, shellcheck): I think github-release-attachments looks up releases by tag using the extracted version, so it may not find these releases. I haven't verified this against Renovate's source.

Suggestion for both: add a CI check that each pinned hash matches its pinned release asset, or run update_bats_checksum.sh --check, so a stale hash fails CI instead of the server bootstrap.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2675a63e9e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread renovate.json Outdated
"datasourceTemplate": "github-release-attachments",
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( extractVersion=(?<extractVersion>\\S+))?\\nreadonly [A-Z_]+_VERSION=\"\\$\\{[A-Z_]+_VERSION:-(?<currentValue>[^}]+)\\}\""
"# renovate: datasource=github-release-attachments depName=(?<depName>\\S+)( extractVersion=(?<extractVersion>\\S+))?\\nreadonly [A-Z_]+_VERSION=\"\\$\\{[A-Z_]+_VERSION:-(?<currentValue>[^}]+)\\}\"\\nreadonly [A-Z_]+_SHA256=\"\\$\\{[A-Z_]+_SHA256:-(?<currentDigest>[a-f0-9]{64})\\}\""

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve tag prefixes for attachment digest lookups

When Renovate processes agent-harness, shfmt, jq, or shellcheck, this captures the unprefixed assignment (for example 3.13.1) as currentValue, even though the actual release tags are agent-harness-v0.9.10, v3.13.1, jq-1.8.1, and v0.11.0. Renovate documents that extractVersion is applied only to datasource versions, not currentValue, while the attachment datasource queries /releases/tags/${currentValue} directly; these dependencies therefore produce a missing-release lookup instead of a version-and-checksum update. Capture or derive the full release tag for the digest lookup. Renovate extractVersion documentation, attachment datasource implementation.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in bb403f5, same cause as the claude-review finding on the tag prefixes: the full release tag is now the captured currentValue for agent-harness, shfmt, jq and shellcheck, extractVersion is gone, and the version is derived from the tag.

Renovate's github-release-attachments digest lookup fetches the release by
the captured value as a tag and does not apply extractVersion to it. Pin the
full tag for agent-harness, shfmt, jq and shellcheck and derive the version from
it. Keep bats-core out of automerge, since its hash needs the update script.

Refs #105

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea

furedea commented Nov 9, 2026

Copy link
Copy Markdown
Owner

@codex review

Comment thread scripts/bootstrap_server.sh Outdated
UV_UNMANAGED_INSTALL="$BIN_DIR" sh "$WORK_DIR/uv_install.sh"
local _download="$WORK_DIR/uv.download"
download_verified "$UV_URL" "$UV_SHA256" "$_download"
install -m 0755 "$(extract_member "$_download" uv)" "$BIN_DIR/uv"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The uv installer that was removed (UV_UNMANAGED_INSTALL=... sh install.sh) put both uv and uvx into BIN_DIR. This change installs only uv, so a fresh server no longer gets uvx, even though agents/command_permissions.json and the Codex execpolicy tests still expect it, and nix/uv.nix installs both. The release tarball has uvx in the same directory, so you can install it from the archive that was already verified:

_source="$(extract_archive "$_download")"
install -m 0755 "$_source/uv" "$_source/uvx" "$BIN_DIR/"

The fixture in create_uv_archive and a test should cover uvx too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 863b287: the verified archive is extracted once and both uv and uvx are installed into BIN_DIR. The uv fixture archive now carries uvx and the tool-installation test asserts it.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Review summary: no P0 or P1 findings.

I checked:

  • Every download (all 9 tools) goes through download_verified against its pinned sha256. An empty hash is refused, and a mismatch stops the run before that tool is installed.
  • The Renovate regex in renovate.json captures the tag or version and the hash for all 8 release-asset tools.
  • The *_TAG → *_VERSION derivation, the bats-only manager, and update_bats_checksum.sh (parsing and rewriting the pin).
  • Test coverage for each changed behavior.

One P2, posted inline:

  • uvx is no longer installed. The old uv installer put both uv and uvx into BIN_DIR. The new archive install only copies uv.

Note: I did not run the bats suite locally; it needs approval in this environment.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb403f5807

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/bootstrap_server.sh Outdated
UV_UNMANAGED_INSTALL="$BIN_DIR" sh "$WORK_DIR/uv_install.sh"
local _download="$WORK_DIR/uv.download"
download_verified "$UV_URL" "$UV_SHA256" "$_download"
install -m 0755 "$(extract_member "$_download" uv)" "$BIN_DIR/uv"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Install uvx alongside uv

On a fresh server, this replaces the standalone installer but copies only uv, leaving uvx absent even though the previous installer installed both executables; the repository's Nix package likewise installs both in nix/uv.nix:43. Any workflow invoking the supported uvx alias will therefore fail with command not found after bootstrapping. Install uvx from the same verified archive as well; Astral's storage documentation confirms that standalone installations provide both executables.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 863b287, same finding as the claude-review one: uvx is installed from the same verified archive, and the tests cover it.

The standalone installer put both uv and uvx into BIN_DIR, and the command
permissions and execpolicy tests still expect uvx. Extract the verified archive
once and install both executables.

Refs #105

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea

furedea commented Nov 9, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Review summary (read-only): no blocking or non-blocking findings.

Checked:

  • download_verified runs before every install path (agent-harness, install_tool, dprint, bats, uv), and an empty pinned hash is rejected.
  • *_TAG → *_VERSION derivation keeps the download URLs identical to the previous ones.
  • The two Renovate customManagers don't overlap (one matches github-release-attachments comments, the other github-releases comments), and the attachments regex requires the SHA256 line right after the version/tag line, which the script follows.
  • The uv archive is extracted with --strip-components=1, which matches the upstream uv-x86_64-unknown-linux-musl/ layout. Release binaries are already limited to x86_64 by require_release_binaries.
  • Tests cover a hash mismatch for all 9 tools, an empty hash, a sidecar .sha256 being ignored, and the regex matching the script.

Not verified: Renovate's runtime behaviour (e.g. semver-coerced ordering of agent-harness tags now that extractVersion is gone). As the PR says, check this on the first Renovate PR.

Blocking findings (P0/P1): 0

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 863b287d32

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…ve hash

bats-core publishes no release assets, so its tag tarball hash needed a manual
update script. Pin BATS_TAG together with the BATS_COMMIT it must point at, let
a github-tags Renovate manager rewrite both in one PR, and have the bootstrap
clone that tag with git and stop unless HEAD is the pinned commit. Drop
update_bats_checksum.sh and the bats automerge special case.

Refs #105

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea

furedea commented Nov 9, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Review summary

No findings at P0–P3. I reviewed the diff read-only.

What I checked:

  • Download checks. download_verified fails when the pinned hash is empty or wrong. It runs before any extract or install for the 8 release-asset tools, and dprint now goes through it too. The uv install no longer runs a remote install.sh; it extracts the checked tarball (--strip-components=1) and installs uv and uvx.
  • bats-core. clone_pinned clones the tag with --depth 1 and compares rev-parse HEAD with the pinned commit before install.sh runs. An annotated tag resolves to the commit, so the comparison is correct.
  • Renovate. Each regex captures the version or tag next to its digest. The tag-based pins (agent-harness, shfmt, jq, shellcheck) still build the same download URLs through the *_VERSION derivation. For these asset names, Renovate's asset-name version substitution should carry over to the new release. I didn't run Renovate itself, so the follow-up check on the first Renovate PR is still worth doing.
  • Tests. There is a mismatch test for each tool, tests for an empty pin and a missing tag, and a check that every pin is present. They cover the changed behavior.

Not blocking: a host that set a *_VERSION override in bootstrap_server.env will now hit a checksum mismatch unless it also sets the matching *_SHA256. That seems intended, and those overrides aren't documented in usage.

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: c93eb5e4b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea
furedea merged commit 1744df3 into main Nov 9, 2026
24 checks passed
@furedea
furedea deleted the fix/105-bootstrap-checksums branch November 9, 2026 11:33
furedea pushed a commit that referenced this pull request Nov 10, 2026
🤖 I have created a release *beep* *boop*
---


## 0.1.0 (2026-11-10)


### Features

* add devin provider to hooks.json with hook adapter
(furedea/dotfiles[#136](#136))
([5bc5550](5bc5550))
* add git-commit-split skill
([35f4e16](35f4e16))
* add Hermes Agent and pi hook providers
(furedea/dotfiles[#138](#138))
([ed3a774](ed3a774))
* add lock-settings, report-doc-conflict, and report-hook-block skills
([35b8585](35b8585))
* **agents:** add Rust style skill
([a82df41](a82df41))
* **agents:** allow cd, sed, awk, xargs, cp, and mv under the sandbox
(furedea/dotfiles[#165](#165))
([5783f87](5783f87))
* **agents:** bootstrap the harness on servers without Nix
([80a0f9b](80a0f9b))
* **agents:** chain git add, status, commit, and push outside the
sandbox
(furedea/dotfiles[#169](#169))
([dd5a05c](dd5a05c))
* **agents:** Codex implements, Claude reviews, and lanes clean up
opened workspaces
(furedea/dotfiles[#266](#266))
([c9a3fd9](c9a3fd9))
* **agents:** generate hook settings from nix
([b20d592](b20d592))
* **agents:** hand approved lanes to Herdr task worktree sessions
(furedea/dotfiles[#184](#184))
([58a591f](58a591f))
* **agents:** own personal agent source
(furedea/dotfiles[#52](#52))
([51060b1](51060b1))
* **agents:** permit commands by reversibility
(furedea/dotfiles[#124](#124))
([bb96256](bb96256))
* **agents:** run agent git inside the sandbox with unsigned commits
(furedea/dotfiles[#172](#172))
([1492f3e](1492f3e))
* **agents:** start Herdr Claude lanes on Sonnet at medium effort
(furedea/dotfiles[#257](#257))
([3caf8d5](3caf8d5))
* **agents:** write PR bodies inline and close lanes' parent workspaces
(furedea/dotfiles[#211](#211))
([8c6df4e](8c6df4e))
* **claude:** close the sandbox escape and reach the Nix daemon inside
(furedea/dotfiles[#191](#191))
([b61f2ac](b61f2ac))
* **claude:** let Go CLIs verify TLS inside the sandbox
(furedea/dotfiles[#167](#167))
([282b3d2](282b3d2))
* **claude:** let sandboxed commands listen on local ports
(furedea/dotfiles[#206](#206))
([36c09d2](36c09d2))
* **claude:** run the Codex plugin companion outside the sandbox
(furedea/dotfiles[#232](#232))
([0255159](0255159))
* **codex:** let Codex write, test, and deliver inside the sandbox
(furedea/dotfiles[#200](#200))
([33a0a82](33a0a82))
* compose Herdr and Moshi agent hooks
(furedea/dotfiles[#33](#33))
([4951ee8](4951ee8))
* **dsh:** add the dsh hook adapter
([#101](#101))
([db86f57](db86f57))
* **git-commit-split:** accept mode from slash-command argument
([10c3ef7](10c3ef7))
* **git-commit-split:** modularize commit splitting workflow with branch
([bab6f19](bab6f19))
* **github:** add repository creation script
([1a7910b](1a7910b))
* **hermes:** use Apple Mail for mail access
(furedea/dotfiles[#69](#69))
([94268fa](94268fa))
* **hooks:** add related test selection rules
([2aca101](2aca101))
* **hooks:** add shared audit and command guard hooks
([6ab33b5](6ab33b5))
* **hooks:** allow read-only local curl diagnostics and log syntax ask
kinds
(furedea/dotfiles[#287](#287))
([83cd643](83cd643))
* **hooks:** ask before an agent adds a lint suppression
(furedea/dotfiles[#214](#214))
([b767665](b767665))
* **hooks:** ask only for effects that escape the sandbox
(furedea/dotfiles[#163](#163))
([21409a5](21409a5))
* **hooks:** block destructive non-push git operations
([cc02cb4](cc02cb4))
* **hooks:** escalate unrecognized command forms to a prompt
(furedea/dotfiles[#159](#159))
([e30de17](e30de17))
* **hooks:** fast-forward main after cleaning up merged lanes
(furedea/dotfiles[#210](#210))
([f8a60af](f8a60af))
* **hooks:** honor project allow rules only from trusted owners
([#33](#33))
([305d391](305d391))
* **hooks:** improve lint-format feedback across providers
([8a512f6](8a512f6))
* **hooks:** judge heredocs, substitutions, loops, and redirections
structurally
(furedea/dotfiles[#175](#175))
([9276283](9276283))
* **hooks:** let sessions lock flake inputs and close their own lanes
(furedea/dotfiles[#208](#208))
([f109b49](f109b49))
* **hooks:** let the parent run cleanup_worktrees.py after merge
(furedea/dotfiles[#300](#300))
([fc44c74](fc44c74))
* **hooks:** remove merged task worktrees and branches at session start
(furedea/dotfiles[#185](#185))
([2701e0b](2701e0b))
* **hooks:** replay recent commands through the hooks
(furedea/dotfiles[#199](#199))
([2ed4984](2ed4984))
* **hooks:** report ast-grep rule findings after an edit
([#119](#119))
([ff91d8c](ff91d8c))
* **hooks:** review only commands that reach past the sandbox
(furedea/dotfiles[#178](#178))
([40c97da](40c97da))
* **hooks:** run zizmor offline after workflow edits
(furedea/dotfiles[#295](#295))
([79b66a6](79b66a6))
* **hooks:** scan with the shared ast-grep rules shipped beside the
hooks ([#121](#121))
([35a9270](35a9270))
* **hooks:** support Go projects in formatting, verification, and
permissions ([#57](#57))
([5506f3c](5506f3c))
* **hooks:** verification selection, unified patch input,
formatter/linter ordering
(furedea/dotfiles[#144](#144))
([99a825b](99a825b))
* **lint:** add the first ten ast-grep rules and drop the prose they
replace ([#117](#117))
([c235eb5](c235eb5))
* **nix:** expose the plain agents path as passthru.tree of agent-source
([#94](#94))
([63632e4](63632e4))
* **security:** add a program_path option that pins a rule's program to
one absolute path
([#61](#61))
([d629ca9](d629ca9))
* **security:** allow agent-browser and agent-desktop except named risky
forms ([#63](#63))
([8dc8da5](8dc8da5))
* **security:** allow cargo caches, crates.io, and OSV in the sandbox
([#60](#60))
([2f29423](2f29423))
* **security:** allow Go caches and module hosts in the sandbox
([#58](#58))
([4b3a35c](4b3a35c))
* **security:** ask for every docker form the allowlist does not list
([#54](#54))
([764374f](764374f))
* **security:** deny the 1Password CLI and keep the Codex login in the
keyring ([#52](#52))
([0580825](0580825))
* **skill-auditor:** support Codex audit workflow
([0d88c3f](0d88c3f))
* **skills:** add measurement-evidence and change-type evidence to tsdd
([#70](#70))
([85714b5](85714b5))
* **skills:** clarify names and add Herdr delegation
(furedea/dotfiles[#127](#127))
([e6576ba](e6576ba))
* **skill:** skill-auditor by nyosegawa/skills/skill-auditor
([f191132](f191132))
* **skills:** render provider-specific SKILL.md frontmatter
([44325e5](44325e5))
* **statusline:** render the status on one line
(furedea/dotfiles[#110](#110))
([03ad85e](03ad85e))
* update bash-style skill instructions
([9ab1d65](9ab1d65))
* update github-ci-init skill templates
([d238f51](d238f51))
* verify agent changes through native hooks
(furedea/dotfiles[#106](#106))
([923b0ae](923b0ae))


### Bug Fixes

* **agents:** accept generated command permissions
(furedea/dotfiles[#66](#66))
([0af9650](0af9650))
* **agents:** allow gh api reads that pass --allow-escape-sequences
(furedea/dotfiles[#265](#265))
([e732939](e732939))
* **agents:** apply harness review findings
(furedea/dotfiles[#149](#149))
([c8a51d7](c8a51d7))
* **agents:** cap Codex session-end timeout
([2f29a7e](2f29a7e))
* **agents:** deny codex-companion calls the sandbox exclusion cannot
match
(furedea/dotfiles[#269](#269))
([25518ab](25518ab))
* **agents:** harden hooks and separate workflow responsibilities
(furedea/dotfiles[#128](#128))
([7e508c4](7e508c4))
* **agents:** let pnpm fetch from the npm registry inside the sandbox
(furedea/dotfiles[#222](#222))
([ac114e8](ac114e8))
* **agents:** let the forbidden rule admit Sonnet lane arguments
(furedea/dotfiles[#259](#259))
([f1b29a9](f1b29a9))
* **agents:** make the bootstrap hint work for POSIX login shells
([c2667fa](c2667fa))
* **agents:** stop asking for commands the hooks can prove safe
(furedea/dotfiles[#242](#242))
([a93d241](a93d241))
* **agents:** wait for hook state locks instead of failing with EAGAIN
(furedea/dotfiles[#285](#285))
([673c108](673c108))
* allow secret scanner hook files
([bca4207](bca4207))
* **bootstrap:** give Codex the agent GitHub token settings and run the
bootstrap in CI
([#21](#21))
([25de080](25de080))
* **bootstrap:** keep Neovim's fallback nvim.log out of the working
directory ([#43](#43))
([3c9fc5c](3c9fc5c))
* **bootstrap:** make the server bootstrap behave like the Nix hosts
([#15](#15))
([4554dec](4554dec))
* **bootstrap:** print actionable profile and legacy-file messages only
when needed ([#49](#49))
([1918254](1918254))
* **bootstrap:** target the login profile bash actually reads
([#50](#50))
([0dae5bf](0dae5bf))
* **bootstrap:** verify downloaded tools against pinned checksums
([#111](#111))
([1744df3](1744df3))
* **ci:** install the locked agent-harness instead of reading it from
the flake
([bc2395b](bc2395b))
* **ci:** provide the shell format config and locked JavaScript tools
([dd59634](dd59634))
* **claude:** trust only the CA store bundled with Claude Code
(furedea/dotfiles[#284](#284))
([34be271](34be271))
* **codex:** fall back to auth.json when no keyring is available
([#62](#62))
([79b6ceb](79b6ceb))
* correct agent tooling and Hister activation
(furedea/dotfiles[#85](#85))
([4bab065](4bab065))
* honor pytest testpaths and bootstrap bats on servers
(furedea/dotfiles[#116](#116))
([b17b59e](b17b59e))
* **hooks:** allow double quoted commit messages
([fc4afd4](fc4afd4))
* **hooks:** bound curl -o, -d and -H in the localhost rule
(furedea/dotfiles[#291](#291))
([7c9db8a](7c9db8a))
* **hooks:** close shell-syntax bypasses of the guard hooks
([#11](#11))
([c6aacdf](c6aacdf))
* **hooks:** close the guard contract gaps from
[#11](#11) review
([#31](#31))
([db318db](db318db))
* **hooks:** deny codex-companion calls whose text holds a dollar sign
or backtick
(furedea/dotfiles[#290](#290))
([f37c317](f37c317))
* **hooks:** find GNU grep on PATH instead of the first grep
(furedea/dotfiles[#193](#193))
([99ba317](99ba317))
* **hooks:** format without dotfiles-installed dprint and prettier
configs ([#16](#16))
([db21f55](db21f55))
* **hooks:** ignore git-ignored sources when judging a project removed
([#22](#22))
([97c6b93](97c6b93))
* **hooks:** ignore prose arguments when matching forbidden patterns
(furedea/dotfiles[#189](#189))
([d2049d6](d2049d6))
* **hooks:** judge each command as one line with any grep
(furedea/dotfiles[#196](#196))
([202f937](202f937))
* **hooks:** keep merged worktrees holding non-regenerable ignored files
([#29](#29))
([ac03cfa](ac03cfa))
* **hooks:** keep the first grep when no GNU grep is on PATH
(furedea/dotfiles[#195](#195))
([a0e6a2f](a0e6a2f))
* **hooks:** keep the verification snapshot from locking out symlinked
or large worktrees
([#66](#66))
([7d13f0e](7d13f0e))
* **hooks:** let cleanup_worktrees remove Claude Code session files
([#36](#36))
([0a910bc](0a910bc))
* **hooks:** let cleanup_worktrees tests choose the untrusted locations
(furedea/dotfiles[#306](#306))
([e82980e](e82980e))
* **hooks:** let GitHub API reads take an unquoted jq filter
(furedea/dotfiles[#198](#198))
([5b6210a](5b6210a))
* **hooks:** make stop verification reliable
(furedea/dotfiles[#81](#81))
([04a33dd](04a33dd))
* **hooks:** preserve verification evidence
(furedea/dotfiles[#87](#87))
([4b5b9c2](4b5b9c2))
* **hooks:** redirect sandbox-failing Git forms and drop covered prompts
(furedea/dotfiles[#180](#180))
([34e39a7](34e39a7))
* **hooks:** resolve Rust integration test targets inside tests
subdirectories
(furedea/dotfiles[#304](#304))
([2ccf547](2ccf547))
* **hooks:** respect project formatters and bound diagnostics
(furedea/dotfiles[#131](#131))
([30e83cf](30e83cf))
* **hooks:** scope generic secret regex to quoted values
([fc09292](fc09292))
* **hooks:** silence successful hook execution
([795d8f0](795d8f0))
* **hooks:** skip JavaScript triggers in projects without JavaScript
tests
(furedea/dotfiles[#161](#161))
([dc80e28](dc80e28))
* **hooks:** skip verification for a language whose project was removed
([#6](#6))
([4a9f325](4a9f325))
* **hooks:** support relocated harness assets
(furedea/dotfiles[#82](#82))
([59057bc](59057bc))
* **hooks:** treat any gh api call without write flags as a read
(furedea/dotfiles[#201](#201))
([3ecb215](3ecb215))
* **hooks:** treat glob characters inside double quotes as literal for
literal_words rules
([#41](#41))
([174a7f9](174a7f9))
* **hooks:** use agent-neutral guidance
([37153ce](37153ce))
* improve agent notifications and session setup
(furedea/dotfiles[#92](#92))
([9bf2349](9bf2349))
* load secret patterns from hook directory
([ca465ef](ca465ef))
* migrate dotfiles path to ghq convention
([faff774](faff774))
* **nix:** build CPython 3.15.2 for the ssl eMudhra denylist
([#113](#113))
([faba045](faba045))
* **nix:** default editor to Neovim
(furedea/dotfiles[#105](#105))
([2a9a22a](2a9a22a))
* resolve hook directory from bash source
([c6ca454](c6ca454))
* restore SSH signing and reliable Bats verification
(furedea/dotfiles[#91](#91))
([891adce](891adce))
* **sandbox:** deny writes to every repository's git hooks and config
(furedea/dotfiles[#298](#298))
([1941513](1941513))
* **sandbox:** match the Codex plugin script under any numeric version
(furedea/dotfiles[#302](#302))
([a49ddc3](a49ddc3))
* **security:** allow the Go checksum tree head and vulnerability
database in the sandbox
([#59](#59))
([af6e158](af6e158))
* **security:** ask for every script a non-bash shell receives
([#99](#99))
([f88f8fd](f88f8fd))
* **security:** close quoted-argument and wrapper bypasses in the
command guard ([#76](#76))
([5f72757](5f72757))
* **security:** close the remaining command guard bypasses
([#83](#83))
([0387739](0387739))
* **security:** decide not-a-fork for project rules on hosts without gh
([#67](#67))
([acaa758](acaa758))
* **security:** keep agent-browser and agent-desktop calls inside the
sandbox ([#64](#64))
([3f2d578](3f2d578))
* **security:** read more of the scripts handed to fish and PowerShell
for deny rules
([#110](#110))
([2c652bb](2c652bb))
* **skills:** audit Codex skill observations
(furedea/dotfiles[#88](#88))
([f429967](f429967))
* **skills:** refine routing triggers from audit
([cef3b9c](cef3b9c))
* **tests:** make git test wrappers exec the real git binary
(furedea/dotfiles[#310](#310))
([893c405](893c405))
* **tests:** stop shifting past the codex wrapper arguments
([eb0f6d7](eb0f6d7))


### Performance Improvements

* **hooks:** evaluate policy regexes with one grep and run pytest in
parallel
(furedea/dotfiles[#125](#125))
([ce80ea3](ce80ea3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: furedea-release[bot] <353651101+furedea-release[bot]@users.noreply.github.com>
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.

fix(bootstrap): verify downloaded tools against pinned checksums

1 participant