Commit 1b31528
committed
refactor(docs): code analysis engine
changes:
- file: 02_mcp_integration.py
area: core
modified: [run_mcp_tool, simulate_planfile_generate, simulate_planfile_review, simulate_planfile_apply]
- file: 03_proxy_routing.py
area: core
modified: [get_routing_decision, get_usage_stats, chat, example_strategy_generation_with_proxy, ProxyClient]
- file: 04_llx_integration.py
area: core
modified: [get_task_scope, __init__, ProjectMetrics, analyze_project, LLXIntegration, _basic_analysis, +1 more]
- file: test_interactive_mode.py
area: test
modified: [test_expect_script, test_interactive_mode]
- file: llx_validator.py
area: core
modified: [validate_strategy, __init__, _basic_code_analysis, LLXValidator, _parse_llx_analysis, analyze_generated_code]
- file: test_litellm_integration.py
area: test
modified: [test_specific_strategy, create_test_prompt, test_model_with_prompt, LiteLLMStrategyTester, run_comprehensive_test, generate_summary]
- file: test_strategies.py
area: test
modified: [test_strategy_generation, validate_strategy_yaml, test_strategy_validation]
- file: __init__.py
area: core
modified: [__getattr__]
- file: external_tools.py
area: analyzer
modified: [__init__, run_code2llm, parse_vallm_output, run_vallm, parse_code2llm_output, run_external_analysis, +4 more]
- file: file_analyzer.py
area: analyzer
modified: [_generate_summary, analyze_directory, analyze_file, FileAnalyzer]
- file: generator.py
area: analyzer
modified: [_external_to_internal_analysis, __init__, _parse_effort, _extract_external_metrics, generate_from_current_project, _extract_key_metrics, +10 more]
- file: metrics_extractor.py
area: analyzer
modified: [_extract_duplication_metrics, _extract_cc_metrics, _extract_coverage_metrics, _extract_validation_metrics, extract_key_metrics, _extract_critical_metrics]
- file: strategy_builder.py
area: analyzer
modified: [generate_target_metrics, generate_goals, generate_quality_gates, generate_tasks, parse_effort, generate_success_criteria, +2 more]
- file: models.py
area: analyzer
modified: [ExtractedIssue, ExtractedMetric, ExtractedTask]
- file: json_parser.py
area: analyzer
modified: [analyze_json]
- file: text_parser.py
area: analyzer
modified: [analyze_text]
- file: toon_parser.py
area: analyzer
modified: [_parse_summary_section, analyze_toon, _parse_health_section, _skip_section, _parse_toon_header, _parse_toon_sections]
- file: yaml_parser.py
area: analyzer
modified: [analyze_yaml, extract_from_yaml_structure]
- file: sprint_generator.py
area: analyzer
modified: [_get_highest_priority, _get_remaining_medium_issues, _estimate_effort, _get_high_and_quality_issues, _create_sprint, generate_sprints, +3 more]
- file: server.py
area: api
modified: [list_tickets, TicketUpdate]
- file: builder.py
area: core
modified: [create_strategy_command, build_strategy, answers_to_strategy, _parse_bullet_list, ask_llm_questions, LLXStrategyBuilder]
- file: ci.py
area: core
modified: [__init__, run_code_analysis, TestResult, create_bug_tickets, run_loop, BugReport, +4 more]
- file: auto_loop.py
area: cli
modified: [auto_loop, _save_results_if_needed, _initialize_backends, ci_status]
- file: cmd_apply.py
area: cli
modified: [apply_strategy_cli, _execute_apply_strategy, _save_results]
- file: cmd_compare.py
area: cli
modified: [compare_strategies, compare_cmd, register_compare_commands]
- file: cmd_examples.py
area: cli
modified: [_execute_example, run_example, _discover_examples, list_examples, create_examples_app]
- file: cmd_export.py
area: cli
modified: [merge_cmd, register_export_commands, export_cmd]
- file: cmd_generate.py
area: cli
modified: [generate_from_files_cmd, generate_strategy_cli]
- file: cmd_health.py
area: cli
modified: [create_health_app, health_cmd]
- file: cmd_init.py
area: cli
modified: [init_strategy_cli]
- file: cmd_review.py
area: cli
modified: [review_strategy_cli]
- file: cmd_stats.py
area: cli
modified: [register_stats_commands, calculate_strategy_stats, stats_cmd]
- file: cmd_sync.py
area: cli
modified: [sync_integration, sync_from_external, find_planfile_ticket, all, jira, gitlab, +5 more]
- file: cmd_template.py
area: cli
modified: [register_template_commands, template_cmd]
- file: cmd_ticket.py
area: cli
modified: [ticket_create, ticket_list, ticket_update, ticket_import, ticket_move, _display_tickets, +2 more]
- file: cmd_utils.py
area: cli
modified: [_parse_sprint_filter, _load_backend_config]
- file: cmd_validate.py
area: cli
modified: [validate_strategy_cli]
- file: commands.py
area: cli
modified: [main_callback, version_callback, main]
- file: project_detector.py
area: cli
modified: [_find_readme_goal, _detect_from_package_json, _find_readme_description, _find_readme_content, detect_project, _detect_model_tier, +7 more]
- file: store.py
area: core
modified: [TicketFilter, apply, SourceFilter, __init__, get_ticket, update_ticket, +10 more]
- file: examples.py
area: core
modified: [example_validate_strategy, example_create_strategy, example_verify_strategy, example_run_strategy, example_programmatic_strategy]
- file: executor_standalone.py
area: core
modified: [_default_config, __init__, chat, LLMClient, _execute_task, execute_strategy, +4 more]
- file: redup_importer.py
area: core
modified: [import_redup, _parse_refactor, _parse_duplicates, _parse_toon_format, _create_refactor_ticket]
- file: config.py
area: config
modified: [get_integration_config, discover_configs, load_configs, get_sprint_config, _deep_merge, get_project_config, +2 more]
- file: adapters.py
area: core
modified: [__init__, get_available_models, BaseLLMAdapter, LLMTestRunner, LLMTestResult]
- file: client.py
area: cli
modified: [call_llm]
- file: cli_loader.py
area: cli
modified: [_md_summary, save_strategy_to_json, _md_metrics, _md_tasks, _md_header, load_strategy_from_json, +4 more]
- file: yaml_loader.py
area: core
modified: [_transform_sprints, load_strategy_yaml, _transform_goal, merge_strategy_with_tasks, save_yaml, validate_strategy_schema, +5 more]
- file: runner.py
area: core
modified: [verify_strategy_post_execution, apply_strategy_to_tickets, review_strategy, analyze_project_metrics]
- file: base.py
area: core
modified: [prepare_metadata, BasePMBackend, build_ticket_status, TicketRef, list_tickets, __init__, +11 more]
- file: generic.py
area: core
modified: [__init__, _create_ticket, GenericBackend, _list_tickets, _update_ticket, _build_update_data, +2 more]
- file: github.py
area: core
modified: [__init__, GitHubBackend, _search_tickets, _create_ticket, _list_tickets, _ensure_labels_exist, +1 more]
- file: gitlab.py
area: core
modified: [GitLabBackend, __init__, _search_tickets, _create_ticket, _list_tickets, _update_ticket]
- file: jira.py
area: core
modified: [__init__, _map_priority_to_jira, _search_tickets, _create_ticket, JiraBackend, _list_tickets, +1 more]
- file: markdown_backend.py
area: core
modified: [_ticket_exists_by_title, MarkdownFileBackend, _find_ticket_file, _search_tickets, _create_ticket, _list_tickets, +4 more]
- file: mock.py
area: core
modified: [_create_ticket, _list_tickets, MockBackend, _update_ticket]
- file: metrics.py
area: util
modified: [analyze_project_metrics, calculate_strategy_health]
- file: priorities.py
area: util
modified: [calculate_task_priority]
- file: test_improvements.py
area: test
modified: [test_v2_format]
- file: test_integration.py
area: test
modified: [test_integration]
- file: llm_adapters.py
area: test
modified: [LocalLLMAdapter, OpenRouterAdapter, BaseLLMAdapter, LLMTestRunner, generate_report, _generate_failed_tests_section, +8 more]
dependencies:
flow: "server_common→planfile, cmd_health→generator, test_integration→generator, commands→auto_loop, cmd_ticket→planfile, test_improvements→planfile, cmd_generate→generator, ci→planfile"
- ci.py -> planfile.py
- cmd_generate.py -> generator.py
- cmd_health.py -> generator.py
- cmd_ticket.py -> planfile.py
- commands.py -> auto_loop.py
- commands.py -> planfile.py
- server_common.py -> planfile.py
- test_improvements.py -> planfile.py
stats:
lines: "+5744/-2944 (net +2800)"
files: 93
complexity: "Stable complexity"1 parent ab31c0c commit 1b31528
File tree
105 files changed
+5782
-2947
lines changed- docs
- examples
- ecosystem
- interactive-tests
- planfile
- analysis
- generators
- parsers
- api
- cli
- cmd
- core
- importers
- integrations
- llm
- loaders
- mcp
- sync
- utils
- project
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
105 files changed
+5782
-2947
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
8 | 208 | | |
9 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
10 | 239 | | |
11 | 240 | | |
12 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
500 | 503 | | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
501 | 507 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments