docs(codemode): add interpreter doc (#36026)

This commit is contained in:
Aiden Cline 2026-07-09 00:42:48 -05:00 committed by GitHub
commit 389c866cac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 316 additions and 46 deletions

View file

@ -4,6 +4,7 @@
- Do not add a speculative generic permission or approval policy. A host omits tools it does not expose and enforces domain authorization inside each provided tool.
- Keep Code Mode unaware of host session, channel, and conversation models. The hosting application supplies trusted execution scope around it.
- Tool schemas are the model-facing Interface. Keep arguments minimal and natural to the operation; never add unrelated IDs as ambient capability tokens.
- When interpreter behavior or support changes, update `interpreter-support.md` and direct tests in the same PR. Update `codemode.md` when the package design, integration status, or rationale changes.
## OpenAPI