forked from HAL9000/cleveragents-core
1344 lines
40 KiB
JSON
1344 lines
40 KiB
JSON
{
|
|
"workflows": {
|
|
"plan_create": {
|
|
"category": "plan_lifecycle",
|
|
"description": "Create a new plan with initial context",
|
|
"go_components": [
|
|
"app/cli/cmd/plan.go",
|
|
"app/cli/cmd/new.go",
|
|
"app/cli/plan_exec/plan_exec.go",
|
|
"app/server/handlers/plan_handlers.go",
|
|
"app/server/db/plan_helpers.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "initialization",
|
|
"description": "Create plan structure and metadata"
|
|
},
|
|
{
|
|
"name": "context_setup",
|
|
"description": "Set up initial context and files"
|
|
},
|
|
{
|
|
"name": "model_selection",
|
|
"description": "Choose default model for the plan"
|
|
},
|
|
{
|
|
"name": "persistence",
|
|
"description": "Save plan to database/filesystem"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.domain.plans",
|
|
"cleveragents.application.plan_service",
|
|
"cleveragents.cli.commands.plan"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/plans.feature"
|
|
],
|
|
"robot": [
|
|
"robot/plan_lifecycle.robot"
|
|
],
|
|
"go_tests": [
|
|
"app/cli/cmd/plan_test.go"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"authentication",
|
|
"model_management",
|
|
"persistence"
|
|
],
|
|
"notes": "Must maintain backward compatibility with existing plan formats"
|
|
},
|
|
"plan_build": {
|
|
"category": "plan_lifecycle",
|
|
"description": "Build plan by processing prompts through AI models",
|
|
"go_components": [
|
|
"app/cli/cmd/tell.go",
|
|
"app/cli/cmd/continue.go",
|
|
"app/cli/plan_exec/plan_build.go",
|
|
"app/server/handlers/build_handlers.go",
|
|
"app/shared/plan_build.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "prompt_processing",
|
|
"description": "Process user prompts and context"
|
|
},
|
|
{
|
|
"name": "model_interaction",
|
|
"description": "Send to AI model and get response"
|
|
},
|
|
{
|
|
"name": "diff_generation",
|
|
"description": "Generate diffs from AI response"
|
|
},
|
|
{
|
|
"name": "validation",
|
|
"description": "Validate generated changes"
|
|
},
|
|
{
|
|
"name": "storage",
|
|
"description": "Store diffs and conversation history"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.application.build_service",
|
|
"cleveragents.domain.diffs",
|
|
"cleveragents.infrastructure.ai_providers",
|
|
"cleveragents.cli.commands.tell"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/plan_build.feature"
|
|
],
|
|
"robot": [
|
|
"robot/build_workflow.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"model_management",
|
|
"diff_storage",
|
|
"streaming"
|
|
],
|
|
"notes": "Streaming updates must match Go implementation timing"
|
|
},
|
|
"plan_apply": {
|
|
"category": "plan_lifecycle",
|
|
"description": "Apply plan changes to files with review and confirmation",
|
|
"go_components": [
|
|
"app/cli/cmd/apply.go",
|
|
"app/cli/plan_exec/apply_plan.go",
|
|
"app/server/handlers/apply_handlers.go",
|
|
"app/shared/apply.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "diff_preview",
|
|
"description": "Show pending changes to user"
|
|
},
|
|
{
|
|
"name": "confirmation",
|
|
"description": "Get user confirmation"
|
|
},
|
|
{
|
|
"name": "file_updates",
|
|
"description": "Apply diffs to files"
|
|
},
|
|
{
|
|
"name": "git_operations",
|
|
"description": "Optional git commit"
|
|
},
|
|
{
|
|
"name": "cleanup",
|
|
"description": "Clean up temporary files"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.application.apply_service",
|
|
"cleveragents.domain.file_operations",
|
|
"cleveragents.infrastructure.git_integration",
|
|
"cleveragents.cli.commands.apply"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/apply.feature"
|
|
],
|
|
"robot": [
|
|
"robot/apply_workflow.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"diff_management",
|
|
"file_operations",
|
|
"git_integration"
|
|
],
|
|
"notes": "Must handle merge conflicts and rollback on failure"
|
|
},
|
|
"context_load": {
|
|
"category": "context_management",
|
|
"description": "Load files and directories into plan context",
|
|
"go_components": [
|
|
"app/cli/cmd/context.go",
|
|
"app/cli/cmd/load.go",
|
|
"app/cli/lib/context_loader.go",
|
|
"app/server/db/context_helpers.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "path_resolution",
|
|
"description": "Resolve file paths and globs"
|
|
},
|
|
{
|
|
"name": "content_reading",
|
|
"description": "Read file contents"
|
|
},
|
|
{
|
|
"name": "filtering",
|
|
"description": "Apply ignore patterns"
|
|
},
|
|
{
|
|
"name": "indexing",
|
|
"description": "Index content for search"
|
|
},
|
|
{
|
|
"name": "storage",
|
|
"description": "Store in context database"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.domain.context",
|
|
"cleveragents.application.context_service",
|
|
"cleveragents.infrastructure.file_loader",
|
|
"cleveragents.cli.commands.context"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/context.feature"
|
|
],
|
|
"robot": [
|
|
"robot/context_management.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"file_operations",
|
|
"path_resolution",
|
|
"indexing"
|
|
],
|
|
"notes": "Auto-context detection must match Go heuristics"
|
|
},
|
|
"context_auto": {
|
|
"category": "context_management",
|
|
"description": "Automatically detect and load relevant context",
|
|
"go_components": [
|
|
"app/cli/lib/context_auto.go",
|
|
"app/cli/lib/context_heuristics.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "detection",
|
|
"description": "Detect project type and structure"
|
|
},
|
|
{
|
|
"name": "heuristics",
|
|
"description": "Apply loading heuristics"
|
|
},
|
|
{
|
|
"name": "filtering",
|
|
"description": "Filter irrelevant files"
|
|
},
|
|
{
|
|
"name": "loading",
|
|
"description": "Load detected context"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.application.auto_context",
|
|
"cleveragents.domain.heuristics"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/auto_context.feature"
|
|
],
|
|
"robot": [
|
|
"robot/auto_context.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"context_load",
|
|
"project_detection"
|
|
],
|
|
"notes": "Heuristics extracted in implicit behaviors discovery"
|
|
},
|
|
"exec_command": {
|
|
"category": "execution_flows",
|
|
"description": "Execute commands in plan context with capture",
|
|
"go_components": [
|
|
"app/cli/cmd/exec.go",
|
|
"app/cli/plan_exec/exec_cmd.go",
|
|
"app/shared/exec.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "command_parsing",
|
|
"description": "Parse command and arguments"
|
|
},
|
|
{
|
|
"name": "environment_setup",
|
|
"description": "Set up execution environment"
|
|
},
|
|
{
|
|
"name": "execution",
|
|
"description": "Run command with output capture"
|
|
},
|
|
{
|
|
"name": "result_processing",
|
|
"description": "Process output and errors"
|
|
},
|
|
{
|
|
"name": "context_update",
|
|
"description": "Update context with results"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.application.exec_service",
|
|
"cleveragents.infrastructure.process_runner",
|
|
"cleveragents.domain.exec_results"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/exec.feature"
|
|
],
|
|
"robot": [
|
|
"robot/execution.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"process_isolation",
|
|
"output_capture",
|
|
"context_management"
|
|
],
|
|
"notes": "Must support process groups and cgroup isolation"
|
|
},
|
|
"auto_debug": {
|
|
"category": "execution_flows",
|
|
"description": "Automatically debug and retry failed operations",
|
|
"go_components": [
|
|
"app/cli/cmd/debug.go",
|
|
"app/cli/plan_exec/auto_debug.go",
|
|
"app/shared/debug.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "error_detection",
|
|
"description": "Detect errors in output"
|
|
},
|
|
{
|
|
"name": "error_analysis",
|
|
"description": "Analyze error for fix strategy"
|
|
},
|
|
{
|
|
"name": "fix_generation",
|
|
"description": "Generate fix with AI model"
|
|
},
|
|
{
|
|
"name": "fix_application",
|
|
"description": "Apply fix and retry"
|
|
},
|
|
{
|
|
"name": "validation",
|
|
"description": "Validate fix succeeded"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.application.debug_service",
|
|
"cleveragents.domain.error_analysis",
|
|
"cleveragents.infrastructure.ai_debug"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/auto_debug.feature"
|
|
],
|
|
"robot": [
|
|
"robot/debug_workflow.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"error_detection",
|
|
"model_interaction",
|
|
"retry_logic"
|
|
],
|
|
"notes": "Retry limits and backoff must match Go implementation"
|
|
},
|
|
"branch_create": {
|
|
"category": "branching",
|
|
"description": "Create and switch plan branches",
|
|
"go_components": [
|
|
"app/cli/cmd/branches.go",
|
|
"app/cli/lib/branch_helpers.go",
|
|
"app/server/db/branch_helpers.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "validation",
|
|
"description": "Validate branch name"
|
|
},
|
|
{
|
|
"name": "creation",
|
|
"description": "Create branch structure"
|
|
},
|
|
{
|
|
"name": "copying",
|
|
"description": "Copy current state to branch"
|
|
},
|
|
{
|
|
"name": "switching",
|
|
"description": "Switch to new branch"
|
|
},
|
|
{
|
|
"name": "persistence",
|
|
"description": "Save branch metadata"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.domain.branches",
|
|
"cleveragents.application.branch_service",
|
|
"cleveragents.cli.commands.branches"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/branches.feature"
|
|
],
|
|
"robot": [
|
|
"robot/branching.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"plan_management",
|
|
"diff_storage",
|
|
"state_management"
|
|
],
|
|
"notes": "Branch switching must preserve unsaved changes"
|
|
},
|
|
"branch_merge": {
|
|
"category": "branching",
|
|
"description": "Merge branches with conflict resolution",
|
|
"go_components": [
|
|
"app/cli/cmd/merge.go",
|
|
"app/cli/lib/merge_helpers.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "diff_comparison",
|
|
"description": "Compare branch diffs"
|
|
},
|
|
{
|
|
"name": "conflict_detection",
|
|
"description": "Detect merge conflicts"
|
|
},
|
|
{
|
|
"name": "conflict_resolution",
|
|
"description": "Resolve conflicts"
|
|
},
|
|
{
|
|
"name": "merge_application",
|
|
"description": "Apply merged changes"
|
|
},
|
|
{
|
|
"name": "cleanup",
|
|
"description": "Clean up merged branch"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.application.merge_service",
|
|
"cleveragents.domain.conflict_resolution"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/merge.feature"
|
|
],
|
|
"robot": [
|
|
"robot/merge_workflow.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"diff_management",
|
|
"conflict_detection",
|
|
"state_management"
|
|
],
|
|
"notes": "Must support manual and automatic conflict resolution"
|
|
},
|
|
"auth_login": {
|
|
"category": "authentication",
|
|
"description": "User authentication and session establishment",
|
|
"go_components": [
|
|
"app/cli/cmd/sign_in.go",
|
|
"app/cli/lib/auth.go",
|
|
"app/server/handlers/auth_handlers.go",
|
|
"app/server/db/user_helpers.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "credential_input",
|
|
"description": "Get user credentials"
|
|
},
|
|
{
|
|
"name": "authentication",
|
|
"description": "Verify credentials"
|
|
},
|
|
{
|
|
"name": "session_creation",
|
|
"description": "Create session token"
|
|
},
|
|
{
|
|
"name": "token_storage",
|
|
"description": "Store token locally"
|
|
},
|
|
{
|
|
"name": "verification",
|
|
"description": "Verify session active"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.infrastructure.auth",
|
|
"cleveragents.domain.sessions",
|
|
"cleveragents.cli.commands.auth"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/authentication.feature"
|
|
],
|
|
"robot": [
|
|
"robot/auth_workflow.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"user_management",
|
|
"token_management",
|
|
"encryption"
|
|
],
|
|
"notes": "Must support both API key and email/password auth"
|
|
},
|
|
"model_selection": {
|
|
"category": "model_management",
|
|
"description": "Select and configure AI models",
|
|
"go_components": [
|
|
"app/cli/cmd/models.go",
|
|
"app/cli/cmd/set_model.go",
|
|
"app/cli/lib/models_sync.go",
|
|
"app/shared/ai_models.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "model_listing",
|
|
"description": "List available models"
|
|
},
|
|
{
|
|
"name": "capability_check",
|
|
"description": "Check model capabilities"
|
|
},
|
|
{
|
|
"name": "selection",
|
|
"description": "Select model"
|
|
},
|
|
{
|
|
"name": "validation",
|
|
"description": "Validate API keys"
|
|
},
|
|
{
|
|
"name": "configuration",
|
|
"description": "Save model configuration"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.domain.models",
|
|
"cleveragents.application.model_service",
|
|
"cleveragents.infrastructure.model_providers",
|
|
"cleveragents.cli.commands.models"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/models.feature"
|
|
],
|
|
"robot": [
|
|
"robot/model_management.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"provider_integration",
|
|
"api_key_management",
|
|
"model_catalog"
|
|
],
|
|
"notes": "Model catalog refresh must be automated"
|
|
},
|
|
"config_management": {
|
|
"category": "configuration",
|
|
"description": "Manage application configuration",
|
|
"go_components": [
|
|
"app/cli/cmd/config.go",
|
|
"app/cli/lib/config.go",
|
|
"app/server/config/config.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "config_loading",
|
|
"description": "Load configuration files"
|
|
},
|
|
{
|
|
"name": "env_merging",
|
|
"description": "Merge environment variables"
|
|
},
|
|
{
|
|
"name": "validation",
|
|
"description": "Validate configuration"
|
|
},
|
|
{
|
|
"name": "application",
|
|
"description": "Apply configuration"
|
|
},
|
|
{
|
|
"name": "persistence",
|
|
"description": "Save configuration changes"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.infrastructure.config",
|
|
"cleveragents.domain.settings",
|
|
"cleveragents.cli.commands.config"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/configuration.feature"
|
|
],
|
|
"robot": [
|
|
"robot/config_management.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"file_operations",
|
|
"env_variables",
|
|
"validation"
|
|
],
|
|
"notes": "Must support CLEVERAGENTS_ env vars exclusively"
|
|
},
|
|
"team_invite": {
|
|
"category": "collaboration",
|
|
"description": "Invite team members and manage permissions",
|
|
"go_components": [
|
|
"app/cli/cmd/invite.go",
|
|
"app/server/handlers/invite_handlers.go",
|
|
"app/server/db/invite_helpers.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "invite_creation",
|
|
"description": "Create invite"
|
|
},
|
|
{
|
|
"name": "notification",
|
|
"description": "Send invite notification"
|
|
},
|
|
{
|
|
"name": "acceptance",
|
|
"description": "Process invite acceptance"
|
|
},
|
|
{
|
|
"name": "permission_grant",
|
|
"description": "Grant permissions"
|
|
},
|
|
{
|
|
"name": "sync",
|
|
"description": "Sync team state"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.domain.teams",
|
|
"cleveragents.application.invite_service",
|
|
"cleveragents.infrastructure.notifications"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/collaboration.feature"
|
|
],
|
|
"robot": [
|
|
"robot/team_workflow.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"user_management",
|
|
"permissions",
|
|
"notifications"
|
|
],
|
|
"notes": "Replace cloud invites with SMTP or local alternatives"
|
|
},
|
|
"stream_updates": {
|
|
"category": "streaming",
|
|
"description": "Stream real-time updates during operations",
|
|
"go_components": [
|
|
"app/cli/stream_tui/stream_tui.go",
|
|
"app/cli/lib/active_stream.go",
|
|
"app/server/handlers/stream_handlers.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "connection",
|
|
"description": "Establish streaming connection"
|
|
},
|
|
{
|
|
"name": "buffering",
|
|
"description": "Buffer incoming chunks"
|
|
},
|
|
{
|
|
"name": "rendering",
|
|
"description": "Render updates to UI"
|
|
},
|
|
{
|
|
"name": "error_handling",
|
|
"description": "Handle connection errors"
|
|
},
|
|
{
|
|
"name": "cleanup",
|
|
"description": "Clean up on completion"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.infrastructure.streaming",
|
|
"cleveragents.application.stream_service",
|
|
"cleveragents.cli.ui.stream_renderer"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/streaming.feature"
|
|
],
|
|
"robot": [
|
|
"robot/streaming.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"websockets",
|
|
"ui_rendering",
|
|
"backpressure"
|
|
],
|
|
"notes": "Must handle reconnection and backpressure"
|
|
},
|
|
"background_jobs": {
|
|
"category": "background_jobs",
|
|
"description": "Manage background tasks and job scheduling",
|
|
"go_components": [
|
|
"app/server/db/job_helpers.go",
|
|
"app/server/workers/workers.go",
|
|
"app/cli/lib/background_tasks.go"
|
|
],
|
|
"stages": [
|
|
{
|
|
"name": "job_creation",
|
|
"description": "Create job definition"
|
|
},
|
|
{
|
|
"name": "scheduling",
|
|
"description": "Schedule job execution"
|
|
},
|
|
{
|
|
"name": "execution",
|
|
"description": "Execute job task"
|
|
},
|
|
{
|
|
"name": "retry",
|
|
"description": "Retry on failure"
|
|
},
|
|
{
|
|
"name": "completion",
|
|
"description": "Mark job complete"
|
|
}
|
|
],
|
|
"python_modules": [
|
|
"cleveragents.infrastructure.jobs",
|
|
"cleveragents.application.job_service",
|
|
"cleveragents.domain.background_tasks"
|
|
],
|
|
"test_coverage": {
|
|
"behave": [
|
|
"features/background_jobs.feature"
|
|
],
|
|
"robot": [
|
|
"robot/job_scheduling.robot"
|
|
]
|
|
},
|
|
"dependencies": [
|
|
"task_queue",
|
|
"retry_logic",
|
|
"scheduling"
|
|
],
|
|
"notes": "Use asyncio or celery for job management"
|
|
}
|
|
},
|
|
"matrix": {
|
|
"go_to_python": {
|
|
"app/cli/cmd/plan.go": [
|
|
"cleveragents.domain.plans",
|
|
"cleveragents.application.plan_service",
|
|
"cleveragents.cli.commands.plan"
|
|
],
|
|
"app/cli/cmd/new.go": [
|
|
"cleveragents.domain.plans",
|
|
"cleveragents.application.plan_service",
|
|
"cleveragents.cli.commands.plan"
|
|
],
|
|
"app/cli/plan_exec/plan_exec.go": [
|
|
"cleveragents.domain.plans",
|
|
"cleveragents.application.plan_service",
|
|
"cleveragents.cli.commands.plan"
|
|
],
|
|
"app/server/handlers/plan_handlers.go": [
|
|
"cleveragents.domain.plans",
|
|
"cleveragents.application.plan_service",
|
|
"cleveragents.cli.commands.plan"
|
|
],
|
|
"app/server/db/plan_helpers.go": [
|
|
"cleveragents.domain.plans",
|
|
"cleveragents.application.plan_service",
|
|
"cleveragents.cli.commands.plan"
|
|
],
|
|
"app/cli/cmd/tell.go": [
|
|
"cleveragents.application.build_service",
|
|
"cleveragents.domain.diffs",
|
|
"cleveragents.infrastructure.ai_providers",
|
|
"cleveragents.cli.commands.tell"
|
|
],
|
|
"app/cli/cmd/continue.go": [
|
|
"cleveragents.application.build_service",
|
|
"cleveragents.domain.diffs",
|
|
"cleveragents.infrastructure.ai_providers",
|
|
"cleveragents.cli.commands.tell"
|
|
],
|
|
"app/cli/plan_exec/plan_build.go": [
|
|
"cleveragents.application.build_service",
|
|
"cleveragents.domain.diffs",
|
|
"cleveragents.infrastructure.ai_providers",
|
|
"cleveragents.cli.commands.tell"
|
|
],
|
|
"app/server/handlers/build_handlers.go": [
|
|
"cleveragents.application.build_service",
|
|
"cleveragents.domain.diffs",
|
|
"cleveragents.infrastructure.ai_providers",
|
|
"cleveragents.cli.commands.tell"
|
|
],
|
|
"app/shared/plan_build.go": [
|
|
"cleveragents.application.build_service",
|
|
"cleveragents.domain.diffs",
|
|
"cleveragents.infrastructure.ai_providers",
|
|
"cleveragents.cli.commands.tell"
|
|
],
|
|
"app/cli/cmd/apply.go": [
|
|
"cleveragents.application.apply_service",
|
|
"cleveragents.domain.file_operations",
|
|
"cleveragents.infrastructure.git_integration",
|
|
"cleveragents.cli.commands.apply"
|
|
],
|
|
"app/cli/plan_exec/apply_plan.go": [
|
|
"cleveragents.application.apply_service",
|
|
"cleveragents.domain.file_operations",
|
|
"cleveragents.infrastructure.git_integration",
|
|
"cleveragents.cli.commands.apply"
|
|
],
|
|
"app/server/handlers/apply_handlers.go": [
|
|
"cleveragents.application.apply_service",
|
|
"cleveragents.domain.file_operations",
|
|
"cleveragents.infrastructure.git_integration",
|
|
"cleveragents.cli.commands.apply"
|
|
],
|
|
"app/shared/apply.go": [
|
|
"cleveragents.application.apply_service",
|
|
"cleveragents.domain.file_operations",
|
|
"cleveragents.infrastructure.git_integration",
|
|
"cleveragents.cli.commands.apply"
|
|
],
|
|
"app/cli/cmd/context.go": [
|
|
"cleveragents.domain.context",
|
|
"cleveragents.application.context_service",
|
|
"cleveragents.infrastructure.file_loader",
|
|
"cleveragents.cli.commands.context"
|
|
],
|
|
"app/cli/cmd/load.go": [
|
|
"cleveragents.domain.context",
|
|
"cleveragents.application.context_service",
|
|
"cleveragents.infrastructure.file_loader",
|
|
"cleveragents.cli.commands.context"
|
|
],
|
|
"app/cli/lib/context_loader.go": [
|
|
"cleveragents.domain.context",
|
|
"cleveragents.application.context_service",
|
|
"cleveragents.infrastructure.file_loader",
|
|
"cleveragents.cli.commands.context"
|
|
],
|
|
"app/server/db/context_helpers.go": [
|
|
"cleveragents.domain.context",
|
|
"cleveragents.application.context_service",
|
|
"cleveragents.infrastructure.file_loader",
|
|
"cleveragents.cli.commands.context"
|
|
],
|
|
"app/cli/lib/context_auto.go": [
|
|
"cleveragents.application.auto_context",
|
|
"cleveragents.domain.heuristics"
|
|
],
|
|
"app/cli/lib/context_heuristics.go": [
|
|
"cleveragents.application.auto_context",
|
|
"cleveragents.domain.heuristics"
|
|
],
|
|
"app/cli/cmd/exec.go": [
|
|
"cleveragents.application.exec_service",
|
|
"cleveragents.infrastructure.process_runner",
|
|
"cleveragents.domain.exec_results"
|
|
],
|
|
"app/cli/plan_exec/exec_cmd.go": [
|
|
"cleveragents.application.exec_service",
|
|
"cleveragents.infrastructure.process_runner",
|
|
"cleveragents.domain.exec_results"
|
|
],
|
|
"app/shared/exec.go": [
|
|
"cleveragents.application.exec_service",
|
|
"cleveragents.infrastructure.process_runner",
|
|
"cleveragents.domain.exec_results"
|
|
],
|
|
"app/cli/cmd/debug.go": [
|
|
"cleveragents.application.debug_service",
|
|
"cleveragents.domain.error_analysis",
|
|
"cleveragents.infrastructure.ai_debug"
|
|
],
|
|
"app/cli/plan_exec/auto_debug.go": [
|
|
"cleveragents.application.debug_service",
|
|
"cleveragents.domain.error_analysis",
|
|
"cleveragents.infrastructure.ai_debug"
|
|
],
|
|
"app/shared/debug.go": [
|
|
"cleveragents.application.debug_service",
|
|
"cleveragents.domain.error_analysis",
|
|
"cleveragents.infrastructure.ai_debug"
|
|
],
|
|
"app/cli/cmd/branches.go": [
|
|
"cleveragents.domain.branches",
|
|
"cleveragents.application.branch_service",
|
|
"cleveragents.cli.commands.branches"
|
|
],
|
|
"app/cli/lib/branch_helpers.go": [
|
|
"cleveragents.domain.branches",
|
|
"cleveragents.application.branch_service",
|
|
"cleveragents.cli.commands.branches"
|
|
],
|
|
"app/server/db/branch_helpers.go": [
|
|
"cleveragents.domain.branches",
|
|
"cleveragents.application.branch_service",
|
|
"cleveragents.cli.commands.branches"
|
|
],
|
|
"app/cli/cmd/merge.go": [
|
|
"cleveragents.application.merge_service",
|
|
"cleveragents.domain.conflict_resolution"
|
|
],
|
|
"app/cli/lib/merge_helpers.go": [
|
|
"cleveragents.application.merge_service",
|
|
"cleveragents.domain.conflict_resolution"
|
|
],
|
|
"app/cli/cmd/sign_in.go": [
|
|
"cleveragents.infrastructure.auth",
|
|
"cleveragents.domain.sessions",
|
|
"cleveragents.cli.commands.auth"
|
|
],
|
|
"app/cli/lib/auth.go": [
|
|
"cleveragents.infrastructure.auth",
|
|
"cleveragents.domain.sessions",
|
|
"cleveragents.cli.commands.auth"
|
|
],
|
|
"app/server/handlers/auth_handlers.go": [
|
|
"cleveragents.infrastructure.auth",
|
|
"cleveragents.domain.sessions",
|
|
"cleveragents.cli.commands.auth"
|
|
],
|
|
"app/server/db/user_helpers.go": [
|
|
"cleveragents.infrastructure.auth",
|
|
"cleveragents.domain.sessions",
|
|
"cleveragents.cli.commands.auth"
|
|
],
|
|
"app/cli/cmd/models.go": [
|
|
"cleveragents.domain.models",
|
|
"cleveragents.application.model_service",
|
|
"cleveragents.infrastructure.model_providers",
|
|
"cleveragents.cli.commands.models"
|
|
],
|
|
"app/cli/cmd/set_model.go": [
|
|
"cleveragents.domain.models",
|
|
"cleveragents.application.model_service",
|
|
"cleveragents.infrastructure.model_providers",
|
|
"cleveragents.cli.commands.models"
|
|
],
|
|
"app/cli/lib/models_sync.go": [
|
|
"cleveragents.domain.models",
|
|
"cleveragents.application.model_service",
|
|
"cleveragents.infrastructure.model_providers",
|
|
"cleveragents.cli.commands.models"
|
|
],
|
|
"app/shared/ai_models.go": [
|
|
"cleveragents.domain.models",
|
|
"cleveragents.application.model_service",
|
|
"cleveragents.infrastructure.model_providers",
|
|
"cleveragents.cli.commands.models"
|
|
],
|
|
"app/cli/cmd/config.go": [
|
|
"cleveragents.infrastructure.config",
|
|
"cleveragents.domain.settings",
|
|
"cleveragents.cli.commands.config"
|
|
],
|
|
"app/cli/lib/config.go": [
|
|
"cleveragents.infrastructure.config",
|
|
"cleveragents.domain.settings",
|
|
"cleveragents.cli.commands.config"
|
|
],
|
|
"app/server/config/config.go": [
|
|
"cleveragents.infrastructure.config",
|
|
"cleveragents.domain.settings",
|
|
"cleveragents.cli.commands.config"
|
|
],
|
|
"app/cli/cmd/invite.go": [
|
|
"cleveragents.domain.teams",
|
|
"cleveragents.application.invite_service",
|
|
"cleveragents.infrastructure.notifications"
|
|
],
|
|
"app/server/handlers/invite_handlers.go": [
|
|
"cleveragents.domain.teams",
|
|
"cleveragents.application.invite_service",
|
|
"cleveragents.infrastructure.notifications"
|
|
],
|
|
"app/server/db/invite_helpers.go": [
|
|
"cleveragents.domain.teams",
|
|
"cleveragents.application.invite_service",
|
|
"cleveragents.infrastructure.notifications"
|
|
],
|
|
"app/cli/stream_tui/stream_tui.go": [
|
|
"cleveragents.infrastructure.streaming",
|
|
"cleveragents.application.stream_service",
|
|
"cleveragents.cli.ui.stream_renderer"
|
|
],
|
|
"app/cli/lib/active_stream.go": [
|
|
"cleveragents.infrastructure.streaming",
|
|
"cleveragents.application.stream_service",
|
|
"cleveragents.cli.ui.stream_renderer"
|
|
],
|
|
"app/server/handlers/stream_handlers.go": [
|
|
"cleveragents.infrastructure.streaming",
|
|
"cleveragents.application.stream_service",
|
|
"cleveragents.cli.ui.stream_renderer"
|
|
],
|
|
"app/server/db/job_helpers.go": [
|
|
"cleveragents.infrastructure.jobs",
|
|
"cleveragents.application.job_service",
|
|
"cleveragents.domain.background_tasks"
|
|
],
|
|
"app/server/workers/workers.go": [
|
|
"cleveragents.infrastructure.jobs",
|
|
"cleveragents.application.job_service",
|
|
"cleveragents.domain.background_tasks"
|
|
],
|
|
"app/cli/lib/background_tasks.go": [
|
|
"cleveragents.infrastructure.jobs",
|
|
"cleveragents.application.job_service",
|
|
"cleveragents.domain.background_tasks"
|
|
]
|
|
},
|
|
"python_to_go": {
|
|
"cleveragents.domain.plans": [
|
|
"app/cli/cmd/plan.go",
|
|
"app/cli/cmd/new.go",
|
|
"app/cli/plan_exec/plan_exec.go",
|
|
"app/server/handlers/plan_handlers.go",
|
|
"app/server/db/plan_helpers.go"
|
|
],
|
|
"cleveragents.application.plan_service": [
|
|
"app/cli/cmd/plan.go",
|
|
"app/cli/cmd/new.go",
|
|
"app/cli/plan_exec/plan_exec.go",
|
|
"app/server/handlers/plan_handlers.go",
|
|
"app/server/db/plan_helpers.go"
|
|
],
|
|
"cleveragents.cli.commands.plan": [
|
|
"app/cli/cmd/plan.go",
|
|
"app/cli/cmd/new.go",
|
|
"app/cli/plan_exec/plan_exec.go",
|
|
"app/server/handlers/plan_handlers.go",
|
|
"app/server/db/plan_helpers.go"
|
|
],
|
|
"cleveragents.application.build_service": [
|
|
"app/cli/cmd/tell.go",
|
|
"app/cli/cmd/continue.go",
|
|
"app/cli/plan_exec/plan_build.go",
|
|
"app/server/handlers/build_handlers.go",
|
|
"app/shared/plan_build.go"
|
|
],
|
|
"cleveragents.domain.diffs": [
|
|
"app/cli/cmd/tell.go",
|
|
"app/cli/cmd/continue.go",
|
|
"app/cli/plan_exec/plan_build.go",
|
|
"app/server/handlers/build_handlers.go",
|
|
"app/shared/plan_build.go"
|
|
],
|
|
"cleveragents.infrastructure.ai_providers": [
|
|
"app/cli/cmd/tell.go",
|
|
"app/cli/cmd/continue.go",
|
|
"app/cli/plan_exec/plan_build.go",
|
|
"app/server/handlers/build_handlers.go",
|
|
"app/shared/plan_build.go"
|
|
],
|
|
"cleveragents.cli.commands.tell": [
|
|
"app/cli/cmd/tell.go",
|
|
"app/cli/cmd/continue.go",
|
|
"app/cli/plan_exec/plan_build.go",
|
|
"app/server/handlers/build_handlers.go",
|
|
"app/shared/plan_build.go"
|
|
],
|
|
"cleveragents.application.apply_service": [
|
|
"app/cli/cmd/apply.go",
|
|
"app/cli/plan_exec/apply_plan.go",
|
|
"app/server/handlers/apply_handlers.go",
|
|
"app/shared/apply.go"
|
|
],
|
|
"cleveragents.domain.file_operations": [
|
|
"app/cli/cmd/apply.go",
|
|
"app/cli/plan_exec/apply_plan.go",
|
|
"app/server/handlers/apply_handlers.go",
|
|
"app/shared/apply.go"
|
|
],
|
|
"cleveragents.infrastructure.git_integration": [
|
|
"app/cli/cmd/apply.go",
|
|
"app/cli/plan_exec/apply_plan.go",
|
|
"app/server/handlers/apply_handlers.go",
|
|
"app/shared/apply.go"
|
|
],
|
|
"cleveragents.cli.commands.apply": [
|
|
"app/cli/cmd/apply.go",
|
|
"app/cli/plan_exec/apply_plan.go",
|
|
"app/server/handlers/apply_handlers.go",
|
|
"app/shared/apply.go"
|
|
],
|
|
"cleveragents.domain.context": [
|
|
"app/cli/cmd/context.go",
|
|
"app/cli/cmd/load.go",
|
|
"app/cli/lib/context_loader.go",
|
|
"app/server/db/context_helpers.go"
|
|
],
|
|
"cleveragents.application.context_service": [
|
|
"app/cli/cmd/context.go",
|
|
"app/cli/cmd/load.go",
|
|
"app/cli/lib/context_loader.go",
|
|
"app/server/db/context_helpers.go"
|
|
],
|
|
"cleveragents.infrastructure.file_loader": [
|
|
"app/cli/cmd/context.go",
|
|
"app/cli/cmd/load.go",
|
|
"app/cli/lib/context_loader.go",
|
|
"app/server/db/context_helpers.go"
|
|
],
|
|
"cleveragents.cli.commands.context": [
|
|
"app/cli/cmd/context.go",
|
|
"app/cli/cmd/load.go",
|
|
"app/cli/lib/context_loader.go",
|
|
"app/server/db/context_helpers.go"
|
|
],
|
|
"cleveragents.application.auto_context": [
|
|
"app/cli/lib/context_auto.go",
|
|
"app/cli/lib/context_heuristics.go"
|
|
],
|
|
"cleveragents.domain.heuristics": [
|
|
"app/cli/lib/context_auto.go",
|
|
"app/cli/lib/context_heuristics.go"
|
|
],
|
|
"cleveragents.application.exec_service": [
|
|
"app/cli/cmd/exec.go",
|
|
"app/cli/plan_exec/exec_cmd.go",
|
|
"app/shared/exec.go"
|
|
],
|
|
"cleveragents.infrastructure.process_runner": [
|
|
"app/cli/cmd/exec.go",
|
|
"app/cli/plan_exec/exec_cmd.go",
|
|
"app/shared/exec.go"
|
|
],
|
|
"cleveragents.domain.exec_results": [
|
|
"app/cli/cmd/exec.go",
|
|
"app/cli/plan_exec/exec_cmd.go",
|
|
"app/shared/exec.go"
|
|
],
|
|
"cleveragents.application.debug_service": [
|
|
"app/cli/cmd/debug.go",
|
|
"app/cli/plan_exec/auto_debug.go",
|
|
"app/shared/debug.go"
|
|
],
|
|
"cleveragents.domain.error_analysis": [
|
|
"app/cli/cmd/debug.go",
|
|
"app/cli/plan_exec/auto_debug.go",
|
|
"app/shared/debug.go"
|
|
],
|
|
"cleveragents.infrastructure.ai_debug": [
|
|
"app/cli/cmd/debug.go",
|
|
"app/cli/plan_exec/auto_debug.go",
|
|
"app/shared/debug.go"
|
|
],
|
|
"cleveragents.domain.branches": [
|
|
"app/cli/cmd/branches.go",
|
|
"app/cli/lib/branch_helpers.go",
|
|
"app/server/db/branch_helpers.go"
|
|
],
|
|
"cleveragents.application.branch_service": [
|
|
"app/cli/cmd/branches.go",
|
|
"app/cli/lib/branch_helpers.go",
|
|
"app/server/db/branch_helpers.go"
|
|
],
|
|
"cleveragents.cli.commands.branches": [
|
|
"app/cli/cmd/branches.go",
|
|
"app/cli/lib/branch_helpers.go",
|
|
"app/server/db/branch_helpers.go"
|
|
],
|
|
"cleveragents.application.merge_service": [
|
|
"app/cli/cmd/merge.go",
|
|
"app/cli/lib/merge_helpers.go"
|
|
],
|
|
"cleveragents.domain.conflict_resolution": [
|
|
"app/cli/cmd/merge.go",
|
|
"app/cli/lib/merge_helpers.go"
|
|
],
|
|
"cleveragents.infrastructure.auth": [
|
|
"app/cli/cmd/sign_in.go",
|
|
"app/cli/lib/auth.go",
|
|
"app/server/handlers/auth_handlers.go",
|
|
"app/server/db/user_helpers.go"
|
|
],
|
|
"cleveragents.domain.sessions": [
|
|
"app/cli/cmd/sign_in.go",
|
|
"app/cli/lib/auth.go",
|
|
"app/server/handlers/auth_handlers.go",
|
|
"app/server/db/user_helpers.go"
|
|
],
|
|
"cleveragents.cli.commands.auth": [
|
|
"app/cli/cmd/sign_in.go",
|
|
"app/cli/lib/auth.go",
|
|
"app/server/handlers/auth_handlers.go",
|
|
"app/server/db/user_helpers.go"
|
|
],
|
|
"cleveragents.domain.models": [
|
|
"app/cli/cmd/models.go",
|
|
"app/cli/cmd/set_model.go",
|
|
"app/cli/lib/models_sync.go",
|
|
"app/shared/ai_models.go"
|
|
],
|
|
"cleveragents.application.model_service": [
|
|
"app/cli/cmd/models.go",
|
|
"app/cli/cmd/set_model.go",
|
|
"app/cli/lib/models_sync.go",
|
|
"app/shared/ai_models.go"
|
|
],
|
|
"cleveragents.infrastructure.model_providers": [
|
|
"app/cli/cmd/models.go",
|
|
"app/cli/cmd/set_model.go",
|
|
"app/cli/lib/models_sync.go",
|
|
"app/shared/ai_models.go"
|
|
],
|
|
"cleveragents.cli.commands.models": [
|
|
"app/cli/cmd/models.go",
|
|
"app/cli/cmd/set_model.go",
|
|
"app/cli/lib/models_sync.go",
|
|
"app/shared/ai_models.go"
|
|
],
|
|
"cleveragents.infrastructure.config": [
|
|
"app/cli/cmd/config.go",
|
|
"app/cli/lib/config.go",
|
|
"app/server/config/config.go"
|
|
],
|
|
"cleveragents.domain.settings": [
|
|
"app/cli/cmd/config.go",
|
|
"app/cli/lib/config.go",
|
|
"app/server/config/config.go"
|
|
],
|
|
"cleveragents.cli.commands.config": [
|
|
"app/cli/cmd/config.go",
|
|
"app/cli/lib/config.go",
|
|
"app/server/config/config.go"
|
|
],
|
|
"cleveragents.domain.teams": [
|
|
"app/cli/cmd/invite.go",
|
|
"app/server/handlers/invite_handlers.go",
|
|
"app/server/db/invite_helpers.go"
|
|
],
|
|
"cleveragents.application.invite_service": [
|
|
"app/cli/cmd/invite.go",
|
|
"app/server/handlers/invite_handlers.go",
|
|
"app/server/db/invite_helpers.go"
|
|
],
|
|
"cleveragents.infrastructure.notifications": [
|
|
"app/cli/cmd/invite.go",
|
|
"app/server/handlers/invite_handlers.go",
|
|
"app/server/db/invite_helpers.go"
|
|
],
|
|
"cleveragents.infrastructure.streaming": [
|
|
"app/cli/stream_tui/stream_tui.go",
|
|
"app/cli/lib/active_stream.go",
|
|
"app/server/handlers/stream_handlers.go"
|
|
],
|
|
"cleveragents.application.stream_service": [
|
|
"app/cli/stream_tui/stream_tui.go",
|
|
"app/cli/lib/active_stream.go",
|
|
"app/server/handlers/stream_handlers.go"
|
|
],
|
|
"cleveragents.cli.ui.stream_renderer": [
|
|
"app/cli/stream_tui/stream_tui.go",
|
|
"app/cli/lib/active_stream.go",
|
|
"app/server/handlers/stream_handlers.go"
|
|
],
|
|
"cleveragents.infrastructure.jobs": [
|
|
"app/server/db/job_helpers.go",
|
|
"app/server/workers/workers.go",
|
|
"app/cli/lib/background_tasks.go"
|
|
],
|
|
"cleveragents.application.job_service": [
|
|
"app/server/db/job_helpers.go",
|
|
"app/server/workers/workers.go",
|
|
"app/cli/lib/background_tasks.go"
|
|
],
|
|
"cleveragents.domain.background_tasks": [
|
|
"app/server/db/job_helpers.go",
|
|
"app/server/workers/workers.go",
|
|
"app/cli/lib/background_tasks.go"
|
|
]
|
|
},
|
|
"coverage_gaps": [],
|
|
"implementation_order": [
|
|
"team_invite",
|
|
"auth_login",
|
|
"model_selection",
|
|
"background_jobs",
|
|
"auto_debug",
|
|
"config_management",
|
|
"context_load",
|
|
"plan_apply",
|
|
"branch_merge",
|
|
"branch_create",
|
|
"stream_updates",
|
|
"plan_build",
|
|
"plan_create",
|
|
"context_auto",
|
|
"exec_command"
|
|
]
|
|
},
|
|
"statistics": {
|
|
"total_workflows": 15,
|
|
"workflows_per_category": {
|
|
"plan_lifecycle": 3,
|
|
"context_management": 2,
|
|
"execution_flows": 2,
|
|
"branching": 2,
|
|
"authentication": 1,
|
|
"model_management": 1,
|
|
"configuration": 1,
|
|
"collaboration": 1,
|
|
"streaming": 1,
|
|
"background_jobs": 1
|
|
},
|
|
"total_go_components": 51,
|
|
"total_python_modules": 47,
|
|
"total_stages": 73,
|
|
"test_coverage": {
|
|
"with_behave": 15,
|
|
"with_robot": 15,
|
|
"with_go_tests": 1,
|
|
"without_tests": 0
|
|
}
|
|
},
|
|
"categories": {
|
|
"plan_lifecycle": "Plan creation, building, applying, and archiving",
|
|
"context_management": "Context loading, modification, and auto-detection",
|
|
"execution_flows": "Command execution, auto-debug, and rollback",
|
|
"branching": "Branch creation, switching, merging, and diff management",
|
|
"collaboration": "Team invites, sharing, and permissions",
|
|
"model_management": "Model selection, custom models, and provider configuration",
|
|
"authentication": "Login, logout, session management, and API keys",
|
|
"configuration": "Settings, environment variables, and config files",
|
|
"streaming": "Real-time updates, logs, and progress tracking",
|
|
"background_jobs": "Async tasks, retries, and job scheduling"
|
|
}
|
|
} |