Skip to content

feat: enhance runner configuration and loading mechanism for auto_memory module#177

Merged
KavyaSree2610 merged 2 commits into
auto-memory/devfrom
kkaitepalli/make-runner-generic
Jul 14, 2026
Merged

feat: enhance runner configuration and loading mechanism for auto_memory module#177
KavyaSree2610 merged 2 commits into
auto-memory/devfrom
kkaitepalli/make-runner-generic

Conversation

@KavyaSree2610

@KavyaSree2610 KavyaSree2610 commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov-commenter

codecov-commenter commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (auto-memory/dev@0d8fdfc). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##             auto-memory/dev     #177   +/-   ##
==================================================
  Coverage                   ?   72.40%           
==================================================
  Files                      ?       48           
  Lines                      ?     3015           
  Branches                   ?        0           
==================================================
  Hits                       ?     2183           
  Misses                     ?      832           
  Partials                   ?        0           
Flag Coverage Δ
ghcp 31.87% <15.51%> (?)
integration 35.58% <15.51%> (?)
ollama_local 33.36% <15.51%> (?)
slow-browser 21.49% <0.00%> (?)
slow-other 38.83% <15.51%> (?)
unit 69.98% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/microbots/auto_memory/cli.py 100.00% <100.00%> (ø)
src/microbots/auto_memory/config.py 100.00% <100.00%> (ø)
src/microbots/auto_memory/orchestrator.py 100.00% <100.00%> (ø)
src/microbots/auto_memory/runners/base.py 100.00% <100.00%> (ø)
src/microbots/auto_memory/workspace.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_params to task YAML config, with validation and defaults.
  • Implement runner resolution/loading in the CLI, supporting both module and file-based runner specs.
  • Extend IterationContext with output_dir and 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.

Comment thread src/microbots/auto_memory/config.py Outdated
Comment thread src/microbots/auto_memory/cli.py
Comment thread src/microbots/auto_memory/cli.py
Comment thread src/microbots/auto_memory/cli.py
@KavyaSree2610 KavyaSree2610 changed the title feat: enhance runner configuration and loading mechanism for auto_mem… feat: enhance runner configuration and loading mechanism for auto_memory module Jul 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Comment thread src/microbots/auto_memory/config.py
Comment thread src/microbots/auto_memory/config.py
@KavyaSree2610
KavyaSree2610 marked this pull request as ready for review July 14, 2026 04:53
@KavyaSree2610
KavyaSree2610 merged commit 6c4bf7d into auto-memory/dev Jul 14, 2026
11 checks passed
@KavyaSree2610
KavyaSree2610 deleted the kkaitepalli/make-runner-generic branch July 14, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants