Skip to content

Conversation

@plusplusoneplusplus
Copy link
Owner

Summary

This PR removes the focus_areas parameter from the MCP agent tool and all related components throughout the automation plugin. This simplifies the interface by reducing parameter complexity while maintaining functionality through the existing constraints parameter.

Changes Made

Core Components

  • agent_tool.py: Removed focus_areas from input schema and implementation
  • explore_agent.py: Removed focus_areas parameter from prepare_context() and explore() methods
  • agent_step.py: Removed focus_areas extraction and passing to agent methods
  • ai_split.py: Removed focus_areas from operation inputs and prompt building

Configuration

  • ai_exploration_workflow.yaml: Removed focus_areas input definition from workflow

Documentation

  • README.md: Updated API documentation and examples to remove focus_areas references

Tests

  • test_agent_tool.py: Updated tests to remove focus_areas assertions
  • test_ai_split_operation.py: Refactored tests to use constraints instead of focus_areas
  • test_explore_agent.py: Updated context preparation tests to remove focus_areas

Testing

All automation plugin tests pass successfully:

  • ✅ test_agent_tool.py: 22/22 passed
  • ✅ test_ai_split_operation.py: 15/15 passed
  • ✅ test_explore_agent.py: 24/24 passed
  • ✅ Full automation test suite: 176/176 passed

Migration Path

Users who were using focus_areas can achieve similar functionality by using the constraints parameter in workflows. For example:

Before:

inputs:
  focus_areas: ["security", "performance"]

After:

inputs:
  constraints: "Focus on security and performance aspects"

Impact

  • Breaking Change: The focus_areas parameter is no longer available
  • API Surface: Simplified API with fewer parameters to understand
  • Functionality: No loss of functionality - constraints can be expressed through the constraints parameter

🤖 Generated with Claude Code

…mponents

Removed the focus_areas parameter throughout the automation plugin to simplify
the interface and reduce parameter complexity. Users can achieve similar
functionality by using the constraints parameter in workflows when needed.

Changes include:
- Remove focus_areas from agent tool input schema
- Update ExploreAgent to remove focus_areas from prepare_context() and explore()
- Remove focus_areas from agent_step workflow step
- Remove focus_areas from ai_split operation and prompt building
- Update ai_exploration_workflow.yaml to remove focus_areas input
- Update documentation to reflect parameter removal
- Update all related tests to remove focus_areas assertions
- All 176 automation tests pass successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@plusplusoneplusplus plusplusoneplusplus enabled auto-merge (squash) November 11, 2025 04:42
@plusplusoneplusplus plusplusoneplusplus merged commit 4be614f into main Nov 11, 2025
16 checks passed
@plusplusoneplusplus plusplusoneplusplus deleted the remove-focus-areas-parameter branch November 11, 2025 04:53
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.

2 participants