#21904: docs: fix 8 inaccuracies verified against source code
docs
channel: slack
channel: feishu
channel: twitch
size: XS
## Summary
Fixes 8 documentation inaccuracies found by cross-referencing doc claims against the actual source code. Each change was verified by reading the relevant implementation before updating the doc.
- **`concepts/models.md`**: `imageModel` is used for image operations regardless of primary model vision support — not only as a fallback when the primary can't handle images (`image-tool.ts` explicitly documents this intent)
- **`concepts/session.md`**: Cron sessions reuse an existing session when still fresh per the configured reset policy; they don't always mint a fresh `sessionId` (`resolveCronSession` in `cron/isolated-agent/session.ts`)
- **`concepts/timezone.md`**: Remove "Time format: 12-hour or 24-hour" bullet — `buildTimeSection` in `agents/system-prompt.ts` only emits the timezone line, no format line
- **`concepts/agent-workspace.md`**: Qualify the `openclaw doctor` workspace warning as "may warn" — `detectLegacyWorkspaceDirs` currently always returns an empty `legacyDirs` array
- **`channels/feishu.md`**: `groupPolicy` default is `"allowlist"` not `"open"` — verified in `extensions/feishu/src/config-schema.ts` (`.default("allowlist")`)
- **`channels/slack.md`**: The `groupPolicy="open"` fallback triggers whenever `groupPolicy` is unconfigured (not specifically when `channels.slack` is missing) — verified in `extensions/slack/src/channel.ts`
- **`channels/twitch.md`**: Session key format is `twitch:group:<channelName>`, not `twitch:<accountName>` — Twitch monitor dispatches with `peer.kind="group"` and `peer.id=message.channel`
- **`cli/directory.md`**: Default output is a formatted table with `ID` and `Name` columns (via `renderTable`), not tab-separated id/name pairs
## Test plan
- [ ] Verify rendered docs look correct for each changed file
- [ ] Spot-check source references: `src/agents/tools/image-tool.ts`, `src/cron/isolated-agent/session.ts`, `src/agents/system-prompt.ts`, `extensions/feishu/src/config-schema.ts`, `extensions/slack/src/channel.ts`, `extensions/twitch/src/monitor.ts`, `src/cli/directory-cli.ts`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Most Similar PRs
#3649: docs: remove numeric model selection references and document /models
by Jackten · 2026-01-29
68.5%
#19241: docs(telegram): fix 5 discrepancies between docs and config schema
by Artzainnn · 2026-02-17
68.0%
#10894: Docs: fix legacy branding, add config reference, expand cron troubl...
by biv0711 · 2026-02-07
67.7%
#23770: docs: fix broken URL, inconsistent casing, and hyphenation
by jainilDesai · 2026-02-22
66.9%
#23757: docs: replace outdated legacy names and paths
by jainilDesai · 2026-02-22
65.6%
#16362: Update session-pruning.md - updated agents.defaults config std
by elliottb · 2026-02-14
65.4%
#5036: docs: improve Slack setup and troubleshooting guide
by DanBatten · 2026-01-31
65.0%
#23762: docs: fix markdown formatting and structure issues
by jainilDesai · 2026-02-22
65.0%
#18670: feat: add first-class Claude Code CLI auth path + CLI model UX hard...
by SmithLabsLLC · 2026-02-16
64.8%
#19560: docs: refactor agent workspace default location & bootstrap configu...
by ashinkuniyil · 2026-02-17
64.8%