Spencer
4fde6c014c
feat(policy): map --yolo to allowedTools wildcard policy
...
This PR maps the `--yolo` flag natively into a wildcard policy array
(`allowedTools: ["*"]`) and removes the concept of `ApprovalMode.YOLO` as a
distinct state in the application, fulfilling issue #11303 .
This removes the hardcoded `ApprovalMode.YOLO` state and its associated
UI/bypasses. The `PolicyEngine` now evaluates YOLO purely via data-driven rules.
- Removes `ApprovalMode.YOLO`
- Removes UI toggle (`Ctrl+Y`) and indicators for YOLO
- Removes `yolo.toml`
- Updates A2A server and CLI config logic to translate YOLO into a wildcard tool
- Rewrites policy engine tests to evaluate the wildcard
- Enforces enterprise `disableYoloMode` and `secureModeEnabled` controls
by actively preventing manual `--allowed-tools=*` bypasses.
Fixes #11303
2026-04-03 05:15:03 +00:00
Jerop Kipruto
64c928fce7
feat(core): implement context-aware persistent policy approvals ( #23257 )
2026-04-02 20:01:33 +00:00
AK
d9d51ba15b
docs(core): add subagent tool isolation draft doc ( #23275 )
...
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com >
2026-04-01 18:45:21 +00:00
Abhi
beab7cc053
docs(policy): remove unsupported mcpName wildcard edge case ( #24133 )
2026-03-31 21:11:29 +00:00
Keith Schaab
b35c12d8d0
fix(core)!: Force policy config to specify toolName ( #23330 )
2026-03-23 22:35:08 +00:00
Tommaso Sciortino
37857ab956
fix(core): properly support allowRedirect in policy engine ( #23579 )
2026-03-23 20:32:50 +00:00
CogitationOps
974d29128f
Wrap the text under TOML rule for easier readability in policy-engine.md… ( #23076 )
...
Co-authored-by: Sam Roberts <158088236+g-samroberts@users.noreply.github.com >
2026-03-20 23:30:09 +00:00
Sam Roberts
2ebcd48a4e
Update callouts to work on github. ( #22245 )
2026-03-19 21:11:14 +00:00
Abhi
fd44718bfe
docs: add additional notes ( #23008 )
2026-03-18 20:24:51 +00:00
ruomeng
1725ec346b
feat(plan): support plan mode in non-interactive mode ( #22670 )
2026-03-18 20:00:26 +00:00
kawasin73
fd62938945
docs(policy): remove trailing space from commandPrefix examples ( #22264 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com >
2026-03-16 14:45:30 +00:00
Abhi
1d2585dba6
fix(core): explicitly pass messageBus to policy engine for MCP tool saves ( #22255 )
2026-03-13 01:31:13 +00:00
Gal Zahavi
6900fe5527
feat(policy): add --admin-policy flag for supplemental admin policies ( #20360 )
2026-03-11 17:35:45 +00:00
Abhi
0d60d68cf9
docs(mcp): standardize mcp tool fqn documentation ( #21664 )
2026-03-10 19:13:00 +00:00
AK
527074b50a
feat(policy): support subagent-specific policies in TOML ( #21431 )
2026-03-09 19:22:46 +00:00
Abhijit Balaji
09e99824d4
docs: document tool exclusion from memory via deny policy ( #21428 )
...
Co-authored-by: Sam Roberts <158088236+g-samroberts@users.noreply.github.com >
2026-03-09 16:29:52 +00:00
Chris Williams
0f019122b0
Docs: Make documentation links relative ( #21490 )
2026-03-09 15:23:00 +00:00
Tommaso Sciortino
c89d4f9c6c
docs: add Windows PowerShell equivalents for environments and scripting ( #20333 )
2026-02-27 23:41:47 +00:00
christine betts
e17f927a69
Add support for policy engine in extensions ( #20049 )
...
Co-authored-by: Jerop Kipruto <jerop@google.com >
2026-02-27 03:29:33 +00:00
Jerop Kipruto
15f6c8b8da
feat(policy): Propagate Tool Annotations for MCP Servers ( #20083 )
2026-02-24 14:20:11 +00:00
Jerop Kipruto
347f3fe7e4
feat(policy): Support MCP Server Wildcards in Policy Engine ( #20024 )
2026-02-23 19:07:06 +00:00
Abhijit Balaji
d8b24e6983
feat(policy): implement project-level policy support ( #18682 )
2026-02-20 00:16:03 +00:00
Sam Roberts
d25c469f77
Migrate files to resource or references folder. ( #19503 )
2026-02-19 23:47:39 +00:00