docs: update Deep Agents Code approval workflows - #5692
Merged
Conversation
Mason Daugherty (mdrxy)
marked this pull request as ready for review
August 26, 2026 22:14
open-swe
Bot
changed the base branch from
main
to
mdrxy/docs/dcode-configuration-backfill
August 27, 2026 20:33
Document shared configuration added in recent deepagents-code releases, verified against the config manifest on langchain-ai/deepagents main: - [models].allowed allowlist: provider:model and provider:* syntax, unset vs empty-list semantics, fail-closed malformed lists (0.1.61) - startup.read_project_dotenv plus the exact dotenv-denied key set, including the git config-injection family (0.1.60) - DEEPAGENTS_HOME profile relocation: valid forms, profile paths, and the inherited-env-only trust boundary (0.1.62) - LangSmith secret redaction now enabled by default (0.1.62) - history.retention_days startup sweep for offloaded archives (0.1.61) - memory.auto_save read-only memory mode (0.1.38) - display.show_usage_stats, display.collapse_pastes, threads.compact_on_resume_threshold, update.prices_auto_update - Complete [interpreter] seven-setting reference; correct the stale --interpreter-tools default to 'safe' in the CLI reference Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Mason Daugherty (mdrxy)
force-pushed
the
mdrxy/docs/dcode-approval-goals
branch
from
August 27, 2026 21:48
ec4ed71 to
1a2eac8
Compare
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
…s/dcode-approval-goals
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
…s/dcode-approval-goals
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Base automatically changed from
mdrxy/docs/dcode-configuration-backfill
to
main
August 27, 2026 23:34
Resolve the configuration profile-location conflict while preserving the approval and goals documentation changes. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Contributor
|
Mintlify preview branch generated: Site preview: https://langchain-5e9cc07a-preview-mdrxyd-1787873943-d8c7f2b.mintlify.site Important Preview links may take a few minutes to start working while the deployment finishes. Changed documentation pages (preview deep links): |
Mason Daugherty (mdrxy)
added a commit
that referenced
this pull request
Aug 27, 2026
## Summary Documents the Deep Agents Code diagnostic slash commands shipped in langchain-ai/deepagents#5830 (`/context-doctor`, 0.1.62), langchain-ai/deepagents#4649 (`/tools`, 0.1.37), and langchain-ai/deepagents#5036 (`/cost`, 0.1.51). - **`cli-reference.mdx`**: new "Diagnose and audit a session" section covering `/tools` (active tool set, unavailable MCP servers, tool-shaping flags), `/context-doctor` (injected-context audit, estimated tokens, unexpected growth, relationship to `/context` and `dcode doctor`), and `/cost` (estimated thread cost, checkpoint persistence, genai-prices source, display-only caveat). Each carries its minimum-version `<Note>`. - **`quickstart.mdx`**: slash-command list entries plus a pointer from "Inspect context-window usage"; refreshes `/clear` and `/force-clear` descriptions and current shortcuts (`Ctrl+G` editor, `Ctrl+T` subagent panel, `Shift+Tab` approval cycle). Example output was generated by exercising the real rendering code (`context_doctor.py`, `tool_catalog.py`, `_session_stats.py`) against the current source at langchain-ai/deepagents@9f3a1dd38; command names, descriptions, and visibility match `command_registry.py` and the generated `COMMANDS.md`. ## Verification - `vale` 3.9.6 (scoped `lint_prose` on both changed files): 0 errors, 0 warnings, 0 suggestions. - `mint broken-links` and `mint broken-links --check-anchors` on a fresh `pipeline build`: no broken links. - 241 related deepagents unit tests pass (`test_context_doctor.py`, `test_cost_tracking.py`, `test_command_registry.py`, `test_tool_catalog.py`). AI agent involvement: authored by Open SWE. ## Stack This is stack 3/4 and targets #5692 (`mdrxy/docs/dcode-approval-goals`). Made by [Open SWE](https://openswe.vercel.app/agents/90221b46-f65a-5c24-95e1-bb8ae62dadd9) --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
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.
Description: Update approval-modes and goals-and-rubrics to current deepagents-code behavior: Auto GA without experimental gate (0.1.46), YOLO in the Shift+Tab cycle with
startup.yolo_switcheropt-out (0.1.47),[startup].recentmode persistence (0.1.60), headless-y/--yolowarn-and-ignore (0.1.61), andgoals.auto_accept_criteria(0.1.46).Release Note: Docs refreshed for approval modes and goal criteria auto-accept; the pages were stale on Auto's GA status and mode cycling.
References langchain-ai/deepagents releases/issues #4957, #5035, #5665, #5750, #4940. Also reflects current
main:Shift+Tabis the approval-mode cycle, and Auto permits ordinary instrumental steps while keeping high-risk effects explicitly gated.Test Plan: Verified every claim against deepagents main source (
approval_mode.py,config_manifest.py,model_config.py,main.py,app.py) and CHANGELOG;make lint_prosepasses on both changed files.Stack
This is stack 2/4 and targets #5694 (
mdrxy/docs/dcode-configuration-backfill).Made by Open SWE