desloppify-community 1.0__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 (1077) hide show
  1. desloppify_community-1.0/LICENSE +163 -0
  2. desloppify_community-1.0/PKG-INFO +193 -0
  3. desloppify_community-1.0/README.md +150 -0
  4. desloppify_community-1.0/desloppify/__init__.py +3 -0
  5. desloppify_community-1.0/desloppify/__main__.py +5 -0
  6. desloppify_community-1.0/desloppify/app/__init__.py +1 -0
  7. desloppify_community-1.0/desloppify/app/cli_support/__init__.py +2 -0
  8. desloppify_community-1.0/desloppify/app/cli_support/parser.py +156 -0
  9. desloppify_community-1.0/desloppify/app/cli_support/parser_groups.py +359 -0
  10. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin.py +213 -0
  11. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review.py +40 -0
  12. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_batch.py +128 -0
  13. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_core.py +74 -0
  14. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_external.py +46 -0
  15. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_trust_post.py +54 -0
  16. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl.py +99 -0
  17. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_annotations.py +140 -0
  18. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_cluster.py +126 -0
  19. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_queue_reorder.py +79 -0
  20. desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_triage_commit_scan.py +202 -0
  21. desloppify_community-1.0/desloppify/app/commands/__init__.py +1 -0
  22. desloppify_community-1.0/desloppify/app/commands/autofix/__init__.py +14 -0
  23. desloppify_community-1.0/desloppify/app/commands/autofix/apply_flow.py +191 -0
  24. desloppify_community-1.0/desloppify/app/commands/autofix/apply_retro.py +169 -0
  25. desloppify_community-1.0/desloppify/app/commands/autofix/cmd.py +61 -0
  26. desloppify_community-1.0/desloppify/app/commands/autofix/fixer_selection.py +41 -0
  27. desloppify_community-1.0/desloppify/app/commands/autofix/preview.py +48 -0
  28. desloppify_community-1.0/desloppify/app/commands/backlog/__init__.py +14 -0
  29. desloppify_community-1.0/desloppify/app/commands/backlog/cmd.py +49 -0
  30. desloppify_community-1.0/desloppify/app/commands/config.py +90 -0
  31. desloppify_community-1.0/desloppify/app/commands/detect.py +124 -0
  32. desloppify_community-1.0/desloppify/app/commands/dev.py +221 -0
  33. desloppify_community-1.0/desloppify/app/commands/dev_scaffold_templates.py +290 -0
  34. desloppify_community-1.0/desloppify/app/commands/directives.py +169 -0
  35. desloppify_community-1.0/desloppify/app/commands/exclude.py +115 -0
  36. desloppify_community-1.0/desloppify/app/commands/helpers/__init__.py +1 -0
  37. desloppify_community-1.0/desloppify/app/commands/helpers/attestation.py +113 -0
  38. desloppify_community-1.0/desloppify/app/commands/helpers/by_language.py +74 -0
  39. desloppify_community-1.0/desloppify/app/commands/helpers/command_runtime.py +40 -0
  40. desloppify_community-1.0/desloppify/app/commands/helpers/display.py +5 -0
  41. desloppify_community-1.0/desloppify/app/commands/helpers/dynamic_loaders.py +52 -0
  42. desloppify_community-1.0/desloppify/app/commands/helpers/guardrails.py +203 -0
  43. desloppify_community-1.0/desloppify/app/commands/helpers/issue_id_display.py +15 -0
  44. desloppify_community-1.0/desloppify/app/commands/helpers/lang.py +142 -0
  45. desloppify_community-1.0/desloppify/app/commands/helpers/query.py +103 -0
  46. desloppify_community-1.0/desloppify/app/commands/helpers/queue_progress.py +369 -0
  47. desloppify_community-1.0/desloppify/app/commands/helpers/queue_progress_render.py +110 -0
  48. desloppify_community-1.0/desloppify/app/commands/helpers/rendering.py +117 -0
  49. desloppify_community-1.0/desloppify/app/commands/helpers/runtime_options.py +68 -0
  50. desloppify_community-1.0/desloppify/app/commands/helpers/score_update.py +78 -0
  51. desloppify_community-1.0/desloppify/app/commands/helpers/state.py +77 -0
  52. desloppify_community-1.0/desloppify/app/commands/helpers/state_persistence.py +28 -0
  53. desloppify_community-1.0/desloppify/app/commands/helpers/subjective.py +61 -0
  54. desloppify_community-1.0/desloppify/app/commands/helpers/transition_messages.py +189 -0
  55. desloppify_community-1.0/desloppify/app/commands/langs/__init__.py +7 -0
  56. desloppify_community-1.0/desloppify/app/commands/langs/cmd.py +79 -0
  57. desloppify_community-1.0/desloppify/app/commands/move/__init__.py +14 -0
  58. desloppify_community-1.0/desloppify/app/commands/move/apply.py +125 -0
  59. desloppify_community-1.0/desloppify/app/commands/move/cmd.py +82 -0
  60. desloppify_community-1.0/desloppify/app/commands/move/directory.py +92 -0
  61. desloppify_community-1.0/desloppify/app/commands/move/language.py +102 -0
  62. desloppify_community-1.0/desloppify/app/commands/move/planning.py +179 -0
  63. desloppify_community-1.0/desloppify/app/commands/move/reporting.py +116 -0
  64. desloppify_community-1.0/desloppify/app/commands/next/__init__.py +14 -0
  65. desloppify_community-1.0/desloppify/app/commands/next/cmd.py +67 -0
  66. desloppify_community-1.0/desloppify/app/commands/next/flow_helpers.py +61 -0
  67. desloppify_community-1.0/desloppify/app/commands/next/options.py +39 -0
  68. desloppify_community-1.0/desloppify/app/commands/next/output.py +262 -0
  69. desloppify_community-1.0/desloppify/app/commands/next/queue_flow.py +558 -0
  70. desloppify_community-1.0/desloppify/app/commands/next/render.py +381 -0
  71. desloppify_community-1.0/desloppify/app/commands/next/render_nudges.py +294 -0
  72. desloppify_community-1.0/desloppify/app/commands/next/render_scoring.py +218 -0
  73. desloppify_community-1.0/desloppify/app/commands/next/render_support.py +313 -0
  74. desloppify_community-1.0/desloppify/app/commands/next/render_workflow.py +162 -0
  75. desloppify_community-1.0/desloppify/app/commands/next/subjective.py +41 -0
  76. desloppify_community-1.0/desloppify/app/commands/plan/__init__.py +21 -0
  77. desloppify_community-1.0/desloppify/app/commands/plan/cluster/__init__.py +5 -0
  78. desloppify_community-1.0/desloppify/app/commands/plan/cluster/dispatch.py +256 -0
  79. desloppify_community-1.0/desloppify/app/commands/plan/cluster/ops_display.py +335 -0
  80. desloppify_community-1.0/desloppify/app/commands/plan/cluster/ops_manage.py +283 -0
  81. desloppify_community-1.0/desloppify/app/commands/plan/cluster/ops_reorder.py +264 -0
  82. desloppify_community-1.0/desloppify/app/commands/plan/cluster/steps.py +44 -0
  83. desloppify_community-1.0/desloppify/app/commands/plan/cluster/update.py +55 -0
  84. desloppify_community-1.0/desloppify/app/commands/plan/cluster/update_flow.py +458 -0
  85. desloppify_community-1.0/desloppify/app/commands/plan/cmd.py +247 -0
  86. desloppify_community-1.0/desloppify/app/commands/plan/commit_log/__init__.py +5 -0
  87. desloppify_community-1.0/desloppify/app/commands/plan/commit_log/dispatch.py +246 -0
  88. desloppify_community-1.0/desloppify/app/commands/plan/override/__init__.py +29 -0
  89. desloppify_community-1.0/desloppify/app/commands/plan/override/io.py +107 -0
  90. desloppify_community-1.0/desloppify/app/commands/plan/override/misc.py +271 -0
  91. desloppify_community-1.0/desloppify/app/commands/plan/override/resolve_cmd.py +115 -0
  92. desloppify_community-1.0/desloppify/app/commands/plan/override/resolve_helpers.py +121 -0
  93. desloppify_community-1.0/desloppify/app/commands/plan/override/resolve_workflow.py +491 -0
  94. desloppify_community-1.0/desloppify/app/commands/plan/override/skip.py +458 -0
  95. desloppify_community-1.0/desloppify/app/commands/plan/policy_cmd.py +88 -0
  96. desloppify_community-1.0/desloppify/app/commands/plan/queue_render.py +293 -0
  97. desloppify_community-1.0/desloppify/app/commands/plan/reorder_handlers.py +136 -0
  98. desloppify_community-1.0/desloppify/app/commands/plan/repair_state.py +79 -0
  99. desloppify_community-1.0/desloppify/app/commands/plan/shared/__init__.py +6 -0
  100. desloppify_community-1.0/desloppify/app/commands/plan/shared/cluster_membership.py +7 -0
  101. desloppify_community-1.0/desloppify/app/commands/plan/shared/patterns.py +139 -0
  102. desloppify_community-1.0/desloppify/app/commands/plan/triage/__init__.py +18 -0
  103. desloppify_community-1.0/desloppify/app/commands/plan/triage/command.py +24 -0
  104. desloppify_community-1.0/desloppify/app/commands/plan/triage/completion_flow.py +276 -0
  105. desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/__init__.py +8 -0
  106. desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/basic.py +362 -0
  107. desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/enrich.py +270 -0
  108. desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/organize.py +198 -0
  109. desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/router.py +45 -0
  110. desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/shared.py +110 -0
  111. desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/strategize.py +112 -0
  112. desloppify_community-1.0/desloppify/app/commands/plan/triage/display/__init__.py +33 -0
  113. desloppify_community-1.0/desloppify/app/commands/plan/triage/display/dashboard.py +325 -0
  114. desloppify_community-1.0/desloppify/app/commands/plan/triage/display/layout.py +351 -0
  115. desloppify_community-1.0/desloppify/app/commands/plan/triage/display/primitives.py +61 -0
  116. desloppify_community-1.0/desloppify/app/commands/plan/triage/display/progress.py +81 -0
  117. desloppify_community-1.0/desloppify/app/commands/plan/triage/helpers.py +39 -0
  118. desloppify_community-1.0/desloppify/app/commands/plan/triage/lifecycle.py +147 -0
  119. desloppify_community-1.0/desloppify/app/commands/plan/triage/observe_batches.py +116 -0
  120. desloppify_community-1.0/desloppify/app/commands/plan/triage/plan_state_access.py +83 -0
  121. desloppify_community-1.0/desloppify/app/commands/plan/triage/review_coverage.py +128 -0
  122. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/__init__.py +1 -0
  123. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/codex_runner.py +104 -0
  124. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_claude.py +75 -0
  125. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_observe.py +169 -0
  126. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_parallel.py +65 -0
  127. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline.py +457 -0
  128. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline_completion.py +187 -0
  129. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline_context.py +73 -0
  130. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline_execution.py +768 -0
  131. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_sense.py +447 -0
  132. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_common.py +29 -0
  133. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/rovodev_pipeline.py +48 -0
  134. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/rovodev_runner.py +80 -0
  135. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts.py +542 -0
  136. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_instruction_blocks.py +585 -0
  137. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_instruction_shared.py +227 -0
  138. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_observe.py +103 -0
  139. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_sense.py +443 -0
  140. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_strategist.py +98 -0
  141. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_validation.py +86 -0
  142. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_runner_override.py +59 -0
  143. desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_validation.py +437 -0
  144. desloppify_community-1.0/desloppify/app/commands/plan/triage/services.py +85 -0
  145. desloppify_community-1.0/desloppify/app/commands/plan/triage/stage_queue.py +97 -0
  146. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/__init__.py +55 -0
  147. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/commands.py +48 -0
  148. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/completion.py +368 -0
  149. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/enrich.py +349 -0
  150. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/evidence_parsing.py +616 -0
  151. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/flow_helpers.py +23 -0
  152. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/helpers.py +194 -0
  153. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/observe.py +208 -0
  154. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/organize.py +284 -0
  155. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/records.py +273 -0
  156. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/reflect.py +326 -0
  157. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/rendering.py +71 -0
  158. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/sense_check.py +257 -0
  159. desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/strategize.py +307 -0
  160. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/__init__.py +8 -0
  161. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/completion_policy.py +330 -0
  162. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/completion_stages.py +208 -0
  163. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/core.py +225 -0
  164. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/enrich_checks.py +267 -0
  165. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/enrich_quality.py +219 -0
  166. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/organize_policy.py +328 -0
  167. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/reflect_accounting.py +504 -0
  168. desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/stage_policy.py +222 -0
  169. desloppify_community-1.0/desloppify/app/commands/plan/triage/workflow.py +213 -0
  170. desloppify_community-1.0/desloppify/app/commands/registry.py +66 -0
  171. desloppify_community-1.0/desloppify/app/commands/resolve/__init__.py +1 -0
  172. desloppify_community-1.0/desloppify/app/commands/resolve/apply.py +95 -0
  173. desloppify_community-1.0/desloppify/app/commands/resolve/cmd.py +196 -0
  174. desloppify_community-1.0/desloppify/app/commands/resolve/living_plan.py +210 -0
  175. desloppify_community-1.0/desloppify/app/commands/resolve/messages.py +115 -0
  176. desloppify_community-1.0/desloppify/app/commands/resolve/plan_load.py +121 -0
  177. desloppify_community-1.0/desloppify/app/commands/resolve/queue_guard.py +191 -0
  178. desloppify_community-1.0/desloppify/app/commands/resolve/render.py +260 -0
  179. desloppify_community-1.0/desloppify/app/commands/resolve/render_support.py +77 -0
  180. desloppify_community-1.0/desloppify/app/commands/resolve/selection.py +119 -0
  181. desloppify_community-1.0/desloppify/app/commands/review/__init__.py +14 -0
  182. desloppify_community-1.0/desloppify/app/commands/review/assessment_integrity.py +63 -0
  183. desloppify_community-1.0/desloppify/app/commands/review/batch/__init__.py +1 -0
  184. desloppify_community-1.0/desloppify/app/commands/review/batch/core_merge_support.py +241 -0
  185. desloppify_community-1.0/desloppify/app/commands/review/batch/core_models.py +123 -0
  186. desloppify_community-1.0/desloppify/app/commands/review/batch/core_normalize.py +699 -0
  187. desloppify_community-1.0/desloppify/app/commands/review/batch/core_parse.py +59 -0
  188. desloppify_community-1.0/desloppify/app/commands/review/batch/execution.py +75 -0
  189. desloppify_community-1.0/desloppify/app/commands/review/batch/execution_dry_run.py +82 -0
  190. desloppify_community-1.0/desloppify/app/commands/review/batch/execution_phases.py +632 -0
  191. desloppify_community-1.0/desloppify/app/commands/review/batch/execution_progress.py +262 -0
  192. desloppify_community-1.0/desloppify/app/commands/review/batch/execution_results.py +278 -0
  193. desloppify_community-1.0/desloppify/app/commands/review/batch/execution_summary.py +59 -0
  194. desloppify_community-1.0/desloppify/app/commands/review/batch/merge.py +258 -0
  195. desloppify_community-1.0/desloppify/app/commands/review/batch/orchestrator.py +617 -0
  196. desloppify_community-1.0/desloppify/app/commands/review/batch/prompt_template.py +172 -0
  197. desloppify_community-1.0/desloppify/app/commands/review/batch/scope.py +288 -0
  198. desloppify_community-1.0/desloppify/app/commands/review/batch/scoring.py +109 -0
  199. desloppify_community-1.0/desloppify/app/commands/review/batches_runtime.py +262 -0
  200. desloppify_community-1.0/desloppify/app/commands/review/cmd.py +245 -0
  201. desloppify_community-1.0/desloppify/app/commands/review/coordinator.py +202 -0
  202. desloppify_community-1.0/desloppify/app/commands/review/external.py +600 -0
  203. desloppify_community-1.0/desloppify/app/commands/review/helpers.py +11 -0
  204. desloppify_community-1.0/desloppify/app/commands/review/importing/__init__.py +1 -0
  205. desloppify_community-1.0/desloppify/app/commands/review/importing/cmd.py +435 -0
  206. desloppify_community-1.0/desloppify/app/commands/review/importing/flags.py +149 -0
  207. desloppify_community-1.0/desloppify/app/commands/review/importing/helpers.py +64 -0
  208. desloppify_community-1.0/desloppify/app/commands/review/importing/output.py +359 -0
  209. desloppify_community-1.0/desloppify/app/commands/review/importing/parse.py +467 -0
  210. desloppify_community-1.0/desloppify/app/commands/review/importing/plan_sync.py +569 -0
  211. desloppify_community-1.0/desloppify/app/commands/review/importing/policy.py +341 -0
  212. desloppify_community-1.0/desloppify/app/commands/review/importing/results.py +102 -0
  213. desloppify_community-1.0/desloppify/app/commands/review/merge.py +299 -0
  214. desloppify_community-1.0/desloppify/app/commands/review/packet/__init__.py +5 -0
  215. desloppify_community-1.0/desloppify/app/commands/review/packet/build.py +285 -0
  216. desloppify_community-1.0/desloppify/app/commands/review/packet/policy.py +28 -0
  217. desloppify_community-1.0/desloppify/app/commands/review/preflight.py +277 -0
  218. desloppify_community-1.0/desloppify/app/commands/review/prepare.py +141 -0
  219. desloppify_community-1.0/desloppify/app/commands/review/prompt_sections.py +643 -0
  220. desloppify_community-1.0/desloppify/app/commands/review/runner_failures.py +383 -0
  221. desloppify_community-1.0/desloppify/app/commands/review/runner_opencode.py +237 -0
  222. desloppify_community-1.0/desloppify/app/commands/review/runner_packets.py +197 -0
  223. desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/__init__.py +173 -0
  224. desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/execution.py +345 -0
  225. desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/progress.py +158 -0
  226. desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/serial.py +73 -0
  227. desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/types.py +72 -0
  228. desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/__init__.py +1 -0
  229. desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/attempt_success.py +153 -0
  230. desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/attempts.py +535 -0
  231. desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/io.py +309 -0
  232. desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/types.py +96 -0
  233. desloppify_community-1.0/desloppify/app/commands/review/runner_rovodev.py +337 -0
  234. desloppify_community-1.0/desloppify/app/commands/review/runtime/__init__.py +0 -0
  235. desloppify_community-1.0/desloppify/app/commands/review/runtime/policy.py +88 -0
  236. desloppify_community-1.0/desloppify/app/commands/review/runtime/setup.py +67 -0
  237. desloppify_community-1.0/desloppify/app/commands/review/runtime_paths.py +86 -0
  238. desloppify_community-1.0/desloppify/app/commands/review/state_payloads.py +69 -0
  239. desloppify_community-1.0/desloppify/app/commands/runner/__init__.py +3 -0
  240. desloppify_community-1.0/desloppify/app/commands/runner/codex_batch.py +275 -0
  241. desloppify_community-1.0/desloppify/app/commands/runner/run_logs.py +24 -0
  242. desloppify_community-1.0/desloppify/app/commands/scan/__init__.py +14 -0
  243. desloppify_community-1.0/desloppify/app/commands/scan/artifacts.py +210 -0
  244. desloppify_community-1.0/desloppify/app/commands/scan/cmd.py +228 -0
  245. desloppify_community-1.0/desloppify/app/commands/scan/contracts.py +53 -0
  246. desloppify_community-1.0/desloppify/app/commands/scan/coverage.py +162 -0
  247. desloppify_community-1.0/desloppify/app/commands/scan/helpers.py +202 -0
  248. desloppify_community-1.0/desloppify/app/commands/scan/orchestrator.py +75 -0
  249. desloppify_community-1.0/desloppify/app/commands/scan/plan_nudge.py +46 -0
  250. desloppify_community-1.0/desloppify/app/commands/scan/plan_reconcile.py +495 -0
  251. desloppify_community-1.0/desloppify/app/commands/scan/preflight.py +164 -0
  252. desloppify_community-1.0/desloppify/app/commands/scan/reporting/__init__.py +11 -0
  253. desloppify_community-1.0/desloppify/app/commands/scan/reporting/agent_context.py +384 -0
  254. desloppify_community-1.0/desloppify/app/commands/scan/reporting/dimensions.py +238 -0
  255. desloppify_community-1.0/desloppify/app/commands/scan/reporting/integrity_report.py +313 -0
  256. desloppify_community-1.0/desloppify/app/commands/scan/reporting/presentation.py +418 -0
  257. desloppify_community-1.0/desloppify/app/commands/scan/reporting/subjective.py +540 -0
  258. desloppify_community-1.0/desloppify/app/commands/scan/reporting/summary.py +373 -0
  259. desloppify_community-1.0/desloppify/app/commands/scan/reporting/text.py +62 -0
  260. desloppify_community-1.0/desloppify/app/commands/scan/wontfix.py +203 -0
  261. desloppify_community-1.0/desloppify/app/commands/scan/workflow.py +558 -0
  262. desloppify_community-1.0/desloppify/app/commands/setup/__init__.py +7 -0
  263. desloppify_community-1.0/desloppify/app/commands/setup/cmd.py +157 -0
  264. desloppify_community-1.0/desloppify/app/commands/show/__init__.py +14 -0
  265. desloppify_community-1.0/desloppify/app/commands/show/cmd.py +223 -0
  266. desloppify_community-1.0/desloppify/app/commands/show/concerns_view.py +34 -0
  267. desloppify_community-1.0/desloppify/app/commands/show/dimension_views.py +176 -0
  268. desloppify_community-1.0/desloppify/app/commands/show/formatting.py +85 -0
  269. desloppify_community-1.0/desloppify/app/commands/show/payload.py +72 -0
  270. desloppify_community-1.0/desloppify/app/commands/show/render.py +292 -0
  271. desloppify_community-1.0/desloppify/app/commands/show/scope.py +296 -0
  272. desloppify_community-1.0/desloppify/app/commands/status/__init__.py +14 -0
  273. desloppify_community-1.0/desloppify/app/commands/status/cmd.py +147 -0
  274. desloppify_community-1.0/desloppify/app/commands/status/flow.py +262 -0
  275. desloppify_community-1.0/desloppify/app/commands/status/render.py +367 -0
  276. desloppify_community-1.0/desloppify/app/commands/status/render_dimensions.py +149 -0
  277. desloppify_community-1.0/desloppify/app/commands/status/render_io.py +189 -0
  278. desloppify_community-1.0/desloppify/app/commands/status/render_structural.py +91 -0
  279. desloppify_community-1.0/desloppify/app/commands/status/sparkline.py +95 -0
  280. desloppify_community-1.0/desloppify/app/commands/status/strict_target.py +52 -0
  281. desloppify_community-1.0/desloppify/app/commands/status/summary.py +139 -0
  282. desloppify_community-1.0/desloppify/app/commands/suppress.py +119 -0
  283. desloppify_community-1.0/desloppify/app/commands/update_skill/__init__.py +82 -0
  284. desloppify_community-1.0/desloppify/app/commands/update_skill/cmd.py +260 -0
  285. desloppify_community-1.0/desloppify/app/commands/viz.py +61 -0
  286. desloppify_community-1.0/desloppify/app/commands/zone.py +154 -0
  287. desloppify_community-1.0/desloppify/app/output/__init__.py +1 -0
  288. desloppify_community-1.0/desloppify/app/output/_viz_cmd_context.py +33 -0
  289. desloppify_community-1.0/desloppify/app/output/_viz_template.html +274 -0
  290. desloppify_community-1.0/desloppify/app/output/scorecard.py +200 -0
  291. desloppify_community-1.0/desloppify/app/output/scorecard_parts/__init__.py +1 -0
  292. desloppify_community-1.0/desloppify/app/output/scorecard_parts/draw.py +127 -0
  293. desloppify_community-1.0/desloppify/app/output/scorecard_parts/left_panel.py +221 -0
  294. desloppify_community-1.0/desloppify/app/output/scorecard_parts/left_panel_primitives.py +135 -0
  295. desloppify_community-1.0/desloppify/app/output/scorecard_parts/meta.py +94 -0
  296. desloppify_community-1.0/desloppify/app/output/scorecard_parts/ornaments.py +57 -0
  297. desloppify_community-1.0/desloppify/app/output/scorecard_parts/theme.py +152 -0
  298. desloppify_community-1.0/desloppify/app/output/tree_text.py +131 -0
  299. desloppify_community-1.0/desloppify/app/output/visualize.py +166 -0
  300. desloppify_community-1.0/desloppify/app/output/visualize_data.py +220 -0
  301. desloppify_community-1.0/desloppify/app/skill_docs.py +196 -0
  302. desloppify_community-1.0/desloppify/base/__init__.py +7 -0
  303. desloppify_community-1.0/desloppify/base/coercions.py +82 -0
  304. desloppify_community-1.0/desloppify/base/config/__init__.py +338 -0
  305. desloppify_community-1.0/desloppify/base/config/migration.py +118 -0
  306. desloppify_community-1.0/desloppify/base/config/schema.py +193 -0
  307. desloppify_community-1.0/desloppify/base/discovery/__init__.py +1 -0
  308. desloppify_community-1.0/desloppify/base/discovery/file_paths.py +130 -0
  309. desloppify_community-1.0/desloppify/base/discovery/paths.py +160 -0
  310. desloppify_community-1.0/desloppify/base/discovery/source.py +339 -0
  311. desloppify_community-1.0/desloppify/base/enums.py +90 -0
  312. desloppify_community-1.0/desloppify/base/exception_sets.py +48 -0
  313. desloppify_community-1.0/desloppify/base/git_context.py +90 -0
  314. desloppify_community-1.0/desloppify/base/optional_deps.py +22 -0
  315. desloppify_community-1.0/desloppify/base/output/__init__.py +1 -0
  316. desloppify_community-1.0/desloppify/base/output/contract.py +18 -0
  317. desloppify_community-1.0/desloppify/base/output/fallbacks.py +60 -0
  318. desloppify_community-1.0/desloppify/base/output/issues.py +214 -0
  319. desloppify_community-1.0/desloppify/base/output/terminal.py +105 -0
  320. desloppify_community-1.0/desloppify/base/output/user_message.py +28 -0
  321. desloppify_community-1.0/desloppify/base/registry/__init__.py +208 -0
  322. desloppify_community-1.0/desloppify/base/registry/catalog_entries.py +511 -0
  323. desloppify_community-1.0/desloppify/base/registry/catalog_models.py +74 -0
  324. desloppify_community-1.0/desloppify/base/runtime_state.py +153 -0
  325. desloppify_community-1.0/desloppify/base/scoring_constants.py +18 -0
  326. desloppify_community-1.0/desloppify/base/search/__init__.py +2 -0
  327. desloppify_community-1.0/desloppify/base/search/grep.py +133 -0
  328. desloppify_community-1.0/desloppify/base/search/query.py +268 -0
  329. desloppify_community-1.0/desloppify/base/search/query_paths.py +25 -0
  330. desloppify_community-1.0/desloppify/base/signal_patterns.py +48 -0
  331. desloppify_community-1.0/desloppify/base/subjective_dimension_catalog.py +85 -0
  332. desloppify_community-1.0/desloppify/base/subjective_dimensions.py +214 -0
  333. desloppify_community-1.0/desloppify/base/subjective_dimensions_constants.py +96 -0
  334. desloppify_community-1.0/desloppify/base/subjective_dimensions_merge.py +114 -0
  335. desloppify_community-1.0/desloppify/base/subjective_dimensions_providers.py +73 -0
  336. desloppify_community-1.0/desloppify/base/text/__init__.py +2 -0
  337. desloppify_community-1.0/desloppify/base/text_utils.py +125 -0
  338. desloppify_community-1.0/desloppify/base/tooling.py +89 -0
  339. desloppify_community-1.0/desloppify/cli.py +294 -0
  340. desloppify_community-1.0/desloppify/conftest.py +20 -0
  341. desloppify_community-1.0/desloppify/data/__init__.py +0 -0
  342. desloppify_community-1.0/desloppify/data/global/AMP.md +6 -0
  343. desloppify_community-1.0/desloppify/data/global/CLAUDE.md +41 -0
  344. desloppify_community-1.0/desloppify/data/global/CODEX.md +30 -0
  345. desloppify_community-1.0/desloppify/data/global/COPILOT.md +32 -0
  346. desloppify_community-1.0/desloppify/data/global/CURSOR.md +27 -0
  347. desloppify_community-1.0/desloppify/data/global/DROID.md +39 -0
  348. desloppify_community-1.0/desloppify/data/global/GEMINI.md +46 -0
  349. desloppify_community-1.0/desloppify/data/global/HERMES.md +65 -0
  350. desloppify_community-1.0/desloppify/data/global/OPENCODE.md +35 -0
  351. desloppify_community-1.0/desloppify/data/global/QWEN.md +20 -0
  352. desloppify_community-1.0/desloppify/data/global/ROVODEV.md +147 -0
  353. desloppify_community-1.0/desloppify/data/global/SKILL.md +298 -0
  354. desloppify_community-1.0/desloppify/data/global/WINDSURF.md +22 -0
  355. desloppify_community-1.0/desloppify/data/global/__init__.py +0 -0
  356. desloppify_community-1.0/desloppify/data/global/scoring.md +101 -0
  357. desloppify_community-1.0/desloppify/engine/__init__.py +1 -0
  358. desloppify_community-1.0/desloppify/engine/_concerns/constants.py +25 -0
  359. desloppify_community-1.0/desloppify/engine/_concerns/generators.py +242 -0
  360. desloppify_community-1.0/desloppify/engine/_concerns/signals.py +96 -0
  361. desloppify_community-1.0/desloppify/engine/_concerns/state.py +30 -0
  362. desloppify_community-1.0/desloppify/engine/_concerns/text.py +203 -0
  363. desloppify_community-1.0/desloppify/engine/_concerns/types.py +41 -0
  364. desloppify_community-1.0/desloppify/engine/_concerns/utils.py +36 -0
  365. desloppify_community-1.0/desloppify/engine/_plan/__init__.py +21 -0
  366. desloppify_community-1.0/desloppify/engine/_plan/annotations.py +53 -0
  367. desloppify_community-1.0/desloppify/engine/_plan/auto_cluster.py +255 -0
  368. desloppify_community-1.0/desloppify/engine/_plan/auto_cluster_sync.py +251 -0
  369. desloppify_community-1.0/desloppify/engine/_plan/auto_cluster_sync_issue.py +268 -0
  370. desloppify_community-1.0/desloppify/engine/_plan/cluster_membership.py +30 -0
  371. desloppify_community-1.0/desloppify/engine/_plan/cluster_semantics.py +206 -0
  372. desloppify_community-1.0/desloppify/engine/_plan/cluster_strategy.py +141 -0
  373. desloppify_community-1.0/desloppify/engine/_plan/commit_tracking.py +274 -0
  374. desloppify_community-1.0/desloppify/engine/_plan/constants.py +213 -0
  375. desloppify_community-1.0/desloppify/engine/_plan/operations/cluster.py +264 -0
  376. desloppify_community-1.0/desloppify/engine/_plan/operations/lifecycle.py +110 -0
  377. desloppify_community-1.0/desloppify/engine/_plan/operations/meta.py +123 -0
  378. desloppify_community-1.0/desloppify/engine/_plan/operations/queue.py +138 -0
  379. desloppify_community-1.0/desloppify/engine/_plan/operations/skip.py +187 -0
  380. desloppify_community-1.0/desloppify/engine/_plan/persistence.py +225 -0
  381. desloppify_community-1.0/desloppify/engine/_plan/policy/__init__.py +5 -0
  382. desloppify_community-1.0/desloppify/engine/_plan/policy/execution_constraints.py +26 -0
  383. desloppify_community-1.0/desloppify/engine/_plan/policy/project.py +114 -0
  384. desloppify_community-1.0/desloppify/engine/_plan/policy/stale.py +222 -0
  385. desloppify_community-1.0/desloppify/engine/_plan/policy/subjective.py +151 -0
  386. desloppify_community-1.0/desloppify/engine/_plan/promoted_ids.py +53 -0
  387. desloppify_community-1.0/desloppify/engine/_plan/refresh_lifecycle.py +337 -0
  388. desloppify_community-1.0/desloppify/engine/_plan/scan_issue_reconcile.py +459 -0
  389. desloppify_community-1.0/desloppify/engine/_plan/schema/__init__.py +417 -0
  390. desloppify_community-1.0/desloppify/engine/_plan/schema/helpers.py +89 -0
  391. desloppify_community-1.0/desloppify/engine/_plan/schema/migrations.py +28 -0
  392. desloppify_community-1.0/desloppify/engine/_plan/schema/normalize.py +271 -0
  393. desloppify_community-1.0/desloppify/engine/_plan/schema/version_upgrades.py +239 -0
  394. desloppify_community-1.0/desloppify/engine/_plan/skip_policy.py +70 -0
  395. desloppify_community-1.0/desloppify/engine/_plan/step_completion.py +34 -0
  396. desloppify_community-1.0/desloppify/engine/_plan/step_parser.py +160 -0
  397. desloppify_community-1.0/desloppify/engine/_plan/sync/__init__.py +42 -0
  398. desloppify_community-1.0/desloppify/engine/_plan/sync/auto_prune.py +46 -0
  399. desloppify_community-1.0/desloppify/engine/_plan/sync/context.py +66 -0
  400. desloppify_community-1.0/desloppify/engine/_plan/sync/defer_policy.py +190 -0
  401. desloppify_community-1.0/desloppify/engine/_plan/sync/dimensions.py +345 -0
  402. desloppify_community-1.0/desloppify/engine/_plan/sync/phase_cleanup.py +76 -0
  403. desloppify_community-1.0/desloppify/engine/_plan/sync/pipeline.py +323 -0
  404. desloppify_community-1.0/desloppify/engine/_plan/sync/review_import.py +207 -0
  405. desloppify_community-1.0/desloppify/engine/_plan/sync/triage.py +408 -0
  406. desloppify_community-1.0/desloppify/engine/_plan/sync/triage_start_policy.py +70 -0
  407. desloppify_community-1.0/desloppify/engine/_plan/sync/workflow.py +534 -0
  408. desloppify_community-1.0/desloppify/engine/_plan/sync/workflow_gates.py +27 -0
  409. desloppify_community-1.0/desloppify/engine/_plan/triage/apply.py +374 -0
  410. desloppify_community-1.0/desloppify/engine/_plan/triage/core.py +156 -0
  411. desloppify_community-1.0/desloppify/engine/_plan/triage/dismiss.py +72 -0
  412. desloppify_community-1.0/desloppify/engine/_plan/triage/lifecycle.py +100 -0
  413. desloppify_community-1.0/desloppify/engine/_plan/triage/parsing.py +197 -0
  414. desloppify_community-1.0/desloppify/engine/_plan/triage/playbook.py +301 -0
  415. desloppify_community-1.0/desloppify/engine/_plan/triage/prompt.py +696 -0
  416. desloppify_community-1.0/desloppify/engine/_plan/triage/snapshot.py +196 -0
  417. desloppify_community-1.0/desloppify/engine/_plan/triage/strategist_data.py +721 -0
  418. desloppify_community-1.0/desloppify/engine/_scoring/__init__.py +1 -0
  419. desloppify_community-1.0/desloppify/engine/_scoring/detection.py +203 -0
  420. desloppify_community-1.0/desloppify/engine/_scoring/policy/__init__.py +2 -0
  421. desloppify_community-1.0/desloppify/engine/_scoring/policy/core.py +285 -0
  422. desloppify_community-1.0/desloppify/engine/_scoring/results/__init__.py +2 -0
  423. desloppify_community-1.0/desloppify/engine/_scoring/results/core.py +170 -0
  424. desloppify_community-1.0/desloppify/engine/_scoring/results/health.py +295 -0
  425. desloppify_community-1.0/desloppify/engine/_scoring/results/impact.py +84 -0
  426. desloppify_community-1.0/desloppify/engine/_scoring/state_coverage.py +157 -0
  427. desloppify_community-1.0/desloppify/engine/_scoring/state_integration.py +228 -0
  428. desloppify_community-1.0/desloppify/engine/_scoring/state_integration_subjective.py +76 -0
  429. desloppify_community-1.0/desloppify/engine/_scoring/subjective/__init__.py +2 -0
  430. desloppify_community-1.0/desloppify/engine/_scoring/subjective/core.py +279 -0
  431. desloppify_community-1.0/desloppify/engine/_state/__init__.py +26 -0
  432. desloppify_community-1.0/desloppify/engine/_state/filtering.py +320 -0
  433. desloppify_community-1.0/desloppify/engine/_state/issue_semantics.py +225 -0
  434. desloppify_community-1.0/desloppify/engine/_state/merge.py +282 -0
  435. desloppify_community-1.0/desloppify/engine/_state/merge_history.py +172 -0
  436. desloppify_community-1.0/desloppify/engine/_state/merge_issues.py +331 -0
  437. desloppify_community-1.0/desloppify/engine/_state/noise.py +198 -0
  438. desloppify_community-1.0/desloppify/engine/_state/persistence.py +378 -0
  439. desloppify_community-1.0/desloppify/engine/_state/progression.py +728 -0
  440. desloppify_community-1.0/desloppify/engine/_state/recovery.py +285 -0
  441. desloppify_community-1.0/desloppify/engine/_state/resolution.py +216 -0
  442. desloppify_community-1.0/desloppify/engine/_state/schema.py +361 -0
  443. desloppify_community-1.0/desloppify/engine/_state/schema_scores.py +55 -0
  444. desloppify_community-1.0/desloppify/engine/_state/schema_types.py +122 -0
  445. desloppify_community-1.0/desloppify/engine/_state/schema_types_issues.py +153 -0
  446. desloppify_community-1.0/desloppify/engine/_state/schema_types_review.py +138 -0
  447. desloppify_community-1.0/desloppify/engine/_state/scope.py +66 -0
  448. desloppify_community-1.0/desloppify/engine/_state/scoring.py +80 -0
  449. desloppify_community-1.0/desloppify/engine/_work_queue/__init__.py +1 -0
  450. desloppify_community-1.0/desloppify/engine/_work_queue/context.py +108 -0
  451. desloppify_community-1.0/desloppify/engine/_work_queue/core.py +67 -0
  452. desloppify_community-1.0/desloppify/engine/_work_queue/finalize.py +83 -0
  453. desloppify_community-1.0/desloppify/engine/_work_queue/helpers.py +198 -0
  454. desloppify_community-1.0/desloppify/engine/_work_queue/inputs.py +60 -0
  455. desloppify_community-1.0/desloppify/engine/_work_queue/issues.py +121 -0
  456. desloppify_community-1.0/desloppify/engine/_work_queue/models.py +59 -0
  457. desloppify_community-1.0/desloppify/engine/_work_queue/plan_order.py +270 -0
  458. desloppify_community-1.0/desloppify/engine/_work_queue/policy.py +140 -0
  459. desloppify_community-1.0/desloppify/engine/_work_queue/ranking.py +275 -0
  460. desloppify_community-1.0/desloppify/engine/_work_queue/ranking_output.py +126 -0
  461. desloppify_community-1.0/desloppify/engine/_work_queue/selection.py +91 -0
  462. desloppify_community-1.0/desloppify/engine/_work_queue/snapshot.py +618 -0
  463. desloppify_community-1.0/desloppify/engine/_work_queue/synthetic.py +367 -0
  464. desloppify_community-1.0/desloppify/engine/_work_queue/synthetic_workflow.py +406 -0
  465. desloppify_community-1.0/desloppify/engine/_work_queue/types.py +221 -0
  466. desloppify_community-1.0/desloppify/engine/concerns.py +13 -0
  467. desloppify_community-1.0/desloppify/engine/detectors/__init__.py +7 -0
  468. desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/config.py +125 -0
  469. desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/detect.py +149 -0
  470. desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/entries.py +166 -0
  471. desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/stats.py +53 -0
  472. desloppify_community-1.0/desloppify/engine/detectors/base.py +73 -0
  473. desloppify_community-1.0/desloppify/engine/detectors/complexity.py +84 -0
  474. desloppify_community-1.0/desloppify/engine/detectors/coupling.py +235 -0
  475. desloppify_community-1.0/desloppify/engine/detectors/coverage/__init__.py +2 -0
  476. desloppify_community-1.0/desloppify/engine/detectors/coverage/mapping.py +256 -0
  477. desloppify_community-1.0/desloppify/engine/detectors/coverage/mapping_analysis.py +253 -0
  478. desloppify_community-1.0/desloppify/engine/detectors/coverage/mapping_imports.py +152 -0
  479. desloppify_community-1.0/desloppify/engine/detectors/dupes.py +470 -0
  480. desloppify_community-1.0/desloppify/engine/detectors/flat_dirs.py +24 -0
  481. desloppify_community-1.0/desloppify/engine/detectors/gods.py +30 -0
  482. desloppify_community-1.0/desloppify/engine/detectors/graph.py +163 -0
  483. desloppify_community-1.0/desloppify/engine/detectors/jscpd_adapter.py +306 -0
  484. desloppify_community-1.0/desloppify/engine/detectors/large.py +36 -0
  485. desloppify_community-1.0/desloppify/engine/detectors/naming.py +91 -0
  486. desloppify_community-1.0/desloppify/engine/detectors/orphaned.py +193 -0
  487. desloppify_community-1.0/desloppify/engine/detectors/passthrough.py +59 -0
  488. desloppify_community-1.0/desloppify/engine/detectors/patterns/__init__.py +2 -0
  489. desloppify_community-1.0/desloppify/engine/detectors/patterns/security.py +231 -0
  490. desloppify_community-1.0/desloppify/engine/detectors/review_coverage.py +290 -0
  491. desloppify_community-1.0/desloppify/engine/detectors/security/detector.py +60 -0
  492. desloppify_community-1.0/desloppify/engine/detectors/security/filters.py +28 -0
  493. desloppify_community-1.0/desloppify/engine/detectors/security/rules.py +201 -0
  494. desloppify_community-1.0/desloppify/engine/detectors/security/scanner.py +30 -0
  495. desloppify_community-1.0/desloppify/engine/detectors/signature.py +166 -0
  496. desloppify_community-1.0/desloppify/engine/detectors/single_use.py +91 -0
  497. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/_issue_gaps.py +87 -0
  498. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/_issue_generation.py +84 -0
  499. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/_issue_quality.py +169 -0
  500. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/detector.py +87 -0
  501. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/discovery.py +126 -0
  502. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/heuristics.py +78 -0
  503. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/io.py +61 -0
  504. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/issues.py +27 -0
  505. desloppify_community-1.0/desloppify/engine/detectors/test_coverage/metrics.py +41 -0
  506. desloppify_community-1.0/desloppify/engine/hook_registry.py +80 -0
  507. desloppify_community-1.0/desloppify/engine/plan_ops.py +89 -0
  508. desloppify_community-1.0/desloppify/engine/plan_state.py +99 -0
  509. desloppify_community-1.0/desloppify/engine/plan_triage.py +184 -0
  510. desloppify_community-1.0/desloppify/engine/planning/__init__.py +87 -0
  511. desloppify_community-1.0/desloppify/engine/planning/dimension_rows.py +59 -0
  512. desloppify_community-1.0/desloppify/engine/planning/helpers.py +16 -0
  513. desloppify_community-1.0/desloppify/engine/planning/queue_policy.py +98 -0
  514. desloppify_community-1.0/desloppify/engine/planning/render.py +290 -0
  515. desloppify_community-1.0/desloppify/engine/planning/render_items.py +98 -0
  516. desloppify_community-1.0/desloppify/engine/planning/render_sections.py +228 -0
  517. desloppify_community-1.0/desloppify/engine/planning/scan.py +162 -0
  518. desloppify_community-1.0/desloppify/engine/planning/scorecard_dimensions.py +229 -0
  519. desloppify_community-1.0/desloppify/engine/planning/scorecard_policy.py +113 -0
  520. desloppify_community-1.0/desloppify/engine/planning/scorecard_projection.py +240 -0
  521. desloppify_community-1.0/desloppify/engine/planning/select.py +38 -0
  522. desloppify_community-1.0/desloppify/engine/planning/types.py +34 -0
  523. desloppify_community-1.0/desloppify/engine/policy/__init__.py +2 -0
  524. desloppify_community-1.0/desloppify/engine/policy/zones.py +325 -0
  525. desloppify_community-1.0/desloppify/engine/policy/zones_data.py +57 -0
  526. desloppify_community-1.0/desloppify/engine/scoring.py +10 -0
  527. desloppify_community-1.0/desloppify/engine/work_queue.py +27 -0
  528. desloppify_community-1.0/desloppify/intelligence/__init__.py +0 -0
  529. desloppify_community-1.0/desloppify/intelligence/integrity.py +127 -0
  530. desloppify_community-1.0/desloppify/intelligence/narrative/_constants.py +45 -0
  531. desloppify_community-1.0/desloppify/intelligence/narrative/action_engine.py +151 -0
  532. desloppify_community-1.0/desloppify/intelligence/narrative/action_engine_routing.py +190 -0
  533. desloppify_community-1.0/desloppify/intelligence/narrative/action_models.py +74 -0
  534. desloppify_community-1.0/desloppify/intelligence/narrative/action_tools.py +79 -0
  535. desloppify_community-1.0/desloppify/intelligence/narrative/core.py +145 -0
  536. desloppify_community-1.0/desloppify/intelligence/narrative/dimensions.py +218 -0
  537. desloppify_community-1.0/desloppify/intelligence/narrative/headline.py +172 -0
  538. desloppify_community-1.0/desloppify/intelligence/narrative/phase.py +103 -0
  539. desloppify_community-1.0/desloppify/intelligence/narrative/reminders.py +74 -0
  540. desloppify_community-1.0/desloppify/intelligence/narrative/reminders_rules_followup.py +259 -0
  541. desloppify_community-1.0/desloppify/intelligence/narrative/reminders_rules_primary.py +259 -0
  542. desloppify_community-1.0/desloppify/intelligence/narrative/signals.py +297 -0
  543. desloppify_community-1.0/desloppify/intelligence/narrative/strategy_engine.py +82 -0
  544. desloppify_community-1.0/desloppify/intelligence/narrative/strategy_engine_hints.py +89 -0
  545. desloppify_community-1.0/desloppify/intelligence/narrative/strategy_engine_lanes.py +205 -0
  546. desloppify_community-1.0/desloppify/intelligence/narrative/types.py +157 -0
  547. desloppify_community-1.0/desloppify/intelligence/review/__init__.py +158 -0
  548. desloppify_community-1.0/desloppify/intelligence/review/_context/__init__.py +1 -0
  549. desloppify_community-1.0/desloppify/intelligence/review/_context/models.py +197 -0
  550. desloppify_community-1.0/desloppify/intelligence/review/_context/patterns.py +70 -0
  551. desloppify_community-1.0/desloppify/intelligence/review/_context/structure.py +132 -0
  552. desloppify_community-1.0/desloppify/intelligence/review/_prepare/__init__.py +1 -0
  553. desloppify_community-1.0/desloppify/intelligence/review/_prepare/helpers.py +41 -0
  554. desloppify_community-1.0/desloppify/intelligence/review/_prepare/issue_history.py +233 -0
  555. desloppify_community-1.0/desloppify/intelligence/review/_prepare/remediation_engine.py +218 -0
  556. desloppify_community-1.0/desloppify/intelligence/review/context.py +166 -0
  557. desloppify_community-1.0/desloppify/intelligence/review/context_builder.py +179 -0
  558. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/__init__.py +59 -0
  559. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/analysis.py +53 -0
  560. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/axes.py +223 -0
  561. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/patterns_enums.py +158 -0
  562. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/patterns_types.py +193 -0
  563. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/patterns_wrappers.py +169 -0
  564. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/scan.py +283 -0
  565. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/__init__.py +1 -0
  566. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/accessors.py +33 -0
  567. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/complexity.py +85 -0
  568. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/consistency.py +67 -0
  569. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/dependency.py +93 -0
  570. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/error_state.py +71 -0
  571. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/organization.py +49 -0
  572. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/security.py +80 -0
  573. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/mechanical.py +192 -0
  574. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/orchestrator.py +149 -0
  575. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/readers.py +21 -0
  576. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/selection/__init__.py +67 -0
  577. desloppify_community-1.0/desloppify/intelligence/review/context_holistic/selection/contexts.py +286 -0
  578. desloppify_community-1.0/desloppify/intelligence/review/context_signals/__init__.py +1 -0
  579. desloppify_community-1.0/desloppify/intelligence/review/context_signals/ai.py +72 -0
  580. desloppify_community-1.0/desloppify/intelligence/review/context_signals/auth.py +325 -0
  581. desloppify_community-1.0/desloppify/intelligence/review/context_signals/migration.py +170 -0
  582. desloppify_community-1.0/desloppify/intelligence/review/dimensions/__init__.py +50 -0
  583. desloppify_community-1.0/desloppify/intelligence/review/dimensions/data.py +207 -0
  584. desloppify_community-1.0/desloppify/intelligence/review/dimensions/holistic.py +7 -0
  585. desloppify_community-1.0/desloppify/intelligence/review/dimensions/lang.py +62 -0
  586. desloppify_community-1.0/desloppify/intelligence/review/dimensions/metadata.py +133 -0
  587. desloppify_community-1.0/desloppify/intelligence/review/dimensions/metadata_legacy.py +19 -0
  588. desloppify_community-1.0/desloppify/intelligence/review/dimensions/selection.py +46 -0
  589. desloppify_community-1.0/desloppify/intelligence/review/dimensions/validation.py +219 -0
  590. desloppify_community-1.0/desloppify/intelligence/review/feedback_contract.py +45 -0
  591. desloppify_community-1.0/desloppify/intelligence/review/importing/__init__.py +1 -0
  592. desloppify_community-1.0/desloppify/intelligence/review/importing/assessments.py +264 -0
  593. desloppify_community-1.0/desloppify/intelligence/review/importing/cache.py +73 -0
  594. desloppify_community-1.0/desloppify/intelligence/review/importing/contracts_models.py +99 -0
  595. desloppify_community-1.0/desloppify/intelligence/review/importing/contracts_types.py +112 -0
  596. desloppify_community-1.0/desloppify/intelligence/review/importing/contracts_validation.py +134 -0
  597. desloppify_community-1.0/desloppify/intelligence/review/importing/holistic.py +208 -0
  598. desloppify_community-1.0/desloppify/intelligence/review/importing/holistic_cache.py +177 -0
  599. desloppify_community-1.0/desloppify/intelligence/review/importing/holistic_issue_flow.py +245 -0
  600. desloppify_community-1.0/desloppify/intelligence/review/importing/payload.py +129 -0
  601. desloppify_community-1.0/desloppify/intelligence/review/importing/per_file.py +222 -0
  602. desloppify_community-1.0/desloppify/intelligence/review/importing/resolution.py +40 -0
  603. desloppify_community-1.0/desloppify/intelligence/review/importing/state_helpers.py +18 -0
  604. desloppify_community-1.0/desloppify/intelligence/review/issue_merge.py +55 -0
  605. desloppify_community-1.0/desloppify/intelligence/review/personas.py +74 -0
  606. desloppify_community-1.0/desloppify/intelligence/review/policy.py +160 -0
  607. desloppify_community-1.0/desloppify/intelligence/review/prepare.py +262 -0
  608. desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_builders.py +209 -0
  609. desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_collectors.py +65 -0
  610. desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_collectors_quality.py +202 -0
  611. desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_collectors_structure.py +199 -0
  612. desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_core.py +129 -0
  613. desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_batches.py +136 -0
  614. desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_orchestration.py +268 -0
  615. desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_payload_parts.py +65 -0
  616. desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_scope.py +139 -0
  617. desloppify_community-1.0/desloppify/intelligence/review/remediation.py +37 -0
  618. desloppify_community-1.0/desloppify/intelligence/review/selection.py +225 -0
  619. desloppify_community-1.0/desloppify/intelligence/review/selection_cache.py +53 -0
  620. desloppify_community-1.0/desloppify/languages/__init__.py +73 -0
  621. desloppify_community-1.0/desloppify/languages/_framework/__init__.py +33 -0
  622. desloppify_community-1.0/desloppify/languages/_framework/base/__init__.py +1 -0
  623. desloppify_community-1.0/desloppify/languages/_framework/base/lang_config_runtime.py +117 -0
  624. desloppify_community-1.0/desloppify/languages/_framework/base/phase_builders.py +106 -0
  625. desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases.py +102 -0
  626. desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases_helpers.py +198 -0
  627. desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases_review.py +726 -0
  628. desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases_structural.py +231 -0
  629. desloppify_community-1.0/desloppify/languages/_framework/base/smell_contracts.py +123 -0
  630. desloppify_community-1.0/desloppify/languages/_framework/base/structural.py +83 -0
  631. desloppify_community-1.0/desloppify/languages/_framework/base/types.py +271 -0
  632. desloppify_community-1.0/desloppify/languages/_framework/base/types_shared.py +123 -0
  633. desloppify_community-1.0/desloppify/languages/_framework/commands/__init__.py +47 -0
  634. desloppify_community-1.0/desloppify/languages/_framework/commands/base.py +289 -0
  635. desloppify_community-1.0/desloppify/languages/_framework/commands/registry.py +261 -0
  636. desloppify_community-1.0/desloppify/languages/_framework/commands/scaffold.py +41 -0
  637. desloppify_community-1.0/desloppify/languages/_framework/contract_validation.py +132 -0
  638. desloppify_community-1.0/desloppify/languages/_framework/facade_common.py +70 -0
  639. desloppify_community-1.0/desloppify/languages/_framework/frameworks/__init__.py +41 -0
  640. desloppify_community-1.0/desloppify/languages/_framework/frameworks/detection.py +217 -0
  641. desloppify_community-1.0/desloppify/languages/_framework/frameworks/phases.py +169 -0
  642. desloppify_community-1.0/desloppify/languages/_framework/frameworks/registry.py +58 -0
  643. desloppify_community-1.0/desloppify/languages/_framework/frameworks/specs/__init__.py +5 -0
  644. desloppify_community-1.0/desloppify/languages/_framework/frameworks/specs/nextjs.py +557 -0
  645. desloppify_community-1.0/desloppify/languages/_framework/frameworks/types.py +87 -0
  646. desloppify_community-1.0/desloppify/languages/_framework/generic_parts/__init__.py +1 -0
  647. desloppify_community-1.0/desloppify/languages/_framework/generic_parts/parsers.py +338 -0
  648. desloppify_community-1.0/desloppify/languages/_framework/generic_parts/tool_factories.py +193 -0
  649. desloppify_community-1.0/desloppify/languages/_framework/generic_parts/tool_runner.py +196 -0
  650. desloppify_community-1.0/desloppify/languages/_framework/generic_parts/tool_spec.py +76 -0
  651. desloppify_community-1.0/desloppify/languages/_framework/generic_support/__init__.py +1 -0
  652. desloppify_community-1.0/desloppify/languages/_framework/generic_support/capabilities.py +102 -0
  653. desloppify_community-1.0/desloppify/languages/_framework/generic_support/core.py +182 -0
  654. desloppify_community-1.0/desloppify/languages/_framework/generic_support/registration.py +158 -0
  655. desloppify_community-1.0/desloppify/languages/_framework/generic_support/structural.py +201 -0
  656. desloppify_community-1.0/desloppify/languages/_framework/issue_factories.py +290 -0
  657. desloppify_community-1.0/desloppify/languages/_framework/node/__init__.py +3 -0
  658. desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/__init__.py +13 -0
  659. desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/nextjs/__init__.py +58 -0
  660. desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/nextjs/info.py +49 -0
  661. desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/nextjs/scanners.py +1209 -0
  662. desloppify_community-1.0/desloppify/languages/_framework/node/js_text.py +76 -0
  663. desloppify_community-1.0/desloppify/languages/_framework/policy.py +29 -0
  664. desloppify_community-1.0/desloppify/languages/_framework/registry/__init__.py +57 -0
  665. desloppify_community-1.0/desloppify/languages/_framework/registry/discovery.py +193 -0
  666. desloppify_community-1.0/desloppify/languages/_framework/registry/registration.py +64 -0
  667. desloppify_community-1.0/desloppify/languages/_framework/registry/resolution.py +137 -0
  668. desloppify_community-1.0/desloppify/languages/_framework/registry/state.py +135 -0
  669. desloppify_community-1.0/desloppify/languages/_framework/review_data/__init__.py +1 -0
  670. desloppify_community-1.0/desloppify/languages/_framework/review_data/context_schema.json +75 -0
  671. desloppify_community-1.0/desloppify/languages/_framework/review_data/dimensions.json +389 -0
  672. desloppify_community-1.0/desloppify/languages/_framework/runtime_support/__init__.py +1 -0
  673. desloppify_community-1.0/desloppify/languages/_framework/runtime_support/accessors.py +152 -0
  674. desloppify_community-1.0/desloppify/languages/_framework/runtime_support/runtime.py +208 -0
  675. desloppify_community-1.0/desloppify/languages/_framework/scaffold_move.py +34 -0
  676. desloppify_community-1.0/desloppify/languages/_framework/scope.py +7 -0
  677. desloppify_community-1.0/desloppify/languages/_framework/scoped_store.py +107 -0
  678. desloppify_community-1.0/desloppify/languages/_framework/structure_validation.py +32 -0
  679. desloppify_community-1.0/desloppify/languages/_framework/treesitter/__init__.py +169 -0
  680. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_compat_bridge.py +20 -0
  681. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_complexity_function_metrics.py +10 -0
  682. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_complexity_nesting.py +10 -0
  683. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_extractors.py +10 -0
  684. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_cache.py +10 -0
  685. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_graph.py +10 -0
  686. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_resolvers_backend.py +10 -0
  687. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_resolvers_functional.py +10 -0
  688. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_resolvers_scripts.py +10 -0
  689. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_normalize.py +10 -0
  690. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_smells.py +10 -0
  691. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs.py +10 -0
  692. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs_compiled.py +10 -0
  693. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs_functional.py +10 -0
  694. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs_scripting.py +10 -0
  695. desloppify_community-1.0/desloppify/languages/_framework/treesitter/_unused_imports.py +10 -0
  696. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/cohesion.py +144 -0
  697. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_callbacks.py +66 -0
  698. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_function_metrics.py +181 -0
  699. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_nesting.py +97 -0
  700. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_shared.py +45 -0
  701. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/extractors.py +246 -0
  702. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/smells.py +210 -0
  703. desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/unused_imports.py +515 -0
  704. desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/cache.py +102 -0
  705. desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/graph.py +115 -0
  706. desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/normalize.py +86 -0
  707. desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolver_cache.py +32 -0
  708. desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolvers_backend.py +189 -0
  709. desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolvers_functional.py +252 -0
  710. desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolvers_scripts.py +261 -0
  711. desloppify_community-1.0/desloppify/languages/_framework/treesitter/phases.py +180 -0
  712. desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/compiled.py +261 -0
  713. desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/compiled_native.py +94 -0
  714. desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/functional.py +158 -0
  715. desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/scripting.py +255 -0
  716. desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/specs.py +108 -0
  717. desloppify_community-1.0/desloppify/languages/_framework/treesitter/types.py +33 -0
  718. desloppify_community-1.0/desloppify/languages/bash/__init__.py +26 -0
  719. desloppify_community-1.0/desloppify/languages/clojure/__init__.py +27 -0
  720. desloppify_community-1.0/desloppify/languages/csharp/__init__.py +139 -0
  721. desloppify_community-1.0/desloppify/languages/csharp/_helpers.py +19 -0
  722. desloppify_community-1.0/desloppify/languages/csharp/_parse_helpers.py +170 -0
  723. desloppify_community-1.0/desloppify/languages/csharp/_zones.py +29 -0
  724. desloppify_community-1.0/desloppify/languages/csharp/commands.py +135 -0
  725. desloppify_community-1.0/desloppify/languages/csharp/deps/__init__.py +2 -0
  726. desloppify_community-1.0/desloppify/languages/csharp/deps/cli.py +85 -0
  727. desloppify_community-1.0/desloppify/languages/csharp/detectors/__init__.py +4 -0
  728. desloppify_community-1.0/desloppify/languages/csharp/detectors/deps.py +277 -0
  729. desloppify_community-1.0/desloppify/languages/csharp/detectors/deps_support_metadata.py +103 -0
  730. desloppify_community-1.0/desloppify/languages/csharp/detectors/deps_support_projects.py +171 -0
  731. desloppify_community-1.0/desloppify/languages/csharp/detectors/deps_support_render.py +113 -0
  732. desloppify_community-1.0/desloppify/languages/csharp/detectors/security.py +131 -0
  733. desloppify_community-1.0/desloppify/languages/csharp/extractors.py +175 -0
  734. desloppify_community-1.0/desloppify/languages/csharp/extractors_classes.py +166 -0
  735. desloppify_community-1.0/desloppify/languages/csharp/fixers/__init__.py +4 -0
  736. desloppify_community-1.0/desloppify/languages/csharp/move.py +45 -0
  737. desloppify_community-1.0/desloppify/languages/csharp/phases.py +195 -0
  738. desloppify_community-1.0/desloppify/languages/csharp/review.py +101 -0
  739. desloppify_community-1.0/desloppify/languages/csharp/review_data/__init__.py +1 -0
  740. desloppify_community-1.0/desloppify/languages/csharp/review_data/dimensions.override.json +22 -0
  741. desloppify_community-1.0/desloppify/languages/csharp/test_coverage.py +169 -0
  742. desloppify_community-1.0/desloppify/languages/csharp/tests/__init__.py +1 -0
  743. desloppify_community-1.0/desloppify/languages/csharp/tests/test_csharp_deps_cli.py +353 -0
  744. desloppify_community-1.0/desloppify/languages/csharp/tests/test_csharp_parse_helpers.py +221 -0
  745. desloppify_community-1.0/desloppify/languages/csharp/tests/test_smoke.py +2 -0
  746. desloppify_community-1.0/desloppify/languages/cxx/__init__.py +128 -0
  747. desloppify_community-1.0/desloppify/languages/cxx/_helpers.py +12 -0
  748. desloppify_community-1.0/desloppify/languages/cxx/_parse_helpers.py +55 -0
  749. desloppify_community-1.0/desloppify/languages/cxx/_zones.py +35 -0
  750. desloppify_community-1.0/desloppify/languages/cxx/commands.py +150 -0
  751. desloppify_community-1.0/desloppify/languages/cxx/detectors/__init__.py +2 -0
  752. desloppify_community-1.0/desloppify/languages/cxx/detectors/deps.py +207 -0
  753. desloppify_community-1.0/desloppify/languages/cxx/detectors/security.py +700 -0
  754. desloppify_community-1.0/desloppify/languages/cxx/extractors.py +146 -0
  755. desloppify_community-1.0/desloppify/languages/cxx/fixers/__init__.py +2 -0
  756. desloppify_community-1.0/desloppify/languages/cxx/move.py +63 -0
  757. desloppify_community-1.0/desloppify/languages/cxx/phases.py +134 -0
  758. desloppify_community-1.0/desloppify/languages/cxx/review.py +96 -0
  759. desloppify_community-1.0/desloppify/languages/cxx/review_data/__init__.py +2 -0
  760. desloppify_community-1.0/desloppify/languages/cxx/review_data/dimensions.override.json +1 -0
  761. desloppify_community-1.0/desloppify/languages/cxx/test_coverage.py +195 -0
  762. desloppify_community-1.0/desloppify/languages/cxx/tests/__init__.py +1 -0
  763. desloppify_community-1.0/desloppify/languages/cxx/tests/test_commands.py +20 -0
  764. desloppify_community-1.0/desloppify/languages/cxx/tests/test_compile_commands.py +78 -0
  765. desloppify_community-1.0/desloppify/languages/cxx/tests/test_coverage.py +123 -0
  766. desloppify_community-1.0/desloppify/languages/cxx/tests/test_cppcheck_phase.py +148 -0
  767. desloppify_community-1.0/desloppify/languages/cxx/tests/test_deps.py +27 -0
  768. desloppify_community-1.0/desloppify/languages/cxx/tests/test_end_to_end.py +44 -0
  769. desloppify_community-1.0/desloppify/languages/cxx/tests/test_extractors.py +63 -0
  770. desloppify_community-1.0/desloppify/languages/cxx/tests/test_init.py +46 -0
  771. desloppify_community-1.0/desloppify/languages/cxx/tests/test_move.py +16 -0
  772. desloppify_community-1.0/desloppify/languages/cxx/tests/test_review.py +55 -0
  773. desloppify_community-1.0/desloppify/languages/cxx/tests/test_security.py +613 -0
  774. desloppify_community-1.0/desloppify/languages/cxx/tests/test_structural.py +34 -0
  775. desloppify_community-1.0/desloppify/languages/dart/__init__.py +133 -0
  776. desloppify_community-1.0/desloppify/languages/dart/commands.py +66 -0
  777. desloppify_community-1.0/desloppify/languages/dart/detectors/__init__.py +0 -0
  778. desloppify_community-1.0/desloppify/languages/dart/detectors/deps.py +110 -0
  779. desloppify_community-1.0/desloppify/languages/dart/extractors.py +151 -0
  780. desloppify_community-1.0/desloppify/languages/dart/fixers/__init__.py +0 -0
  781. desloppify_community-1.0/desloppify/languages/dart/phases.py +62 -0
  782. desloppify_community-1.0/desloppify/languages/dart/pubspec.py +24 -0
  783. desloppify_community-1.0/desloppify/languages/dart/review.py +76 -0
  784. desloppify_community-1.0/desloppify/languages/dart/review_data/__init__.py +1 -0
  785. desloppify_community-1.0/desloppify/languages/dart/review_data/dimensions.override.json +1 -0
  786. desloppify_community-1.0/desloppify/languages/dart/test_coverage.py +150 -0
  787. desloppify_community-1.0/desloppify/languages/dart/tests/__init__.py +1 -0
  788. desloppify_community-1.0/desloppify/languages/dart/tests/test_extractors.py +23 -0
  789. desloppify_community-1.0/desloppify/languages/dart/tests/test_init.py +47 -0
  790. desloppify_community-1.0/desloppify/languages/elixir/__init__.py +38 -0
  791. desloppify_community-1.0/desloppify/languages/elixir/review_data/__init__.py +0 -0
  792. desloppify_community-1.0/desloppify/languages/erlang/__init__.py +27 -0
  793. desloppify_community-1.0/desloppify/languages/framework.py +122 -0
  794. desloppify_community-1.0/desloppify/languages/fsharp/__init__.py +27 -0
  795. desloppify_community-1.0/desloppify/languages/gdscript/__init__.py +126 -0
  796. desloppify_community-1.0/desloppify/languages/gdscript/commands.py +77 -0
  797. desloppify_community-1.0/desloppify/languages/gdscript/detectors/__init__.py +0 -0
  798. desloppify_community-1.0/desloppify/languages/gdscript/detectors/deps.py +83 -0
  799. desloppify_community-1.0/desloppify/languages/gdscript/extractors.py +110 -0
  800. desloppify_community-1.0/desloppify/languages/gdscript/fixers/__init__.py +0 -0
  801. desloppify_community-1.0/desloppify/languages/gdscript/patterns.py +12 -0
  802. desloppify_community-1.0/desloppify/languages/gdscript/phases.py +57 -0
  803. desloppify_community-1.0/desloppify/languages/gdscript/review.py +68 -0
  804. desloppify_community-1.0/desloppify/languages/gdscript/review_data/__init__.py +1 -0
  805. desloppify_community-1.0/desloppify/languages/gdscript/review_data/dimensions.override.json +1 -0
  806. desloppify_community-1.0/desloppify/languages/gdscript/test_coverage.py +95 -0
  807. desloppify_community-1.0/desloppify/languages/gdscript/tests/__init__.py +1 -0
  808. desloppify_community-1.0/desloppify/languages/gdscript/tests/test_init.py +47 -0
  809. desloppify_community-1.0/desloppify/languages/go/__init__.py +126 -0
  810. desloppify_community-1.0/desloppify/languages/go/_zones.py +16 -0
  811. desloppify_community-1.0/desloppify/languages/go/commands.py +65 -0
  812. desloppify_community-1.0/desloppify/languages/go/detectors/__init__.py +0 -0
  813. desloppify_community-1.0/desloppify/languages/go/detectors/deps.py +19 -0
  814. desloppify_community-1.0/desloppify/languages/go/extractors.py +280 -0
  815. desloppify_community-1.0/desloppify/languages/go/fixers/__init__.py +0 -0
  816. desloppify_community-1.0/desloppify/languages/go/move.py +22 -0
  817. desloppify_community-1.0/desloppify/languages/go/phases.py +69 -0
  818. desloppify_community-1.0/desloppify/languages/go/review.py +73 -0
  819. desloppify_community-1.0/desloppify/languages/go/review_data/__init__.py +1 -0
  820. desloppify_community-1.0/desloppify/languages/go/review_data/dimensions.override.json +1 -0
  821. desloppify_community-1.0/desloppify/languages/go/review_data/holistic_dimensions.override.json +1 -0
  822. desloppify_community-1.0/desloppify/languages/go/test_coverage.py +158 -0
  823. desloppify_community-1.0/desloppify/languages/go/tests/__init__.py +0 -0
  824. desloppify_community-1.0/desloppify/languages/go/tests/test_extractors.py +233 -0
  825. desloppify_community-1.0/desloppify/languages/go/tests/test_init.py +83 -0
  826. desloppify_community-1.0/desloppify/languages/haskell/__init__.py +28 -0
  827. desloppify_community-1.0/desloppify/languages/java/__init__.py +51 -0
  828. desloppify_community-1.0/desloppify/languages/javascript/__init__.py +38 -0
  829. desloppify_community-1.0/desloppify/languages/javascript/_zones.py +32 -0
  830. desloppify_community-1.0/desloppify/languages/javascript/test_coverage.py +308 -0
  831. desloppify_community-1.0/desloppify/languages/javascript/tests/__init__.py +0 -0
  832. desloppify_community-1.0/desloppify/languages/javascript/tests/test_init.py +113 -0
  833. desloppify_community-1.0/desloppify/languages/javascript/tests/test_js_nextjs_framework.py +83 -0
  834. desloppify_community-1.0/desloppify/languages/javascript/tests/test_test_coverage.py +207 -0
  835. desloppify_community-1.0/desloppify/languages/julia/__init__.py +29 -0
  836. desloppify_community-1.0/desloppify/languages/kotlin/__init__.py +28 -0
  837. desloppify_community-1.0/desloppify/languages/lua/__init__.py +26 -0
  838. desloppify_community-1.0/desloppify/languages/nim/__init__.py +27 -0
  839. desloppify_community-1.0/desloppify/languages/ocaml/__init__.py +27 -0
  840. desloppify_community-1.0/desloppify/languages/perl/__init__.py +26 -0
  841. desloppify_community-1.0/desloppify/languages/php/__init__.py +97 -0
  842. desloppify_community-1.0/desloppify/languages/php/test_coverage.py +329 -0
  843. desloppify_community-1.0/desloppify/languages/powershell/__init__.py +29 -0
  844. desloppify_community-1.0/desloppify/languages/python/__init__.py +170 -0
  845. desloppify_community-1.0/desloppify/languages/python/_helpers.py +37 -0
  846. desloppify_community-1.0/desloppify/languages/python/_security.py +69 -0
  847. desloppify_community-1.0/desloppify/languages/python/_zones.py +26 -0
  848. desloppify_community-1.0/desloppify/languages/python/commands.py +226 -0
  849. desloppify_community-1.0/desloppify/languages/python/detectors/__init__.py +0 -0
  850. desloppify_community-1.0/desloppify/languages/python/detectors/bandit_adapter.py +292 -0
  851. desloppify_community-1.0/desloppify/languages/python/detectors/complexity.py +108 -0
  852. desloppify_community-1.0/desloppify/languages/python/detectors/coupling_contracts.py +122 -0
  853. desloppify_community-1.0/desloppify/languages/python/detectors/deps.py +133 -0
  854. desloppify_community-1.0/desloppify/languages/python/detectors/deps_dynamic.py +52 -0
  855. desloppify_community-1.0/desloppify/languages/python/detectors/deps_resolution.py +149 -0
  856. desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/__init__.py +24 -0
  857. desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/flow.py +55 -0
  858. desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/schema.py +175 -0
  859. desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/shared.py +89 -0
  860. desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/visitor.py +273 -0
  861. desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/visitor_helpers.py +240 -0
  862. desloppify_community-1.0/desloppify/languages/python/detectors/facade.py +109 -0
  863. desloppify_community-1.0/desloppify/languages/python/detectors/import_linter_adapter.py +124 -0
  864. desloppify_community-1.0/desloppify/languages/python/detectors/mutable_state_ast.py +198 -0
  865. desloppify_community-1.0/desloppify/languages/python/detectors/mutable_state_scan.py +130 -0
  866. desloppify_community-1.0/desloppify/languages/python/detectors/private_imports.py +165 -0
  867. desloppify_community-1.0/desloppify/languages/python/detectors/responsibility_cohesion.py +179 -0
  868. desloppify_community-1.0/desloppify/languages/python/detectors/ruff_smells.py +155 -0
  869. desloppify_community-1.0/desloppify/languages/python/detectors/smells.py +193 -0
  870. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_dispatch.py +137 -0
  871. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_helpers.py +107 -0
  872. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_node_detectors_basic.py +138 -0
  873. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_node_detectors_complexity.py +108 -0
  874. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_node_detectors_nesting.py +160 -0
  875. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_source_detectors.py +247 -0
  876. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_context_callbacks.py +62 -0
  877. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_context_paths.py +96 -0
  878. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_quality_detectors.py +264 -0
  879. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_quality_detectors_types.py +153 -0
  880. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_safety_detectors.py +242 -0
  881. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_safety_detectors_runtime.py +208 -0
  882. desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_types.py +57 -0
  883. desloppify_community-1.0/desloppify/languages/python/detectors/smells_runtime.py +332 -0
  884. desloppify_community-1.0/desloppify/languages/python/detectors/uncalled.py +116 -0
  885. desloppify_community-1.0/desloppify/languages/python/detectors/unused.py +224 -0
  886. desloppify_community-1.0/desloppify/languages/python/detectors/unused_enums.py +111 -0
  887. desloppify_community-1.0/desloppify/languages/python/extractors.py +205 -0
  888. desloppify_community-1.0/desloppify/languages/python/extractors_classes.py +194 -0
  889. desloppify_community-1.0/desloppify/languages/python/extractors_shared.py +51 -0
  890. desloppify_community-1.0/desloppify/languages/python/fixers/__init__.py +4 -0
  891. desloppify_community-1.0/desloppify/languages/python/move.py +252 -0
  892. desloppify_community-1.0/desloppify/languages/python/phases.py +248 -0
  893. desloppify_community-1.0/desloppify/languages/python/phases_quality.py +151 -0
  894. desloppify_community-1.0/desloppify/languages/python/phases_runtime.py +221 -0
  895. desloppify_community-1.0/desloppify/languages/python/review.py +72 -0
  896. desloppify_community-1.0/desloppify/languages/python/review_data/__init__.py +1 -0
  897. desloppify_community-1.0/desloppify/languages/python/review_data/dimensions.override.json +21 -0
  898. desloppify_community-1.0/desloppify/languages/python/test_coverage.py +175 -0
  899. desloppify_community-1.0/desloppify/languages/python/tests/__init__.py +1 -0
  900. desloppify_community-1.0/desloppify/languages/python/tests/conftest.py +31 -0
  901. desloppify_community-1.0/desloppify/languages/python/tests/test_bandit_adapter.py +99 -0
  902. desloppify_community-1.0/desloppify/languages/python/tests/test_py_commands.py +49 -0
  903. desloppify_community-1.0/desloppify/languages/python/tests/test_py_complexity.py +187 -0
  904. desloppify_community-1.0/desloppify/languages/python/tests/test_py_coupling_contracts.py +66 -0
  905. desloppify_community-1.0/desloppify/languages/python/tests/test_py_deps.py +436 -0
  906. desloppify_community-1.0/desloppify/languages/python/tests/test_py_dict_keys.py +381 -0
  907. desloppify_community-1.0/desloppify/languages/python/tests/test_py_extractors.py +390 -0
  908. desloppify_community-1.0/desloppify/languages/python/tests/test_py_facade.py +160 -0
  909. desloppify_community-1.0/desloppify/languages/python/tests/test_py_init.py +171 -0
  910. desloppify_community-1.0/desloppify/languages/python/tests/test_py_move.py +108 -0
  911. desloppify_community-1.0/desloppify/languages/python/tests/test_py_mutable_state.py +252 -0
  912. desloppify_community-1.0/desloppify/languages/python/tests/test_py_private_imports.py +54 -0
  913. desloppify_community-1.0/desloppify/languages/python/tests/test_py_responsibility_cohesion.py +82 -0
  914. desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells.py +7 -0
  915. desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_ast.py +590 -0
  916. desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_ast_perf.py +32 -0
  917. desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_crossfile.py +200 -0
  918. desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_regex.py +168 -0
  919. desloppify_community-1.0/desloppify/languages/python/tests/test_py_uncalled.py +338 -0
  920. desloppify_community-1.0/desloppify/languages/python/tests/test_py_unused.py +238 -0
  921. desloppify_community-1.0/desloppify/languages/r/__init__.py +56 -0
  922. desloppify_community-1.0/desloppify/languages/r/detectors/__init__.py +1 -0
  923. desloppify_community-1.0/desloppify/languages/r/detectors/smells.py +344 -0
  924. desloppify_community-1.0/desloppify/languages/r/detectors/smells_catalog.py +70 -0
  925. desloppify_community-1.0/desloppify/languages/r/phases_smells.py +25 -0
  926. desloppify_community-1.0/desloppify/languages/r/review_data/__init__.py +1 -0
  927. desloppify_community-1.0/desloppify/languages/r/test_coverage.py +158 -0
  928. desloppify_community-1.0/desloppify/languages/r/tests/__init__.py +0 -0
  929. desloppify_community-1.0/desloppify/languages/r/tests/test_r_air.py +94 -0
  930. desloppify_community-1.0/desloppify/languages/r/tests/test_r_smells.py +215 -0
  931. desloppify_community-1.0/desloppify/languages/r/tests/test_r_test_coverage.py +163 -0
  932. desloppify_community-1.0/desloppify/languages/ruby/__init__.py +54 -0
  933. desloppify_community-1.0/desloppify/languages/ruby/tests/__init__.py +0 -0
  934. desloppify_community-1.0/desloppify/languages/ruby/tests/test_init.py +116 -0
  935. desloppify_community-1.0/desloppify/languages/rust/__init__.py +158 -0
  936. desloppify_community-1.0/desloppify/languages/rust/_fixers.py +155 -0
  937. desloppify_community-1.0/desloppify/languages/rust/commands.py +286 -0
  938. desloppify_community-1.0/desloppify/languages/rust/detectors/__init__.py +35 -0
  939. desloppify_community-1.0/desloppify/languages/rust/detectors/_shared.py +829 -0
  940. desloppify_community-1.0/desloppify/languages/rust/detectors/api.py +305 -0
  941. desloppify_community-1.0/desloppify/languages/rust/detectors/cargo_policy.py +166 -0
  942. desloppify_community-1.0/desloppify/languages/rust/detectors/deps.py +71 -0
  943. desloppify_community-1.0/desloppify/languages/rust/detectors/safety.py +175 -0
  944. desloppify_community-1.0/desloppify/languages/rust/detectors/smells.py +289 -0
  945. desloppify_community-1.0/desloppify/languages/rust/detectors/smells_catalog.py +88 -0
  946. desloppify_community-1.0/desloppify/languages/rust/extractors.py +204 -0
  947. desloppify_community-1.0/desloppify/languages/rust/fixers/__init__.py +1 -0
  948. desloppify_community-1.0/desloppify/languages/rust/move.py +45 -0
  949. desloppify_community-1.0/desloppify/languages/rust/phases.py +310 -0
  950. desloppify_community-1.0/desloppify/languages/rust/phases_smells.py +29 -0
  951. desloppify_community-1.0/desloppify/languages/rust/review.py +101 -0
  952. desloppify_community-1.0/desloppify/languages/rust/review_data/__init__.py +1 -0
  953. desloppify_community-1.0/desloppify/languages/rust/review_data/dimensions.override.json +1 -0
  954. desloppify_community-1.0/desloppify/languages/rust/support.py +1036 -0
  955. desloppify_community-1.0/desloppify/languages/rust/test_coverage.py +160 -0
  956. desloppify_community-1.0/desloppify/languages/rust/tests/__init__.py +1 -0
  957. desloppify_community-1.0/desloppify/languages/rust/tests/test_commands.py +38 -0
  958. desloppify_community-1.0/desloppify/languages/rust/tests/test_coverage.py +77 -0
  959. desloppify_community-1.0/desloppify/languages/rust/tests/test_custom.py +1148 -0
  960. desloppify_community-1.0/desloppify/languages/rust/tests/test_deps.py +161 -0
  961. desloppify_community-1.0/desloppify/languages/rust/tests/test_extractors.py +116 -0
  962. desloppify_community-1.0/desloppify/languages/rust/tests/test_init.py +125 -0
  963. desloppify_community-1.0/desloppify/languages/rust/tests/test_phases.py +38 -0
  964. desloppify_community-1.0/desloppify/languages/rust/tests/test_review.py +58 -0
  965. desloppify_community-1.0/desloppify/languages/rust/tests/test_shared_direct.py +155 -0
  966. desloppify_community-1.0/desloppify/languages/rust/tests/test_smells.py +420 -0
  967. desloppify_community-1.0/desloppify/languages/rust/tests/test_support.py +112 -0
  968. desloppify_community-1.0/desloppify/languages/rust/tests/test_test_coverage.py +167 -0
  969. desloppify_community-1.0/desloppify/languages/rust/tests/test_tools.py +839 -0
  970. desloppify_community-1.0/desloppify/languages/rust/tools.py +768 -0
  971. desloppify_community-1.0/desloppify/languages/scala/__init__.py +28 -0
  972. desloppify_community-1.0/desloppify/languages/scss/__init__.py +25 -0
  973. desloppify_community-1.0/desloppify/languages/swift/__init__.py +27 -0
  974. desloppify_community-1.0/desloppify/languages/typescript/__init__.py +180 -0
  975. desloppify_community-1.0/desloppify/languages/typescript/_fixers.py +118 -0
  976. desloppify_community-1.0/desloppify/languages/typescript/_zones.py +30 -0
  977. desloppify_community-1.0/desloppify/languages/typescript/commands.py +346 -0
  978. desloppify_community-1.0/desloppify/languages/typescript/detectors/__init__.py +1 -0
  979. desloppify_community-1.0/desloppify/languages/typescript/detectors/concerns.py +104 -0
  980. desloppify_community-1.0/desloppify/languages/typescript/detectors/contracts.py +20 -0
  981. desloppify_community-1.0/desloppify/languages/typescript/detectors/deprecated.py +231 -0
  982. desloppify_community-1.0/desloppify/languages/typescript/detectors/deps/__init__.py +230 -0
  983. desloppify_community-1.0/desloppify/languages/typescript/detectors/deps/resolve.py +198 -0
  984. desloppify_community-1.0/desloppify/languages/typescript/detectors/deps/runtime.py +56 -0
  985. desloppify_community-1.0/desloppify/languages/typescript/detectors/exports.py +47 -0
  986. desloppify_community-1.0/desloppify/languages/typescript/detectors/facade.py +57 -0
  987. desloppify_community-1.0/desloppify/languages/typescript/detectors/io.py +45 -0
  988. desloppify_community-1.0/desloppify/languages/typescript/detectors/knip_adapter.py +132 -0
  989. desloppify_community-1.0/desloppify/languages/typescript/detectors/logs.py +136 -0
  990. desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/__init__.py +1 -0
  991. desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/analysis.py +151 -0
  992. desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/catalog.py +52 -0
  993. desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/cli.py +100 -0
  994. desloppify_community-1.0/desloppify/languages/typescript/detectors/props.py +113 -0
  995. desloppify_community-1.0/desloppify/languages/typescript/detectors/react/__init__.py +1 -0
  996. desloppify_community-1.0/desloppify/languages/typescript/detectors/react/cli.py +54 -0
  997. desloppify_community-1.0/desloppify/languages/typescript/detectors/react/context.py +60 -0
  998. desloppify_community-1.0/desloppify/languages/typescript/detectors/react/hook_bloat.py +219 -0
  999. desloppify_community-1.0/desloppify/languages/typescript/detectors/react/state_sync.py +101 -0
  1000. desloppify_community-1.0/desloppify/languages/typescript/detectors/security/__init__.py +0 -0
  1001. desloppify_community-1.0/desloppify/languages/typescript/detectors/security/detector.py +93 -0
  1002. desloppify_community-1.0/desloppify/languages/typescript/detectors/security/entries.py +33 -0
  1003. desloppify_community-1.0/desloppify/languages/typescript/detectors/security/file_checks.py +190 -0
  1004. desloppify_community-1.0/desloppify/languages/typescript/detectors/security/line_checks.py +141 -0
  1005. desloppify_community-1.0/desloppify/languages/typescript/detectors/security/patterns.py +46 -0
  1006. desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/__init__.py +126 -0
  1007. desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/assets.py +103 -0
  1008. desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/catalog.py +190 -0
  1009. desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/detector_core.py +166 -0
  1010. desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/detector_flow.py +230 -0
  1011. desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/detector_safety.py +141 -0
  1012. desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/helpers.py +275 -0
  1013. desloppify_community-1.0/desloppify/languages/typescript/detectors/unused.py +250 -0
  1014. desloppify_community-1.0/desloppify/languages/typescript/detectors/unused_fallback.py +172 -0
  1015. desloppify_community-1.0/desloppify/languages/typescript/extractors.py +54 -0
  1016. desloppify_community-1.0/desloppify/languages/typescript/extractors_components.py +183 -0
  1017. desloppify_community-1.0/desloppify/languages/typescript/extractors_functions.py +217 -0
  1018. desloppify_community-1.0/desloppify/languages/typescript/fixers/__init__.py +37 -0
  1019. desloppify_community-1.0/desloppify/languages/typescript/fixers/fixer_io.py +95 -0
  1020. desloppify_community-1.0/desloppify/languages/typescript/fixers/if_chain.py +68 -0
  1021. desloppify_community-1.0/desloppify/languages/typescript/fixers/import_rewrite.py +257 -0
  1022. desloppify_community-1.0/desloppify/languages/typescript/fixers/imports.py +37 -0
  1023. desloppify_community-1.0/desloppify/languages/typescript/fixers/logs.py +77 -0
  1024. desloppify_community-1.0/desloppify/languages/typescript/fixers/logs_cleanup.py +258 -0
  1025. desloppify_community-1.0/desloppify/languages/typescript/fixers/logs_context.py +146 -0
  1026. desloppify_community-1.0/desloppify/languages/typescript/fixers/params.py +104 -0
  1027. desloppify_community-1.0/desloppify/languages/typescript/fixers/syntax_scan.py +153 -0
  1028. desloppify_community-1.0/desloppify/languages/typescript/fixers/useeffect.py +45 -0
  1029. desloppify_community-1.0/desloppify/languages/typescript/fixers/vars.py +214 -0
  1030. desloppify_community-1.0/desloppify/languages/typescript/move.py +157 -0
  1031. desloppify_community-1.0/desloppify/languages/typescript/phases_basic.py +108 -0
  1032. desloppify_community-1.0/desloppify/languages/typescript/phases_config.py +82 -0
  1033. desloppify_community-1.0/desloppify/languages/typescript/phases_coupling.py +333 -0
  1034. desloppify_community-1.0/desloppify/languages/typescript/phases_smells.py +117 -0
  1035. desloppify_community-1.0/desloppify/languages/typescript/phases_structural.py +221 -0
  1036. desloppify_community-1.0/desloppify/languages/typescript/plugin_contract.py +39 -0
  1037. desloppify_community-1.0/desloppify/languages/typescript/review.py +97 -0
  1038. desloppify_community-1.0/desloppify/languages/typescript/review_data/__init__.py +1 -0
  1039. desloppify_community-1.0/desloppify/languages/typescript/review_data/dimensions.override.json +22 -0
  1040. desloppify_community-1.0/desloppify/languages/typescript/syntax/scanner.py +34 -0
  1041. desloppify_community-1.0/desloppify/languages/typescript/test_coverage.py +323 -0
  1042. desloppify_community-1.0/desloppify/languages/typescript/tests/__init__.py +1 -0
  1043. desloppify_community-1.0/desloppify/languages/typescript/tests/smells/test_ts_smell_helpers.py +605 -0
  1044. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_commands.py +60 -0
  1045. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_concerns.py +206 -0
  1046. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_deprecated.py +223 -0
  1047. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_deps.py +713 -0
  1048. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_detector_contracts.py +65 -0
  1049. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_exports_detector.py +150 -0
  1050. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_extractors.py +328 -0
  1051. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_facade.py +99 -0
  1052. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_fixers.py +848 -0
  1053. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_fixers_if_chain_and_useeffect.py +130 -0
  1054. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_init.py +90 -0
  1055. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_logs.py +140 -0
  1056. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_move.py +43 -0
  1057. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_nextjs_framework.py +229 -0
  1058. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_patterns.py +216 -0
  1059. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_phases.py +183 -0
  1060. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_props.py +146 -0
  1061. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_react.py +371 -0
  1062. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_smells.py +510 -0
  1063. desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_unused.py +280 -0
  1064. desloppify_community-1.0/desloppify/languages/zig/__init__.py +27 -0
  1065. desloppify_community-1.0/desloppify/state.py +7 -0
  1066. desloppify_community-1.0/desloppify/state_compat.py +126 -0
  1067. desloppify_community-1.0/desloppify/state_io.py +61 -0
  1068. desloppify_community-1.0/desloppify/state_score_snapshot.py +44 -0
  1069. desloppify_community-1.0/desloppify/state_scoring.py +35 -0
  1070. desloppify_community-1.0/desloppify_community.egg-info/PKG-INFO +193 -0
  1071. desloppify_community-1.0/desloppify_community.egg-info/SOURCES.txt +1075 -0
  1072. desloppify_community-1.0/desloppify_community.egg-info/dependency_links.txt +1 -0
  1073. desloppify_community-1.0/desloppify_community.egg-info/entry_points.txt +2 -0
  1074. desloppify_community-1.0/desloppify_community.egg-info/requires.txt +24 -0
  1075. desloppify_community-1.0/desloppify_community.egg-info/top_level.txt +1 -0
  1076. desloppify_community-1.0/pyproject.toml +117 -0
  1077. desloppify_community-1.0/setup.cfg +4 -0
@@ -0,0 +1,163 @@
1
+ Open Source Native License (OSNL)
2
+ Version 0.2 - March 24, 2026
3
+
4
+ Copyright (c) 2025-2026 Peter O'Malley
5
+
6
+ TL;DR (not legally binding — see full text below)
7
+
8
+ - Free for anyone to use internally, including commercial companies. Use it
9
+ on personal projects, in research, or as a tool inside your business —
10
+ no fee, no registration.
11
+ - Free to ship inside a product you sell IF your company is itself open
12
+ source (primary business assets under an OSI-approved license or OSNL).
13
+ - Paid tiers only apply if you redistribute the Program in a product/service
14
+ AND your company is not open source — see Section 2(c) for the tiers.
15
+
16
+ Preamble
17
+
18
+ The Open Source Native License (OSNL) allows anyone — individuals and
19
+ organizations alike — to use this software for their own internal purposes.
20
+ Commercialization (distributing it as part of a product or service, or offering
21
+ it to third parties) is unrestricted for entities who open source their primary
22
+ business assets. Non-open source entities require a separate commercial license
23
+ to commercialize it.
24
+
25
+ This approach balances the benefits of open-source development with the
26
+ realities of commercial enterprise — keeping software a shared, community-driven
27
+ resource while enabling businesses to thrive in an open-source ecosystem.
28
+
29
+ 1. Definitions
30
+
31
+ - "This License" refers to Version 0.2 of the Open Source Native License.
32
+ - "The Program" refers to the software distributed under this License.
33
+ - "You" refers to the individual or entity utilizing or contributing to the
34
+ Program.
35
+ - "Primary Business Assets" are the core resources, capabilities, and
36
+ technology that constitute the main value proposition and operational basis
37
+ of a business.
38
+ - "The Licensor" refers to Peter O'Malley.
39
+
40
+ 2. Grant of License
41
+
42
+ Subject to the terms and conditions of this License, you are hereby granted a
43
+ free, perpetual, worldwide, non-exclusive, no-charge, royalty-free license to
44
+ use, reproduce, modify, distribute, and sublicense the Program, subject to
45
+ the termination provisions in Section 6 and provided that any sublicense is
46
+ granted under the terms of this License.
47
+
48
+ a) Using the Program — Always Free (Anyone, Including Companies)
49
+
50
+ Any person or organization may use, modify, and contribute to the Program
51
+ for their own internal purposes without restriction. This includes personal
52
+ projects, education, research, internal tooling, and using the Program to
53
+ improve your own codebase — regardless of whether you are an individual, a
54
+ nonprofit, or a commercial entity. No additional license is required for
55
+ internal use.
56
+
57
+ b) Shipping the Program in Your Product — Free for Open Source Companies
58
+
59
+ If you distribute the Program or a derivative as part of a product or
60
+ service, or otherwise offer it to third parties, you may do so freely and
61
+ at no cost provided that your primary business assets — including core
62
+ technologies, software, and platforms — are available under an OSI-approved
63
+ open source license or under this License (OSNL). This condition applies
64
+ only to primary business assets, not to ancillary or peripheral services.
65
+
66
+ c) Shipping the Program in Your Product — Paid Tiers for Non-Open Source Companies
67
+
68
+ If you wish to distribute the Program or a derivative as part of a product
69
+ or service, or otherwise offer it to third parties, and you do not meet the
70
+ open source condition in section (b), the following terms apply:
71
+
72
+ - If your organization has raised less than $1,000,000 USD in total funding
73
+ and has less than $1,000,000 USD in annual revenue, no license fee or
74
+ registration is required. You may commercialize the Program freely.
75
+
76
+ - If your organization has raised $1,000,000 USD or more in total funding,
77
+ or has $1,000,000 USD or more in annual revenue, the license fee is
78
+ $1,000 USD per month.
79
+
80
+ - If your organization has $10,000,000 USD or more in annual revenue, the
81
+ license fee is $5,000 USD per month.
82
+
83
+ - If your organization has $100,000,000 USD or more in annual revenue, the
84
+ license fee is $10,000 USD per month.
85
+
86
+ Your tier is determined by your organization's current status. If your
87
+ revenue or funding crosses a tier threshold, the new fee applies from the
88
+ following calendar month.
89
+
90
+ "Total funding raised" includes equity, debt, and convertible instruments
91
+ but excludes revenue. For paid tiers, contact the Licensor at
92
+ peter@omalley.io to arrange payment.
93
+
94
+ 3. Redistribution
95
+
96
+ You may reproduce and distribute copies of the Program or derivative works
97
+ thereof in any medium, with or without modifications, provided that you meet
98
+ the following conditions:
99
+
100
+ - You must give any recipients of the Program a copy of this License.
101
+ - You must ensure that any modified files carry prominent notices stating that
102
+ you changed the files.
103
+ - Any distribution of the Program or derivative works must comply with the
104
+ applicable use category in Section 2.
105
+
106
+ 4. Patent Grant
107
+
108
+ Each contributor to the Program hereby grants you a perpetual, worldwide,
109
+ non-exclusive, no-charge, royalty-free patent license to make, have made, use,
110
+ offer to sell, sell, import, and otherwise transfer the Program, where such
111
+ license applies only to those patent claims licensable by the contributor that
112
+ are necessarily infringed by their contribution(s) alone or in combination with
113
+ the Program.
114
+
115
+ If you institute patent litigation against any entity (including a cross-claim
116
+ or counterclaim in a lawsuit) alleging that the Program constitutes patent
117
+ infringement, then any patent licenses granted to you under this License for
118
+ the Program shall terminate as of the date such litigation is filed.
119
+
120
+ 5. Disclaimer of Warranty
121
+
122
+ THE PROGRAM IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
123
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
124
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
125
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
126
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
127
+ OUT OF OR IN CONNECTION WITH THE USE OF THE PROGRAM OR OTHER DEALINGS IN THE
128
+ PROGRAM.
129
+
130
+ 6. Termination
131
+
132
+ Your rights under this License will terminate automatically if you fail to
133
+ comply with any of its terms. However, if you become compliant, then your
134
+ rights under this License are reinstated:
135
+
136
+ - Provisionally, unless and until the Licensor explicitly and finally
137
+ terminates your rights, and
138
+ - Permanently, if the Licensor does not notify you of the non-compliance
139
+ within 60 days after you have become compliant.
140
+
141
+ Moreover, your rights under this License are reinstated permanently if the
142
+ Licensor notifies you of the non-compliance and it is the first time you have
143
+ received notice of non-compliance with this License, and you cure the
144
+ non-compliance within 30 days after receipt of the notice.
145
+
146
+ Termination of your rights under this section does not terminate the licenses
147
+ of parties who have received copies or rights from you under this License,
148
+ provided those parties remain in full compliance.
149
+
150
+ 7. Version Upgrade
151
+
152
+ You may choose to follow the terms of this version of the OSNL or any later
153
+ version as published by the Licensor. No one other than the Licensor has the
154
+ right to modify or publish new versions of this License. Each version will be
155
+ given a distinguishing version number.
156
+
157
+ 8. General
158
+
159
+ This License does not grant permission to use the trade names, trademarks,
160
+ service marks, or product names of the Licensor, except as required for
161
+ reasonable and customary use in describing the origin of the Program.
162
+
163
+ For commercial licensing inquiries: peter@omalley.io
@@ -0,0 +1,193 @@
1
+ Metadata-Version: 2.4
2
+ Name: desloppify-community
3
+ Version: 1.0
4
+ Summary: Multi-language codebase health scanner and technical debt tracker
5
+ Author-email: Peter O'Malley <pom@banodoco.ai>
6
+ License: OSNL-0.2
7
+ Project-URL: Homepage, https://github.com/vladbutacu/desloppify-community
8
+ Project-URL: Repository, https://github.com/vladbutacu/desloppify-community
9
+ Project-URL: Issues, https://github.com/vladbutacu/desloppify-community/issues
10
+ Keywords: code-quality,technical-debt,linter,static-analysis,refactoring
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Software Development :: Quality Assurance
19
+ Classifier: Topic :: Software Development :: Testing
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Provides-Extra: treesitter
25
+ Requires-Dist: tree-sitter>=0.21; extra == "treesitter"
26
+ Requires-Dist: tree-sitter-language-pack<1.8,>=0.3; extra == "treesitter"
27
+ Provides-Extra: csharp-xml
28
+ Requires-Dist: defusedxml>=0.7.0; extra == "csharp-xml"
29
+ Provides-Extra: python-security
30
+ Requires-Dist: bandit>=1.7.8; extra == "python-security"
31
+ Provides-Extra: scorecard
32
+ Requires-Dist: Pillow>=9.0.0; extra == "scorecard"
33
+ Provides-Extra: plan-yaml
34
+ Requires-Dist: PyYAML>=6.0; extra == "plan-yaml"
35
+ Provides-Extra: full
36
+ Requires-Dist: defusedxml>=0.7.0; extra == "full"
37
+ Requires-Dist: tree-sitter>=0.21; extra == "full"
38
+ Requires-Dist: tree-sitter-language-pack<1.8,>=0.3; extra == "full"
39
+ Requires-Dist: bandit>=1.7.8; extra == "full"
40
+ Requires-Dist: Pillow>=9.0.0; extra == "full"
41
+ Requires-Dist: PyYAML>=6.0; extra == "full"
42
+ Dynamic: license-file
43
+
44
+ # Desloppify - an agent harness to make your codebase 🤌
45
+
46
+ [![PyPI version](https://img.shields.io/pypi/v/desloppify-community)](https://pypi.org/project/desloppify-community/) ![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue)
47
+
48
+ This is the community-maintained continuation of [peteromallet/desloppify](https://github.com/peteromallet/desloppify), kept alive here as [vladbutacu/desloppify-community](https://github.com/vladbutacu/desloppify-community) while the upstream backlog of pull requests and issues is being worked through.
49
+
50
+ Desloppify gives your AI coding agent the tools to identify, understand, and systematically improve codebase quality. It combines mechanical detection (dead code, duplication, complexity) with subjective LLM review (naming, abstractions, module boundaries), then works through a prioritized fix loop. State persists across scans so it chips away over multiple sessions, and the scoring is designed to resist gaming.
51
+
52
+ <img src="assets/explained.png" width="100%">
53
+
54
+ The score gives your agent a north-star, and the tooling helps it plan, execute, and resolve issues until it hits your target — with a lot of tricks to keep it on track. A score above 98 should correlate with a codebase a seasoned engineer would call beautiful.
55
+
56
+ That score generates a scorecard badge for your GitHub profile or README:
57
+
58
+ <img src="assets/scorecard.png" width="100%">
59
+
60
+ Currently supports 29 languages — full plugin depth for TypeScript, Python, C#, C++, Dart, GDScript, Go, and Rust; generic linter + tree-sitter support for Ruby, Java, Kotlin, and 18 more. For C++ projects, `compile_commands.json` is the primary analysis path and `Makefile` repositories fall back to best-effort local include scanning.
61
+
62
+ ## For your agent's consideration...
63
+
64
+ Paste this prompt into your agent:
65
+
66
+ ```
67
+ I want you to improve the quality of this codebase. To do this, install and run desloppify.
68
+ Run ALL of the following (requires Python 3.11+):
69
+
70
+ pip install --upgrade "desloppify-community[full]"
71
+ desloppify update-skill claude # installs the full workflow guide — pick yours: claude, cursor, codex, copilot, droid, windsurf, gemini, rovodev
72
+
73
+ Add .desloppify/ to your .gitignore — it contains local state that shouldn't be committed.
74
+
75
+ Before scanning, check for directories that should be excluded (vendor, build output,
76
+ generated code, worktrees, etc.) and exclude obvious ones with `desloppify exclude <path>`.
77
+ Share any questionable candidates with me before excluding.
78
+
79
+ desloppify scan --path .
80
+ desloppify next
81
+
82
+ --path is the directory to scan (use "." for the whole project, or "src/" etc).
83
+
84
+ Your goal is to get the strict score as high as possible. The scoring resists gaming — the
85
+ only way to improve it is to actually make the code better.
86
+
87
+ THE LOOP: run `next`. It is the execution queue from the living plan, not the whole backlog.
88
+ It tells you what to fix now, which file, and the resolve command to run when done.
89
+ Fix it, resolve it, run `next` again. Over and over. This is your main job.
90
+
91
+ Use `desloppify backlog` only when you need to inspect broader open work that is not currently
92
+ driving execution.
93
+
94
+ Don't be lazy. Large refactors and small detailed fixes — do both with equal energy. No task
95
+ is too big or too small. Fix things properly, not minimally.
96
+
97
+ Use `plan` / `plan queue` to reorder priorities or cluster related issues. Rescan periodically.
98
+ The scan output includes agent instructions — follow them, don't substitute your own analysis.
99
+ ```
100
+
101
+ ## Monorepos and multi-project directories
102
+
103
+ If your workspace contains multiple programs (e.g., a frontend and backend in sibling directories), scan each one separately with `--path`:
104
+
105
+ ```bash
106
+ desloppify --lang typescript scan --path ./frontend
107
+ desloppify --lang python scan --path ./backend
108
+ ```
109
+
110
+ Scanning the parent directory that contains both will mix state and path context across unrelated codebases, producing unreliable results. Each `--path` target should be a single coherent project. Desloppify maintains separate state per language, so you can scan a TypeScript frontend and a Python backend from the same workspace without conflict — just target them individually.
111
+
112
+ ## CI
113
+
114
+ Desloppify works best in CI as a full-codebase health gate, not as a diff-only linter. Run the CI profile against the same coherent project path you scan locally:
115
+
116
+ ```bash
117
+ desloppify scan --path . --profile ci --no-badge
118
+ desloppify status --json
119
+ ```
120
+
121
+ `--profile ci` skips slow and subjective phases and bypasses the mid-cycle scan queue gate so a CI job can collect a fresh mechanical snapshot. Use `status --json` if you want a script to read the strict/objective scores and enforce your own threshold.
122
+
123
+ On constrained Java CI runners, the PMD detector defaults to `--threads 0` to avoid worker-thread fanout. Set `DESLOPPIFY_PMD_THREADS` to a PMD thread value such as `2` or `0.5C` if you want more throughput.
124
+
125
+ Minimal GitHub Actions example:
126
+
127
+ ```yaml
128
+ name: desloppify
129
+
130
+ on:
131
+ pull_request:
132
+ push:
133
+ branches: [main]
134
+
135
+ jobs:
136
+ health:
137
+ runs-on: ubuntu-latest
138
+ steps:
139
+ - uses: actions/checkout@v4
140
+ - uses: actions/setup-python@v5
141
+ with:
142
+ python-version: "3.11"
143
+ - run: pip install --upgrade "desloppify-community[full]"
144
+ - run: desloppify scan --path . --profile ci --no-badge
145
+ - run: desloppify status --json
146
+ ```
147
+
148
+ For monorepos, run one job or matrix entry per project path instead of scanning the workspace root. True incremental or diff-only scanning is not the supported model yet; compare full-codebase results across runs or enforce a project-level threshold.
149
+
150
+ ## How it works
151
+
152
+ ```
153
+ scan ──→ score ──→ review ──→ triage ──→ execute ──→ rescan
154
+ │ │ │ │ │ │
155
+ │ dimensions │ prioritize fix it verify
156
+ │ scored LLM reviews & cluster & resolve improvements
157
+ │ subjective the queue
158
+ │ quality
159
+ detectors find
160
+ mechanical issues
161
+ (dead code, smells,
162
+ test gaps, etc.)
163
+ ```
164
+
165
+ **Scan** runs mechanical detectors across your codebase — dead code, duplication, complexity, test coverage gaps, naming issues, and more. Each issue is scored by dimension (File health, Code quality, Test health, etc.).
166
+
167
+ **Review** uses an LLM to assess subjective quality dimensions — naming, abstractions, error handling patterns, module boundaries. These score alongside the mechanical dimensions.
168
+
169
+ **Triage** is where prioritization happens. The agent (or you) observes the findings, reflects on patterns, organizes issues into clusters, and enriches them with implementation detail. This produces an ordered execution queue — only items explicitly queued appear in `next`. Before triage, all mechanical issues are visible in the queue sorted by impact, which can be noisy.
170
+
171
+ **Execute** is the fix loop: `next` → fix → `resolve` → `next`. Items come from the triaged queue. Autofix handles what it can; the rest needs manual or agent work.
172
+
173
+ **Rescan** verifies improvements, catches cascading effects, and feeds the next cycle.
174
+
175
+ State persists in `.desloppify/` so progress carries across sessions. The scoring resists gaming — wontfix items widen the gap between lenient and strict scores, and re-reviewing dimensions can lower scores if the reviewer finds new issues.
176
+
177
+ ## From Vibe Coding to Vibe Engineering
178
+
179
+ Vibe coding gets things built fast. But the codebases it produces tend to rot in ways that are hard to see and harder to fix — not just the mechanical stuff like dead imports, but the structural kind. Abstractions that made sense at first stop making sense. Naming drifts. Error handling is done three different ways. The codebase works, but working in it gets worse over time.
180
+
181
+ LLMs are actually good at spotting this now, if you ask them the right questions. That's the core bet here — that an agent with the right framework can hold a codebase to a real standard, the kind that used to require a senior engineer paying close attention over months.
182
+
183
+ So we're trying to define what "good" looks like as a score that's actually worth optimizing. Not a lint score you game to 100 by suppressing warnings. Something where improving the number means the codebase genuinely got better. That's hard, and we're not done, but the anti-gaming stuff matters to us a lot — it's the difference between a useful signal and a vanity metric.
184
+
185
+ The hope is that anyone can use this to build something a seasoned engineer would look at and respect. That's the bar we're aiming for.
186
+
187
+ <img src="assets/engineering.png" width="100%">
188
+
189
+ ---
190
+
191
+ Issues, improvements, and PRs are hugely appreciated — [github.com/vladbutacu/desloppify-community](https://github.com/vladbutacu/desloppify-community).
192
+
193
+ Desloppify is free for any individual — whether working independently or at a company — to use for their own work. It is also free for open source companies to use in any capacity, including commercial. Non-open source companies who wish to commercialize it should refer to the [LICENSE](LICENSE) for transparent pricing details.
@@ -0,0 +1,150 @@
1
+ # Desloppify - an agent harness to make your codebase 🤌
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/desloppify-community)](https://pypi.org/project/desloppify-community/) ![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue)
4
+
5
+ This is the community-maintained continuation of [peteromallet/desloppify](https://github.com/peteromallet/desloppify), kept alive here as [vladbutacu/desloppify-community](https://github.com/vladbutacu/desloppify-community) while the upstream backlog of pull requests and issues is being worked through.
6
+
7
+ Desloppify gives your AI coding agent the tools to identify, understand, and systematically improve codebase quality. It combines mechanical detection (dead code, duplication, complexity) with subjective LLM review (naming, abstractions, module boundaries), then works through a prioritized fix loop. State persists across scans so it chips away over multiple sessions, and the scoring is designed to resist gaming.
8
+
9
+ <img src="assets/explained.png" width="100%">
10
+
11
+ The score gives your agent a north-star, and the tooling helps it plan, execute, and resolve issues until it hits your target — with a lot of tricks to keep it on track. A score above 98 should correlate with a codebase a seasoned engineer would call beautiful.
12
+
13
+ That score generates a scorecard badge for your GitHub profile or README:
14
+
15
+ <img src="assets/scorecard.png" width="100%">
16
+
17
+ Currently supports 29 languages — full plugin depth for TypeScript, Python, C#, C++, Dart, GDScript, Go, and Rust; generic linter + tree-sitter support for Ruby, Java, Kotlin, and 18 more. For C++ projects, `compile_commands.json` is the primary analysis path and `Makefile` repositories fall back to best-effort local include scanning.
18
+
19
+ ## For your agent's consideration...
20
+
21
+ Paste this prompt into your agent:
22
+
23
+ ```
24
+ I want you to improve the quality of this codebase. To do this, install and run desloppify.
25
+ Run ALL of the following (requires Python 3.11+):
26
+
27
+ pip install --upgrade "desloppify-community[full]"
28
+ desloppify update-skill claude # installs the full workflow guide — pick yours: claude, cursor, codex, copilot, droid, windsurf, gemini, rovodev
29
+
30
+ Add .desloppify/ to your .gitignore — it contains local state that shouldn't be committed.
31
+
32
+ Before scanning, check for directories that should be excluded (vendor, build output,
33
+ generated code, worktrees, etc.) and exclude obvious ones with `desloppify exclude <path>`.
34
+ Share any questionable candidates with me before excluding.
35
+
36
+ desloppify scan --path .
37
+ desloppify next
38
+
39
+ --path is the directory to scan (use "." for the whole project, or "src/" etc).
40
+
41
+ Your goal is to get the strict score as high as possible. The scoring resists gaming — the
42
+ only way to improve it is to actually make the code better.
43
+
44
+ THE LOOP: run `next`. It is the execution queue from the living plan, not the whole backlog.
45
+ It tells you what to fix now, which file, and the resolve command to run when done.
46
+ Fix it, resolve it, run `next` again. Over and over. This is your main job.
47
+
48
+ Use `desloppify backlog` only when you need to inspect broader open work that is not currently
49
+ driving execution.
50
+
51
+ Don't be lazy. Large refactors and small detailed fixes — do both with equal energy. No task
52
+ is too big or too small. Fix things properly, not minimally.
53
+
54
+ Use `plan` / `plan queue` to reorder priorities or cluster related issues. Rescan periodically.
55
+ The scan output includes agent instructions — follow them, don't substitute your own analysis.
56
+ ```
57
+
58
+ ## Monorepos and multi-project directories
59
+
60
+ If your workspace contains multiple programs (e.g., a frontend and backend in sibling directories), scan each one separately with `--path`:
61
+
62
+ ```bash
63
+ desloppify --lang typescript scan --path ./frontend
64
+ desloppify --lang python scan --path ./backend
65
+ ```
66
+
67
+ Scanning the parent directory that contains both will mix state and path context across unrelated codebases, producing unreliable results. Each `--path` target should be a single coherent project. Desloppify maintains separate state per language, so you can scan a TypeScript frontend and a Python backend from the same workspace without conflict — just target them individually.
68
+
69
+ ## CI
70
+
71
+ Desloppify works best in CI as a full-codebase health gate, not as a diff-only linter. Run the CI profile against the same coherent project path you scan locally:
72
+
73
+ ```bash
74
+ desloppify scan --path . --profile ci --no-badge
75
+ desloppify status --json
76
+ ```
77
+
78
+ `--profile ci` skips slow and subjective phases and bypasses the mid-cycle scan queue gate so a CI job can collect a fresh mechanical snapshot. Use `status --json` if you want a script to read the strict/objective scores and enforce your own threshold.
79
+
80
+ On constrained Java CI runners, the PMD detector defaults to `--threads 0` to avoid worker-thread fanout. Set `DESLOPPIFY_PMD_THREADS` to a PMD thread value such as `2` or `0.5C` if you want more throughput.
81
+
82
+ Minimal GitHub Actions example:
83
+
84
+ ```yaml
85
+ name: desloppify
86
+
87
+ on:
88
+ pull_request:
89
+ push:
90
+ branches: [main]
91
+
92
+ jobs:
93
+ health:
94
+ runs-on: ubuntu-latest
95
+ steps:
96
+ - uses: actions/checkout@v4
97
+ - uses: actions/setup-python@v5
98
+ with:
99
+ python-version: "3.11"
100
+ - run: pip install --upgrade "desloppify-community[full]"
101
+ - run: desloppify scan --path . --profile ci --no-badge
102
+ - run: desloppify status --json
103
+ ```
104
+
105
+ For monorepos, run one job or matrix entry per project path instead of scanning the workspace root. True incremental or diff-only scanning is not the supported model yet; compare full-codebase results across runs or enforce a project-level threshold.
106
+
107
+ ## How it works
108
+
109
+ ```
110
+ scan ──→ score ──→ review ──→ triage ──→ execute ──→ rescan
111
+ │ │ │ │ │ │
112
+ │ dimensions │ prioritize fix it verify
113
+ │ scored LLM reviews & cluster & resolve improvements
114
+ │ subjective the queue
115
+ │ quality
116
+ detectors find
117
+ mechanical issues
118
+ (dead code, smells,
119
+ test gaps, etc.)
120
+ ```
121
+
122
+ **Scan** runs mechanical detectors across your codebase — dead code, duplication, complexity, test coverage gaps, naming issues, and more. Each issue is scored by dimension (File health, Code quality, Test health, etc.).
123
+
124
+ **Review** uses an LLM to assess subjective quality dimensions — naming, abstractions, error handling patterns, module boundaries. These score alongside the mechanical dimensions.
125
+
126
+ **Triage** is where prioritization happens. The agent (or you) observes the findings, reflects on patterns, organizes issues into clusters, and enriches them with implementation detail. This produces an ordered execution queue — only items explicitly queued appear in `next`. Before triage, all mechanical issues are visible in the queue sorted by impact, which can be noisy.
127
+
128
+ **Execute** is the fix loop: `next` → fix → `resolve` → `next`. Items come from the triaged queue. Autofix handles what it can; the rest needs manual or agent work.
129
+
130
+ **Rescan** verifies improvements, catches cascading effects, and feeds the next cycle.
131
+
132
+ State persists in `.desloppify/` so progress carries across sessions. The scoring resists gaming — wontfix items widen the gap between lenient and strict scores, and re-reviewing dimensions can lower scores if the reviewer finds new issues.
133
+
134
+ ## From Vibe Coding to Vibe Engineering
135
+
136
+ Vibe coding gets things built fast. But the codebases it produces tend to rot in ways that are hard to see and harder to fix — not just the mechanical stuff like dead imports, but the structural kind. Abstractions that made sense at first stop making sense. Naming drifts. Error handling is done three different ways. The codebase works, but working in it gets worse over time.
137
+
138
+ LLMs are actually good at spotting this now, if you ask them the right questions. That's the core bet here — that an agent with the right framework can hold a codebase to a real standard, the kind that used to require a senior engineer paying close attention over months.
139
+
140
+ So we're trying to define what "good" looks like as a score that's actually worth optimizing. Not a lint score you game to 100 by suppressing warnings. Something where improving the number means the codebase genuinely got better. That's hard, and we're not done, but the anti-gaming stuff matters to us a lot — it's the difference between a useful signal and a vanity metric.
141
+
142
+ The hope is that anyone can use this to build something a seasoned engineer would look at and respect. That's the bar we're aiming for.
143
+
144
+ <img src="assets/engineering.png" width="100%">
145
+
146
+ ---
147
+
148
+ Issues, improvements, and PRs are hugely appreciated — [github.com/vladbutacu/desloppify-community](https://github.com/vladbutacu/desloppify-community).
149
+
150
+ Desloppify is free for any individual — whether working independently or at a company — to use for their own work. It is also free for open source companies to use in any capacity, including commercial. Non-open source companies who wish to commercialize it should refer to the [LICENSE](LICENSE) for transparent pricing details.
@@ -0,0 +1,3 @@
1
+ """Desloppify — Automated cruft detection + LLM-ready analysis."""
2
+
3
+ from __future__ import annotations
@@ -0,0 +1,5 @@
1
+ """Allow running as: python -m desloppify"""
2
+
3
+ from desloppify.cli import main
4
+
5
+ main()
@@ -0,0 +1 @@
1
+ """Application-layer packages: CLI, commands, and output surfaces."""
@@ -0,0 +1,2 @@
1
+ """CLI parser support modules."""
2
+