Files
deepseek-harness/docs/subsystems/subagent.i18n.yaml
T
Dudu-0223 a4c933ad1f fix(subagent): fail unmatched name paths and tighten name admission
Review round on the naming change.

`resolveName` now distinguishes an address from a Session id: a
slash-separated address never is one, so an unmatched path fails with
AGENT_NAME_NOT_FOUND instead of reaching member lookup as an unknown id,
while a single token keeps the Session-id fallback. Path resolution also
treats external and unknown children as leaves, so a name below an external
run reports the same clear failure instead of surfacing a session-query error
for an identity that owns no local Session.

Native V4 admission rejects a repeated sibling name in own catalog facts,
symmetrically with its duplicate-child check, so a log that would make name
lookup ambiguous fails before any member is resolved.

`SiblingNameReservations.release()` checks that it still owns the map entry,
so a stale or repeated release cannot drop a newer reservation for the same
creator.

`list_agents` explains corrupt, unsupported, and unavailable: they report that
the row's own descendants could not be read, and the row remains a member the
caller can message. The earlier wording restricted messaging to running or
inactive rows, which excluded addressable members.

`isAgentName` stays module-local; the package entry exports only
ROOT_AGENT_NAME, matching its current callers.

Package READMEs, the subsystem page, the Agent Note, and the generated API
catalogue follow; recorded-session, CLI, and Web expectations are refreshed.
2026-11-02 22:43:01 +08:00

32 lines
1.1 KiB
YAML

# Bilingual-pair consistency record for subagent.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 docs/subsystems/subagent.md
/subagents:
en: 3d828004dee084c6
zh: f71296b677691151
/subagents/capabilities-and-activation-requests:
en: f09270fcd7bfa26a
zh: 082664920b3c65e2
/subagents/local-children-and-activations:
en: 6f87231d18d82916
zh: 9f064b23058f8766
/subagents/agent-names:
en: 55b2912080a2b021
zh: d234521ecce44275
/subagents/messages-and-interruption:
en: 9befacb931520842
zh: c214b4fffa779b06
/subagents/durable-enumeration:
en: e02e1703b183594c
zh: 130d475a4304f453
/subagents/results-and-backend-handles:
en: 69ea5bed7d9fb64a
zh: b187a822b813e80a
/subagents/the-provider-contract-subagentprovider:
en: 226ba8094a8cf96c
zh: 719678662905d1eb
/subagents/durable-enumeration-listdescendants-and-catalog-entries:
en: 992acbcc3ac77e30
zh: 83b9dd42ade734ab