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
Add the first bounded Factory workflow slice over ordinary RLM children: strict versioned DAG validation, bounded fan-out, all-predecessor joins, output forwarding, fail-fast/continue policies, local status, and retryable stop/cleanup.
Admission is serialized per run. Interrupted or uncertain spawn outcomes retain a unique cleanup target and are never silently retried. Failed cleanup stays visible as
stopping. Children waiting for input retain capacity;waiting_for_resumesurfaces immediately without replay or an unbounded wait. There are no detached tasks and no new host permissions.Dependency and deliberate limits
Depends on #272 (subagent collection and lifecycle controls). This PR stays independently reviewable; integrate #272 first, then rerun the combined host workflow tests.
The default adapter requires the subagent-controls
rlm.collectimplementation and host route. On the current base without its Python API, starting a run fails before spawning a child. The backend interface and tests are independent so this can be reviewed alongside that dependency.This is an experimental DAG slice, not complete Prime Factory parity. Runs advance only through
advance/waitinside an active cell, with explicitenabled=True. No background continuation, restart recovery, persistent harness factory kind, UI, retries, guards, loops, foreach, resident agents, or machine library are claimed. The design and Prime comparison are indocs/factory-workflows.md.Verification
git diff --check: passed.No merge or deployment is requested by this draft.