thothctl 0.31.1__tar.gz → 0.31.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (596) hide show
  1. {thothctl-0.31.1 → thothctl-0.31.2}/PKG-INFO +1 -1
  2. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/inventory/commands/iac.py +19 -4
  3. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/code_generator.py +50 -13
  4. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/intent_service.py +6 -1
  5. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/plan_runner.py +1 -1
  6. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/prompts.py +89 -53
  7. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/state_resolver.py +2 -3
  8. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/defectdojo_publisher.py +0 -1
  9. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/inventory_service.py +100 -28
  10. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/secobserve_publisher.py +0 -1
  11. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/opa.py +2 -2
  12. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/version.py +1 -1
  13. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cdk_inventory.py +97 -0
  14. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_generate_iac_codegen.py +2 -0
  15. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_generate_iac_prompts.py +44 -0
  16. {thothctl-0.31.1 → thothctl-0.31.2}/.devcontainer/Dockerfile +0 -0
  17. {thothctl-0.31.1 → thothctl-0.31.2}/.devcontainer/README.md +0 -0
  18. {thothctl-0.31.1 → thothctl-0.31.2}/.devcontainer/devcontainer.json +0 -0
  19. {thothctl-0.31.1 → thothctl-0.31.2}/.github/workflows/docs.yml +0 -0
  20. {thothctl-0.31.1 → thothctl-0.31.2}/.github/workflows/python-publish.yml +0 -0
  21. {thothctl-0.31.1 → thothctl-0.31.2}/.gitignore +0 -0
  22. {thothctl-0.31.1 → thothctl-0.31.2}/.pre-commit-config.yaml +0 -0
  23. {thothctl-0.31.1 → thothctl-0.31.2}/.pydocstyle +0 -0
  24. {thothctl-0.31.1 → thothctl-0.31.2}/.readthedocs.yaml +0 -0
  25. {thothctl-0.31.1 → thothctl-0.31.2}/CHANGELOG.md +0 -0
  26. {thothctl-0.31.1 → thothctl-0.31.2}/CONTRIBUTING.md +0 -0
  27. {thothctl-0.31.1 → thothctl-0.31.2}/Dockerfile +0 -0
  28. {thothctl-0.31.1 → thothctl-0.31.2}/LICENSE +0 -0
  29. {thothctl-0.31.1 → thothctl-0.31.2}/README.md +0 -0
  30. {thothctl-0.31.1 → thothctl-0.31.2}/__init__.py +0 -0
  31. {thothctl-0.31.1 → thothctl-0.31.2}/docs/catalog/catalog-info.yaml +0 -0
  32. {thothctl-0.31.1 → thothctl-0.31.2}/docs/dashboard/README.md +0 -0
  33. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/ai-review/README.md +0 -0
  34. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/ai-review/agent_specifications.md +0 -0
  35. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/ai-review/agentcore.md +0 -0
  36. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/blast-radius.md +0 -0
  37. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/check_environment.md +0 -0
  38. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/check_iac.md +0 -0
  39. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/check_overview.md +0 -0
  40. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/check_project_iac.md +0 -0
  41. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/check_space.md +0 -0
  42. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/cost-analysis-quick-reference.md +0 -0
  43. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/cost-analysis.md +0 -0
  44. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/customizing_rules.md +0 -0
  45. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/deps-advanced.md +0 -0
  46. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/deps.md +0 -0
  47. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/drift-detection.md +0 -0
  48. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/check/plan.md +0 -0
  49. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/dashboard/dashboard_overview.md +0 -0
  50. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/document/customizing_docs.md +0 -0
  51. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/document/document_iac.md +0 -0
  52. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/document/document_overview.md +0 -0
  53. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/document/iac.md +0 -0
  54. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/document/mermaid_examples.md +0 -0
  55. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/document/mermaid_quickref.md +0 -0
  56. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/document/use_cases.md +0 -0
  57. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/generate/generate_components.md +0 -0
  58. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/generate/generate_iac.md +0 -0
  59. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/generate/generate_stacks.md +0 -0
  60. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/init/init.md +0 -0
  61. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/init/init_space.md +0 -0
  62. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/inventory/CHANGELOG.md +0 -0
  63. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/inventory/frameworks/terraform.md +0 -0
  64. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/inventory/frameworks/terragrunt.md +0 -0
  65. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/inventory/iac.md +0 -0
  66. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/inventory/inventory_iac.md +0 -0
  67. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/inventory/inventory_overview.md +0 -0
  68. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/list/list_overview.md +0 -0
  69. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/list/list_projects.md +0 -0
  70. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/list/list_spaces.md +0 -0
  71. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/mcp/mcp.md +0 -0
  72. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/project/iac.md +0 -0
  73. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/project/project_cleanup.md +0 -0
  74. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/project/project_convert.md +0 -0
  75. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/project/project_overview.md +0 -0
  76. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/project/project_upgrade.md +0 -0
  77. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/project/use_cases.md +0 -0
  78. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/remove/remove_overview.md +0 -0
  79. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/remove/remove_project.md +0 -0
  80. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/remove/remove_space.md +0 -0
  81. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/scan/iac.md +0 -0
  82. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/scan/scan_iac.md +0 -0
  83. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/scan/scan_overview.md +0 -0
  84. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/scan/use_cases.md +0 -0
  85. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/space/space_overview.md +0 -0
  86. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/upgrade/upgrade_overview.md +0 -0
  87. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/workflow/workflow_devsecops.md +0 -0
  88. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/commands/workflow/workflow_overview.md +0 -0
  89. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/concepts.md +0 -0
  90. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/cross_platform_support.md +0 -0
  91. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/framework_architecture.md +0 -0
  92. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/infrastructure_composition.md +0 -0
  93. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/policy_as_code.md +0 -0
  94. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/roadmap_fdi.md +0 -0
  95. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/software_architecture.md +0 -0
  96. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/space_configuration.md +0 -0
  97. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/specs/phase1.10_plan_validation.md +0 -0
  98. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/specs/phase1.9_composition_generation.md +0 -0
  99. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/specs/phase1_intent_to_iac.md +0 -0
  100. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/specs/phase2.5.1_autonomy_model.md +0 -0
  101. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/README.md +0 -0
  102. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/ai_dlc.md +0 -0
  103. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/check_command.md +0 -0
  104. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/devsecops_quickstart.md +0 -0
  105. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/devsecops_sdlc.md +0 -0
  106. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/inventory_command.md +0 -0
  107. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/platform_engineering_templates.md +0 -0
  108. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/space_management.md +0 -0
  109. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/tasks/create_template.md +0 -0
  110. {thothctl-0.31.1 → thothctl-0.31.2}/docs/framework/use_cases/tasks/workflow_implementation_plan.md +0 -0
  111. {thothctl-0.31.1 → thothctl-0.31.2}/docs/how_it_works.md +0 -0
  112. {thothctl-0.31.1 → thothctl-0.31.2}/docs/img/commnad_init.png +0 -0
  113. {thothctl-0.31.1 → thothctl-0.31.2}/docs/img/framework/thothforge-framework.svg +0 -0
  114. {thothctl-0.31.1 → thothctl-0.31.2}/docs/img/framework/thothfr.png +0 -0
  115. {thothctl-0.31.1 → thothctl-0.31.2}/docs/img/icon-light.png +0 -0
  116. {thothctl-0.31.1 → thothctl-0.31.2}/docs/img/icon.png +0 -0
  117. {thothctl-0.31.1 → thothctl-0.31.2}/docs/img/init_project.gif +0 -0
  118. {thothctl-0.31.1 → thothctl-0.31.2}/docs/img/stable/scan_report_example.png +0 -0
  119. {thothctl-0.31.1 → thothctl-0.31.2}/docs/includes/abbreviations.md +0 -0
  120. {thothctl-0.31.1 → thothctl-0.31.2}/docs/index.md +0 -0
  121. {thothctl-0.31.1 → thothctl-0.31.2}/docs/installation/devcontainer_setup.md +0 -0
  122. {thothctl-0.31.1 → thothctl-0.31.2}/docs/installation/linux_installation.md +0 -0
  123. {thothctl-0.31.1 → thothctl-0.31.2}/docs/installation/windows_installation.md +0 -0
  124. {thothctl-0.31.1 → thothctl-0.31.2}/docs/javascripts/tablesort.js +0 -0
  125. {thothctl-0.31.1 → thothctl-0.31.2}/docs/mcp.md +0 -0
  126. {thothctl-0.31.1 → thothctl-0.31.2}/docs/navigation.md +0 -0
  127. {thothctl-0.31.1 → thothctl-0.31.2}/docs/quick_start.md +0 -0
  128. {thothctl-0.31.1 → thothctl-0.31.2}/docs/requirements.txt +0 -0
  129. {thothctl-0.31.1 → thothctl-0.31.2}/docs/stylesheets/extra-enhanced.css +0 -0
  130. {thothctl-0.31.1 → thothctl-0.31.2}/docs/stylesheets/extra.css +0 -0
  131. {thothctl-0.31.1 → thothctl-0.31.2}/docs/telemetry.md +0 -0
  132. {thothctl-0.31.1 → thothctl-0.31.2}/docs/template_engine/cli_commands_audit.md +0 -0
  133. {thothctl-0.31.1 → thothctl-0.31.2}/docs/template_engine/for_developers.md +0 -0
  134. {thothctl-0.31.1 → thothctl-0.31.2}/docs/template_engine/for_platform_engineers.md +0 -0
  135. {thothctl-0.31.1 → thothctl-0.31.2}/docs/template_engine/github_templates.md +0 -0
  136. {thothctl-0.31.1 → thothctl-0.31.2}/docs/template_engine/template_engine.md +0 -0
  137. {thothctl-0.31.1 → thothctl-0.31.2}/docs/toolkit_overview.md +0 -0
  138. {thothctl-0.31.1 → thothctl-0.31.2}/docs/troubleshooting/linux_troubleshooting.md +0 -0
  139. {thothctl-0.31.1 → thothctl-0.31.2}/docs/troubleshooting/macos_troubleshooting.md +0 -0
  140. {thothctl-0.31.1 → thothctl-0.31.2}/docs/troubleshooting/troubleshooting.md +0 -0
  141. {thothctl-0.31.1 → thothctl-0.31.2}/docs/troubleshooting/windows_troubleshooting.md +0 -0
  142. {thothctl-0.31.1 → thothctl-0.31.2}/docs/whats_new.md +0 -0
  143. {thothctl-0.31.1 → thothctl-0.31.2}/mkdocs.yaml +0 -0
  144. {thothctl-0.31.1 → thothctl-0.31.2}/pyproject.toml +0 -0
  145. {thothctl-0.31.1 → thothctl-0.31.2}/scripts/check_output_consistency.py +0 -0
  146. {thothctl-0.31.1 → thothctl-0.31.2}/scripts/run_mcp_server.sh +0 -0
  147. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/__init__.py +0 -0
  148. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/application/__init__.py +0 -0
  149. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/autocomplete.py +0 -0
  150. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/cli.py +0 -0
  151. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/__init__.py +0 -0
  152. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/__init__.py +0 -0
  153. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/cli.py +0 -0
  154. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/__init__.py +0 -0
  155. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/analyze.py +0 -0
  156. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/apply_fix.py +0 -0
  157. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/configure.py +0 -0
  158. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/configure_decisions.py +0 -0
  159. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/decide.py +0 -0
  160. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/history.py +0 -0
  161. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/improve.py +0 -0
  162. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/orchestrate.py +0 -0
  163. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/override.py +0 -0
  164. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/report.py +0 -0
  165. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/ai_review/commands/serve.py +0 -0
  166. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/__init__.py +0 -0
  167. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/cli.py +0 -0
  168. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/__init__.py +0 -0
  169. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/config.py +0 -0
  170. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/environment.py +0 -0
  171. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/iac.py +0 -0
  172. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/project/__init__.py +0 -0
  173. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/project/iac.py +0 -0
  174. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/project.py +0 -0
  175. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/check/commands/space.py +0 -0
  176. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/dashboard/__init__.py +0 -0
  177. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/dashboard/cli.py +0 -0
  178. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/dashboard/commands/__init__.py +0 -0
  179. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/dashboard/commands/launch.py +0 -0
  180. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/document/__init__.py +0 -0
  181. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/document/cli.py +0 -0
  182. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/document/commands/__init__.py +0 -0
  183. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/document/commands/iac.py +0 -0
  184. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/generate/__init__.py +0 -0
  185. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/generate/cli.py +0 -0
  186. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/generate/commands/__init__.py +0 -0
  187. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/generate/commands/component.py +0 -0
  188. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/generate/commands/iac.py +0 -0
  189. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/generate/commands/stacks.py +0 -0
  190. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/init/__init__.py +0 -0
  191. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/init/cli.py +0 -0
  192. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/init/commands/__init__.py +0 -0
  193. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/init/commands/env.py +0 -0
  194. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/init/commands/project.py +0 -0
  195. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/init/commands/space.py +0 -0
  196. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/init/commands/template.py +0 -0
  197. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/inventory/__init__.py +0 -0
  198. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/inventory/cli.py +0 -0
  199. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/inventory/commands/__init__.py +0 -0
  200. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/inventory/commands/check.py +0 -0
  201. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/list/__init__.py +0 -0
  202. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/list/cli.py +0 -0
  203. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/list/commands/__init__.py +0 -0
  204. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/list/commands/projects.py +0 -0
  205. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/list/commands/spaces.py +0 -0
  206. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/list/commands/templates.py +0 -0
  207. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/mcp/__init__.py +0 -0
  208. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/mcp/cli.py +0 -0
  209. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/mcp/commands/__init__.py +0 -0
  210. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/mcp/commands/register.py +0 -0
  211. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/mcp/commands/server.py +0 -0
  212. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/mcp/commands/status.py +0 -0
  213. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/mcp/commands/stop.py +0 -0
  214. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/project/__init__.py +0 -0
  215. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/project/cli.py +0 -0
  216. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/project/commands/__init__.py +0 -0
  217. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/project/commands/bootstrap.py +0 -0
  218. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/project/commands/cleanup.py +0 -0
  219. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/project/commands/convert.py +0 -0
  220. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/project/commands/upgrade.py +0 -0
  221. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/quickstart/__init__.py +0 -0
  222. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/quickstart/cli.py +0 -0
  223. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/remove/__init__.py +0 -0
  224. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/remove/cli.py +0 -0
  225. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/remove/project.py +0 -0
  226. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/remove/space.py +0 -0
  227. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/scan/__init__.py +0 -0
  228. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/scan/cli.py +0 -0
  229. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/scan/commands/__init__.py +0 -0
  230. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/scan/commands/iac.py +0 -0
  231. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/__init__.py +0 -0
  232. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/cli.py +0 -0
  233. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/commands/__init__.py +0 -0
  234. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/commands/activate.py +0 -0
  235. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/commands/deactivate.py +0 -0
  236. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/commands/export_space.py +0 -0
  237. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/commands/import_space.py +0 -0
  238. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/commands/show.py +0 -0
  239. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/space/commands/update.py +0 -0
  240. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/upgrade/cli.py +0 -0
  241. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/workflow/__init__.py +0 -0
  242. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/workflow/cli.py +0 -0
  243. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/workflow/commands/__init__.py +0 -0
  244. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/workflow/commands/devsecops.py +0 -0
  245. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/commands/workflow/commands/run.py +0 -0
  246. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/.thothcf.setup.toml +0 -0
  247. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/.thothcf_home.toml +0 -0
  248. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/.thothcf_module.toml +0 -0
  249. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/.thothcf_project.toml +0 -0
  250. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/.thothcf_template_parameters.toml +0 -0
  251. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/__init__.py +0 -0
  252. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/common.py +0 -0
  253. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/common/terragrunt/.thothcf_project.toml +0 -0
  254. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/__init__.py +0 -0
  255. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/constants.py +0 -0
  256. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/default_values.py +0 -0
  257. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/defaults.py +0 -0
  258. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/models.py +0 -0
  259. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/settings.py +0 -0
  260. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/template_config.py +0 -0
  261. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/template_configs.py +0 -0
  262. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/templates.py +0 -0
  263. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/config/validation.py +0 -0
  264. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/__init__.py +0 -0
  265. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/cli_ui.py +0 -0
  266. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/commands.py +0 -0
  267. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/config.py +0 -0
  268. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/__init__.py +0 -0
  269. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/azure_devops/__init__.py +0 -0
  270. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/azure_devops/get_azure_devops.py +0 -0
  271. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/azure_devops/pull_request_comments.py +0 -0
  272. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/github/get_github.py +0 -0
  273. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/github/pull_request_comments.py +0 -0
  274. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/integrate_messages_services/__init__.py +0 -0
  275. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/integrate_messages_services/microsoft_teams.py +0 -0
  276. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/integrate_messages_services/sent_message_teams.py +0 -0
  277. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/pattern_names.py +0 -0
  278. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/pr_comments/__init__.py +0 -0
  279. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/integrations/pr_comments/pr_comment_publisher.py +0 -0
  280. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/logger.py +0 -0
  281. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/telemetry.py +0 -0
  282. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/core/version_tools.py +0 -0
  283. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/domain/__init__.py +0 -0
  284. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/domain/interfaces/__init__.py +0 -0
  285. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/domain/models/__init__.py +0 -0
  286. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/mcp/README.md +0 -0
  287. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/mcp/__init__.py +0 -0
  288. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/mcp/server.py +0 -0
  289. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/__init__.py +0 -0
  290. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/__init__.py +0 -0
  291. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/agentcore/agentcore.json +0 -0
  292. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/ai_agent.py +0 -0
  293. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/analyzers/__init__.py +0 -0
  294. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/analyzers/code_reviewer.py +0 -0
  295. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/analyzers/context_builder.py +0 -0
  296. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/analyzers/report_analyzer.py +0 -0
  297. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/analyzers/risk_assessor.py +0 -0
  298. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/bedrock_agent_api.py +0 -0
  299. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/config/__init__.py +0 -0
  300. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/config/ai_settings.py +0 -0
  301. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/config/autonomy.py +0 -0
  302. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/config/decision_rules.py +0 -0
  303. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/decision_engine.py +0 -0
  304. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/main.py +0 -0
  305. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/memory.py +0 -0
  306. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/orchestrator.py +0 -0
  307. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/pr_decision_publisher.py +0 -0
  308. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/providers/__init__.py +0 -0
  309. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/providers/azure_provider.py +0 -0
  310. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/providers/bedrock_agent_provider.py +0 -0
  311. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/providers/bedrock_provider.py +0 -0
  312. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/providers/kiro_provider.py +0 -0
  313. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/providers/ollama_provider.py +0 -0
  314. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/providers/openai_provider.py +0 -0
  315. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/safety/__init__.py +0 -0
  316. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/safety/safety_guard.py +0 -0
  317. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/strands_agent.py +0 -0
  318. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/tracing.py +0 -0
  319. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/utils/__init__.py +0 -0
  320. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/utils/cost_tracker.py +0 -0
  321. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/utils/fix_patterns.py +0 -0
  322. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/utils/fix_prompts.py +0 -0
  323. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/utils/formatters.py +0 -0
  324. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/ai_review/utils/prompts.py +0 -0
  325. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/__init__.py +0 -0
  326. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/environment/__init__.py +0 -0
  327. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/environment/check_environment.py +0 -0
  328. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/org_policy_loader.py +0 -0
  329. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/__init__.py +0 -0
  330. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/blast_radius_service.py +0 -0
  331. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cfn_blast_radius_service.py +0 -0
  332. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/check_origin_version.py +0 -0
  333. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/check_project_structure.py +0 -0
  334. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/__init__.py +0 -0
  335. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/cost_analyzer.py +0 -0
  336. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/models/__init__.py +0 -0
  337. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/models/cloudformation_mapper.py +0 -0
  338. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/models/cost_models.py +0 -0
  339. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/__init__.py +0 -0
  340. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/aws_pricing_client.py +0 -0
  341. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/base_pricing.py +0 -0
  342. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/__init__.py +0 -0
  343. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/apigateway_pricing.py +0 -0
  344. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/bedrock_pricing.py +0 -0
  345. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/cloudwatch_pricing.py +0 -0
  346. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/dynamodb_pricing.py +0 -0
  347. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/ebs_pricing.py +0 -0
  348. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/ec2_pricing.py +0 -0
  349. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/ecr_pricing.py +0 -0
  350. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/ecs_pricing.py +0 -0
  351. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/eip_pricing.py +0 -0
  352. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/eks_pricing.py +0 -0
  353. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/elb_pricing.py +0 -0
  354. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/free_resources_pricing.py +0 -0
  355. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/kms_pricing.py +0 -0
  356. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/lambda_pricing.py +0 -0
  357. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/msk_pricing.py +0 -0
  358. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/rds_pricing.py +0 -0
  359. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/s3_pricing.py +0 -0
  360. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/secrets_manager_pricing.py +0 -0
  361. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/pricing/providers/vpc_pricing.py +0 -0
  362. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/cost/unified_cost_report.py +0 -0
  363. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/__init__.py +0 -0
  364. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/cfn_drift_service.py +0 -0
  365. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/drift_ai.py +0 -0
  366. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/drift_history.py +0 -0
  367. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/drift_policy.py +0 -0
  368. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/drift_report.py +0 -0
  369. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/drift_service.py +0 -0
  370. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/drift/models.py +0 -0
  371. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/risk_assessment.py +0 -0
  372. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/project/validate_project_structure.py +0 -0
  373. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/rule_merger.py +0 -0
  374. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/rules_compiler.py +0 -0
  375. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/check/stack_optimizer/__init__.py +0 -0
  376. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/dashboard/__init__.py +0 -0
  377. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/dashboard/dashboard_service.py +0 -0
  378. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/dashboard/data_loader.py +0 -0
  379. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/__init__.py +0 -0
  380. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/architecture_renderer.py +0 -0
  381. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/create_documentation.py +0 -0
  382. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/files_content.py +0 -0
  383. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/files_scan.py +0 -0
  384. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/iac_documentation.py +0 -0
  385. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/iac_grunt_graph.py +0 -0
  386. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/iac_grunt_info.py +0 -0
  387. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/document/topology_generator.py +0 -0
  388. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/__init__.py +0 -0
  389. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_stacks/__init__.py +0 -0
  390. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_stacks/config_generator.py +0 -0
  391. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_stacks/remote_config_generation.py +0 -0
  392. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_stacks/stack_service.py +0 -0
  393. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_stacks/templates/terragrunt.hcl.j2 +0 -0
  394. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_stacks/terragrunt.hcl +0 -0
  395. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/__init__.py +0 -0
  396. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/config.yaml +0 -0
  397. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/create_code.py +0 -0
  398. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/create_component.py +0 -0
  399. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/create_component_service.py +0 -0
  400. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/create_stacks.py +0 -0
  401. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/create_template.py +0 -0
  402. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/files_content.py +0 -0
  403. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/github_template_loader.py +0 -0
  404. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/create_template/project_templates.py +0 -0
  405. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/__init__.py +0 -0
  406. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/composition_models.py +0 -0
  407. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/context_builder.py +0 -0
  408. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/generation_history.py +0 -0
  409. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/intent_decomposer.py +0 -0
  410. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/models.py +0 -0
  411. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/parameter_resolver.py +0 -0
  412. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/plan_validator.py +0 -0
  413. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/project_assembler.py +0 -0
  414. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/scaffold_loader.py +0 -0
  415. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/generate/intent/validator.py +0 -0
  416. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/__init__.py +0 -0
  417. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/environment/__init__.py +0 -0
  418. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/environment/install_skills.py +0 -0
  419. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/environment/install_tools.py +0 -0
  420. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/environment/prerequisite_checker.py +0 -0
  421. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/environment/tool_packs.py +0 -0
  422. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/project/__init__.py +0 -0
  423. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/project/project.py +0 -0
  424. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/space/__init__.py +0 -0
  425. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/space/example_space.toml +0 -0
  426. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/space/export_import.py +0 -0
  427. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/space/inheritance.py +0 -0
  428. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/space/space.py +0 -0
  429. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/init/space/terraform_module_cache.py +0 -0
  430. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/__init__.py +0 -0
  431. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/cdk_parsers.py +0 -0
  432. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/cdk_sbom_service.py +0 -0
  433. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/changelog_parser.py +0 -0
  434. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/dtrack_publisher.py +0 -0
  435. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/models.py +0 -0
  436. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/module_compatibility_service.py +0 -0
  437. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/report_service.py +0 -0
  438. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/schema_compatibility_service.py +0 -0
  439. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/terragrunt_parser.py +0 -0
  440. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/update_versions.py +0 -0
  441. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/inventory/version_service.py +0 -0
  442. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/mcp/README.md +0 -0
  443. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/mcp/__init__.py +0 -0
  444. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/mcp/simple_http_server.py +0 -0
  445. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/mcp/stdio_server.py +0 -0
  446. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/__init__.py +0 -0
  447. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/bootstrap/__init__.py +0 -0
  448. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/bootstrap/bootstrap_service.py +0 -0
  449. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/cleanup/__init__.py +0 -0
  450. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/cleanup/clean_project.py +0 -0
  451. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/cleanup/clean_space.py +0 -0
  452. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/convert/__init__.py +0 -0
  453. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/convert/conversion_service.py +0 -0
  454. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/convert/get_project_data.py +0 -0
  455. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/convert/post_init.py +0 -0
  456. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/convert/project_converter.py +0 -0
  457. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/convert/project_defaults.py +0 -0
  458. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/convert/set_project_parameters.py +0 -0
  459. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/create_terramate/__init__.py +0 -0
  460. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/create_terramate/create_terramate_stacks.py +0 -0
  461. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/create_terramate/detect_changes_stacks.py +0 -0
  462. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/create_terramate/manage_terramate_stacks.py +0 -0
  463. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/upgrade/__init__.py +0 -0
  464. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/project/upgrade/upgrade_service.py +0 -0
  465. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/__init__.py +0 -0
  466. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/compliance_review.py +0 -0
  467. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/import_reports.py +0 -0
  468. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/models.py +0 -0
  469. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/report_parser.py +0 -0
  470. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/sarif_output.py +0 -0
  471. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scan_history.py +0 -0
  472. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scan_service.py +0 -0
  473. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/__init__.py +0 -0
  474. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/checkov.py +0 -0
  475. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/kics.py +0 -0
  476. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/scan_reports.py +0 -0
  477. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/scanners.py +0 -0
  478. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/terraform_compliance.py +0 -0
  479. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/tfsec.py +0 -0
  480. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/scan/scanners/trivy.py +0 -0
  481. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/__init__.py +0 -0
  482. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/custom_workflow_engine.py +0 -0
  483. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/models.py +0 -0
  484. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/__init__.py +0 -0
  485. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/base.py +0 -0
  486. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/build.py +0 -0
  487. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/deploy.py +0 -0
  488. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/develop.py +0 -0
  489. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/monitor.py +0 -0
  490. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/plan.py +0 -0
  491. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/secure.py +0 -0
  492. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/phases/test.py +0 -0
  493. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/services/workflow/workflow_service.py +0 -0
  494. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/templates/ai_reports/pr_comment.md +0 -0
  495. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/templates/reports/inventory_report.html +0 -0
  496. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/templates/reports/inventory_report.js +0 -0
  497. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/templates/unified_report_styles.css +0 -0
  498. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/__init__.py +0 -0
  499. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/banner.py +0 -0
  500. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/__init__.py +0 -0
  501. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/create_compliance_html_reports.py +0 -0
  502. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/create_html_reports.py +0 -0
  503. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/delete_directory.py +0 -0
  504. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/fix_report_styling.py +0 -0
  505. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/render_scan_report.py +0 -0
  506. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/report_html_utils.py +0 -0
  507. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/dashboard.html +0 -0
  508. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/index_report.html +0 -0
  509. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/individual_report.html +0 -0
  510. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/simple_report.html +0 -0
  511. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/unified_report_styles.css +0 -0
  512. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/unified_scan_report.html +0 -0
  513. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/unified_simple_report.html +0 -0
  514. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/common/templates/xunit_report.html +0 -0
  515. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/crypto.py +0 -0
  516. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/git_changes.py +0 -0
  517. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/manage_backend_resources/__init__.py +0 -0
  518. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/manage_backend_resources/manage_backend_resources.py +0 -0
  519. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/modules_ops/__init__.py +0 -0
  520. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/modules_ops/terraform_module_details.py +0 -0
  521. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/modules_ops/terraform_modules_fetcher.py +0 -0
  522. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/platform_utils.py +0 -0
  523. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/process_hcl/__init__.py +0 -0
  524. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/process_hcl/analyze_terraform_plan.py +0 -0
  525. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/process_hcl/graph_manager.py +0 -0
  526. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/process_hcl/graph_terragrunt_dependencies.py +0 -0
  527. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/process_hcl/process_terraform_file.py +0 -0
  528. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/process_hcl/risk_analyzing_terraform_plan.py +0 -0
  529. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/sync_workspaces/__init__.py +0 -0
  530. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/sync_workspaces/sync_terraform_workspaces.py +0 -0
  531. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/sync_workspaces/sync_terragrunt_workspaces.py +0 -0
  532. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/template_loader.py +0 -0
  533. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/utils/thoth_colors.py +0 -0
  534. {thothctl-0.31.1 → thothctl-0.31.2}/src/thothctl/wellcome_banner.py +0 -0
  535. {thothctl-0.31.1 → thothctl-0.31.2}/tests/conftest.py +0 -0
  536. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_agentcore_entrypoint.py +0 -0
  537. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_apply_fix.py +0 -0
  538. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_autonomy.py +0 -0
  539. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_decision_engine.py +0 -0
  540. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_fix_patterns.py +0 -0
  541. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_memory.py +0 -0
  542. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_orchestrator.py +0 -0
  543. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_pr_decision.py +0 -0
  544. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ai_safety_guard.py +0 -0
  545. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_aws_pricing_client.py +0 -0
  546. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_azure_devops_pr_comments.py +0 -0
  547. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_bedrock_pricing.py +0 -0
  548. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cdk_language_selection.py +0 -0
  549. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cfn_blast_radius.py +0 -0
  550. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cfn_drift_detection.py +0 -0
  551. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_context_steering.py +0 -0
  552. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cost_analyzer.py +0 -0
  553. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cost_models.py +0 -0
  554. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cost_policy_enforcement.py +0 -0
  555. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_cost_pr_comments.py +0 -0
  556. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_dashboard_loading_fix.py +0 -0
  557. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_dashboard_service.py +0 -0
  558. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_defectdojo_publisher.py +0 -0
  559. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_drift.py +0 -0
  560. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_drift_detection.py +0 -0
  561. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_dtrack_publisher.py +0 -0
  562. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_ec2_pricing.py +0 -0
  563. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_generate_iac_context.py +0 -0
  564. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_generate_iac_service.py +0 -0
  565. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_generate_iac_validator.py +0 -0
  566. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_github_pr_comments.py +0 -0
  567. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_iac_cost_integration.py +0 -0
  568. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_init_ai_tools.py +0 -0
  569. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_init_template_params.py +0 -0
  570. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_install_skills.py +0 -0
  571. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_intent_quick_wins.py +0 -0
  572. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_intent_rules_integration.py +0 -0
  573. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_inventory_pr_comments.py +0 -0
  574. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_kics_scanner.py +0 -0
  575. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_kiro_provider.py +0 -0
  576. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_mermaid_edge_labels.py +0 -0
  577. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_new_cost_providers.py +0 -0
  578. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_opa_data_files.py +0 -0
  579. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_parallel_scan.py +0 -0
  580. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_plan_validation.py +0 -0
  581. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_platform_utils.py +0 -0
  582. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_pr_comment_publisher.py +0 -0
  583. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_provider_source_url_fix.py +0 -0
  584. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_provider_versions.py +0 -0
  585. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_rules_compiler.py +0 -0
  586. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_scan_cfn_support.py +0 -0
  587. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_scan_command.py +0 -0
  588. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_scan_pr_comments.py +0 -0
  589. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_space_command.py +0 -0
  590. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_space_management.py +0 -0
  591. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_stack_optimizer.py +0 -0
  592. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_template_url_fix.py +0 -0
  593. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_terragrunt_parser.py +0 -0
  594. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_topology_generator.py +0 -0
  595. {thothctl-0.31.1 → thothctl-0.31.2}/tests/test_workflow_integration.py +0 -0
  596. {thothctl-0.31.1 → thothctl-0.31.2}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: thothctl
3
- Version: 0.31.1
3
+ Version: 0.31.2
4
4
  Summary: A CLI for Developer Control Plane. Accelerate your cloud IaC deployments.
5
5
  Project-URL: SourceCode, https://github.com/thothforge/thothctl
6
6
  Project-URL: HomePage, https://github.com/thothforge/thothctl
@@ -314,10 +314,25 @@ class IaCInvCommand(ClickCommand):
314
314
 
315
315
  def _display_summary(self, inventory: dict) -> None:
316
316
  """Display inventory summary."""
317
- total_components = len(inventory["components"])
318
- outdated_components = sum(
319
- 1 for comp in inventory["components"] if comp.get("status") == "Outdated"
320
- )
317
+ # Components are nested: inventory["components"] is a list of stack/group
318
+ # entries, each with an inner "components" list holding the actual
319
+ # packages/modules. Count the leaf items so totals match the detail table
320
+ # and the technical-debt metrics. Fall back to the group level for any
321
+ # entry that has no inner list (keeps legacy/terraform paths working).
322
+ groups = inventory["components"]
323
+ leaf_components = [
324
+ c for grp in groups for c in grp.get("components", [])
325
+ ]
326
+ if leaf_components:
327
+ total_components = len(leaf_components)
328
+ outdated_components = sum(
329
+ 1 for c in leaf_components if c.get("status") == "Outdated"
330
+ )
331
+ else:
332
+ total_components = len(groups)
333
+ outdated_components = sum(
334
+ 1 for comp in groups if comp.get("status") == "Outdated"
335
+ )
321
336
 
322
337
  # Count local modules based on source, not status
323
338
  local_modules = 0
@@ -11,7 +11,12 @@ import re
11
11
  from typing import Any, Dict, Optional
12
12
 
13
13
  from .models import GeneratedFile, GenerationOutput, ValidationResult
14
- from .prompts import build_fix_prompt, build_generation_prompt, format_previous_files
14
+ from .prompts import (
15
+ build_fix_system_prompt,
16
+ build_fix_user_message,
17
+ build_generation_prompt,
18
+ format_previous_files,
19
+ )
15
20
 
16
21
  logger = logging.getLogger(__name__)
17
22
 
@@ -33,6 +38,10 @@ class CodeGenerator:
33
38
  self.model_name = model
34
39
  self._provider = None
35
40
  self._ai_call_count = 0
41
+ # Cache the stable system prompt per (project_type, context) so the
42
+ # org context is built once and reused across generate + fix iterations
43
+ # instead of being re-templated (and re-sent) 2-3x per run.
44
+ self._system_prompt_cache: Dict[tuple, str] = {}
36
45
  self._init_ai_provider(provider, model)
37
46
 
38
47
  def _init_ai_provider(self, provider_name: str, model: str = None) -> None:
@@ -88,6 +97,20 @@ class CodeGenerator:
88
97
  # Public API
89
98
  # ------------------------------------------------------------------
90
99
 
100
+ def _get_system_prompt(self, project_type: str, context: str) -> str:
101
+ """Return the stable system prompt for (project_type, context), cached.
102
+
103
+ Built once per unique (project_type, context) pair. The same string is
104
+ reused for the initial generation and every fix iteration of the run,
105
+ so the org context is not re-templated or re-sent each time.
106
+ """
107
+ key = (project_type, context)
108
+ cached = self._system_prompt_cache.get(key)
109
+ if cached is None:
110
+ cached = build_generation_prompt(project_type, context)
111
+ self._system_prompt_cache[key] = cached
112
+ return cached
113
+
91
114
  def generate(
92
115
  self, intent: str, context: str, project_type: str
93
116
  ) -> GenerationOutput:
@@ -101,7 +124,7 @@ class CodeGenerator:
101
124
  Returns:
102
125
  GenerationOutput with generated files and metadata
103
126
  """
104
- system_prompt = build_generation_prompt(project_type, context)
127
+ system_prompt = self._get_system_prompt(project_type, context)
105
128
 
106
129
  logger.info(f"Generating IaC: intent='{intent[:80]}...', type={project_type}")
107
130
  logger.debug(f"System prompt length: {len(system_prompt)} chars")
@@ -131,35 +154,49 @@ class CodeGenerator:
131
154
  previous_output: GenerationOutput,
132
155
  validation: ValidationResult,
133
156
  context: str,
157
+ project_type: str = None,
134
158
  ) -> GenerationOutput:
135
159
  """Re-generate code with violation fixes (self-correction).
136
160
 
161
+ Reuses the SAME stable system prompt as generation (org context is not
162
+ re-sent); only the dynamic user message (violations + the violating
163
+ files) changes between iterations.
164
+
137
165
  Args:
138
166
  previous_output: The previously generated code
139
167
  validation: Validation result with violations to fix
140
168
  context: Organizational context (same as generation)
169
+ project_type: Target project type (for stable system-prompt reuse).
170
+ When omitted, reuses the single cached system prompt if present.
141
171
 
142
172
  Returns:
143
173
  GenerationOutput with corrected files
144
174
  """
145
175
  violations_text = validation.format_for_ai()
146
- previous_files_text = format_previous_files(previous_output.files)
147
176
 
148
- system_prompt = build_fix_prompt(
149
- context=context,
150
- violations=violations_text,
151
- previous_files=previous_files_text,
177
+ # Send only the files that actually have violations (fall back to all).
178
+ violating_paths = {
179
+ v.file_path for v in validation.violations if getattr(v, "file_path", "")
180
+ }
181
+ previous_files_text = format_previous_files(
182
+ previous_output.files, only_paths=violating_paths or None
152
183
  )
153
184
 
154
- user_content = (
155
- f"Fix all {validation.total_violations} violation(s) listed above. "
156
- f"Critical: {validation.critical_count}, High: {validation.high_count}. "
157
- f"Return the corrected files in JSON format."
158
- )
185
+ # Reuse the stable system prompt built during generation.
186
+ if project_type is not None:
187
+ system_prompt = self._get_system_prompt(project_type, context)
188
+ elif len(self._system_prompt_cache) == 1:
189
+ system_prompt = next(iter(self._system_prompt_cache.values()))
190
+ else:
191
+ # No unambiguous cached prompt — build the fix system prompt directly.
192
+ system_prompt = build_fix_system_prompt("terraform", context)
193
+
194
+ user_content = build_fix_user_message(violations_text, previous_files_text)
159
195
 
160
196
  logger.info(
161
197
  f"Self-correcting: {validation.total_violations} violations "
162
- f"({validation.critical_count} critical, {validation.high_count} high)"
198
+ f"({validation.critical_count} critical, {validation.high_count} high); "
199
+ f"sending {len(violating_paths) or len(previous_output.files)} file(s)"
163
200
  )
164
201
 
165
202
  try:
@@ -140,6 +140,7 @@ class IntentToIaCService:
140
140
  max_iterations=max_iterations,
141
141
  self_correct=self_correct,
142
142
  context_text=context_text,
143
+ project_type=resolved_type,
143
144
  )
144
145
  else:
145
146
  iterations = 0
@@ -199,6 +200,7 @@ class IntentToIaCService:
199
200
  self_correct: bool,
200
201
  context_text: str,
201
202
  label: str = "",
203
+ project_type: str = None,
202
204
  ):
203
205
  """Run a validate → fix → re-validate loop with stagnation detection.
204
206
 
@@ -212,6 +214,8 @@ class IntentToIaCService:
212
214
  self_correct: If False, validate once and never re-prompt the AI.
213
215
  context_text: Compiled org context passed to code_generator.fix().
214
216
  label: Optional label for log lines (e.g. a stack path).
217
+ project_type: Target project type, forwarded to fix() so the stable
218
+ cached system prompt is reused across iterations.
215
219
 
216
220
  Returns:
217
221
  Tuple of (generation, validation, iterations).
@@ -253,7 +257,7 @@ class IntentToIaCService:
253
257
  # Self-correct if enabled and not on the last iteration
254
258
  if self_correct and i < max_iterations - 1:
255
259
  generation = self.code_generator.fix(
256
- generation, validation, context_text
260
+ generation, validation, context_text, project_type=project_type
257
261
  )
258
262
  if not generation.files:
259
263
  break # Fix produced nothing — stop
@@ -875,6 +879,7 @@ class IntentToIaCService:
875
879
  self_correct=self_correct,
876
880
  context_text=context_text,
877
881
  label=stack.path,
882
+ project_type="terraform", # matches per-stack generate()
878
883
  )
879
884
  # Use the final processed files from the loop
880
885
  stack_tf_files = self._process_stack_files(
@@ -25,7 +25,7 @@ import subprocess
25
25
  import tempfile
26
26
  import time
27
27
  from pathlib import Path
28
- from typing import Dict, List, Optional, Tuple
28
+ from typing import Dict, List, Optional
29
29
 
30
30
  from .models import PlanResult, Violation
31
31
 
@@ -2,14 +2,23 @@
2
2
 
3
3
  These prompts are injected with organizational context to produce governed IaC.
4
4
  The AI follows your rules because they're in the prompt — not because of a runtime engine.
5
+
6
+ Token strategy: the SYSTEM prompt is a *stable* block (role + org context +
7
+ project hints + output format) that is byte-identical across the initial
8
+ generation and every self-correction ("fix") iteration of a run. All dynamic,
9
+ per-call content (the intent, validation violations, the code being fixed) goes
10
+ into the USER message. Keeping the system prefix stable means the org context is
11
+ built once per run instead of 2-3x, and lets providers reuse a cached prefix.
5
12
  """
6
13
 
7
14
  # --------------------------------------------------------------------------
8
- # Generation prompt — produces IaC from natural language intent
15
+ # Stable system prompt — shared by generation AND self-correction
9
16
  # --------------------------------------------------------------------------
10
17
 
11
- SYSTEM_IAC_GENERATOR = """You are an expert Infrastructure as Code generator.
18
+ SYSTEM_IAC_GENERATOR = """You are an expert Infrastructure as Code generator and fixer.
12
19
  Generate complete, deployable {project_type} code following organizational standards.
20
+ When given existing code plus validation violations, correct the violations while
21
+ preserving the architecture.
13
22
 
14
23
  {context}
15
24
 
@@ -29,59 +38,32 @@ INSTRUCTIONS:
29
38
  10. Match the style of the existing patterns shown above
30
39
  11. CRITICAL: Each file must contain ONLY its designated content type. Never mix variables/outputs into main.tf.
31
40
 
41
+ WHEN FIXING VIOLATIONS (a "VIOLATIONS TO FIX" section is present in the user message):
42
+ - Fix ALL listed violations while maintaining the same architecture
43
+ - Do NOT remove functionality — only add missing security configurations
44
+ - Keep all existing resources, tags, and naming intact
45
+ - Ensure the fix doesn't break dependencies between resources
46
+ - Common fixes: CKV_AWS_130/CKV2_AWS_11 (add aws_flow_log for VPC flow logs);
47
+ CKV_AWS_178 (one NAT gateway per AZ); CKV_AWS_260/CKV_AWS_23 (add description to
48
+ security group rules); CKV_AWS_145 (S3 server_side_encryption_configuration);
49
+ CKV_AWS_18 (S3 logging); CKV_AWS_144 (S3 replication if required)
50
+
32
51
  OUTPUT FORMAT — respond with ONLY this JSON (no markdown fences, no explanation outside JSON):
33
52
  {{
34
53
  "files": [
35
54
  {{"path": "relative/path/to/file", "content": "full file content here"}},
36
55
  ...
37
56
  ],
38
- "explanation": "brief explanation of architecture decisions made",
57
+ "explanation": "brief explanation of architecture decisions (or what was fixed)",
39
58
  "modules_used": ["source@version", ...],
40
59
  "estimated_resources": ["aws_resource_type", ...]
41
60
  }}"""
42
61
 
43
62
 
44
- # --------------------------------------------------------------------------
45
- # Self-correction prompt — fixes validation violations
46
- # --------------------------------------------------------------------------
47
-
48
- SYSTEM_IAC_FIXER = """You are an expert IaC code fixer.
49
- The previously generated code has security/compliance violations that must be fixed.
50
-
51
- ORGANIZATIONAL RULES (still apply):
52
- {context}
53
-
54
- VIOLATIONS TO FIX:
55
- {violations}
56
-
57
- PREVIOUS CODE:
58
- {previous_files}
59
-
60
- INSTRUCTIONS:
61
- 1. Fix ALL listed violations while maintaining the same architecture
62
- 2. Do NOT remove functionality — only add missing security configurations
63
- 3. Common fixes:
64
- - CKV_AWS_130 (VPC flow logs): Add aws_flow_log resource
65
- - CKV_AWS_178 (NAT HA): Use one NAT gateway per AZ
66
- - CKV_AWS_260 (SG rules): Add description to security group rules
67
- - CKV2_AWS_11 (VPC flow logs): Enable flow logs on VPC
68
- - CKV_AWS_145 (S3 encryption): Add server_side_encryption_configuration
69
- - CKV_AWS_18 (S3 logging): Add logging configuration
70
- - CKV_AWS_144 (S3 replication): Add replication_configuration (if required)
71
- - CKV_AWS_23 (SG description): Add description field to security groups
72
- 4. Keep all existing resources, tags, and naming intact
73
- 5. Ensure the fix doesn't break dependencies between resources
74
-
75
- OUTPUT FORMAT — respond with ONLY this JSON (no markdown fences):
76
- {{
77
- "files": [
78
- {{"path": "relative/path/to/file", "content": "corrected full file content"}},
79
- ...
80
- ],
81
- "explanation": "what was fixed and why",
82
- "modules_used": ["source@version", ...],
83
- "estimated_resources": ["aws_resource_type", ...]
84
- }}"""
63
+ # Kept for backward compatibility (older callers / tests may import it).
64
+ # The fixer instructions now live in the shared SYSTEM_IAC_GENERATOR so the
65
+ # system prefix is identical across generation and fix.
66
+ SYSTEM_IAC_FIXER = SYSTEM_IAC_GENERATOR
85
67
 
86
68
 
87
69
  # --------------------------------------------------------------------------
@@ -146,7 +128,11 @@ CDK-SPECIFIC RULES:
146
128
  def build_generation_prompt(
147
129
  project_type: str, context: str, language: str = "typescript"
148
130
  ) -> str:
149
- """Assemble the system prompt with project-type hints and context."""
131
+ """Assemble the stable system prompt with project-type hints and context.
132
+
133
+ This is the same static block used for both generation and self-correction,
134
+ so the system prefix stays byte-identical across a run's iterations.
135
+ """
150
136
  hints = _get_project_hints(project_type, language=language)
151
137
  full_context = context
152
138
  if hints:
@@ -158,19 +144,69 @@ def build_generation_prompt(
158
144
  )
159
145
 
160
146
 
147
+ def build_fix_system_prompt(
148
+ project_type: str, context: str, language: str = "typescript"
149
+ ) -> str:
150
+ """Return the system prompt for a fix call.
151
+
152
+ Identical to build_generation_prompt — the fixer instructions live in the
153
+ shared static block, so generation and fix send the exact same system
154
+ prompt (org context is not re-templated per iteration).
155
+ """
156
+ return build_generation_prompt(project_type, context, language=language)
157
+
158
+
159
+ def build_fix_user_message(violations: str, previous_files: str) -> str:
160
+ """Build the DYNAMIC user message for a self-correction call.
161
+
162
+ Only this changes between iterations — the system prompt stays stable.
163
+
164
+ Args:
165
+ violations: Formatted violation list (ValidationResult.format_for_ai()).
166
+ previous_files: The code to fix (ideally only the violating files).
167
+ """
168
+ return (
169
+ "The generated code has validation violations that must be fixed.\n\n"
170
+ "VIOLATIONS TO FIX:\n"
171
+ f"{violations}\n\n"
172
+ "CODE TO FIX:\n"
173
+ f"{previous_files}\n\n"
174
+ "Return the corrected files in the JSON format specified in the system prompt."
175
+ )
176
+
177
+
161
178
  def build_fix_prompt(context: str, violations: str, previous_files: str) -> str:
162
- """Assemble the self-correction prompt."""
163
- return SYSTEM_IAC_FIXER.format(
164
- context=context,
165
- violations=violations,
166
- previous_files=previous_files,
179
+ """Deprecated: assemble a combined fix prompt (context + violations + files).
180
+
181
+ Retained for backward compatibility. New callers should use
182
+ build_fix_system_prompt() for the (stable) system prompt and
183
+ build_fix_user_message() for the (dynamic) user content, so the org context
184
+ is not re-sent on every correction iteration.
185
+ """
186
+ return (
187
+ f"{SYSTEM_IAC_GENERATOR.format(project_type='terraform', context=context)}\n\n"
188
+ f"{build_fix_user_message(violations, previous_files)}"
167
189
  )
168
190
 
169
191
 
170
- def format_previous_files(files: list) -> str:
171
- """Format previously generated files for the fix prompt (abbreviated)."""
192
+ def format_previous_files(files: list, only_paths: set = None) -> str:
193
+ """Format previously generated files for the fix prompt (abbreviated).
194
+
195
+ Args:
196
+ files: Generated files.
197
+ only_paths: If provided, include only files whose path is in this set
198
+ (the files that actually have violations). Falls back to all files
199
+ when the filter would exclude everything (e.g. violations without
200
+ file paths), so the fixer always has something to work with.
201
+ """
202
+ selected = files
203
+ if only_paths:
204
+ filtered = [f for f in files if f.path in only_paths]
205
+ if filtered:
206
+ selected = filtered
207
+
172
208
  parts = []
173
- for f in files:
209
+ for f in selected:
174
210
  content = f.content
175
211
  # Truncate large files to save tokens
176
212
  if len(content) > 1500:
@@ -13,12 +13,11 @@ For plain terraform/tofu projects:
13
13
  """
14
14
 
15
15
  import logging
16
- import os
17
16
  import shutil
18
17
  from pathlib import Path
19
- from typing import Dict, List, Optional
18
+ from typing import List, Optional
20
19
 
21
- from .models import GeneratedFile, PlanContext, PlanMode, StateConfig
20
+ from .models import GeneratedFile, PlanContext, PlanMode
22
21
 
23
22
  logger = logging.getLogger(__name__)
24
23
 
@@ -17,7 +17,6 @@ API Reference:
17
17
  https://docs.defectdojo.com/import_data/import_scan_files/api_pipeline_modelling/
18
18
  """
19
19
 
20
- import json
21
20
  import logging
22
21
  from dataclasses import dataclass
23
22
  from datetime import date
@@ -1203,34 +1203,22 @@ class InventoryService:
1203
1203
  registry = "npm" if cdk_language == "typescript" else "pypi"
1204
1204
  inventory_dict = await self._check_cdk_versions(inventory_dict, registry)
1205
1205
 
1206
- # Calculate technical debt
1207
- total = 0
1208
- outdated = 0
1209
- for group in inventory_dict.get("components", []):
1210
- for comp in group.get("components", []):
1211
- if comp.get("type") in ("cdk_construct", "cdk-construct"):
1212
- total += 1
1213
- if comp.get("status") == "Outdated":
1214
- outdated += 1
1215
- if total > 0:
1216
- debt_score = (outdated / total) * 100
1217
- risk = (
1218
- "critical"
1219
- if debt_score >= 70
1220
- else "high"
1221
- if debt_score >= 50
1222
- else "medium"
1223
- if debt_score >= 30
1224
- else "low"
1225
- )
1226
- inventory_dict["technical_debt"] = {
1227
- "debt_score": debt_score,
1228
- "risk_level": risk,
1229
- "outdated_modules": outdated,
1230
- "total_components": total,
1231
- "modules_with_breaking_changes": 0,
1232
- "providers_with_breaking_changes": 0,
1233
- }
1206
+ # Calculate technical debt.
1207
+ # A flat outdated/total ratio treats a one-patch drift the same as a
1208
+ # multi-major drift, producing misleading "100% CRITICAL" scores when
1209
+ # every dependency is only trivially behind. Weight each outdated
1210
+ # component by the magnitude of its version gap (patch << minor << major)
1211
+ # so the debt score reflects real upgrade risk. See
1212
+ # _calculate_cdk_technical_debt.
1213
+ cdk_comps = [
1214
+ comp
1215
+ for group in inventory_dict.get("components", [])
1216
+ for comp in group.get("components", [])
1217
+ if comp.get("type") in ("cdk_construct", "cdk-construct")
1218
+ ]
1219
+ tech_debt = self._calculate_cdk_technical_debt(cdk_comps)
1220
+ if tech_debt is not None:
1221
+ inventory_dict["technical_debt"] = tech_debt
1234
1222
 
1235
1223
  # CDK compatibility analysis
1236
1224
  if check_schema_compatibility and check_versions:
@@ -1527,6 +1515,90 @@ class InventoryService:
1527
1515
  logger.debug(f"Could not parse {f}: {e}")
1528
1516
  return stacks
1529
1517
 
1518
+ @staticmethod
1519
+ def _semver_gap_weight(current: str, latest: str) -> float:
1520
+ """Return a technical-debt weight based on the semver gap.
1521
+
1522
+ Weights reflect real upgrade risk rather than a flat outdated/total ratio:
1523
+ - major gap -> 1.0 (likely breaking)
1524
+ - minor gap -> 0.4 (new features / possible deprecations)
1525
+ - patch gap (or equal/behind) -> 0.1 (bug fixes, trivial)
1526
+ Unparseable versions fall back to a minor-level (0.4) unknown gap.
1527
+ """
1528
+ try:
1529
+ cur = [int(x) for x in str(current).split(".")[:3]]
1530
+ lat = [int(x) for x in str(latest).split(".")[:3]]
1531
+ while len(cur) < 3:
1532
+ cur.append(0)
1533
+ while len(lat) < 3:
1534
+ lat.append(0)
1535
+ except (ValueError, AttributeError):
1536
+ return 0.4
1537
+ if lat[0] > cur[0]:
1538
+ return 1.0
1539
+ if lat[0] == cur[0] and lat[1] > cur[1]:
1540
+ return 0.4
1541
+ return 0.1
1542
+
1543
+ @classmethod
1544
+ def _calculate_cdk_technical_debt(cls, cdk_components: list) -> Optional[dict]:
1545
+ """Compute severity-weighted technical-debt metrics for CDK components.
1546
+
1547
+ Args:
1548
+ cdk_components: flat list of cdk_construct component dicts, each with
1549
+ ``status`` and ``version``/``latest_version`` fields.
1550
+
1551
+ Returns:
1552
+ Technical-debt metrics dict, or None when there are no components.
1553
+ """
1554
+ total = len(cdk_components)
1555
+ if total == 0:
1556
+ return None
1557
+
1558
+ outdated = 0
1559
+ weighted_debt = 0.0
1560
+ by_severity = {"major": 0, "minor": 0, "patch": 0}
1561
+ for comp in cdk_components:
1562
+ if comp.get("status") != "Outdated":
1563
+ continue
1564
+ outdated += 1
1565
+ current_ver = (
1566
+ comp.get("version", [""])[0]
1567
+ if isinstance(comp.get("version"), list)
1568
+ else comp.get("version", "")
1569
+ )
1570
+ latest_ver = comp.get("latest_version", current_ver)
1571
+ weight = cls._semver_gap_weight(current_ver, latest_ver)
1572
+ weighted_debt += weight
1573
+ if weight >= 1.0:
1574
+ by_severity["major"] += 1
1575
+ elif weight >= 0.4:
1576
+ by_severity["minor"] += 1
1577
+ else:
1578
+ by_severity["patch"] += 1
1579
+
1580
+ debt_score = (weighted_debt / total) * 100
1581
+ risk = (
1582
+ "critical"
1583
+ if debt_score >= 70
1584
+ else "high"
1585
+ if debt_score >= 50
1586
+ else "medium"
1587
+ if debt_score >= 30
1588
+ else "low"
1589
+ )
1590
+ return {
1591
+ "debt_score": debt_score,
1592
+ "risk_level": risk,
1593
+ "outdated_modules": outdated,
1594
+ "total_components": total,
1595
+ "outdated_major": by_severity["major"],
1596
+ "outdated_minor": by_severity["minor"],
1597
+ "outdated_patch": by_severity["patch"],
1598
+ "modules_with_breaking_changes": by_severity["major"],
1599
+ "providers_with_breaking_changes": 0,
1600
+ }
1601
+
1530
1602
  async def _check_cdk_versions(
1531
1603
  self, inventory_dict: Dict[str, Any], registry: str
1532
1604
  ) -> Dict[str, Any]:
@@ -22,7 +22,6 @@ API Reference:
22
22
  https://github.com/SecObserve/SecObserve
23
23
  """
24
24
 
25
- import json
26
25
  import logging
27
26
  from dataclasses import dataclass
28
27
  from pathlib import Path
@@ -607,10 +607,10 @@ code{{background:#f3f4f6;padding:2px 4px;border-radius:3px;font-size:0.8rem}}
607
607
  # 5. THOTH_ORG_POLICY env → <cached_repo>/policy/
608
608
  org_policy_url = os.environ.get("THOTH_ORG_POLICY")
609
609
  if org_policy_url:
610
- from .....services.check.org_policy_loader import (
610
+ from ....services.check.org_policy_loader import (
611
611
  get_org_policy_path,
612
612
  )
613
- from .....services.check.org_policy_loader import (
613
+ from ....services.check.org_policy_loader import (
614
614
  resolve_policy_dir as _resolve_org_policy,
615
615
  )
616
616
 
@@ -1,3 +1,3 @@
1
1
  """Version module."""
2
2
 
3
- __version__ = "0.31.1"
3
+ __version__ = "0.31.2"