Commit a8b78d4
🔒 (custom-tool-policy): Correct policy.py docstring on production wiring
The module docstring claimed `ctx.client` is "the gateway-backed interceptor;
use it in place of LocalPolicyEngine". `ctx.client` has no `check_tool_start`,
so that wiring disables governance (fail-open). Document why LocalPolicyEngine
exists (an in-process stand-in implementing the check_tool_start contract) and
that production governance comes from a framework adapter wired by
init_assembly(), not from ctx.client.
Refs AAASM-4836.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 60a4fd2 commit a8b78d4
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| |||
0 commit comments