Repository navigation
feat(runtime): workflows, checkpoints and multi-agent orchestrations … - #110
Merged
Merged
Conversation
…(Phase 2) Phase 2 of re-engineering microsoft/agent-framework@567e4d4 (MIT) into osiris_cli.runtime. See osiris_cli/runtime/PORT_MAP.md. - _workflows.py: executors with typed handlers; direct, conditional, fan-out, fan-in and switch-case edges; superstep runner with results applied in registration order (deterministic); request_info pauses a run and run(responses=...) continues it, with exact response types; streaming; run_sync that works inside a running loop; optional run governance (workflow task in the canonical task ledger, intent gate, one budget step per superstep, evidence firewall on text outputs). - _checkpoints.py: checkpoint after each superstep; in-memory or hash-chained JSONL file storage; resume from any checkpoint; graph- signature check. No pickle: only JSON and registered types are written or rebuilt; tampered files are refused. - _orchestrations.py: AgentExecutor; Sequential, Concurrent, Group chat (code selector), Handoff (declared routes, checked again by code), Magentic (strict progress-ledger parsing, stalls, resets, no final answer on a limit). Governed by default, as Agent is. - orchestration/council.py and trio.py run as workflows with unchanged signatures, results and receipts; their test files are unchanged. 27 recorded scenarios give identical results to main apart from timestamped receipt hashes. - Agent.clone(); task_context.KINDS gains "workflow". Tests: test_runtime_workflows.py (20), test_runtime_orchestrations.py (11), test_council_trio_workflows.py (4). Full suite here: 3 failed (the same 3 as main in this environment), 3725 passed, 76 skipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FYXiwQpjjWVfi7MNQgjVHJ
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
…(Phase 2)
Phase 2 of re-engineering microsoft/agent-framework@567e4d4 (MIT) into osiris_cli.runtime. See osiris_cli/runtime/PORT_MAP.md.
Tests: test_runtime_workflows.py (20), test_runtime_orchestrations.py (11), test_council_trio_workflows.py (4). Full suite here: 3 failed (the same 3 as main in this environment), 3725 passed, 76 skipped.
Claude-Session: https://claude.ai/code/session_01FYXiwQpjjWVfi7MNQgjVHJ