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.
- desloppify_community-1.0/LICENSE +163 -0
- desloppify_community-1.0/PKG-INFO +193 -0
- desloppify_community-1.0/README.md +150 -0
- desloppify_community-1.0/desloppify/__init__.py +3 -0
- desloppify_community-1.0/desloppify/__main__.py +5 -0
- desloppify_community-1.0/desloppify/app/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/cli_support/__init__.py +2 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser.py +156 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups.py +359 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin.py +213 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review.py +40 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_batch.py +128 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_core.py +74 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_external.py +46 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_admin_review_options_trust_post.py +54 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl.py +99 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_annotations.py +140 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_cluster.py +126 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_queue_reorder.py +79 -0
- desloppify_community-1.0/desloppify/app/cli_support/parser_groups_plan_impl_sections_triage_commit_scan.py +202 -0
- desloppify_community-1.0/desloppify/app/commands/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/commands/autofix/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/autofix/apply_flow.py +191 -0
- desloppify_community-1.0/desloppify/app/commands/autofix/apply_retro.py +169 -0
- desloppify_community-1.0/desloppify/app/commands/autofix/cmd.py +61 -0
- desloppify_community-1.0/desloppify/app/commands/autofix/fixer_selection.py +41 -0
- desloppify_community-1.0/desloppify/app/commands/autofix/preview.py +48 -0
- desloppify_community-1.0/desloppify/app/commands/backlog/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/backlog/cmd.py +49 -0
- desloppify_community-1.0/desloppify/app/commands/config.py +90 -0
- desloppify_community-1.0/desloppify/app/commands/detect.py +124 -0
- desloppify_community-1.0/desloppify/app/commands/dev.py +221 -0
- desloppify_community-1.0/desloppify/app/commands/dev_scaffold_templates.py +290 -0
- desloppify_community-1.0/desloppify/app/commands/directives.py +169 -0
- desloppify_community-1.0/desloppify/app/commands/exclude.py +115 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/attestation.py +113 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/by_language.py +74 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/command_runtime.py +40 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/display.py +5 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/dynamic_loaders.py +52 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/guardrails.py +203 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/issue_id_display.py +15 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/lang.py +142 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/query.py +103 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/queue_progress.py +369 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/queue_progress_render.py +110 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/rendering.py +117 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/runtime_options.py +68 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/score_update.py +78 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/state.py +77 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/state_persistence.py +28 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/subjective.py +61 -0
- desloppify_community-1.0/desloppify/app/commands/helpers/transition_messages.py +189 -0
- desloppify_community-1.0/desloppify/app/commands/langs/__init__.py +7 -0
- desloppify_community-1.0/desloppify/app/commands/langs/cmd.py +79 -0
- desloppify_community-1.0/desloppify/app/commands/move/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/move/apply.py +125 -0
- desloppify_community-1.0/desloppify/app/commands/move/cmd.py +82 -0
- desloppify_community-1.0/desloppify/app/commands/move/directory.py +92 -0
- desloppify_community-1.0/desloppify/app/commands/move/language.py +102 -0
- desloppify_community-1.0/desloppify/app/commands/move/planning.py +179 -0
- desloppify_community-1.0/desloppify/app/commands/move/reporting.py +116 -0
- desloppify_community-1.0/desloppify/app/commands/next/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/next/cmd.py +67 -0
- desloppify_community-1.0/desloppify/app/commands/next/flow_helpers.py +61 -0
- desloppify_community-1.0/desloppify/app/commands/next/options.py +39 -0
- desloppify_community-1.0/desloppify/app/commands/next/output.py +262 -0
- desloppify_community-1.0/desloppify/app/commands/next/queue_flow.py +558 -0
- desloppify_community-1.0/desloppify/app/commands/next/render.py +381 -0
- desloppify_community-1.0/desloppify/app/commands/next/render_nudges.py +294 -0
- desloppify_community-1.0/desloppify/app/commands/next/render_scoring.py +218 -0
- desloppify_community-1.0/desloppify/app/commands/next/render_support.py +313 -0
- desloppify_community-1.0/desloppify/app/commands/next/render_workflow.py +162 -0
- desloppify_community-1.0/desloppify/app/commands/next/subjective.py +41 -0
- desloppify_community-1.0/desloppify/app/commands/plan/__init__.py +21 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/__init__.py +5 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/dispatch.py +256 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/ops_display.py +335 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/ops_manage.py +283 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/ops_reorder.py +264 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/steps.py +44 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/update.py +55 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cluster/update_flow.py +458 -0
- desloppify_community-1.0/desloppify/app/commands/plan/cmd.py +247 -0
- desloppify_community-1.0/desloppify/app/commands/plan/commit_log/__init__.py +5 -0
- desloppify_community-1.0/desloppify/app/commands/plan/commit_log/dispatch.py +246 -0
- desloppify_community-1.0/desloppify/app/commands/plan/override/__init__.py +29 -0
- desloppify_community-1.0/desloppify/app/commands/plan/override/io.py +107 -0
- desloppify_community-1.0/desloppify/app/commands/plan/override/misc.py +271 -0
- desloppify_community-1.0/desloppify/app/commands/plan/override/resolve_cmd.py +115 -0
- desloppify_community-1.0/desloppify/app/commands/plan/override/resolve_helpers.py +121 -0
- desloppify_community-1.0/desloppify/app/commands/plan/override/resolve_workflow.py +491 -0
- desloppify_community-1.0/desloppify/app/commands/plan/override/skip.py +458 -0
- desloppify_community-1.0/desloppify/app/commands/plan/policy_cmd.py +88 -0
- desloppify_community-1.0/desloppify/app/commands/plan/queue_render.py +293 -0
- desloppify_community-1.0/desloppify/app/commands/plan/reorder_handlers.py +136 -0
- desloppify_community-1.0/desloppify/app/commands/plan/repair_state.py +79 -0
- desloppify_community-1.0/desloppify/app/commands/plan/shared/__init__.py +6 -0
- desloppify_community-1.0/desloppify/app/commands/plan/shared/cluster_membership.py +7 -0
- desloppify_community-1.0/desloppify/app/commands/plan/shared/patterns.py +139 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/__init__.py +18 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/command.py +24 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/completion_flow.py +276 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/__init__.py +8 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/basic.py +362 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/enrich.py +270 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/organize.py +198 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/router.py +45 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/shared.py +110 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/confirmations/strategize.py +112 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/display/__init__.py +33 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/display/dashboard.py +325 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/display/layout.py +351 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/display/primitives.py +61 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/display/progress.py +81 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/helpers.py +39 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/lifecycle.py +147 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/observe_batches.py +116 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/plan_state_access.py +83 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/review_coverage.py +128 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/codex_runner.py +104 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_claude.py +75 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_observe.py +169 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_parallel.py +65 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline.py +457 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline_completion.py +187 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline_context.py +73 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_pipeline_execution.py +768 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_codex_sense.py +447 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/orchestrator_common.py +29 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/rovodev_pipeline.py +48 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/rovodev_runner.py +80 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts.py +542 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_instruction_blocks.py +585 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_instruction_shared.py +227 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_observe.py +103 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_sense.py +443 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_strategist.py +98 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_prompts_validation.py +86 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_runner_override.py +59 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/runner/stage_validation.py +437 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/services.py +85 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stage_queue.py +97 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/__init__.py +55 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/commands.py +48 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/completion.py +368 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/enrich.py +349 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/evidence_parsing.py +616 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/flow_helpers.py +23 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/helpers.py +194 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/observe.py +208 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/organize.py +284 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/records.py +273 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/reflect.py +326 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/rendering.py +71 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/sense_check.py +257 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/stages/strategize.py +307 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/__init__.py +8 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/completion_policy.py +330 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/completion_stages.py +208 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/core.py +225 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/enrich_checks.py +267 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/enrich_quality.py +219 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/organize_policy.py +328 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/reflect_accounting.py +504 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/validation/stage_policy.py +222 -0
- desloppify_community-1.0/desloppify/app/commands/plan/triage/workflow.py +213 -0
- desloppify_community-1.0/desloppify/app/commands/registry.py +66 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/apply.py +95 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/cmd.py +196 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/living_plan.py +210 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/messages.py +115 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/plan_load.py +121 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/queue_guard.py +191 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/render.py +260 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/render_support.py +77 -0
- desloppify_community-1.0/desloppify/app/commands/resolve/selection.py +119 -0
- desloppify_community-1.0/desloppify/app/commands/review/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/review/assessment_integrity.py +63 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/core_merge_support.py +241 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/core_models.py +123 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/core_normalize.py +699 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/core_parse.py +59 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/execution.py +75 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/execution_dry_run.py +82 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/execution_phases.py +632 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/execution_progress.py +262 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/execution_results.py +278 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/execution_summary.py +59 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/merge.py +258 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/orchestrator.py +617 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/prompt_template.py +172 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/scope.py +288 -0
- desloppify_community-1.0/desloppify/app/commands/review/batch/scoring.py +109 -0
- desloppify_community-1.0/desloppify/app/commands/review/batches_runtime.py +262 -0
- desloppify_community-1.0/desloppify/app/commands/review/cmd.py +245 -0
- desloppify_community-1.0/desloppify/app/commands/review/coordinator.py +202 -0
- desloppify_community-1.0/desloppify/app/commands/review/external.py +600 -0
- desloppify_community-1.0/desloppify/app/commands/review/helpers.py +11 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/cmd.py +435 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/flags.py +149 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/helpers.py +64 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/output.py +359 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/parse.py +467 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/plan_sync.py +569 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/policy.py +341 -0
- desloppify_community-1.0/desloppify/app/commands/review/importing/results.py +102 -0
- desloppify_community-1.0/desloppify/app/commands/review/merge.py +299 -0
- desloppify_community-1.0/desloppify/app/commands/review/packet/__init__.py +5 -0
- desloppify_community-1.0/desloppify/app/commands/review/packet/build.py +285 -0
- desloppify_community-1.0/desloppify/app/commands/review/packet/policy.py +28 -0
- desloppify_community-1.0/desloppify/app/commands/review/preflight.py +277 -0
- desloppify_community-1.0/desloppify/app/commands/review/prepare.py +141 -0
- desloppify_community-1.0/desloppify/app/commands/review/prompt_sections.py +643 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_failures.py +383 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_opencode.py +237 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_packets.py +197 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/__init__.py +173 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/execution.py +345 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/progress.py +158 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/serial.py +73 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_parallel/types.py +72 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/attempt_success.py +153 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/attempts.py +535 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/io.py +309 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_process_impl/types.py +96 -0
- desloppify_community-1.0/desloppify/app/commands/review/runner_rovodev.py +337 -0
- desloppify_community-1.0/desloppify/app/commands/review/runtime/__init__.py +0 -0
- desloppify_community-1.0/desloppify/app/commands/review/runtime/policy.py +88 -0
- desloppify_community-1.0/desloppify/app/commands/review/runtime/setup.py +67 -0
- desloppify_community-1.0/desloppify/app/commands/review/runtime_paths.py +86 -0
- desloppify_community-1.0/desloppify/app/commands/review/state_payloads.py +69 -0
- desloppify_community-1.0/desloppify/app/commands/runner/__init__.py +3 -0
- desloppify_community-1.0/desloppify/app/commands/runner/codex_batch.py +275 -0
- desloppify_community-1.0/desloppify/app/commands/runner/run_logs.py +24 -0
- desloppify_community-1.0/desloppify/app/commands/scan/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/scan/artifacts.py +210 -0
- desloppify_community-1.0/desloppify/app/commands/scan/cmd.py +228 -0
- desloppify_community-1.0/desloppify/app/commands/scan/contracts.py +53 -0
- desloppify_community-1.0/desloppify/app/commands/scan/coverage.py +162 -0
- desloppify_community-1.0/desloppify/app/commands/scan/helpers.py +202 -0
- desloppify_community-1.0/desloppify/app/commands/scan/orchestrator.py +75 -0
- desloppify_community-1.0/desloppify/app/commands/scan/plan_nudge.py +46 -0
- desloppify_community-1.0/desloppify/app/commands/scan/plan_reconcile.py +495 -0
- desloppify_community-1.0/desloppify/app/commands/scan/preflight.py +164 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/__init__.py +11 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/agent_context.py +384 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/dimensions.py +238 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/integrity_report.py +313 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/presentation.py +418 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/subjective.py +540 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/summary.py +373 -0
- desloppify_community-1.0/desloppify/app/commands/scan/reporting/text.py +62 -0
- desloppify_community-1.0/desloppify/app/commands/scan/wontfix.py +203 -0
- desloppify_community-1.0/desloppify/app/commands/scan/workflow.py +558 -0
- desloppify_community-1.0/desloppify/app/commands/setup/__init__.py +7 -0
- desloppify_community-1.0/desloppify/app/commands/setup/cmd.py +157 -0
- desloppify_community-1.0/desloppify/app/commands/show/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/show/cmd.py +223 -0
- desloppify_community-1.0/desloppify/app/commands/show/concerns_view.py +34 -0
- desloppify_community-1.0/desloppify/app/commands/show/dimension_views.py +176 -0
- desloppify_community-1.0/desloppify/app/commands/show/formatting.py +85 -0
- desloppify_community-1.0/desloppify/app/commands/show/payload.py +72 -0
- desloppify_community-1.0/desloppify/app/commands/show/render.py +292 -0
- desloppify_community-1.0/desloppify/app/commands/show/scope.py +296 -0
- desloppify_community-1.0/desloppify/app/commands/status/__init__.py +14 -0
- desloppify_community-1.0/desloppify/app/commands/status/cmd.py +147 -0
- desloppify_community-1.0/desloppify/app/commands/status/flow.py +262 -0
- desloppify_community-1.0/desloppify/app/commands/status/render.py +367 -0
- desloppify_community-1.0/desloppify/app/commands/status/render_dimensions.py +149 -0
- desloppify_community-1.0/desloppify/app/commands/status/render_io.py +189 -0
- desloppify_community-1.0/desloppify/app/commands/status/render_structural.py +91 -0
- desloppify_community-1.0/desloppify/app/commands/status/sparkline.py +95 -0
- desloppify_community-1.0/desloppify/app/commands/status/strict_target.py +52 -0
- desloppify_community-1.0/desloppify/app/commands/status/summary.py +139 -0
- desloppify_community-1.0/desloppify/app/commands/suppress.py +119 -0
- desloppify_community-1.0/desloppify/app/commands/update_skill/__init__.py +82 -0
- desloppify_community-1.0/desloppify/app/commands/update_skill/cmd.py +260 -0
- desloppify_community-1.0/desloppify/app/commands/viz.py +61 -0
- desloppify_community-1.0/desloppify/app/commands/zone.py +154 -0
- desloppify_community-1.0/desloppify/app/output/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/output/_viz_cmd_context.py +33 -0
- desloppify_community-1.0/desloppify/app/output/_viz_template.html +274 -0
- desloppify_community-1.0/desloppify/app/output/scorecard.py +200 -0
- desloppify_community-1.0/desloppify/app/output/scorecard_parts/__init__.py +1 -0
- desloppify_community-1.0/desloppify/app/output/scorecard_parts/draw.py +127 -0
- desloppify_community-1.0/desloppify/app/output/scorecard_parts/left_panel.py +221 -0
- desloppify_community-1.0/desloppify/app/output/scorecard_parts/left_panel_primitives.py +135 -0
- desloppify_community-1.0/desloppify/app/output/scorecard_parts/meta.py +94 -0
- desloppify_community-1.0/desloppify/app/output/scorecard_parts/ornaments.py +57 -0
- desloppify_community-1.0/desloppify/app/output/scorecard_parts/theme.py +152 -0
- desloppify_community-1.0/desloppify/app/output/tree_text.py +131 -0
- desloppify_community-1.0/desloppify/app/output/visualize.py +166 -0
- desloppify_community-1.0/desloppify/app/output/visualize_data.py +220 -0
- desloppify_community-1.0/desloppify/app/skill_docs.py +196 -0
- desloppify_community-1.0/desloppify/base/__init__.py +7 -0
- desloppify_community-1.0/desloppify/base/coercions.py +82 -0
- desloppify_community-1.0/desloppify/base/config/__init__.py +338 -0
- desloppify_community-1.0/desloppify/base/config/migration.py +118 -0
- desloppify_community-1.0/desloppify/base/config/schema.py +193 -0
- desloppify_community-1.0/desloppify/base/discovery/__init__.py +1 -0
- desloppify_community-1.0/desloppify/base/discovery/file_paths.py +130 -0
- desloppify_community-1.0/desloppify/base/discovery/paths.py +160 -0
- desloppify_community-1.0/desloppify/base/discovery/source.py +339 -0
- desloppify_community-1.0/desloppify/base/enums.py +90 -0
- desloppify_community-1.0/desloppify/base/exception_sets.py +48 -0
- desloppify_community-1.0/desloppify/base/git_context.py +90 -0
- desloppify_community-1.0/desloppify/base/optional_deps.py +22 -0
- desloppify_community-1.0/desloppify/base/output/__init__.py +1 -0
- desloppify_community-1.0/desloppify/base/output/contract.py +18 -0
- desloppify_community-1.0/desloppify/base/output/fallbacks.py +60 -0
- desloppify_community-1.0/desloppify/base/output/issues.py +214 -0
- desloppify_community-1.0/desloppify/base/output/terminal.py +105 -0
- desloppify_community-1.0/desloppify/base/output/user_message.py +28 -0
- desloppify_community-1.0/desloppify/base/registry/__init__.py +208 -0
- desloppify_community-1.0/desloppify/base/registry/catalog_entries.py +511 -0
- desloppify_community-1.0/desloppify/base/registry/catalog_models.py +74 -0
- desloppify_community-1.0/desloppify/base/runtime_state.py +153 -0
- desloppify_community-1.0/desloppify/base/scoring_constants.py +18 -0
- desloppify_community-1.0/desloppify/base/search/__init__.py +2 -0
- desloppify_community-1.0/desloppify/base/search/grep.py +133 -0
- desloppify_community-1.0/desloppify/base/search/query.py +268 -0
- desloppify_community-1.0/desloppify/base/search/query_paths.py +25 -0
- desloppify_community-1.0/desloppify/base/signal_patterns.py +48 -0
- desloppify_community-1.0/desloppify/base/subjective_dimension_catalog.py +85 -0
- desloppify_community-1.0/desloppify/base/subjective_dimensions.py +214 -0
- desloppify_community-1.0/desloppify/base/subjective_dimensions_constants.py +96 -0
- desloppify_community-1.0/desloppify/base/subjective_dimensions_merge.py +114 -0
- desloppify_community-1.0/desloppify/base/subjective_dimensions_providers.py +73 -0
- desloppify_community-1.0/desloppify/base/text/__init__.py +2 -0
- desloppify_community-1.0/desloppify/base/text_utils.py +125 -0
- desloppify_community-1.0/desloppify/base/tooling.py +89 -0
- desloppify_community-1.0/desloppify/cli.py +294 -0
- desloppify_community-1.0/desloppify/conftest.py +20 -0
- desloppify_community-1.0/desloppify/data/__init__.py +0 -0
- desloppify_community-1.0/desloppify/data/global/AMP.md +6 -0
- desloppify_community-1.0/desloppify/data/global/CLAUDE.md +41 -0
- desloppify_community-1.0/desloppify/data/global/CODEX.md +30 -0
- desloppify_community-1.0/desloppify/data/global/COPILOT.md +32 -0
- desloppify_community-1.0/desloppify/data/global/CURSOR.md +27 -0
- desloppify_community-1.0/desloppify/data/global/DROID.md +39 -0
- desloppify_community-1.0/desloppify/data/global/GEMINI.md +46 -0
- desloppify_community-1.0/desloppify/data/global/HERMES.md +65 -0
- desloppify_community-1.0/desloppify/data/global/OPENCODE.md +35 -0
- desloppify_community-1.0/desloppify/data/global/QWEN.md +20 -0
- desloppify_community-1.0/desloppify/data/global/ROVODEV.md +147 -0
- desloppify_community-1.0/desloppify/data/global/SKILL.md +298 -0
- desloppify_community-1.0/desloppify/data/global/WINDSURF.md +22 -0
- desloppify_community-1.0/desloppify/data/global/__init__.py +0 -0
- desloppify_community-1.0/desloppify/data/global/scoring.md +101 -0
- desloppify_community-1.0/desloppify/engine/__init__.py +1 -0
- desloppify_community-1.0/desloppify/engine/_concerns/constants.py +25 -0
- desloppify_community-1.0/desloppify/engine/_concerns/generators.py +242 -0
- desloppify_community-1.0/desloppify/engine/_concerns/signals.py +96 -0
- desloppify_community-1.0/desloppify/engine/_concerns/state.py +30 -0
- desloppify_community-1.0/desloppify/engine/_concerns/text.py +203 -0
- desloppify_community-1.0/desloppify/engine/_concerns/types.py +41 -0
- desloppify_community-1.0/desloppify/engine/_concerns/utils.py +36 -0
- desloppify_community-1.0/desloppify/engine/_plan/__init__.py +21 -0
- desloppify_community-1.0/desloppify/engine/_plan/annotations.py +53 -0
- desloppify_community-1.0/desloppify/engine/_plan/auto_cluster.py +255 -0
- desloppify_community-1.0/desloppify/engine/_plan/auto_cluster_sync.py +251 -0
- desloppify_community-1.0/desloppify/engine/_plan/auto_cluster_sync_issue.py +268 -0
- desloppify_community-1.0/desloppify/engine/_plan/cluster_membership.py +30 -0
- desloppify_community-1.0/desloppify/engine/_plan/cluster_semantics.py +206 -0
- desloppify_community-1.0/desloppify/engine/_plan/cluster_strategy.py +141 -0
- desloppify_community-1.0/desloppify/engine/_plan/commit_tracking.py +274 -0
- desloppify_community-1.0/desloppify/engine/_plan/constants.py +213 -0
- desloppify_community-1.0/desloppify/engine/_plan/operations/cluster.py +264 -0
- desloppify_community-1.0/desloppify/engine/_plan/operations/lifecycle.py +110 -0
- desloppify_community-1.0/desloppify/engine/_plan/operations/meta.py +123 -0
- desloppify_community-1.0/desloppify/engine/_plan/operations/queue.py +138 -0
- desloppify_community-1.0/desloppify/engine/_plan/operations/skip.py +187 -0
- desloppify_community-1.0/desloppify/engine/_plan/persistence.py +225 -0
- desloppify_community-1.0/desloppify/engine/_plan/policy/__init__.py +5 -0
- desloppify_community-1.0/desloppify/engine/_plan/policy/execution_constraints.py +26 -0
- desloppify_community-1.0/desloppify/engine/_plan/policy/project.py +114 -0
- desloppify_community-1.0/desloppify/engine/_plan/policy/stale.py +222 -0
- desloppify_community-1.0/desloppify/engine/_plan/policy/subjective.py +151 -0
- desloppify_community-1.0/desloppify/engine/_plan/promoted_ids.py +53 -0
- desloppify_community-1.0/desloppify/engine/_plan/refresh_lifecycle.py +337 -0
- desloppify_community-1.0/desloppify/engine/_plan/scan_issue_reconcile.py +459 -0
- desloppify_community-1.0/desloppify/engine/_plan/schema/__init__.py +417 -0
- desloppify_community-1.0/desloppify/engine/_plan/schema/helpers.py +89 -0
- desloppify_community-1.0/desloppify/engine/_plan/schema/migrations.py +28 -0
- desloppify_community-1.0/desloppify/engine/_plan/schema/normalize.py +271 -0
- desloppify_community-1.0/desloppify/engine/_plan/schema/version_upgrades.py +239 -0
- desloppify_community-1.0/desloppify/engine/_plan/skip_policy.py +70 -0
- desloppify_community-1.0/desloppify/engine/_plan/step_completion.py +34 -0
- desloppify_community-1.0/desloppify/engine/_plan/step_parser.py +160 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/__init__.py +42 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/auto_prune.py +46 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/context.py +66 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/defer_policy.py +190 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/dimensions.py +345 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/phase_cleanup.py +76 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/pipeline.py +323 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/review_import.py +207 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/triage.py +408 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/triage_start_policy.py +70 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/workflow.py +534 -0
- desloppify_community-1.0/desloppify/engine/_plan/sync/workflow_gates.py +27 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/apply.py +374 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/core.py +156 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/dismiss.py +72 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/lifecycle.py +100 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/parsing.py +197 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/playbook.py +301 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/prompt.py +696 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/snapshot.py +196 -0
- desloppify_community-1.0/desloppify/engine/_plan/triage/strategist_data.py +721 -0
- desloppify_community-1.0/desloppify/engine/_scoring/__init__.py +1 -0
- desloppify_community-1.0/desloppify/engine/_scoring/detection.py +203 -0
- desloppify_community-1.0/desloppify/engine/_scoring/policy/__init__.py +2 -0
- desloppify_community-1.0/desloppify/engine/_scoring/policy/core.py +285 -0
- desloppify_community-1.0/desloppify/engine/_scoring/results/__init__.py +2 -0
- desloppify_community-1.0/desloppify/engine/_scoring/results/core.py +170 -0
- desloppify_community-1.0/desloppify/engine/_scoring/results/health.py +295 -0
- desloppify_community-1.0/desloppify/engine/_scoring/results/impact.py +84 -0
- desloppify_community-1.0/desloppify/engine/_scoring/state_coverage.py +157 -0
- desloppify_community-1.0/desloppify/engine/_scoring/state_integration.py +228 -0
- desloppify_community-1.0/desloppify/engine/_scoring/state_integration_subjective.py +76 -0
- desloppify_community-1.0/desloppify/engine/_scoring/subjective/__init__.py +2 -0
- desloppify_community-1.0/desloppify/engine/_scoring/subjective/core.py +279 -0
- desloppify_community-1.0/desloppify/engine/_state/__init__.py +26 -0
- desloppify_community-1.0/desloppify/engine/_state/filtering.py +320 -0
- desloppify_community-1.0/desloppify/engine/_state/issue_semantics.py +225 -0
- desloppify_community-1.0/desloppify/engine/_state/merge.py +282 -0
- desloppify_community-1.0/desloppify/engine/_state/merge_history.py +172 -0
- desloppify_community-1.0/desloppify/engine/_state/merge_issues.py +331 -0
- desloppify_community-1.0/desloppify/engine/_state/noise.py +198 -0
- desloppify_community-1.0/desloppify/engine/_state/persistence.py +378 -0
- desloppify_community-1.0/desloppify/engine/_state/progression.py +728 -0
- desloppify_community-1.0/desloppify/engine/_state/recovery.py +285 -0
- desloppify_community-1.0/desloppify/engine/_state/resolution.py +216 -0
- desloppify_community-1.0/desloppify/engine/_state/schema.py +361 -0
- desloppify_community-1.0/desloppify/engine/_state/schema_scores.py +55 -0
- desloppify_community-1.0/desloppify/engine/_state/schema_types.py +122 -0
- desloppify_community-1.0/desloppify/engine/_state/schema_types_issues.py +153 -0
- desloppify_community-1.0/desloppify/engine/_state/schema_types_review.py +138 -0
- desloppify_community-1.0/desloppify/engine/_state/scope.py +66 -0
- desloppify_community-1.0/desloppify/engine/_state/scoring.py +80 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/__init__.py +1 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/context.py +108 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/core.py +67 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/finalize.py +83 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/helpers.py +198 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/inputs.py +60 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/issues.py +121 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/models.py +59 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/plan_order.py +270 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/policy.py +140 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/ranking.py +275 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/ranking_output.py +126 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/selection.py +91 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/snapshot.py +618 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/synthetic.py +367 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/synthetic_workflow.py +406 -0
- desloppify_community-1.0/desloppify/engine/_work_queue/types.py +221 -0
- desloppify_community-1.0/desloppify/engine/concerns.py +13 -0
- desloppify_community-1.0/desloppify/engine/detectors/__init__.py +7 -0
- desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/config.py +125 -0
- desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/detect.py +149 -0
- desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/entries.py +166 -0
- desloppify_community-1.0/desloppify/engine/detectors/_flat_dirs/stats.py +53 -0
- desloppify_community-1.0/desloppify/engine/detectors/base.py +73 -0
- desloppify_community-1.0/desloppify/engine/detectors/complexity.py +84 -0
- desloppify_community-1.0/desloppify/engine/detectors/coupling.py +235 -0
- desloppify_community-1.0/desloppify/engine/detectors/coverage/__init__.py +2 -0
- desloppify_community-1.0/desloppify/engine/detectors/coverage/mapping.py +256 -0
- desloppify_community-1.0/desloppify/engine/detectors/coverage/mapping_analysis.py +253 -0
- desloppify_community-1.0/desloppify/engine/detectors/coverage/mapping_imports.py +152 -0
- desloppify_community-1.0/desloppify/engine/detectors/dupes.py +470 -0
- desloppify_community-1.0/desloppify/engine/detectors/flat_dirs.py +24 -0
- desloppify_community-1.0/desloppify/engine/detectors/gods.py +30 -0
- desloppify_community-1.0/desloppify/engine/detectors/graph.py +163 -0
- desloppify_community-1.0/desloppify/engine/detectors/jscpd_adapter.py +306 -0
- desloppify_community-1.0/desloppify/engine/detectors/large.py +36 -0
- desloppify_community-1.0/desloppify/engine/detectors/naming.py +91 -0
- desloppify_community-1.0/desloppify/engine/detectors/orphaned.py +193 -0
- desloppify_community-1.0/desloppify/engine/detectors/passthrough.py +59 -0
- desloppify_community-1.0/desloppify/engine/detectors/patterns/__init__.py +2 -0
- desloppify_community-1.0/desloppify/engine/detectors/patterns/security.py +231 -0
- desloppify_community-1.0/desloppify/engine/detectors/review_coverage.py +290 -0
- desloppify_community-1.0/desloppify/engine/detectors/security/detector.py +60 -0
- desloppify_community-1.0/desloppify/engine/detectors/security/filters.py +28 -0
- desloppify_community-1.0/desloppify/engine/detectors/security/rules.py +201 -0
- desloppify_community-1.0/desloppify/engine/detectors/security/scanner.py +30 -0
- desloppify_community-1.0/desloppify/engine/detectors/signature.py +166 -0
- desloppify_community-1.0/desloppify/engine/detectors/single_use.py +91 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/_issue_gaps.py +87 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/_issue_generation.py +84 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/_issue_quality.py +169 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/detector.py +87 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/discovery.py +126 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/heuristics.py +78 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/io.py +61 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/issues.py +27 -0
- desloppify_community-1.0/desloppify/engine/detectors/test_coverage/metrics.py +41 -0
- desloppify_community-1.0/desloppify/engine/hook_registry.py +80 -0
- desloppify_community-1.0/desloppify/engine/plan_ops.py +89 -0
- desloppify_community-1.0/desloppify/engine/plan_state.py +99 -0
- desloppify_community-1.0/desloppify/engine/plan_triage.py +184 -0
- desloppify_community-1.0/desloppify/engine/planning/__init__.py +87 -0
- desloppify_community-1.0/desloppify/engine/planning/dimension_rows.py +59 -0
- desloppify_community-1.0/desloppify/engine/planning/helpers.py +16 -0
- desloppify_community-1.0/desloppify/engine/planning/queue_policy.py +98 -0
- desloppify_community-1.0/desloppify/engine/planning/render.py +290 -0
- desloppify_community-1.0/desloppify/engine/planning/render_items.py +98 -0
- desloppify_community-1.0/desloppify/engine/planning/render_sections.py +228 -0
- desloppify_community-1.0/desloppify/engine/planning/scan.py +162 -0
- desloppify_community-1.0/desloppify/engine/planning/scorecard_dimensions.py +229 -0
- desloppify_community-1.0/desloppify/engine/planning/scorecard_policy.py +113 -0
- desloppify_community-1.0/desloppify/engine/planning/scorecard_projection.py +240 -0
- desloppify_community-1.0/desloppify/engine/planning/select.py +38 -0
- desloppify_community-1.0/desloppify/engine/planning/types.py +34 -0
- desloppify_community-1.0/desloppify/engine/policy/__init__.py +2 -0
- desloppify_community-1.0/desloppify/engine/policy/zones.py +325 -0
- desloppify_community-1.0/desloppify/engine/policy/zones_data.py +57 -0
- desloppify_community-1.0/desloppify/engine/scoring.py +10 -0
- desloppify_community-1.0/desloppify/engine/work_queue.py +27 -0
- desloppify_community-1.0/desloppify/intelligence/__init__.py +0 -0
- desloppify_community-1.0/desloppify/intelligence/integrity.py +127 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/_constants.py +45 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/action_engine.py +151 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/action_engine_routing.py +190 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/action_models.py +74 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/action_tools.py +79 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/core.py +145 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/dimensions.py +218 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/headline.py +172 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/phase.py +103 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/reminders.py +74 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/reminders_rules_followup.py +259 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/reminders_rules_primary.py +259 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/signals.py +297 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/strategy_engine.py +82 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/strategy_engine_hints.py +89 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/strategy_engine_lanes.py +205 -0
- desloppify_community-1.0/desloppify/intelligence/narrative/types.py +157 -0
- desloppify_community-1.0/desloppify/intelligence/review/__init__.py +158 -0
- desloppify_community-1.0/desloppify/intelligence/review/_context/__init__.py +1 -0
- desloppify_community-1.0/desloppify/intelligence/review/_context/models.py +197 -0
- desloppify_community-1.0/desloppify/intelligence/review/_context/patterns.py +70 -0
- desloppify_community-1.0/desloppify/intelligence/review/_context/structure.py +132 -0
- desloppify_community-1.0/desloppify/intelligence/review/_prepare/__init__.py +1 -0
- desloppify_community-1.0/desloppify/intelligence/review/_prepare/helpers.py +41 -0
- desloppify_community-1.0/desloppify/intelligence/review/_prepare/issue_history.py +233 -0
- desloppify_community-1.0/desloppify/intelligence/review/_prepare/remediation_engine.py +218 -0
- desloppify_community-1.0/desloppify/intelligence/review/context.py +166 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_builder.py +179 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/__init__.py +59 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/analysis.py +53 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/axes.py +223 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/patterns_enums.py +158 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/patterns_types.py +193 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/patterns_wrappers.py +169 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/budget/scan.py +283 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/__init__.py +1 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/accessors.py +33 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/complexity.py +85 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/consistency.py +67 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/dependency.py +93 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/error_state.py +71 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/organization.py +49 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/clusters/security.py +80 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/mechanical.py +192 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/orchestrator.py +149 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/readers.py +21 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/selection/__init__.py +67 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_holistic/selection/contexts.py +286 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_signals/__init__.py +1 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_signals/ai.py +72 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_signals/auth.py +325 -0
- desloppify_community-1.0/desloppify/intelligence/review/context_signals/migration.py +170 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/__init__.py +50 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/data.py +207 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/holistic.py +7 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/lang.py +62 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/metadata.py +133 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/metadata_legacy.py +19 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/selection.py +46 -0
- desloppify_community-1.0/desloppify/intelligence/review/dimensions/validation.py +219 -0
- desloppify_community-1.0/desloppify/intelligence/review/feedback_contract.py +45 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/__init__.py +1 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/assessments.py +264 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/cache.py +73 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/contracts_models.py +99 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/contracts_types.py +112 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/contracts_validation.py +134 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/holistic.py +208 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/holistic_cache.py +177 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/holistic_issue_flow.py +245 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/payload.py +129 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/per_file.py +222 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/resolution.py +40 -0
- desloppify_community-1.0/desloppify/intelligence/review/importing/state_helpers.py +18 -0
- desloppify_community-1.0/desloppify/intelligence/review/issue_merge.py +55 -0
- desloppify_community-1.0/desloppify/intelligence/review/personas.py +74 -0
- desloppify_community-1.0/desloppify/intelligence/review/policy.py +160 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare.py +262 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_builders.py +209 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_collectors.py +65 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_collectors_quality.py +202 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_collectors_structure.py +199 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_batches_core.py +129 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_batches.py +136 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_orchestration.py +268 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_payload_parts.py +65 -0
- desloppify_community-1.0/desloppify/intelligence/review/prepare_holistic_scope.py +139 -0
- desloppify_community-1.0/desloppify/intelligence/review/remediation.py +37 -0
- desloppify_community-1.0/desloppify/intelligence/review/selection.py +225 -0
- desloppify_community-1.0/desloppify/intelligence/review/selection_cache.py +53 -0
- desloppify_community-1.0/desloppify/languages/__init__.py +73 -0
- desloppify_community-1.0/desloppify/languages/_framework/__init__.py +33 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/lang_config_runtime.py +117 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/phase_builders.py +106 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases.py +102 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases_helpers.py +198 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases_review.py +726 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/shared_phases_structural.py +231 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/smell_contracts.py +123 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/structural.py +83 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/types.py +271 -0
- desloppify_community-1.0/desloppify/languages/_framework/base/types_shared.py +123 -0
- desloppify_community-1.0/desloppify/languages/_framework/commands/__init__.py +47 -0
- desloppify_community-1.0/desloppify/languages/_framework/commands/base.py +289 -0
- desloppify_community-1.0/desloppify/languages/_framework/commands/registry.py +261 -0
- desloppify_community-1.0/desloppify/languages/_framework/commands/scaffold.py +41 -0
- desloppify_community-1.0/desloppify/languages/_framework/contract_validation.py +132 -0
- desloppify_community-1.0/desloppify/languages/_framework/facade_common.py +70 -0
- desloppify_community-1.0/desloppify/languages/_framework/frameworks/__init__.py +41 -0
- desloppify_community-1.0/desloppify/languages/_framework/frameworks/detection.py +217 -0
- desloppify_community-1.0/desloppify/languages/_framework/frameworks/phases.py +169 -0
- desloppify_community-1.0/desloppify/languages/_framework/frameworks/registry.py +58 -0
- desloppify_community-1.0/desloppify/languages/_framework/frameworks/specs/__init__.py +5 -0
- desloppify_community-1.0/desloppify/languages/_framework/frameworks/specs/nextjs.py +557 -0
- desloppify_community-1.0/desloppify/languages/_framework/frameworks/types.py +87 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_parts/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_parts/parsers.py +338 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_parts/tool_factories.py +193 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_parts/tool_runner.py +196 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_parts/tool_spec.py +76 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_support/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_support/capabilities.py +102 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_support/core.py +182 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_support/registration.py +158 -0
- desloppify_community-1.0/desloppify/languages/_framework/generic_support/structural.py +201 -0
- desloppify_community-1.0/desloppify/languages/_framework/issue_factories.py +290 -0
- desloppify_community-1.0/desloppify/languages/_framework/node/__init__.py +3 -0
- desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/__init__.py +13 -0
- desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/nextjs/__init__.py +58 -0
- desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/nextjs/info.py +49 -0
- desloppify_community-1.0/desloppify/languages/_framework/node/frameworks/nextjs/scanners.py +1209 -0
- desloppify_community-1.0/desloppify/languages/_framework/node/js_text.py +76 -0
- desloppify_community-1.0/desloppify/languages/_framework/policy.py +29 -0
- desloppify_community-1.0/desloppify/languages/_framework/registry/__init__.py +57 -0
- desloppify_community-1.0/desloppify/languages/_framework/registry/discovery.py +193 -0
- desloppify_community-1.0/desloppify/languages/_framework/registry/registration.py +64 -0
- desloppify_community-1.0/desloppify/languages/_framework/registry/resolution.py +137 -0
- desloppify_community-1.0/desloppify/languages/_framework/registry/state.py +135 -0
- desloppify_community-1.0/desloppify/languages/_framework/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/_framework/review_data/context_schema.json +75 -0
- desloppify_community-1.0/desloppify/languages/_framework/review_data/dimensions.json +389 -0
- desloppify_community-1.0/desloppify/languages/_framework/runtime_support/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/_framework/runtime_support/accessors.py +152 -0
- desloppify_community-1.0/desloppify/languages/_framework/runtime_support/runtime.py +208 -0
- desloppify_community-1.0/desloppify/languages/_framework/scaffold_move.py +34 -0
- desloppify_community-1.0/desloppify/languages/_framework/scope.py +7 -0
- desloppify_community-1.0/desloppify/languages/_framework/scoped_store.py +107 -0
- desloppify_community-1.0/desloppify/languages/_framework/structure_validation.py +32 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/__init__.py +169 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_compat_bridge.py +20 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_complexity_function_metrics.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_complexity_nesting.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_extractors.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_cache.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_graph.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_resolvers_backend.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_resolvers_functional.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_import_resolvers_scripts.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_normalize.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_smells.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs_compiled.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs_functional.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_specs_scripting.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/_unused_imports.py +10 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/cohesion.py +144 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_callbacks.py +66 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_function_metrics.py +181 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_nesting.py +97 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/complexity_shared.py +45 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/extractors.py +246 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/smells.py +210 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/analysis/unused_imports.py +515 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/cache.py +102 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/graph.py +115 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/normalize.py +86 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolver_cache.py +32 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolvers_backend.py +189 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolvers_functional.py +252 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/imports/resolvers_scripts.py +261 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/phases.py +180 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/compiled.py +261 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/compiled_native.py +94 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/functional.py +158 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/scripting.py +255 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/specs/specs.py +108 -0
- desloppify_community-1.0/desloppify/languages/_framework/treesitter/types.py +33 -0
- desloppify_community-1.0/desloppify/languages/bash/__init__.py +26 -0
- desloppify_community-1.0/desloppify/languages/clojure/__init__.py +27 -0
- desloppify_community-1.0/desloppify/languages/csharp/__init__.py +139 -0
- desloppify_community-1.0/desloppify/languages/csharp/_helpers.py +19 -0
- desloppify_community-1.0/desloppify/languages/csharp/_parse_helpers.py +170 -0
- desloppify_community-1.0/desloppify/languages/csharp/_zones.py +29 -0
- desloppify_community-1.0/desloppify/languages/csharp/commands.py +135 -0
- desloppify_community-1.0/desloppify/languages/csharp/deps/__init__.py +2 -0
- desloppify_community-1.0/desloppify/languages/csharp/deps/cli.py +85 -0
- desloppify_community-1.0/desloppify/languages/csharp/detectors/__init__.py +4 -0
- desloppify_community-1.0/desloppify/languages/csharp/detectors/deps.py +277 -0
- desloppify_community-1.0/desloppify/languages/csharp/detectors/deps_support_metadata.py +103 -0
- desloppify_community-1.0/desloppify/languages/csharp/detectors/deps_support_projects.py +171 -0
- desloppify_community-1.0/desloppify/languages/csharp/detectors/deps_support_render.py +113 -0
- desloppify_community-1.0/desloppify/languages/csharp/detectors/security.py +131 -0
- desloppify_community-1.0/desloppify/languages/csharp/extractors.py +175 -0
- desloppify_community-1.0/desloppify/languages/csharp/extractors_classes.py +166 -0
- desloppify_community-1.0/desloppify/languages/csharp/fixers/__init__.py +4 -0
- desloppify_community-1.0/desloppify/languages/csharp/move.py +45 -0
- desloppify_community-1.0/desloppify/languages/csharp/phases.py +195 -0
- desloppify_community-1.0/desloppify/languages/csharp/review.py +101 -0
- desloppify_community-1.0/desloppify/languages/csharp/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/csharp/review_data/dimensions.override.json +22 -0
- desloppify_community-1.0/desloppify/languages/csharp/test_coverage.py +169 -0
- desloppify_community-1.0/desloppify/languages/csharp/tests/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/csharp/tests/test_csharp_deps_cli.py +353 -0
- desloppify_community-1.0/desloppify/languages/csharp/tests/test_csharp_parse_helpers.py +221 -0
- desloppify_community-1.0/desloppify/languages/csharp/tests/test_smoke.py +2 -0
- desloppify_community-1.0/desloppify/languages/cxx/__init__.py +128 -0
- desloppify_community-1.0/desloppify/languages/cxx/_helpers.py +12 -0
- desloppify_community-1.0/desloppify/languages/cxx/_parse_helpers.py +55 -0
- desloppify_community-1.0/desloppify/languages/cxx/_zones.py +35 -0
- desloppify_community-1.0/desloppify/languages/cxx/commands.py +150 -0
- desloppify_community-1.0/desloppify/languages/cxx/detectors/__init__.py +2 -0
- desloppify_community-1.0/desloppify/languages/cxx/detectors/deps.py +207 -0
- desloppify_community-1.0/desloppify/languages/cxx/detectors/security.py +700 -0
- desloppify_community-1.0/desloppify/languages/cxx/extractors.py +146 -0
- desloppify_community-1.0/desloppify/languages/cxx/fixers/__init__.py +2 -0
- desloppify_community-1.0/desloppify/languages/cxx/move.py +63 -0
- desloppify_community-1.0/desloppify/languages/cxx/phases.py +134 -0
- desloppify_community-1.0/desloppify/languages/cxx/review.py +96 -0
- desloppify_community-1.0/desloppify/languages/cxx/review_data/__init__.py +2 -0
- desloppify_community-1.0/desloppify/languages/cxx/review_data/dimensions.override.json +1 -0
- desloppify_community-1.0/desloppify/languages/cxx/test_coverage.py +195 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_commands.py +20 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_compile_commands.py +78 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_coverage.py +123 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_cppcheck_phase.py +148 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_deps.py +27 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_end_to_end.py +44 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_extractors.py +63 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_init.py +46 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_move.py +16 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_review.py +55 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_security.py +613 -0
- desloppify_community-1.0/desloppify/languages/cxx/tests/test_structural.py +34 -0
- desloppify_community-1.0/desloppify/languages/dart/__init__.py +133 -0
- desloppify_community-1.0/desloppify/languages/dart/commands.py +66 -0
- desloppify_community-1.0/desloppify/languages/dart/detectors/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/dart/detectors/deps.py +110 -0
- desloppify_community-1.0/desloppify/languages/dart/extractors.py +151 -0
- desloppify_community-1.0/desloppify/languages/dart/fixers/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/dart/phases.py +62 -0
- desloppify_community-1.0/desloppify/languages/dart/pubspec.py +24 -0
- desloppify_community-1.0/desloppify/languages/dart/review.py +76 -0
- desloppify_community-1.0/desloppify/languages/dart/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/dart/review_data/dimensions.override.json +1 -0
- desloppify_community-1.0/desloppify/languages/dart/test_coverage.py +150 -0
- desloppify_community-1.0/desloppify/languages/dart/tests/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/dart/tests/test_extractors.py +23 -0
- desloppify_community-1.0/desloppify/languages/dart/tests/test_init.py +47 -0
- desloppify_community-1.0/desloppify/languages/elixir/__init__.py +38 -0
- desloppify_community-1.0/desloppify/languages/elixir/review_data/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/erlang/__init__.py +27 -0
- desloppify_community-1.0/desloppify/languages/framework.py +122 -0
- desloppify_community-1.0/desloppify/languages/fsharp/__init__.py +27 -0
- desloppify_community-1.0/desloppify/languages/gdscript/__init__.py +126 -0
- desloppify_community-1.0/desloppify/languages/gdscript/commands.py +77 -0
- desloppify_community-1.0/desloppify/languages/gdscript/detectors/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/gdscript/detectors/deps.py +83 -0
- desloppify_community-1.0/desloppify/languages/gdscript/extractors.py +110 -0
- desloppify_community-1.0/desloppify/languages/gdscript/fixers/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/gdscript/patterns.py +12 -0
- desloppify_community-1.0/desloppify/languages/gdscript/phases.py +57 -0
- desloppify_community-1.0/desloppify/languages/gdscript/review.py +68 -0
- desloppify_community-1.0/desloppify/languages/gdscript/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/gdscript/review_data/dimensions.override.json +1 -0
- desloppify_community-1.0/desloppify/languages/gdscript/test_coverage.py +95 -0
- desloppify_community-1.0/desloppify/languages/gdscript/tests/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/gdscript/tests/test_init.py +47 -0
- desloppify_community-1.0/desloppify/languages/go/__init__.py +126 -0
- desloppify_community-1.0/desloppify/languages/go/_zones.py +16 -0
- desloppify_community-1.0/desloppify/languages/go/commands.py +65 -0
- desloppify_community-1.0/desloppify/languages/go/detectors/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/go/detectors/deps.py +19 -0
- desloppify_community-1.0/desloppify/languages/go/extractors.py +280 -0
- desloppify_community-1.0/desloppify/languages/go/fixers/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/go/move.py +22 -0
- desloppify_community-1.0/desloppify/languages/go/phases.py +69 -0
- desloppify_community-1.0/desloppify/languages/go/review.py +73 -0
- desloppify_community-1.0/desloppify/languages/go/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/go/review_data/dimensions.override.json +1 -0
- desloppify_community-1.0/desloppify/languages/go/review_data/holistic_dimensions.override.json +1 -0
- desloppify_community-1.0/desloppify/languages/go/test_coverage.py +158 -0
- desloppify_community-1.0/desloppify/languages/go/tests/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/go/tests/test_extractors.py +233 -0
- desloppify_community-1.0/desloppify/languages/go/tests/test_init.py +83 -0
- desloppify_community-1.0/desloppify/languages/haskell/__init__.py +28 -0
- desloppify_community-1.0/desloppify/languages/java/__init__.py +51 -0
- desloppify_community-1.0/desloppify/languages/javascript/__init__.py +38 -0
- desloppify_community-1.0/desloppify/languages/javascript/_zones.py +32 -0
- desloppify_community-1.0/desloppify/languages/javascript/test_coverage.py +308 -0
- desloppify_community-1.0/desloppify/languages/javascript/tests/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/javascript/tests/test_init.py +113 -0
- desloppify_community-1.0/desloppify/languages/javascript/tests/test_js_nextjs_framework.py +83 -0
- desloppify_community-1.0/desloppify/languages/javascript/tests/test_test_coverage.py +207 -0
- desloppify_community-1.0/desloppify/languages/julia/__init__.py +29 -0
- desloppify_community-1.0/desloppify/languages/kotlin/__init__.py +28 -0
- desloppify_community-1.0/desloppify/languages/lua/__init__.py +26 -0
- desloppify_community-1.0/desloppify/languages/nim/__init__.py +27 -0
- desloppify_community-1.0/desloppify/languages/ocaml/__init__.py +27 -0
- desloppify_community-1.0/desloppify/languages/perl/__init__.py +26 -0
- desloppify_community-1.0/desloppify/languages/php/__init__.py +97 -0
- desloppify_community-1.0/desloppify/languages/php/test_coverage.py +329 -0
- desloppify_community-1.0/desloppify/languages/powershell/__init__.py +29 -0
- desloppify_community-1.0/desloppify/languages/python/__init__.py +170 -0
- desloppify_community-1.0/desloppify/languages/python/_helpers.py +37 -0
- desloppify_community-1.0/desloppify/languages/python/_security.py +69 -0
- desloppify_community-1.0/desloppify/languages/python/_zones.py +26 -0
- desloppify_community-1.0/desloppify/languages/python/commands.py +226 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/bandit_adapter.py +292 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/complexity.py +108 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/coupling_contracts.py +122 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/deps.py +133 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/deps_dynamic.py +52 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/deps_resolution.py +149 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/__init__.py +24 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/flow.py +55 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/schema.py +175 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/shared.py +89 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/visitor.py +273 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/dict_keys/visitor_helpers.py +240 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/facade.py +109 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/import_linter_adapter.py +124 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/mutable_state_ast.py +198 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/mutable_state_scan.py +130 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/private_imports.py +165 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/responsibility_cohesion.py +179 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/ruff_smells.py +155 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells.py +193 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_dispatch.py +137 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_helpers.py +107 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_node_detectors_basic.py +138 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_node_detectors_complexity.py +108 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_node_detectors_nesting.py +160 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_source_detectors.py +247 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_context_callbacks.py +62 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_context_paths.py +96 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_quality_detectors.py +264 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_quality_detectors_types.py +153 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_safety_detectors.py +242 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_tree_safety_detectors_runtime.py +208 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_ast/_types.py +57 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/smells_runtime.py +332 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/uncalled.py +116 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/unused.py +224 -0
- desloppify_community-1.0/desloppify/languages/python/detectors/unused_enums.py +111 -0
- desloppify_community-1.0/desloppify/languages/python/extractors.py +205 -0
- desloppify_community-1.0/desloppify/languages/python/extractors_classes.py +194 -0
- desloppify_community-1.0/desloppify/languages/python/extractors_shared.py +51 -0
- desloppify_community-1.0/desloppify/languages/python/fixers/__init__.py +4 -0
- desloppify_community-1.0/desloppify/languages/python/move.py +252 -0
- desloppify_community-1.0/desloppify/languages/python/phases.py +248 -0
- desloppify_community-1.0/desloppify/languages/python/phases_quality.py +151 -0
- desloppify_community-1.0/desloppify/languages/python/phases_runtime.py +221 -0
- desloppify_community-1.0/desloppify/languages/python/review.py +72 -0
- desloppify_community-1.0/desloppify/languages/python/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/python/review_data/dimensions.override.json +21 -0
- desloppify_community-1.0/desloppify/languages/python/test_coverage.py +175 -0
- desloppify_community-1.0/desloppify/languages/python/tests/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/python/tests/conftest.py +31 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_bandit_adapter.py +99 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_commands.py +49 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_complexity.py +187 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_coupling_contracts.py +66 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_deps.py +436 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_dict_keys.py +381 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_extractors.py +390 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_facade.py +160 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_init.py +171 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_move.py +108 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_mutable_state.py +252 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_private_imports.py +54 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_responsibility_cohesion.py +82 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells.py +7 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_ast.py +590 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_ast_perf.py +32 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_crossfile.py +200 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_smells_regex.py +168 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_uncalled.py +338 -0
- desloppify_community-1.0/desloppify/languages/python/tests/test_py_unused.py +238 -0
- desloppify_community-1.0/desloppify/languages/r/__init__.py +56 -0
- desloppify_community-1.0/desloppify/languages/r/detectors/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/r/detectors/smells.py +344 -0
- desloppify_community-1.0/desloppify/languages/r/detectors/smells_catalog.py +70 -0
- desloppify_community-1.0/desloppify/languages/r/phases_smells.py +25 -0
- desloppify_community-1.0/desloppify/languages/r/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/r/test_coverage.py +158 -0
- desloppify_community-1.0/desloppify/languages/r/tests/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/r/tests/test_r_air.py +94 -0
- desloppify_community-1.0/desloppify/languages/r/tests/test_r_smells.py +215 -0
- desloppify_community-1.0/desloppify/languages/r/tests/test_r_test_coverage.py +163 -0
- desloppify_community-1.0/desloppify/languages/ruby/__init__.py +54 -0
- desloppify_community-1.0/desloppify/languages/ruby/tests/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/ruby/tests/test_init.py +116 -0
- desloppify_community-1.0/desloppify/languages/rust/__init__.py +158 -0
- desloppify_community-1.0/desloppify/languages/rust/_fixers.py +155 -0
- desloppify_community-1.0/desloppify/languages/rust/commands.py +286 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/__init__.py +35 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/_shared.py +829 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/api.py +305 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/cargo_policy.py +166 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/deps.py +71 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/safety.py +175 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/smells.py +289 -0
- desloppify_community-1.0/desloppify/languages/rust/detectors/smells_catalog.py +88 -0
- desloppify_community-1.0/desloppify/languages/rust/extractors.py +204 -0
- desloppify_community-1.0/desloppify/languages/rust/fixers/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/rust/move.py +45 -0
- desloppify_community-1.0/desloppify/languages/rust/phases.py +310 -0
- desloppify_community-1.0/desloppify/languages/rust/phases_smells.py +29 -0
- desloppify_community-1.0/desloppify/languages/rust/review.py +101 -0
- desloppify_community-1.0/desloppify/languages/rust/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/rust/review_data/dimensions.override.json +1 -0
- desloppify_community-1.0/desloppify/languages/rust/support.py +1036 -0
- desloppify_community-1.0/desloppify/languages/rust/test_coverage.py +160 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_commands.py +38 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_coverage.py +77 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_custom.py +1148 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_deps.py +161 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_extractors.py +116 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_init.py +125 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_phases.py +38 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_review.py +58 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_shared_direct.py +155 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_smells.py +420 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_support.py +112 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_test_coverage.py +167 -0
- desloppify_community-1.0/desloppify/languages/rust/tests/test_tools.py +839 -0
- desloppify_community-1.0/desloppify/languages/rust/tools.py +768 -0
- desloppify_community-1.0/desloppify/languages/scala/__init__.py +28 -0
- desloppify_community-1.0/desloppify/languages/scss/__init__.py +25 -0
- desloppify_community-1.0/desloppify/languages/swift/__init__.py +27 -0
- desloppify_community-1.0/desloppify/languages/typescript/__init__.py +180 -0
- desloppify_community-1.0/desloppify/languages/typescript/_fixers.py +118 -0
- desloppify_community-1.0/desloppify/languages/typescript/_zones.py +30 -0
- desloppify_community-1.0/desloppify/languages/typescript/commands.py +346 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/concerns.py +104 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/contracts.py +20 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/deprecated.py +231 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/deps/__init__.py +230 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/deps/resolve.py +198 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/deps/runtime.py +56 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/exports.py +47 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/facade.py +57 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/io.py +45 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/knip_adapter.py +132 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/logs.py +136 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/analysis.py +151 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/catalog.py +52 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/patterns/cli.py +100 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/props.py +113 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/react/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/react/cli.py +54 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/react/context.py +60 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/react/hook_bloat.py +219 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/react/state_sync.py +101 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/security/__init__.py +0 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/security/detector.py +93 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/security/entries.py +33 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/security/file_checks.py +190 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/security/line_checks.py +141 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/security/patterns.py +46 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/__init__.py +126 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/assets.py +103 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/catalog.py +190 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/detector_core.py +166 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/detector_flow.py +230 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/detector_safety.py +141 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/smells/helpers.py +275 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/unused.py +250 -0
- desloppify_community-1.0/desloppify/languages/typescript/detectors/unused_fallback.py +172 -0
- desloppify_community-1.0/desloppify/languages/typescript/extractors.py +54 -0
- desloppify_community-1.0/desloppify/languages/typescript/extractors_components.py +183 -0
- desloppify_community-1.0/desloppify/languages/typescript/extractors_functions.py +217 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/__init__.py +37 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/fixer_io.py +95 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/if_chain.py +68 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/import_rewrite.py +257 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/imports.py +37 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/logs.py +77 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/logs_cleanup.py +258 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/logs_context.py +146 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/params.py +104 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/syntax_scan.py +153 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/useeffect.py +45 -0
- desloppify_community-1.0/desloppify/languages/typescript/fixers/vars.py +214 -0
- desloppify_community-1.0/desloppify/languages/typescript/move.py +157 -0
- desloppify_community-1.0/desloppify/languages/typescript/phases_basic.py +108 -0
- desloppify_community-1.0/desloppify/languages/typescript/phases_config.py +82 -0
- desloppify_community-1.0/desloppify/languages/typescript/phases_coupling.py +333 -0
- desloppify_community-1.0/desloppify/languages/typescript/phases_smells.py +117 -0
- desloppify_community-1.0/desloppify/languages/typescript/phases_structural.py +221 -0
- desloppify_community-1.0/desloppify/languages/typescript/plugin_contract.py +39 -0
- desloppify_community-1.0/desloppify/languages/typescript/review.py +97 -0
- desloppify_community-1.0/desloppify/languages/typescript/review_data/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/typescript/review_data/dimensions.override.json +22 -0
- desloppify_community-1.0/desloppify/languages/typescript/syntax/scanner.py +34 -0
- desloppify_community-1.0/desloppify/languages/typescript/test_coverage.py +323 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/__init__.py +1 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/smells/test_ts_smell_helpers.py +605 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_commands.py +60 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_concerns.py +206 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_deprecated.py +223 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_deps.py +713 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_detector_contracts.py +65 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_exports_detector.py +150 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_extractors.py +328 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_facade.py +99 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_fixers.py +848 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_fixers_if_chain_and_useeffect.py +130 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_init.py +90 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_logs.py +140 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_move.py +43 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_nextjs_framework.py +229 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_patterns.py +216 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_phases.py +183 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_props.py +146 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_react.py +371 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_smells.py +510 -0
- desloppify_community-1.0/desloppify/languages/typescript/tests/test_ts_unused.py +280 -0
- desloppify_community-1.0/desloppify/languages/zig/__init__.py +27 -0
- desloppify_community-1.0/desloppify/state.py +7 -0
- desloppify_community-1.0/desloppify/state_compat.py +126 -0
- desloppify_community-1.0/desloppify/state_io.py +61 -0
- desloppify_community-1.0/desloppify/state_score_snapshot.py +44 -0
- desloppify_community-1.0/desloppify/state_scoring.py +35 -0
- desloppify_community-1.0/desloppify_community.egg-info/PKG-INFO +193 -0
- desloppify_community-1.0/desloppify_community.egg-info/SOURCES.txt +1075 -0
- desloppify_community-1.0/desloppify_community.egg-info/dependency_links.txt +1 -0
- desloppify_community-1.0/desloppify_community.egg-info/entry_points.txt +2 -0
- desloppify_community-1.0/desloppify_community.egg-info/requires.txt +24 -0
- desloppify_community-1.0/desloppify_community.egg-info/top_level.txt +1 -0
- desloppify_community-1.0/pyproject.toml +117 -0
- 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
|
+
[](https://pypi.org/project/desloppify-community/) 
|
|
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
|
+
[](https://pypi.org/project/desloppify-community/) 
|
|
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 @@
|
|
|
1
|
+
"""Application-layer packages: CLI, commands, and output surfaces."""
|