Repository navigation
docs: document the plan-mode scratchpad - #1023
Merged
Merged
Conversation
Co-authored-by: Eden Reich <[email protected]>
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
October 20, 2026 14:32
5 tasks
Contributor
|
🗑️ Preview environment destroyed. |
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Oct 31, 2026
## [0.9.23](0.9.22...0.9.23) (2026-10-31) ### 👷 CI * **release:** label issues and PRs shipped in an rc with rc ([#1044](#1044)) ([b0c47d8](b0c47d8)) ### 📚 Documentation * **adk:** frame rust/ts artifact storage as s3-compatible ([#1050](#1050)) ([4b582a6](4b582a6)) * **adk:** s3 artifact provider with RustFS example ([#1046](#1046)) ([c729c4b](c729c4b)) * BashOutput and ListShells need no approval ([#1032](#1032)) ([0b4f3c0](0b4f3c0)) * **cli:** away exit and stop cleanup after a teleport home ([#1053](#1053)) ([36dd83b](36dd83b)) * **cli:** channels configurable tool result cap ([#1043](#1043)) ([a6d20cf](a6d20cf)) * **cli:** document compact.strategy pointer compaction mode ([#1036](#1036)) ([a3a92a3](a3a92a3)) * **cli:** kubernetes workspace gateway modes and gateway_env ([#1054](#1054)) ([cb89aa1](cb89aa1)) * **cli:** panel search accepts multibyte input ([#1041](#1041)) ([a030902](a030902)) * **cli:** tools validate exit code, status formats, env list ([#1039](#1039)) ([e3ddb20](e3ddb20)) * document the gateway segment in the run identity line ([#1028](#1028)) ([a016726](a016726)) * document the plan-mode scratchpad ([#1023](#1023)) ([c44f1c9](c44f1c9)) * document the Rust read-only library carve-out ([#1034](#1034)) ([efc6f56](efc6f56)) * document the wall-clock time budget ([#1022](#1022)) ([dc56278](dc56278)) * **operator:** orchestrator gateway ref and gateway parking ([#1058](#1058)) ([70e1bb2](70e1bb2)) * **operator:** orchestrator image entrypoint contract ([#1049](#1049)) ([e2048dc](e2048dc)) * **operator:** status.url port and spec.server defaults ([#1057](#1057)) ([6970d29](6970d29)) * read attaches image files for vision models ([#1025](#1025)) ([2605223](2605223)) * restore the WebWright provider (re-added upstream) ([#1026](#1026)) ([6242edb](6242edb)) ### 🔧 Miscellaneous * **deps:** bump claude-code 2.1.289 -> 2.1.296 ([#1017](#1017)) ([2d5d9da](2d5d9da)) * **deps:** bump claude-code 2.1.296 -> 2.1.308 ([#1030](#1030)) ([3ec88a2](3ec88a2)) * **deps:** bump infer CLI v0.226.0 -> v0.231.1 ([#1018](#1018)) ([d5b1c02](d5b1c02))
Contributor
|
🎉 This PR is included in version 0.9.23 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Documents the plan-mode scratchpad in
cli.md, verified against the CLI implementation (config/projects.go,internal/sandbox/paths.go,internal/sandbox/bash_paths.go,internal/tools/bash.go) and the CLI's owndocs/plan-mode.md/docs/tools-reference.md.Changes, all in
cli.md:### Plan Modeintro rewritten around the scratchpad model, plus a new#### The scratchpadsubsection: the path, the only-writable-location rule, lazy creation,/resetwipe, survival into the executing session, and the plain-error rejection (including../traversal and symlinks resolving outside).git statusin plan mode reports on the scratchpad), with the absolute-argument caveat on allowed-list commands.#### Approving a plan: the scratchpad is left in place for the executing session.##### Per-mode allowed-list: theplan:YAML comment and the default-deny bullet no longer call plan mode read-only and say commands run pinned to the scratchpad, with thego build.*/go test.*opt-in example and a note that creating commands (mkdir,ln -s) pass through the scratchpad gate.### File System Tools: one line that Write, Edit, MultiEdit and Delete run in plan mode only inside the scratchpad.Notes
AGENTS.mdin this repo forbids tracker numbers or links in doc content, so those were left out - the behavior itself is described instead.planModeWorkDirininternal/tools/bash.go. Both are documented.Validation
bun run lint:md,bun run format:checkandbun run buildall pass.Closes #1020
Generated with Claude Code