Skip to content

Docs: re-check the eight migrated user guides against the code (#205) - #361

Merged
antiv merged 1 commit into
mainfrom
issue-205-user-guides
Nov 14, 2026
Merged

antiv merged 1 commit into
mainfrom
issue-205-user-guides

Conversation

@antiv

@antiv antiv commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Closes #205. I read each of the eight guides against the code it describes, fixed what didn't match, completed its covers: list and removed status: migrated. --check now reports 7 migrated guides, all of them dev guides (#206).

What changed, per guide

fallback-model

  • The fallback takes the workspace's key for its provider, or the server's (phase 4). The guide said "server env vars" only.
  • Field names: Fallback Model in the agent form, Fallback model in the Visual Builder.
  • The same stale sentence was in docs/dev/agent-runtime.md, and in two code comments (model_fallback_callback.py, langgraph/agent_builder.py). All three are corrected.

workflow-agents

  • Wrong before: "Edges without route act as the default path." ADK always follows an edge with no route; the default path is the route "__DEFAULT__" (google/adk/workflow/_graph.py).
  • Added that route may be a list, and that with no edges the sub-agents run in order.
  • Added that a router with no match and no default_route emits no route.
  • Added where planner_config is edited in the form.
  • Graph agents are ADK only: on LangGraph, building one fails.

external-agents

  • A name with no provider prefix, not only gemini-*, goes to native Gemini. That path ignores both endpoint fields and only logs a warning.
  • "Two failure modes" became three refusals: the list has three items.
  • A reply without usage is still logged, with 0 tokens. I checked against a stub server: LiteLLM fills in a zero usage.

demo-murder-mystery

  • The models are the ones in the templates today. The guide listed Claude Haiku, GPT-4o-mini and Gemini Pro.
  • Corrected UI names: Template Library, the Work Room, and the Agents page's Widget Keys icon.
  • Imported agents take the project slug as their prefix.
  • The generator edition (mystery-generator, static/mystery-demo.html, mystery_game.py) had been listed as a "future idea". It now has its own section: the case lives in the player's session, the inspector's and suspects' tools and what each can see, and the case model with its fallbacks.

eu-ai-act

  • The image description reads "AI-generated image for prompt: …", cut to 300 characters.
  • The audit log section now explains the retention setting instead of saying "append-only".
  • I removed a sentence about the guide's own past wording.

file-search

  • The dialog's real buttons: Manage under File Search (RAG), Assign Store / Create New Store / Create Store, Upload.
  • The row's Reload icon. The guide named a "Reinitialize" button, which doesn't exist.
  • New: on the LangGraph runtime, assigned stores are not added to the agent. Only stores written into tool_config by hand are queried. See below.

subagent-delegation

  • The subagent's key comes from the workspace (phase 4).
  • timeout_seconds is capped at 90.
  • From its fourth tool call, a subagent gets "Tool call limit reached".
  • Subagents run under the parent's guardrails.
  • The token log's session id starts with the parent's.
  • The tool list now has every name and alias the code accepts.
  • "Two consequences" became three.

dynamic-instructions

  • label_search matches anywhere in the label, not only at the start.
  • current_user / {user_id} in a label is replaced with the caller's id.
  • Creating, changing and deleting blocks through the tools needs an admin in the conversation. The guide's "update human_current_user automatically" works only in an admin's chats, and it now says so.

Not checked

  • The legal dates in eu-ai-act (the Digital Omnibus and the Art. 50 dates) are left as written. I did not re-verify them.
  • A real model run of each guide's steps. The provider paths are covered by the suite, and LiteLLM's zero usage was checked against a stub server.

Found along the way

The LangGraph runtime doesn't read agent_file_search_stores, which ADK's agent_manager does at build time. An agent with stores assigned in the dashboard therefore has no File Search there. This PR documents it; a fix would be a separate PR.

Checks

  • gen_docs.py --check passes.
  • drift lists only docs/dev/langgraph-runtime.md. The only change in langgraph/agent_builder.py is a comment, so the guide still holds.
  • Full suite: 2033 tests, 1 skipped.

Each guide was read against the files it covers, its status: migrated
line removed and its covers list completed.

- fallback-model, subagent-delegation: the fallback and a subagent on
  another model take the workspace's key or the server's, not only the
  environment's (phase 4); the code comments saying so are corrected
  too
- workflow-agents: an edge without a route is always followed; the
  default path is the route __DEFAULT__; graph agents are ADK only
- external-agents: a prefix-less name ignores both endpoint fields; a
  reply without usage is logged with 0 tokens; three refusals, not two
- demo-murder-mystery: today's models, Template Library, the Agents
  page's Widget Keys, and the generator edition (mystery-generator)
  described instead of listed as a future idea
- eu-ai-act: the image description text, the audit log's retention
- file-search: the dialog's real buttons, the Reload icon, and that the
  LangGraph runtime does not add assigned stores
- subagent-delegation: timeout at most 90 s, the tool call limit, the
  parent's guardrails, every tool name and alias
- dynamic-instructions: label_search matches anywhere, current_user is
  replaced, writes need an admin in the conversation

Closes #205
@antiv
antiv merged commit 511a31a into main Nov 14, 2026
2 checks passed
@antiv
antiv deleted the issue-205-user-guides branch November 14, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Re-check the user guides marked status: migrated against the code

1 participant