Conversation
10 tasks
ad45966 to
1523685
Compare
dfef5a9 to
3d5df32
Compare
PerezIgnacio
approved these changes
Mar 2, 2026
1523685 to
c08b53a
Compare
Phase 2 of the Mars v2 refactor. - Runnable: include Hooks, add `name` (auto-derived from class via `step_name`), add `formatter` class-level DSL with instance fallback - Gate, Aggregator, Sequential, Parallel: delegate `name` to Runnable via super instead of managing their own attr_reader - Runnable spec: cover name derivation, formatter DSL, hooks integration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3d5df32 to
2df0282
Compare
Phase 3 of the Mars v2 refactor. - Rename Mars::Agent → Mars::AgentStep with class-level `agent` macro that wraps a RubyLLM::Agent subclass - AgentStep#run creates a new agent instance and delegates via .ask - Remove old Agent with its manual Chat setup (before_run/after_run, system_prompt, tools, schema instance methods) - Rename rendering graph module accordingly - Bump ruby_llm dependency to ~> 1.12 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2df0282 to
dbd1e1f
Compare
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.
Summary
Mars::Agent→Mars::AgentStep— clean break, no backward compatagentmacro: class-level DSL to wrap aRubyLLM::Agentsubclass.AgentStep#runcreates a new agent instance and calls.ask(input).contentRubyLLM::Chatsetup (before_run/after_run,system_prompt,tools,schemainstance methods) — all of that is now handled by the RubyLLM::Agent subclass nativelyGraph::Agent→Graph::AgentStep, updatedinclude_extensionsruby_llmdependency to~> 1.12(forRubyLLM::Agentsupport)Phase 3 of the v2 refactor. Based on #26.
Test plan
AgentStep.agentstores/retrieves agent classAgentStep#rundelegates to agent.new.ask(input).content🤖 Generated with Claude Code