Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

ahwurm/localharness

https://github.com/ahwurm/localharness · scanned 2026-06-17 01:30 UTC (1 month, 2 weeks ago)

63 raw signals (0 security + 63 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ +22.8 (diff) · 51 actionable findings from 1 signal source. 12 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 99.5/100 with 88.9% coverage. It contains 2317 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 63 findings — concentrated in quality (40), software (22), frontend (1). Risk profile is low: 0 critical, 0 high, 4 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 40 of 51 actionable findings. 63 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — src/localharness/autoresearch/adoption.py:64
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — src/localharness/autoresearch/experiment.py:74
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — src/localharness/cli/autoresearch_cmd.py:464
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
low System graph quality Integrity conf 1.00 9 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: src/localharness/tools/mcp.py:connected, src/localharness/tools/mcp.py:connect This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
9 occurrences
repo-level (9 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: src/localharness/channels/discord.py:send_message, src/localharness/channels/terminal.py:send_message, src/localharness/channels/base.py:send_message This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: src/localharness/agent/subagent.py:dispatch_data_subagent, src/localharness/agent/subagent.py:dispatch_frontend_subagent, src/localharness/agent/subagent.py:dispatch_explore_subagent, src/localharness/agent/subagent.py:dispatch_web_subagent This is *…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_extract_legacy` in src/localharness/provider/fn_call.py:107
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/localharness/agent/subagent.py:162
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/localharness/core/bus.py:86
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/localharness/core/events.py:6
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/localharness/tools/registry.py:272
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/integration/test_spine_real_e2e.py:409
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/unit/test_events.py:199
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_all_base_urls_include_v1` in tests/unit/test_detector.py:244
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: abort
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/agent/loop.py:1181
low System graph software Dead code conf 1.00 Possibly dead Python function: call_agent_end
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/hooks.py:157
low System graph software Dead code conf 1.00 Possibly dead Python function: call_agent_start
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/hooks.py:144
low System graph software Dead code conf 1.00 Possibly dead Python function: call_on_event
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/hooks.py:178
low System graph software Dead code conf 1.00 Possibly dead Python function: decorator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/core/bus.py:140
low System graph software Dead code conf 1.00 Possibly dead Python function: dispatch_frontend_subagent
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/agent/subagent.py:346
low System graph software Dead code conf 1.00 Possibly dead Python function: execute_tool
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/mcp.py:216
low System graph software Dead code conf 1.00 Possibly dead Python function: filtered
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/core/bus.py:157
low System graph software Dead code conf 1.00 Possibly dead Python function: init_app
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/cli/init_cmd.py:61
low System graph software Dead code conf 1.00 Possibly dead Python function: list_agents
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/config/loader.py:397
low System graph software Dead code conf 1.00 Possibly dead Python function: list_divisions
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/config/loader.py:406
low System graph software Dead code conf 1.00 Possibly dead Python function: one_shot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/core/bus.py:191
low System graph software Dead code conf 1.00 Possibly dead Python function: post_hook_caller
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/hooks.py:126
low System graph software Dead code conf 1.00 Possibly dead Python function: pre_hook_caller
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/hooks.py:110
low System graph software Dead code conf 1.00 Possibly dead Python function: reconnect_server
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/mcp.py:309
low System graph software Dead code conf 1.00 Possibly dead Python function: register_impl
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/tools/hooks.py:100
low System graph software Dead code conf 1.00 Possibly dead Python function: replay_and_resubmit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/core/bus.py:243
low System graph software Dead code conf 1.00 Possibly dead Python function: set_gathered
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/orchestrator/workflow.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: slice_success_by_fixture
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/autoresearch/experiment.py:273
low System graph software Dead code conf 1.00 Possibly dead Python function: start_app
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/cli/start_cmd.py:460
low System graph software Dead code conf 1.00 Possibly dead Python function: summarize
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/cli/start_cmd.py:292
low System graph software Dead code conf 1.00 Possibly dead Python function: trim_context
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/localharness/orchestrator/router.py:96
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — src/localharness/assets/design-screenshot.js:31
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph quality Complexity conf 1.00 Very large file: src/localharness/agent/loop.py (1192 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/unit/test_agent_loop.py (1293 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/fcfd1701-3d4e-476e-8da4-13167a811dee/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/fcfd1701-3d4e-476e-8da4-13167a811dee/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.