Repository navigation
fix: dedupe the Nix socket in Pi's srt policy and name the failed sidecar write - #237
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Review summaryNo findings. I didn't see any correctness bugs, security problems or missing tests.
Blocking findings (P0/P1): 0 |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryNo blocking findings (0 × P0/P1, no P2/P3 worth raising).
🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryNo blocking findings.
P0/P1: 0 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6aace0312e
ℹ️ 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".
| register({ getAllTools() { return [...tools.values()]; }, registerTool(value) { tools.set(value.name, value); if (value.name === 'bash') tool = value; }, on(event, fn) { if (event === 'session_shutdown') cleanups.push(fn); } }); | ||
| rmSync(join(bin, 'srt')); | ||
| // A host may install a real srt; the missing-srt case must not resolve it. | ||
| process.env.PATH = process.env.PATH.split(delimiter).filter(dir => !existsSync(join(dir, 'srt'))).join(delimiter); |
There was a problem hiding this comment.
Preserve git while hiding srt from PATH
When the real srt and the only git executable share a PATH directory (for example, a consolidated Nix profile), this removes git as well. Every tool call invokes prepare(), which reruns git rev-parse; losing git changes the cached repository result and raises Sandbox git layout changed before srt is resolved. The broad assert.rejects calls therefore pass without exercising the missing-srt behavior this regression test is intended to cover, so construct a PATH that retains a known git while excluding only srt, and assert the expected missing-executable error.
Useful? React with 👍 / 👎.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
1 similar comment
|
@codex review |
Review summaryNo findings. Nothing blocks the merge (0 P0/P1). What I checked:
🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🤖 I have created a release *beep* *boop* --- ## [0.9.13](agent-harness-v0.9.12...agent-harness-v0.9.13) (2026-11-12) ### Features * **codex:** apply the secret path policy to the guarded filesystem ([#233](#233)) ([0830fd9](0830fd9)) * **pi:** run Pi shell and file tools inside srt ([#228](#228)) ([37de3ac](37de3ac)) ### Bug Fixes * dedupe the Nix socket in Pi's srt policy and name the failed sidecar write ([#237](#237)) ([1ccafe0](1ccafe0)) * fail on missing HOME, bound GitHub API waits, reject unknown hook keys ([#218](#218)) ([c0b936d](c0b936d)) * **install:** publish atomically and keep Claude settings keys the harness does not own ([#219](#219)) ([c914c76](c914c76)) * **pi:** confirm ask decisions and deliver skills, instructions, and settings ([#223](#223)) ([2e755af](2e755af)) --- 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>
…463) agent-config を v0.1.3,agent-harness を v0.9.13 に更新し,片付けスクリプトの修正と Pi の srt 設定の修正を取り込む. | 入力 | 変更前 | 変更後 | | --- | --- | --- | | agent-config | `0638e4b` | `9e2843c`(v0.1.3) | | agent-harness | `37de3ac` | `b365277`(v0.9.13) | | 主な変更 | 中身 | | --- | --- | | furedea/agent-config#184 | `cleanup_worktrees.py` がマージ済みブランチの worktree を残すとき理由を1行出す.残す理由の行が後続の worktree で消える不具合も修正 | | furedea/agent-harness#237 | Pi の srt 設定の Nix ソケットを1回だけにする.sidecar・Pi 設定生成の失敗メッセージに操作を含める.PATH の srt に依存しないテスト | ## 検証 - [x] `nix build .#darwinConfigurations.mba.system` が成功 - [x] 生成された `sandbox_policy.json` の `allowUnixSockets` が `["/nix/var/nix/daemon-socket/socket"]` の1件(`37de3ac`→`1ccafe0` 時点で確認) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Closes #236
変更
fix(pi):policy_opは/nix/var/nix/daemon-socket/socketをallowUnixSocketsに未登録のときだけ追加する.設定元にあっても生成物に1回だけ入る.fix(config-sync):sidecar_opのエラーが,失敗した操作(sidecar の書き込み)と対象パスを含む.test(pi):pi_sandbox_smoke.mjsの missing srt ケースを,PATHからsrtを含むディレクトリを除いて実行する.ホストに実物のsrtがあってもpi_bash_tool_runs_only_through_srtが通る.テスト
pi_srt_policy_lists_the_nix_socket_once_when_the_source_has_it(設定元にソケットがある場合),pi_install_generates_complete_srt_policy_from_claude_source(ない場合は末尾に1回)sidecar_without_a_declared_file_names_the_operation_and_target🤖 Generated with Claude Code