Repository navigation
Commit 8dad90f
fix: add watchdog to ResolvedWhatsAppAccount + docs precedence + oxfmt
CI feedback addressed:
1. `check-prod-types`, `check-test-types`, `check-additional-extension-*`,
`checks-fast-contracts-channels-a`, `checks-node-agentic-control-plane-startup-health-runtime`:
all blocked on `TS2339: Property 'watchdog' does not exist on type
'ResolvedWhatsAppAccount'` at `extensions/whatsapp/src/channel.ts:322`.
`ResolvedWhatsAppAccount` is the parallel static type (lives in
`accounts.ts`, listing every field flowing from `WhatsAppAccountConfig`
to the runtime) — added `watchdog?: WhatsAppAccountConfig["watchdog"]`
field + resolver return.
2. `check-docs` (oxfmt): missing trailing blank line after the JSON5
example. Ran `oxfmt --write` to auto-fix.
3. byungskers's docs review question — added explicit precedence note:
per-account values override the channel-level default (same as
`dmHistoryLimit` / `mediaMaxMb` / other common keys), so operators
can ship a global default and override one noisy account.
Real-behavior-proof gate (separate workflow) requires after-fix evidence
from a real OpenClaw setup in the PR body — adding that as a follow-up
edit to the PR body.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent bc51893 commit 8dad90f
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
0 commit comments