sipeed/picoclaw · error
steering queue is full
Error message
steering queue is full
What it means
Capacity guard in steeringQueue.pushScope: the per-scope steering queue (manual or otherwise) already holds MaxQueueSize messages, so enqueueing another would grow without bound and is refused. No message state changes — the rejected message is dropped by the caller unless it retries. The input at fault is the new steering msg for the normalized scope.
Solutions
- Drain the queue: let the agent Continue/finish so pending steering messages are consumed before enqueuing more
- Raise MaxQueueSize if legitimate workloads exceed it
- Coalesce rapid user steering bursts into one message before pushing
- At the call site (enqueueSteeringMessage), surface the error to the user instead of silently dropping
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at pkg/agent/steering.go:79 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sipeed/picoclaw@49183d7e8d (2026-08-15).
Data as JSON: /api/errors/8cdcabfe160b6f97.
Report an issue: GitHub.
Appendix: source
Thrown at pkg/agent/steering.go:79
return manualSteeringScope
}
return scope
}
// push enqueues a steering message in the legacy fallback scope.
func (sq *steeringQueue) push(msg providers.Message) error {
return sq.pushScope(manualSteeringScope, msg)
}
// pushScope enqueues a steering message for the provided scope.
func (sq *steeringQueue) pushScope(scope string, msg providers.Message) error {
sq.mu.Lock()
defer sq.mu.Unlock()
scope = normalizeSteeringScope(scope)
queue := sq.queues[scope]
if len(queue) >= MaxQueueSize {
return fmt.Errorf("steering queue is full")
}
sq.queues[scope] = append(queue, msg)
return nil
}
// dequeue removes and returns pending steering messages from the legacy
// fallback scope according to the configured mode.
func (sq *steeringQueue) dequeue() []providers.Message {
return sq.dequeueScope(manualSteeringScope)
}
// dequeueScope removes and returns pending steering messages for the provided
// scope according to the configured mode.
func (sq *steeringQueue) dequeueScope(scope string) []providers.Message {
sq.mu.Lock()
defer sq.mu.Unlock()
return sq.dequeueLocked(normalizeSteeringScope(scope))View on GitHub (pinned to 49183d7e8d)