Repository navigation
Commit 067f73d
committed
fix(reply): let active turns reach queue policy
Same-session visible turns could be received promptly but still sit behind dispatch admission until the active reply operation went idle. That meant messages.queue.mode=steer never got a chance to inject into the active embedded run; the turn only reached get-reply-run after the original run completed.
Tried treating this as iMessage inbound debounce first, but live stability events showed message.received and message.queued happened during the shell sleep. The hold was later: dispatch admission waited for the active reply operation before queue policy resolution.
This keeps the Slack routed-thread bypass as-is, keeps different non-Slack routed threads serialized, and only lets visible turns in the same route thread pass through to the active-run queue policy. That lets steer/followup/collect/interrupt own the active-run decision instead of the admission fence preempting it.
Scaffolding: this is source-level and tested in the vendored checkout. The installed OpenClaw bundle still needs a build/install or hot patch before the live gateway uses it.1 parent 74cf5c7 commit 067f73d
2 files changed
Lines changed: 80 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1227 | 1280 | | |
1228 | 1281 | | |
1229 | 1282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
241 | 251 | | |
242 | 252 | | |
243 | 253 | | |
| |||
1240 | 1250 | | |
1241 | 1251 | | |
1242 | 1252 | | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
1243 | 1261 | | |
1244 | 1262 | | |
1245 | 1263 | | |
1246 | | - | |
| 1264 | + | |
1247 | 1265 | | |
1248 | 1266 | | |
1249 | 1267 | | |
| |||
1254 | 1272 | | |
1255 | 1273 | | |
1256 | 1274 | | |
1257 | | - | |
| 1275 | + | |
| 1276 | + | |
1258 | 1277 | | |
1259 | 1278 | | |
1260 | 1279 | | |
1261 | 1280 | | |
1262 | 1281 | | |
1263 | 1282 | | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1264 | 1289 | | |
1265 | 1290 | | |
1266 | 1291 | | |
| |||
0 commit comments