This commit is contained in:
Tomas Dvorak
2026-02-24 10:33:59 +01:00
parent 409acd2e08
commit 898a3c303f
1374 changed files with 290409 additions and 29187 deletions
@@ -0,0 +1,196 @@
You are a focused subagent reviewer for a single holistic investigation batch.
Repository root: /home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour
Immutable packet: /home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/.desloppify/review_packets/holistic_packet_20260223_100953.json
Batch index: 4
Batch name: Design Coherence — Mechanical Concern Signals
Batch dimensions: design_coherence
Batch rationale: mechanical detectors identified structural patterns needing judgment; concern types: duplication_design, mixed_responsibilities, systemic_pattern
Files assigned:
- .desloppify/query.json
- .github/workflows/ci.yml
- AGENTS.md
- cmd/devour_enhanced.py
- cmd/devour_enhanced_fixed.py
- cmd/devour_enhanced_v2.py
- cmd/devour_lighthouse.py
- cmd/devour_scorecard.py
- cmd/quality.go
- cmd/scorecard_generator.py
- desloppify/desloppify/desloppify/app/commands/_show_terminal.py
- desloppify/desloppify/desloppify/app/commands/fix/apply_flow.py
- desloppify/desloppify/desloppify/app/commands/issues_cmd.py
- desloppify/desloppify/desloppify/app/commands/next.py
- desloppify/desloppify/desloppify/app/commands/resolve/selection.py
- desloppify/desloppify/desloppify/app/commands/scan/scan_reporting_llm.py
- desloppify/desloppify/desloppify/app/commands/status_parts/render.py
- desloppify/desloppify/desloppify/app/output/scorecard_parts/projection.py
- desloppify/desloppify/desloppify/engine/detectors/security/rules.py
- desloppify/desloppify/desloppify/engine/scoring_internal/subjective/core.py
- desloppify/desloppify/desloppify/engine/state_internal/resolution.py
- desloppify/desloppify/desloppify/intelligence/review/__init__.py
- desloppify/desloppify/desloppify/intelligence/review/context_internal/structure.py
- desloppify/desloppify/desloppify/intelligence/review/dimensions/data.py
- desloppify/desloppify/desloppify/intelligence/review/importing/holistic.py
- desloppify/desloppify/desloppify/languages/_shared/phases_common.py
- desloppify/desloppify/desloppify/languages/_shared/review_data/dimensions.json
- desloppify/desloppify/desloppify/languages/_shared/scaffold_detect_commands.py
- desloppify/desloppify/desloppify/languages/csharp/_parse_helpers.py
- desloppify/desloppify/desloppify/languages/csharp/commands.py
- desloppify/desloppify/desloppify/languages/csharp/deps/cli.py
- desloppify/desloppify/desloppify/languages/csharp/deps/fallback.py
- desloppify/desloppify/desloppify/languages/csharp/detectors/deps.py
- desloppify/desloppify/desloppify/languages/csharp/phases.py
- desloppify/desloppify/desloppify/languages/csharp/test_coverage.py
- desloppify/desloppify/desloppify/languages/dart/__init__.py
- desloppify/desloppify/desloppify/languages/dart/commands.py
- desloppify/desloppify/desloppify/languages/dart/detectors/deps.py
- desloppify/desloppify/desloppify/languages/dart/extractors.py
- desloppify/desloppify/desloppify/languages/dart/move.py
- desloppify/desloppify/desloppify/languages/framework/commands_base.py
- desloppify/desloppify/desloppify/languages/gdscript/__init__.py
- desloppify/desloppify/desloppify/languages/gdscript/detectors/deps.py
- desloppify/desloppify/desloppify/languages/python/__init__.py
- desloppify/desloppify/desloppify/languages/python/commands.py
- desloppify/desloppify/desloppify/languages/python/detectors/security.py
- desloppify/desloppify/desloppify/languages/python/detectors/smells.py
- desloppify/desloppify/desloppify/languages/python/move.py
- desloppify/desloppify/desloppify/languages/python/phases.py
- desloppify/desloppify/desloppify/languages/python/test_coverage.py
- desloppify/desloppify/desloppify/languages/python/tests/test_py_facade.py
- desloppify/desloppify/desloppify/languages/typescript/detectors/_smell_detectors.py
- desloppify/desloppify/desloppify/languages/typescript/detectors/_smell_effects.py
- desloppify/desloppify/desloppify/languages/typescript/detectors/deps.py
- desloppify/desloppify/desloppify/languages/typescript/detectors/exports.py
- desloppify/desloppify/desloppify/languages/typescript/detectors/react.py
- desloppify/desloppify/desloppify/languages/typescript/detectors/unused.py
- desloppify/desloppify/desloppify/languages/typescript/fixers/common.py
- desloppify/desloppify/desloppify/languages/typescript/fixers/if_chain.py
- desloppify/desloppify/desloppify/languages/typescript/fixers/logs.py
- desloppify/desloppify/desloppify/languages/typescript/tests/test_ts_concerns.py
- desloppify/desloppify/desloppify/languages/typescript/tests/test_ts_deprecated.py
- desloppify/desloppify/desloppify/languages/typescript/tests/test_ts_deps.py
- desloppify/desloppify/desloppify/languages/typescript/tests/test_ts_exports.py
- desloppify/desloppify/desloppify/languages/typescript/tests/test_ts_fixers.py
- desloppify/desloppify/desloppify/languages/typescript/tests/test_ts_logs.py
- desloppify/desloppify/desloppify/languages/typescript/tests/test_ts_react.py
- desloppify/desloppify/desloppify/tests/commands/fix/test_cmd_fix_review.py
- desloppify/desloppify/desloppify/tests/commands/test_cmd_detect.py
- desloppify/desloppify/desloppify/tests/commands/test_cmd_fix.py
- desloppify/desloppify/desloppify/tests/commands/test_cmd_next.py
- desloppify/desloppify/desloppify/tests/commands/test_cmd_scan.py
- desloppify/desloppify/desloppify/tests/commands/test_cmd_show.py
- desloppify/desloppify/desloppify/tests/commands/test_config_cmd.py
- desloppify/desloppify/desloppify/tests/detectors/test_architecture_boundaries.py
- desloppify/desloppify/desloppify/tests/detectors/test_complexity.py
- desloppify/desloppify/desloppify/tests/detectors/test_coupling.py
- desloppify/desloppify/desloppify/tests/detectors/test_gods.py
- desloppify/desloppify/desloppify/tests/detectors/test_naming.py
- desloppify/desloppify/desloppify/tests/detectors/test_orphaned.py
- desloppify/desloppify/desloppify/tests/lang/common/test_lang_contract_validation.py
- desloppify/desloppify/desloppify/tests/lang/csharp/test_csharp_deps.py
- desloppify/desloppify/desloppify/tests/lang/csharp/test_csharp_scan.py
- desloppify/desloppify/desloppify/tests/lang/dart/test_dart_deps.py
- desloppify/desloppify/desloppify/tests/review/test_review_coverage.py
- desloppify/desloppify/desloppify/tests/review/test_review_dimensions_direct.py
- desloppify/desloppify/desloppify/tests/review/test_work_queue.py
- desloppify/desloppify/desloppify/tests/scan/test_flat_dirs.py
- desloppify/desloppify/desloppify/tests/scan/test_scan_reporting_direct.py
- desloppify/desloppify/desloppify/tests/scan/test_scan_workflow_wontfix_direct.py
- desloppify/desloppify/desloppify/tests/scoring/test_scorecard.py
- desloppify/desloppify/desloppify/tests/scoring/test_scorecard_draw_direct.py
- desloppify/desloppify/desloppify/tests/snapshots/cli_smoke/state-python.json
- desloppify/desloppify/desloppify/tests/state/test_state.py
- desloppify/desloppify/desloppify/tests/state/test_state_internal_direct.py
- devour_data/docs/docker_compose_-_ask_me_about_docker_1.md
- devour_data/docs/docker_compose_-_browse_common_faqs_10.md
- devour_data/docs/docker_compose_-_docker_compose_2.md
- devour_data/docs/docker_compose_-_explore_the_compose_file_referenc_8.md
- devour_data/docs/docker_compose_-_how_compose_works_4.md
- devour_data/docs/docker_compose_-_install_compose_5.md
- devour_data/docs/docker_compose_-_use_compose_bridge_9.md
- internal/ai/openai.go
- internal/quality/analyzers/dataflow.go
- internal/quality/detector_test.go
- internal/quality/detectors/complexity.go
- internal/quality/languages.go
- internal/quality/languages_test.go
- internal/quality/narrative_test.go
- internal/quality/plugins/go/analyzers/deadcode.go
- internal/quality/plugins/go/analyzers/detectors.go
- internal/quality/plugins/go/analyzers/security.go
- internal/quality/plugins/go/analyzers/test_coverage.go
- internal/quality/plugins/go/fixers/advanced_fixers.go
- internal/quality/plugins/go/fixers/fixers.go
- internal/quality/scoring_test.go
- internal/quality/state_test.go
- internal/scraper/external/astrodocs.go
- internal/scraper/external/cloudflaredocs.go
- internal/scraper/external/godocs.go
- internal/scraper/external/javadocs.go
- internal/scraper/external/nuxtdocs.go
- internal/scraper/external/pythondocs.go
- internal/scraper/external/reactdocs.go
- internal/scraper/external/rustdocs.go
- internal/scraper/external/springdocs.go
- internal/scraper/external/vuedocs.go
- internal/scraper/localsearch_test.go
- internal/scraper/web.go
- internal/scraper/web_integration_test.go
- landing/dist/index.html
- landing/src/components/sections/Footer.tsx
- landing/src/index.css
- pkg/astrodocs/parser.go
- pkg/astrodocs/parser_test.go
- pkg/cloudflaredocs/parser.go
- pkg/cloudflaredocs/parser_test.go
- pkg/dockerdocs/parser.go
- pkg/godocs/parser.go
- pkg/godocs/parser_test.go
- pkg/javadocs/parser.go
- pkg/javadocs/parser_test.go
- pkg/nuxtdocs/parser.go
- pkg/nuxtdocs/parser_test.go
- pkg/nuxtdocs/types.go
- pkg/pythondocs/parser.go
- pkg/pythondocs/parser_test.go
- pkg/reactdocs/parser.go
- pkg/rustdocs/parser.go
- pkg/springdocs/parser.go
- pkg/vuedocs/parser.go
Task requirements:
1. Read the immutable packet and follow `system_prompt` constraints exactly.
2. Evaluate ONLY listed files and ONLY listed dimensions for this batch.
3. Return 0-10 high-quality findings for this batch (empty array allowed).
4. Score/finding consistency is required: broader or more severe findings MUST lower dimension scores.
5. Every finding must include `related_files` with at least 2 files when possible.
6. Every finding must include `impact_scope` and `fix_scope`.
7. Every scored dimension MUST include dimension_notes with concrete evidence.
8. If a dimension score is >85, include `unreported_risk` in dimension_notes.
9. Use exactly one decimal place for every assessment and abstraction sub-axis score.
10. Do not edit repository files.
11. Return ONLY valid JSON, no markdown fences.
Scope enums:
- impact_scope: "local" | "module" | "subsystem" | "codebase"
- fix_scope: "single_edit" | "multi_file_refactor" | "architectural_change"
Output schema:
{
"batch": "Design Coherence — Mechanical Concern Signals",
"batch_index": 4,
"assessments": {"<dimension>": <0-100 with one decimal place>},
"dimension_notes": {
"<dimension>": {
"evidence": ["specific code observations"],
"impact_scope": "local|module|subsystem|codebase",
"fix_scope": "single_edit|multi_file_refactor|architectural_change",
"confidence": "high|medium|low",
"unreported_risk": "required when score >85",
"sub_axes": {"abstraction_leverage": 0-100 with one decimal place, "indirection_cost": 0-100 with one decimal place, "interface_honesty": 0-100 with one decimal place} // required for abstraction_fitness when evidence supports it
}
},
"findings": []
}