Repository navigation
build(nix): install sandbox-runtime from nixpkgs-unstable - #455
Conversation
Pi's generated extensions run its bash and file tools through srt. nixpkgs-unstable ships srt 0.0.79, whose deny globs also match the contents of a denied directory; the stable 0.0.52 matched only the node. Co-Authored-By: Claude Opus 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 summary: This PR adds one line: 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Hooray! 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". |
agent-harness を `37de3ac` に更新し,furedea/agent-harness#228(Pi の bash とファイル系ツールを srt 内で実行)を Pi に配る.srt 本体は #455 で導入済み. | 項目 | 現在 | 変更後 | | --- | --- | --- | | agent-harness | `e010600`(#228 を含まない) | `37de3ac` | | `~/.pi/agent/extensions` | `hook_bridge.ts` のみ | `bash_sandbox.ts`・`sandbox/file_operations.mjs`・`sandbox_policy.json` が加わる | ## 検証 - [x] `nix build .#darwinConfigurations.mba.system` が成功 - [x] 生成物に Pi の拡張と `sandbox_policy.json` が含まれ,`denyRead` に `~/.pi/agent/auth.json`,`network.deniedDomains` が出力されている <details><summary>範囲外</summary> - Pi の実機確認(ChatGPT プランが使えるようになってから) </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Pi の bash とファイル系ツールを srt で包むため(furedea/agent-harness#221,#228),
unstable.sandbox-runtime(srt 0.0.79)を入れる.0.0.52 は deny の glob がディレクトリの中身に効かないため使えない.**/.git/hooks/**など)denyGlobRegexで中身まで一致する検証
nix build .#darwinConfigurations.mba.systemが成功.git/hooks/**・.git/config・.git/worktrees/*/config.worktreeへの書き込みが拒否されるdenyRead下のファイルを読めない範囲外
🤖 Generated with Claude Code