docs(subagents): document announce timeout#75509
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: not applicable. as a runtime bug. This is a source-verifiable docs gap: current main has the schema/runtime/test contract for Real behavior proof Next step before merge Security Review detailsBest possible solution: Land the narrow docs-only correction after ordinary maintainer review and checks so the published sub-agent docs match the existing schema, runtime default, and retry behavior. Do we have a high-confidence way to reproduce the issue? Not applicable as a runtime bug. This is a source-verifiable docs gap: current main has the schema/runtime/test contract for Is this the best way to solve the issue? Yes. Updating the existing reference docs and stale type comment is the narrowest maintainable fix because the config option already exists and the PR wording matches the per-call timeout plus retry behavior. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 260be33c3ea7. |
9490fb3 to
0bf8710
Compare
|
Update after re-review against current
Validation:
Result: no reason to close this PR; it is still a small relevant docs fix. GitHub currently reports it as mergeable with pending/unstable checks. |
Co-authored-by: AI-HUB <144416483+akrimm702@users.noreply.github.com>
|
Landing proof for PR #75509. Local verification on rebased PR head
GitHub verification:
Known proof gap: Thanks @akrimm702. |
|
Landed via squash after temp rebase onto
Thanks @akrimm702. |
Summary
agents.defaults.subagents.announceTimeoutMsin the sub-agent config referenceagentannounce timeout; transient retries can make total announce wait longer than one configured timeoutWhy
Follow-up to #47558. Rechecked against current
main(b0db82be15291f5ca66f434ff46f2884c4b3e133):announceTimeoutMsstill exists in schema/runtime and is still not documented indocs/tools/subagents.md.This remains intentionally tiny instead of rebasing the old broad docs branch.
Real behavior proof
agents.defaults.subagents.announceTimeoutMsconfig key, and the old wording treated the timeout like a whole announce-step bound instead of a per-call gatewayagenttimeout.openclaw/openclawmainand the GitHub PR API after the branch update.git fetch origin main;git diff --check origin/main...akrimm/docs/subagents-announce-timeout;git merge-tree --write-tree origin/main akrimm/docs/subagents-announce-timeout;git diff --stat origin/main...akrimm/docs/subagents-announce-timeout;git grep -n 'announceTimeoutMs' origin/main akrimm/docs/subagents-announce-timeout -- docs/tools/subagents.md src config docs.6956bdfabc:git diff --check origin/main...HEADexited 0;pnpm exec oxfmt --check --threads=1 docs/tools/subagents.md docs/gateway/config-tools.md src/config/types.agent-defaults.ts CHANGELOG.mdprintedAll matched files use the correct format;pnpm docs:listlisted the docs index successfully, includingtools/subagents.mdandgateway/config-tools.md. Source proof:src/agents/subagent-announce-delivery.tsdefaults to120_000, andsrc/config/zod-schema.agent-defaults.tsaccepts positive integerannounceTimeoutMs.mainbut the docs page still lacks it.Validation
git diff --check origin/main...akrimm/docs/subagents-announce-timeoutgit merge-tree --write-tree origin/main akrimm/docs/subagents-announce-timeoutcorepack pnpm exec oxfmt --check --threads=1 docs/tools/subagents.md(prior branch validation)corepack pnpm dlx --config.resolution-mode=highest markdownlint-cli2 --config /tmp/openclaw-pr75509-markdownlint-cli2.jsonc docs/tools/subagents.md(prior branch validation)