Skip to content

bug: sessions_spawn mode=session intermittently rejected by validation from thread-capable channel session #166

Description

@NOVA-Openclaw

Problem

During SE run 521 (2026-07-29, workflow_runs id=521), sessions_spawn with mode="session" was rejected by parameter validation when dispatched from the Discord channel orchestrator session (agent:nova:discord:channel:1506369311747342387, capabilities include threadbound-subagent-spawn) — but the SAME session had successfully spawned two thread-bound persistent sessions earlier the same day (Gem at 07:07 UTC, Coder at 21:42 UTC). At 22:20 UTC the respawn of the Coder lane with mode=session was rejected and the orchestrator fell back to mode=run.

Evidence

workflow_runs id=521 notes, 2026-07-29 22:20 UTC: "sessions_spawn mode=session now rejected by validation (worked earlier for Gem spawn) — fell back to mode=run."

Impact

Persistent-context agents (context_type=persistent, e.g. Coder) lose their accumulated context when forced to mode=run respawns — exactly the anti-pattern UNIVERSAL/SUBAGENT_SPAWNING warns about. In run 521 this compounded with kimi context-overflow deaths.

Hypotheses

Discovery context

Found during SE run 521 introspection while mining the run ledger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions