You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes the real Pi + AgentProfile path used by Discovery when filesystem read confinement is enabled.
Honor custom PI_CODING_AGENT_DIR as the sole Pi config source and redirect the confined child to its mounted location.
Resolve explicit Pi extensions through that same in-confined-run location.
Apply path translation only after the execution layer proves confinement is active; host, Docker, and explicit warn-fallback argv remain unchanged.
Grant run-scoped project trust for exact profile resources while keeping ambient context, skills, and prompt templates disabled; calls without a profile are unchanged.
Live Pi -> Tangle Router -> DeepSeek V4 Flash with an inline AgentProfile skill plus explicit pi-mcp-adapter returned PROFILE_REWRITE_FINAL_OK (5,009 tokens).
Pi settings/models/auth SHA-256 hashes were unchanged.
DeepSeek V4 Flash found the unavailable-jail fallback defect in the first head; the second commit fixes it in the execution layer and pins both active and fallback behavior.
Independent DeepSeek V4 Flash review of exact head ccd2b04dceaed4f6ca5bdb93d95e6e956e3afbd3: APPROVE.
The previous blocker is resolved at the execution layer: unavailable-jail warn fallback returns the original host argv before rewriting; Docker never applies the OS-jail rewrite; an active OS jail rewrites only exact extension paths immediately following --extension; and a user task equal to that path is unchanged. Custom PI_CODING_AGENT_DIR, run-scoped --approve, mounts, and translated paths agree. No blocking source finding.
Exact-head proof: GitHub test passed; local suite 592 passed / 6 skipped; filesystem-jail suite 8/8; focused suite 79/79; TypeScript and package verification passed. A live isolated Pi + DeepSeek V4 Flash run loaded an inline AgentProfile and explicit MCP adapter under filesystem confinement, returned PROFILE_REWRITE_FINAL_OK with HTTP 200 and 5,009 tokens, and left settings/model/auth files unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the real Pi + AgentProfile path used by Discovery when filesystem read confinement is enabled.
Proof at ccd2b04:
No Claude or Codex model was used.