1.7 KiB
1.7 KiB
Ticket 00001KV5W3PJ3 is complete.
Completed implementation:
- Added typed Plugin permission declarations/grants for tool surfaces, tool names/namespaces,
external_write, and futurehost_api.https/host_api.fsboundaries. - Bound grants to source-qualified package identity, deterministic digest, and exact package version.
- Added fail-closed registration gating in
PluginToolFeature::install. - Added independent runtime execution gating in
run_plugin_wasm_toolbefore WASM load/execute. - Added future host API permission boundary checks without implementing actual
https/fshost APIs. - Added bounded/sanitized denial diagnostics.
- Preserved the existing PreToolCall / Tool permission path; plugin grants are an additional fail-closed gate, not an ambient authority grant.
Reviewed / merged:
- Implementation commit:
b1ba1599(plugin: enforce permission grants) - Reviewer result: approve, no blockers.
- Orchestrator merge commit:
94aa3c1d(merge: plugin permission grants)
Validation in Orchestrator worktree:
cargo fmt --check— passedcargo check -p manifest -p pod— passedcargo test -p pod plugin -- --nocapture— passed; 27 passed, 0 failedcargo test -p manifest plugin -- --nocapture— passed; 17 passed, 0 failedgit diff --check— passed
Cleanup:
- Stopped Coder Pod
yoi-coder-00001KV5W3PJ3. - Stopped Reviewer Pod
yoi-reviewer-00001KV5W3PJ3. - Removed child worktree
/home/hare/Projects/yoi/.worktree/00001KV5W3PJ3-plugin-permission-grants. - Deleted merged branch
impl/00001KV5W3PJ3-plugin-permission-grants.
Root/original workspace promotion was not performed in this step; the completed work is integrated on the Orchestrator branch.