Skip to content

docs: update Deep Agents Code approval workflows - #5692

Merged
Mason Daugherty (mdrxy) merged 46 commits into
mainfrom
mdrxy/docs/dcode-approval-goals
Aug 27, 2026
Merged

docs: update Deep Agents Code approval workflows#5692
Mason Daugherty (mdrxy) merged 46 commits into
mainfrom
mdrxy/docs/dcode-approval-goals

Conversation

@mdrxy

@mdrxy Mason Daugherty (mdrxy) commented Aug 26, 2026

Copy link
Copy Markdown
Member

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_switcher opt-out (0.1.47), [startup].recent mode persistence (0.1.60), headless -y/--yolo warn-and-ignore (0.1.61), and goals.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+Tab is 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_prose passes on both changed files.

Stack

This is stack 2/4 and targets #5694 (mdrxy/docs/dcode-configuration-backfill).

Made by Open SWE

@github-actions github-actions Bot added deepagents For docs changes to Deep Agents oss internal labels Aug 26, 2026
@mdrxy
Mason Daugherty (mdrxy) marked this pull request as ready for review August 26, 2026 22:14
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/goals-and-rubrics.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
@open-swe
open-swe Bot changed the base branch from main to mdrxy/docs/dcode-configuration-backfill August 27, 2026 20:33
Mason Daugherty (mdrxy) and others added 16 commits August 27, 2026 17:48
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>
@mdrxy
Mason Daugherty (mdrxy) force-pushed the mdrxy/docs/dcode-approval-goals branch from ec4ed71 to 1a2eac8 Compare August 27, 2026 21:48
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
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>
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/approval-modes.mdx Outdated
Comment thread src/oss/deepagents/code/goals-and-rubrics.mdx Outdated
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>
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>
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-mdrxyd-1787873943-d8c7f2b

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):

@mdrxy
Mason Daugherty (mdrxy) merged commit bbc006b into main Aug 27, 2026
25 checks passed
@mdrxy
Mason Daugherty (mdrxy) deleted the mdrxy/docs/dcode-approval-goals branch August 27, 2026 23:39
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents For docs changes to Deep Agents internal oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant