Skip to content

Implement workspace-based AI provider for Claude Code integration #1

@devload

Description

@devload

Description

Implement WorkspaceAIProvider class that communicates with Claude Code via file-based workspace.

Requirements

  • Create workspace directory structure (CLAUDE.md, scenarios/, current_state/)
  • Generate CLAUDE.md with instructions for Claude Code
  • Save screenshots, UI elements, and action history to workspace
  • Wait for Claude Code to create response.json
  • Parse response and return action decision

Files

  • smartmonkey/ai/workspace_provider.py
  • smartmonkey/ai/__init__.py

Acceptance Criteria

  • Workspace directory created on initialization
  • CLAUDE.md generated with test goal and instructions
  • Current state files updated on each step
  • Response timeout configurable (default 300s)
  • Response JSON validated before parsing

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiAI and machine learning featuresenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions