feat: enhance runner configuration and loading mechanism for auto_memory module#177
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## auto-memory/dev #177 +/- ##
==================================================
Coverage ? 72.40%
==================================================
Files ? 48
Lines ? 3015
Branches ? 0
==================================================
Hits ? 2183
Misses ? 832
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the auto_memory module to support configurable “runner” implementations (via dotted import paths or file-path specs) and threads an explicit iteration output_dir through the runner context to better support the produce → validate loop.
Changes:
- Add
runner/runner_paramsto task YAML config, with validation and defaults. - Implement runner resolution/loading in the CLI, supporting both module and file-based runner specs.
- Extend
IterationContextwithoutput_dirand propagate it through the orchestrator; update and add tests accordingly.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| test/auto_memory/test_config.py | Adds coverage for new runner/runner_params config defaults, parsing, and validation. |
| test/auto_memory/test_cli.py | Adds unit tests for _load_runner_class runner resolution for dotted and file-path forms. |
| test/auto_memory/runners/test_writing_bot_runner.py | Updates runner tests for the new IterationContext(output_dir=...) requirement. |
| src/microbots/auto_memory/workspace.py | Updates workspace layout docs to reflect agent-written memory artifacts. |
| src/microbots/auto_memory/runners/base.py | Adds output_dir to IterationContext and documents its intent. |
| src/microbots/auto_memory/orchestrator.py | Populates IterationContext.output_dir with the per-iteration candidate path. |
| src/microbots/auto_memory/config.py | Introduces runner selection fields and validation in TaskConfig. |
| src/microbots/auto_memory/cli.py | Implements dynamic runner loading + wiring in run_from_yaml. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
KavyaSree2610
marked this pull request as ready for review
July 14, 2026 04:53
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.
No description provided.