Refactor coreason-maco to adhere to coreason-manifest v0.9.0#106
Refactor coreason-maco to adhere to coreason-manifest v0.9.0#106gowthamrao wants to merge 5 commits into
Conversation
- Updated dependencies to coreason-manifest ^0.9.0 - Refactored `src/coreason_maco/events/protocol.py` and `src/coreason_maco/core/manifest.py` to import strictly from kernel. - Updated `src/coreason_maco/engine/topology.py` to handle nested `topology` structure and `AgentNode` changes. - Updated `src/coreason_maco/engine/handlers.py` and `src/coreason_maco/engine/runner.py` to support new node types and config structures. - Refactored `src/coreason_maco/strategies/council.py` to align with new `CouncilConfig`. - Updated all tests to reflect the new manifest structure and fix breakages. - Added comprehensive documentation in `docs/coreason-manifest-integration.md` and updated `README.md`. - Added new edge case and complex workflow tests. - Bumped version to 0.5.0. Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Updated dependencies to coreason-manifest ^0.9.0 - Refactored `src/coreason_maco/events/protocol.py` and `src/coreason_maco/core/manifest.py` to import strictly from kernel. - Updated `src/coreason_maco/engine/topology.py` to handle nested `topology` structure and `AgentNode` changes. - Updated `src/coreason_maco/engine/handlers.py` and `src/coreason_maco/engine/runner.py` to support new node types and config structures. - Refactored `src/coreason_maco/strategies/council.py` to align with new `CouncilConfig`. - Updated all tests to reflect the new manifest structure and fix breakages. - Fixed linting and formatting issues (Ruff). - Added comprehensive documentation in `docs/coreason-manifest-integration.md` and updated `README.md`. - Added new edge case and complex workflow tests. - Bumped version to 0.5.0. Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>
- Updated dependencies to coreason-manifest ^0.9.0 - Refactored `src/coreason_maco/events/protocol.py` and `src/coreason_maco/core/manifest.py` to import strictly from kernel. - Updated `src/coreason_maco/engine/topology.py` to handle nested `topology` structure and `AgentNode` changes. - Updated `src/coreason_maco/engine/handlers.py` and `src/coreason_maco/engine/runner.py` to support new node types and config structures. - Refactored `src/coreason_maco/strategies/council.py` to align with new `CouncilConfig`. - Updated all tests to reflect the new manifest structure and fix breakages. - Added comprehensive documentation in `docs/coreason-manifest-integration.md` and updated `README.md`. - Added new edge case and complex workflow tests. - Bumped version to 0.5.0. - Fixed linting and formatting issues (Ruff, Mypy). Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>
- Updated dependencies to coreason-manifest ^0.9.0 - Refactored `src/coreason_maco/events/protocol.py` and `src/coreason_maco/core/manifest.py` to import strictly from kernel. - Updated `src/coreason_maco/engine/topology.py` to handle nested `topology` structure and `AgentNode` changes. - Updated `src/coreason_maco/engine/handlers.py` and `src/coreason_maco/engine/runner.py` to support new node types and config structures. - Refactored `src/coreason_maco/strategies/council.py` to align with new `CouncilConfig`. - Updated all tests to reflect the new manifest structure and fix breakages. - Added comprehensive documentation in `docs/coreason-manifest-integration.md` and updated `README.md`. - Added new edge case and complex workflow tests. - Bumped version to 0.5.0. - Fixed linting and formatting issues (Ruff, Mypy). Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>
- Fixed CI failures:
- Resolved mypy errors in tests (`unused-ignore`, `call-arg`, `dict-item`).
- Resolved `CouncilConfig` export issue by importing from `core.manifest`.
- Added untyped decorator ignores for async tests.
- Added `docs/proposals/manifest_v0.10.0_RFC.md` with recommendations for the next kernel version.
- (Previous changes included in this branch state):
- Updated dependencies to coreason-manifest ^0.9.0.
- Refactored core modules (`manifest`, `protocol`, `topology`, `runner`, `handlers`) to strict kernel compliance.
- Updated `CouncilStrategy` for new config schema.
- Comprehensive test suite refactoring and expansion.
- Documentation updates.
Co-authored-by: gowthamrao <13936600+gowthamrao@users.noreply.github.com>
This PR refactors the
coreason-macoengine to fully align withcoreason-manifestv0.9.0 (Shared Kernel).Key changes:
RecipeManifestnow expectsnodesandedgesunder a nestedtopologyattribute.AgentNode(withagent_nameandcouncil_config),HumanNode, andLogicNode(mapped toTOOL).CouncilConfigschema (voters,strategy).docs/coreason-manifest-integration.mdas a migration guide.PR created automatically by Jules for task 17726364446166677851 started by @gowthamrao