Files
deepseek-harness/packages/subagent/subagent-codex/README.i18n.yaml
T
Dudu-0223 ff563d07e0 feat(subagent): name subagents in their creator catalog
Models coordinate subagents through send_message, interrupt_agent, list_agents,
and Team task owners, but every one of those addressed a member by a
36-character Session id. Each new child now has a name, unique among its
creator's children, recorded as a field of the subagent/catalog entry the
creator already appends (payload version 3).

The Session id stays the only execution identity for routing, authorization,
persistence, task ownership, and navigation. A name is a model-facing
reference: 1-32 lower-case letters, digits, or hyphens starting with a letter,
never `lead`, so a UUID never parses as one. Omission selects the first free
`agent-N`; an explicit duplicate or invalid name fails before startup. The
creator reserves the name synchronously at admission and releases it when the
catalog entry commits or startup fails, so no second write, rollback protocol,
or optional naming service exists.

The root is `lead`, and a descendant's full name is its path from the root
without a `lead/` prefix, such as `reviewer/checker`. Sibling-unique segments
make full names tree-unique without a root registry, and cold resume rebuilds
a member's path from the catalogs along its creation chain. A member below an
unnamed historical creator keeps its Session id as its name. resolveName()
reads only the catalogs along the path and grants no authority.

Tools, runtime-authored text, and the Web client consume names: delegation
takes an optional name and returns { kind, subagentId, name }; send_message and
interrupt_agent take `agent`; list_agents rows carry name, status, and
description; Team task results report the owner's name while storage keeps
ownerId; identity runtime context, message framing, and settlement notices use
full names. Recorded sessions, CLI and Web expectations, the Python runtime
snapshots, bilingual docs, an upgrade guide, and an Agent Note follow.
2026-11-02 14:58:32 +08:00

83 lines
3.2 KiB
YAML

# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/subagent/subagent-codex/README.md
/:
en: c0c24742184eba37
zh: 2982b61ecfff95ce
/deepseek-ai-dsh-subagent-codex:
en: c3f2c833cb91228d
zh: 3267d24936c5973f
/deepseek-ai-dsh-subagent-codex/summary:
en: 895eb3910428c51e
zh: c5eb0d32c789520d
/deepseek-ai-dsh-subagent-codex/table-of-contents:
en: d152484eb41ac6b4
zh: 09388d293f9be9cb
/deepseek-ai-dsh-subagent-codex/use-this-package:
en: 2ac37ff256c2e329
zh: 95be2a38e7c3d094
/deepseek-ai-dsh-subagent-codex/use-this-package/installing-the-bundle:
en: 7740af6d6cb86814
zh: e5eb3546e160bac8
/deepseek-ai-dsh-subagent-codex/use-this-package/configuration:
en: b8163849d388478e
zh: cf74fcaeef62c7ae
/deepseek-ai-dsh-subagent-codex/use-this-package/exposing-the-tool:
en: b82b4698150bb45e
zh: 40f0d852d317491e
/deepseek-ai-dsh-subagent-codex/use-this-package/what-you-get:
en: abd75016d4c7f61e
zh: 904158c896bd21ce
/deepseek-ai-dsh-subagent-codex/use-this-package/failure-and-recovery:
en: 4ffe0312c5a8f722
zh: 532a1997e9ae825b
/deepseek-ai-dsh-subagent-codex/understand-the-implementation:
en: d283c5564d6697e1
zh: 723aa78188880979
/deepseek-ai-dsh-subagent-codex/understand-the-implementation/design-concept:
en: 40315dca80a4e688
zh: 6b12db5e1037db98
/deepseek-ai-dsh-subagent-codex/understand-the-implementation/source-map:
en: 36647129f061610f
zh: 42947c700d1d9202
/deepseek-ai-dsh-subagent-codex/understand-the-implementation/run-flow:
en: b8244d26ba25f468
zh: 6cb77dfece19cce7
/deepseek-ai-dsh-subagent-codex/further-exploration:
en: e2e35a40060c1ba8
zh: c1676579ebac7c7f
/deepseek-ai-dsh-subagent-codex/model-experience:
en: 215e7ba838619b7b
zh: a311da3843709f90
/deepseek-ai-dsh-subagent-codex/model-experience/child-request:
en: 1796fa78833bfc2b
zh: d925d4c0d6c46552
/deepseek-ai-dsh-subagent-codex/model-experience/child-request/what-the-model-sees:
en: 7dd70afca1823730
zh: 7a07bb554d82c892
/deepseek-ai-dsh-subagent-codex/model-experience/child-request/token-effect:
en: 7812d203a360434a
zh: 52c8b9a0cbfe39c3
/deepseek-ai-dsh-subagent-codex/model-experience/child-request/kv-cache-effect:
en: cd1fb7e2382ad2a2
zh: 2646d4b03a2e7220
/deepseek-ai-dsh-subagent-codex/model-experience/parent-scheduling-and-results-indirectly:
en: 4c391bb16e3cd380
zh: ab3847efe35fa6dc
/deepseek-ai-dsh-subagent-codex/model-experience/parent-scheduling-and-results-indirectly/what-the-model-sees:
en: f481d9a59562c629
zh: eddd8fd082a44807
/deepseek-ai-dsh-subagent-codex/model-experience/parent-scheduling-and-results-indirectly/token-effect:
en: f618e05fde7c8b57
zh: 7306c4535b6fa4c0
/deepseek-ai-dsh-subagent-codex/model-experience/parent-scheduling-and-results-indirectly/kv-cache-effect:
en: 19f1316ea4bb1bb9
zh: 181231ddffdc8494
/deepseek-ai-dsh-subagent-codex/known-limitations-and-deferred-work:
en: e55a466c946cbce4
zh: 96dfb5c8f8210927
/deepseek-ai-dsh-subagent-codex/known-limitations-and-deferred-work/dev-note:
en: cacc98025ed8913e
zh: e7673a3087ec0c62