Repository navigation
Docker refactoring - #2
Merged
Merged
Conversation
- Implemented a new CLI entry point for the RLM refactoring agent, allowing users to run refactoring tasks directly from the command line. - Added example usage documentation for the CLI, including various configuration options. - Created a template for refactoring instructions to guide users in specifying their refactoring tasks. - Introduced a system prompt for the refactoring agent, detailing its capabilities and expected workflow. - Enhanced the Docker environment setup to support working directories and Git operations. - Developed comprehensive tests for the refactoring module, including CLI argument parsing and validation. - Refactored existing mock language model tests to improve code clarity and maintainability.
…instructions for finding 'bob'
…ring example - Added pyyaml to dependencies in uv.lock - Deleted multiple unused text files from the working directory - Removed outdated rlm-instructions.md and replaced it with a new version - Created a new README.md for the RLM refactoring example with detailed instructions - Added rlm-config.yaml for configuration in the refactoring example
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.
This pull request adds a comprehensive example and configuration for the RLM refactoring agent, improves Docker REPL support for bind-mounted repositories, and introduces persistent Docker event logging for debugging. The most significant changes are grouped below.
Refactoring Example & Configuration
examples/refactor_example.py) showing how to use the RLM refactoring agent, including custom instructions, logging, and multi-model configuration.examples/refactor/sample-working/rlm-config.yaml) for the refactoring agent, supporting root/sub-models, token budgets, and execution settings.examples/refactor/sample-working/rlm-instructions.md) and a template for user instructions (examples/rlm-instructions-template.md). [1] [2]Docker REPL Enhancements
Dependency & Script Updates
pyyamlas a dependency for YAML configuration parsing and registered therlm-refactorCLI entry point.Sample Workspace Setup
examples/refactor/sample-working/sample-repo-one,sample-repo-two,sample-repo-three). [1] [2] [3]Refactoring Prompt Export
REFACTOR_SYSTEM_PROMPTin the refactor module for easier integration.