Repository navigation
Conversation
This was referenced Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete the Python orchestration path through the real kernel host, canonical session actors, and Native turn admission:
rlm.collect(targets=None, timeout_ms=0): typed, retained direct-child snapshots; bounded waiting; partial results on timeout; cancellation; explicit recovery state; errors and progress; bounded answer text with a truncation flag.rlm.progress_note(message): child-owned, 512 UTF-16-unit notes with a 10-second throttle. No synthetic parent steering/model call.rlm.end_turn(): graceful completion after the current tool batch and durable tool-result checkpoint, without canceling children or making another model request.rlm.create_session(...): independently visible, durable roots with their own journal and no child/parent lifecycle. Uses canonical construction and Native turn admission, inheriting model/thinking and safety settings.Update both Python documentation and model-facing prompts; remove the obsolete create_session denial and unsupported model-override guidance.
Lifecycle and safety
requires_resume; normal live queue transitions do not. Explicitly closed work does not request recovery.Verification
cargo clippy -p devo-server --tests -- -D warnings,cargo fmt --all -- --check, andgit diff --check.Tests use real CPython kernels, production host dispatch and session actors, with scripted offline providers (no paid inference). Combined-branch Factory diamond smoke also passed (1/1): #270 at d2a2ca8 plus this PR at 05495fc, with the Factory files temporarily overlaid. Two parallel predecessors completed; the review child's actual request contained both predecessor outputs as JSON; the joined output and idempotent stop were verified. The overlay was removed and no Factory implementation is included in this PR.
Deliberate boundaries
This supplies the collect contract used by the opt-in Factory workflow slice in #270. No Desktop changes or public Native schema expansion. Draft for review; do not merge automatically.