Skip to content

fix: keep intent classification available under worker load - #213

Merged
ecarreras merged 1 commit into
mainfrom
fix/intent-classifier-capacity
Sep 25, 2026
Merged

ecarreras merged 1 commit into
mainfrom
fix/intent-classifier-capacity

Conversation

@giscebot

Copy link
Copy Markdown
Collaborator

Summary

  • report intent-classifier subprocess timeouts without persisting a truncated command and prompt
  • document the OpenClaw concurrency headroom required by enqueue-time classification and feedback learning
  • recommend agents.defaults.maxConcurrent=8 for the standard four-worker bridge deployment

Why

Intent-classifier calls share OpenClaw's global concurrency with long-running bridge jobs. With four bridge workers and only four OpenClaw slots, classifier calls can remain queued until they time out and silently fall back to the deterministic parser. Operators need an explicit sizing invariant: OpenClaw concurrency must exceed bridge worker concurrency.

Validation

  • pytest -q tests/test_intent_classifier.py tests/test_queue.py — 42 passed
  • git diff --check main...HEAD
  • production configuration validated with openclaw config validate

@ecarreras
ecarreras merged commit 0d8e9e1 into main Sep 25, 2026
3 checks passed
@ecarreras
ecarreras deleted the fix/intent-classifier-capacity branch September 25, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants