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,50 @@
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: 1
Batch name: Architecture & Coupling
Batch dimensions: cross_module_architecture
Batch rationale: god modules, import-time side effects
Files assigned:
- internal/quality/enhanced_types.go
- internal/quality/narrative_test.go
- internal/quality/scoring_test.go
- internal/quality/types.go
- pkg/rustdocs/parser_test.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": "Architecture & Coupling",
"batch_index": 1,
"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": []
}
@@ -0,0 +1,77 @@
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: 2
Batch name: Abstractions & Dependencies
Batch dimensions: abstraction_fitness
Batch rationale: abstraction hotspots (wrappers/interfaces/param bags), dep cycles
Files assigned:
- cmd/scrape.go
- internal/quality/plugins/go/analyzers/detectors.go
- internal/quality/plugins/go/analyzers/advanced.go
- internal/scraper/web.go
- internal/quality/plugins/go/plugin.go
- internal/scheduler/scheduler.go
- cmd/init.go
- internal/scraper/localsearch_test.go
- internal/config/config.go
- internal/ai/openai.go
- cmd/get.go
- cmd/get_test.go
- internal/quality/analyzers/controlflow.go
- internal/vector/store.go
- cmd/ask.go
- examples/demo_scrapers.go
- internal/indexer/indexer.go
- internal/scraper/openapi.go
- pkg/pythondocs/parser.go
- internal/quality/analyzers/dataflow.go
- internal/quality/scanner_test.go
- internal/server/server.go
- internal/scraper/localsearch.go
- internal/scraper/external/nuxtdocs.go
- internal/quality/plugins/go/analyzers/test_coverage.go
- internal/search/engine.go
- internal/scraper/external/astrodocs.go
- internal/scraper/external/cloudflaredocs.go
- internal/scraper/external/dockerdocs.go
- internal/scraper/external/godocs.go
- internal/scraper/external/javadocs.go
- internal/scraper/external/mcpdocs.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": "Abstractions & Dependencies",
"batch_index": 2,
"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": []
}
@@ -0,0 +1,51 @@
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: 3
Batch name: Governance & Contracts
Batch dimensions: cross_module_architecture, test_strategy
Batch rationale: architecture contracts, compatibility policy, docs-vs-runtime scope, and quality-gate coverage
Files assigned:
- README.md
- internal/quality/enhanced_types.go
- internal/quality/narrative_test.go
- internal/quality/scoring_test.go
- internal/quality/types.go
- pkg/rustdocs/parser_test.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": "Governance & Contracts",
"batch_index": 3,
"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": []
}
@@ -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": []
}
@@ -0,0 +1,125 @@
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: 5
Batch name: Cross-cutting Sweep
Batch dimensions: error_consistency
Batch rationale: selected dimensions had no direct batch mapping; review representative cross-cutting files
Files assigned:
- internal/quality/enhanced_types.go
- internal/quality/narrative_test.go
- internal/quality/scoring_test.go
- internal/quality/types.go
- pkg/rustdocs/parser_test.go
- cmd/scrape.go
- internal/quality/plugins/go/analyzers/detectors.go
- internal/quality/plugins/go/analyzers/advanced.go
- internal/scraper/web.go
- internal/quality/plugins/go/plugin.go
- internal/scheduler/scheduler.go
- cmd/init.go
- internal/scraper/localsearch_test.go
- internal/config/config.go
- internal/ai/openai.go
- cmd/get.go
- cmd/get_test.go
- internal/quality/analyzers/controlflow.go
- internal/vector/store.go
- cmd/ask.go
- examples/demo_scrapers.go
- internal/indexer/indexer.go
- internal/scraper/openapi.go
- pkg/pythondocs/parser.go
- internal/quality/analyzers/dataflow.go
- internal/quality/scanner_test.go
- internal/server/server.go
- internal/scraper/localsearch.go
- internal/scraper/external/nuxtdocs.go
- internal/quality/plugins/go/analyzers/test_coverage.go
- internal/search/engine.go
- internal/scraper/external/astrodocs.go
- internal/scraper/external/cloudflaredocs.go
- internal/scraper/external/dockerdocs.go
- internal/scraper/external/godocs.go
- internal/scraper/external/javadocs.go
- internal/scraper/external/mcpdocs.go
- README.md
- .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
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": "Cross-cutting Sweep",
"batch_index": 5,
"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": []
}
@@ -0,0 +1,158 @@
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: 6
Batch name: Full Codebase Sweep
Batch dimensions: cross_module_architecture, error_consistency, abstraction_fitness, test_strategy, design_coherence
Batch rationale: thorough default: evaluate cross-cutting quality across all production files
Files assigned:
- cleanup_unused.go
- cmd/ask.go
- cmd/demo.go
- cmd/devour/main.go
- cmd/generate_scorecards/main.go
- cmd/get.go
- cmd/init.go
- cmd/languages.go
- cmd/push.go
- cmd/quality.go
- cmd/query.go
- cmd/realtest/main.go
- cmd/root.go
- cmd/runtime_helpers.go
- cmd/scorecard.go
- cmd/scrape.go
- cmd/serve.go
- cmd/status.go
- cmd/sync.go
- examples/demo_scrapers.go
- internal/ai/ai.go
- internal/ai/openai.go
- internal/config/config.go
- internal/indexer/indexer.go
- internal/markdown/formatter.go
- internal/projectstate/state.go
- internal/quality/analyzers/controlflow.go
- internal/quality/analyzers/dataflow.go
- internal/quality/analyzers/practices.go
- internal/quality/detector.go
- internal/quality/detectors/complexity.go
- internal/quality/detectors/duplication.go
- internal/quality/detectors/naming.go
- internal/quality/enhanced_types.go
- internal/quality/languages.go
- internal/quality/narrative.go
- internal/quality/plugins/go/analyzers/advanced.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/plugins/go/plugin.go
- internal/quality/plugins/plugin.go
- internal/quality/plugins/registry.go
- internal/quality/review/packet.go
- internal/quality/scanner.go
- internal/quality/scoring.go
- internal/quality/state.go
- internal/quality/types.go
- internal/scheduler/scheduler.go
- internal/scraper/external/astrodocs.go
- internal/scraper/external/cloudflaredocs.go
- internal/scraper/external/dockerdocs.go
- internal/scraper/external/godocs.go
- internal/scraper/external/javadocs.go
- internal/scraper/external/mcpdocs.go
- internal/scraper/external/nuxtdocs.go
- internal/scraper/external/pythondocs.go
- internal/scraper/external/reactdocs.go
- internal/scraper/external/register.go
- internal/scraper/external/rustdocs.go
- internal/scraper/external/springdocs.go
- internal/scraper/external/tsdocs.go
- internal/scraper/external/types.go
- internal/scraper/external/vuedocs.go
- internal/scraper/github.go
- internal/scraper/local.go
- internal/scraper/localsearch.go
- internal/scraper/normalize.go
- internal/scraper/openapi.go
- internal/scraper/register_core.go
- internal/scraper/registry_simple.go
- internal/scraper/scraper.go
- internal/scraper/web.go
- internal/scraper/wrapper.go
- internal/search/engine.go
- internal/server/server.go
- internal/storage/writer.go
- internal/ui/banner.go
- internal/ui/character.go
- internal/vector/store.go
- main.go
- pkg/astrodocs/parser.go
- pkg/astrodocs/types.go
- pkg/client/client.go
- pkg/cloudflaredocs/parser.go
- pkg/cloudflaredocs/types.go
- pkg/dockerdocs/parser.go
- pkg/dockerdocs/types.go
- pkg/godocs/parser.go
- pkg/godocs/types.go
- pkg/javadocs/parser.go
- pkg/javadocs/types.go
- pkg/mcpdocs/parser.go
- pkg/mcpdocs/types.go
- pkg/nuxtdocs/parser.go
- pkg/nuxtdocs/types.go
- pkg/parserutil/url.go
- pkg/pythondocs/parser.go
- pkg/pythondocs/types.go
- pkg/reactdocs/parser.go
- pkg/reactdocs/types.go
- pkg/rustdocs/parser.go
- pkg/rustdocs/types.go
- pkg/springdocs/parser.go
- pkg/springdocs/types.go
- pkg/tsdocs/parser.go
- pkg/tsdocs/types.go
- pkg/types/types.go
- pkg/vuedocs/parser.go
- pkg/vuedocs/types.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": "Full Codebase Sweep",
"batch_index": 6,
"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": []
}