Repository navigation
fix(pi): confirm ask decisions and deliver skills, instructions, and settings - #223
Conversation
… them The Pi bridge only recognized deny, so commands that guards escalate with permissionDecision "ask" ran without confirmation. Ask now prompts through ctx.ui.select, and blocks when the user declines or no UI is available. Decisions combine as deny > ask > allow. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…keys Install Claude-rendered skills to ~/.pi/agent/skills and shared instructions to ~/.pi/agent/AGENTS.md. Merge only defaultProvider, defaultModel, and defaultThinkingLevel from the optional pi/settings.json source into ~/.pi/agent/settings.json, keeping user-owned keys. 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. |
|
Automated review: no blocking findings. Checked:
Minor note, not blocking: if a key is later removed from 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Bravo. 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>
Closes #220
概要
permissionDecision: "ask"を無視し,確認が必要なコマンドが無確認で実行されていた.UI ありならctx.ui.selectで確認し,No / キャンセル / UI なしはblockにする.複数 hook の判定は deny > ask > allow で合成する.既存の deny(exit 2 /decision: block)の挙動は変えない.~/.pi/agent/skills)と共通 instructions(~/.pi/agent/AGENTS.md)を配布する.~/.pi/agent/settings.jsonへdefaultProvider/defaultModel/defaultThinkingLevelだけをマージし,既存のキーは保つ.ソースは任意のpi/settings.json.補足
SkillSource::RenderClaude(disable-model-invocationを保つため).tests/pi_provider.rs,tests/pi_bridge_smoke.mjs(cargo testから実行).Nix の check で node と python3 を使うためnativeCheckInputsに追加.sync-config --provider piは失敗しなくなったため,旧テストpi_sync_fails_without_writing_filesを削除.🤖 Generated with Claude Code