AI Slop Code RIsk Monitor

superdesigndev/treg

OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn

9.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for superdesigndev/treg, a Python project with 4,985 GitHub stars. SynthScan examined 567,735 lines of code across 3639 source files, recording 4808 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 9.9 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

9.9
Adjusted Signal
9.9
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.0K
Stars
Python
Language
567.7K
Lines of Code
3.6K
Files
4.8K
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 26.6/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 3717 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.6/100 · LOW

Are imports declared and package/API names verified? 581 finding(s).

Agent Over-Engineering Ratio 30.8/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 3747 finding(s).

PR Review Velocity Impact 41.0/100 · MEDIUM

Which changes need focused human review? 4808 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 173MEDIUM 155LOW 4480

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4808 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers3224 hits · 2991 pts
SeverityFileLineSnippetContext
LOWfrontend/e2e/agents.spec.ts112async function waitForConsumedCredential(page: Page, orgId: number, keyId: number) {CODE
LOWtests/test_gtm_engineering_page.py18async def test_hub_is_served_canonical_and_measurable(clients: AsyncClient):CODE
LOWtests/test_gtm_engineering_page.py38async def test_every_internal_link_on_the_hub_resolves(clients: AsyncClient):CODE
LOWtests/test_gtm_engineering_page.py50async def test_hub_is_linked_from_its_pillars_and_listed(clients: AsyncClient):CODE
LOWtests/test_gtm_engineering_page.py82async def test_markdown_twin_carries_every_chapter(clients: AsyncClient):CODE
LOWtests/test_gtm_engineering_page.py99async def test_studies_publish_results_without_naming_the_databases(clients: AsyncClient):CODE
LOWtests/test_arena_verification_insights.py22def test_projection_thresholds_and_phone_does_not_imply_ownership():CODE
LOWtests/test_arena_verification_insights.py49def test_reject_private_content_and_invalid_aggregates(change):CODE
LOWtests/test_arena_verification_insights.py56async def test_published_snapshot_survives_observation_refresh_and_reimport(clients):CODE
LOWtests/test_arena_verification_insights.py71async def test_empty_database_has_no_verification_rates(clients):CODE
LOWtests/test_arena_verification_insights.py75def test_validity_uses_completed_returned_emails_not_lookup_baseline():CODE
LOWtests/test_arena_verification_insights.py92def test_phone_format_validity_has_a_separate_completed_check_denominator():CODE
LOWtests/test_feedback.py23async def test_feedback_is_durable_and_private_to_the_team(clients):CODE
LOWtests/test_feedback.py55async def test_invalid_feedback_is_not_stored(clients, body):CODE
LOWtests/test_feedback.py60async def test_call_references_verify_only_same_team_without_requiring_audit(clients):CODE
LOWtests/test_feedback.py81async def test_rate_limit_is_per_team(clients, monkeypatch):CODE
LOWtests/test_feedback.py92async def test_failed_insert_rolls_back_without_an_acknowledgement(clients, monkeypatch):CODE
LOWtests/test_feedback.py109async def test_admin_can_filter_and_page_reports(clients, monkeypatch):CODE
LOWtests/test_feedback.py127def test_cli_feedback_sends_only_the_declared_fields(monkeypatch, capsys):CODE
LOWtests/test_feedback.py149async def test_team_mcp_submits_to_the_intake(clients):CODE
LOWtests/test_feedback.py163async def test_mcp_exposes_the_small_category_enum():CODE
LOWtests/test_feedback.py177async def test_deleting_a_team_removes_its_feedback(clients):CODE
LOWtests/test_feedback.py192async def test_public_demo_token_cannot_submit_feedback(clients):CODE
LOWtests/test_feedback.py204def test_cli_feedback_get_uses_the_configured_registry(monkeypatch, capsys):CODE
LOWtests/test_feedback.py229def test_cli_feedback_errors_are_actionable_without_echoing_input(monkeypatch, capsys, status, code, hint):CODE
LOWtests/test_feedback.py248def test_cli_feedback_validates_message_before_sending(monkeypatch, capsys, message, length):CODE
LOWtests/test_feedback.py260def test_cli_feedback_network_errors_do_not_claim_a_submission_failed(monkeypatch, capsys, action, code):CODE
LOW⚡tests/test_feedback.py280def test_cli_feedback_keeps_category_first_shorthand(monkeypatch):CODE
LOW⚡tests/test_feedback.py288def test_cli_feedback_stdin_never_waits_for_interactive_input(monkeypatch, capsys):CODE
LOW⚡tests/test_feedback.py296async def test_internal_handling_does_not_change_public_receipt(clients):CODE
LOWtests/test_capacity_know.py24async def test_policy_population_covers_every_platform_slot_and_both_aggregators():CODE
LOWtests/test_capacity_know.py36async def test_platform_account_has_a_known_dashboard_only_capacity_policy(CODE
LOWtests/test_capacity_know.py56async def test_import_creates_one_policy_per_account_and_flags_unknowns_without_overwriting():CODE
LOWtests/test_capacity_know.py77def test_snapshot_never_carries_a_credential():CODE
LOWtests/test_capacity_know.py109async def test_sweep_one_failing_collector_does_not_stop_the_others(monkeypatch):CODE
LOWtests/test_capacity_know.py140async def test_view_sees_a_published_state_from_a_fresh_process_within_the_ttl():CODE
LOWtests/test_capacity_know.py157def test_capacity_view_getters_are_sync_and_io_free():CODE
LOWtests/test_maintenance.py221def test_real_serve_path_can_query_database_after_pre_serve_maintenance(tmp_path):CODE
LOWtests/test_maintenance.py287def test_empty_database_upgrade_uses_pure_alembic_without_provisioning_a_user(tmp_path):CODE
LOWtests/test_maintenance.py306def test_raw_asgi_boots_when_database_is_at_head(tmp_path):CODE
LOWtests/test_maintenance.py316def test_raw_asgi_refuses_a_database_behind_head(tmp_path):CODE
LOWtests/test_maintenance.py330def test_raw_asgi_warns_and_serves_when_database_revision_is_unknown_newer(tmp_path):CODE
LOWtests/test_maintenance.py346def test_upgrade_refuses_an_unstamped_pre_adoption_database(tmp_path):CODE
LOWtests/test_maintenance.py360def test_upgrade_names_the_rollback_when_the_database_is_newer_than_the_build(tmp_path):CODE
LOWtests/test_maintenance.py377def test_upgrade_applies_a_pending_revision_from_one_behind_head(tmp_path):CODE
LOWtests/test_maintenance.py392def test_upgrade_backfills_companions_and_is_idempotent(tmp_path):CODE
LOWtests/test_maintenance.py409def test_app_lifespan_does_not_run_release_backfills(tmp_path, ads_enabled):CODE
LOWtests/test_maintenance.py484async def test_upgrade_retries_a_lock_timeout_and_resumes(monkeypatch, caplog):CODE
LOWtests/test_maintenance.py499async def test_upgrade_gives_up_after_the_retry_budget(monkeypatch):CODE
LOWtests/test_maintenance.py513async def test_upgrade_does_not_retry_other_database_errors(monkeypatch):CODE
LOWtests/test_call_pool_discipline.py46async def dispose_exhausted_pool_on_its_own_loop():CODE
LOWtests/test_call_pool_discipline.py53def _relay_that_checks_the_pool(seen: list[int]):CODE
LOWtests/test_call_pool_discipline.py66async def test_a_metered_call_holds_no_db_connection_while_upstream_is_called(CODE
LOWtests/test_call_pool_discipline.py77async def test_an_own_key_call_holds_no_db_connection_while_upstream_is_called(CODE
LOWtests/test_call_pool_discipline.py91async def test_a_burst_larger_than_the_pool_settles_every_call_at_provider_speed(CODE
LOWtests/test_call_pool_discipline.py103 async def _relay_after_everyone_arrives(*args, **kwargs):CODE
LOWtests/test_call_pool_discipline.py145async def test_a_catalog_search_storm_cannot_starve_calls_of_the_pool(CODE
LOWtests/test_call_pool_discipline.py199async def test_http_and_mcp_catalog_search_share_one_nonblocking_refresh(CODE
LOWtests/test_call_pool_discipline.py247async def test_a_settle_that_loses_the_pool_once_retries_and_still_charges(CODE
LOWtests/test_call_pool_discipline.py274async def test_auth_releases_a_single_slot_pool_before_an_application_session(CODE
3164 more matches not shown…
Empty Error Handlers106 hits · 530 pts
SeverityFileLineSnippetContext
HIGHtests/test_maintenance.py204except (OSError, urllib.error.URLError):CODE
HIGHtests/test_maintenance.py249except (OSError, urllib.error.URLError):CODE
HIGHtests/conftest.py503except ImportError:CODE
HIGHtests/conftest.py509except ImportError:CODE
HIGHtests/conftest.py514except ImportError:CODE
HIGHtests/test_localproxy.py483except OSError:CODE
HIGHtests/test_localproxy.py403except (ssl.SSLError, OSError):CODE
HIGHtests/test_call_response_limits.py73except (BrokenPipeError, ConnectionResetError):CODE
HIGH…/skills/ugc-talking-head-video/scripts/caption_burn.py31except Exception: passCODE
HIGHscripts/catalog_verify_extended.py322except ValueError:CODE
HIGHscripts/catalog_verify_extended.py235except Exception:CODE
HIGHscripts/catalog_verify.py174except ValueError:CODE
HIGHsrc/treg/bootstrap.py601except Exception: # noqa: BLE001 - diagnostics must not break a gauge or shutdownCODE
HIGHsrc/treg/worker.py419except Exception: # noqa: BLE001 - local exit summaries remain the fallback evidenceCODE
HIGHsrc/treg/worker.py409except Exception: # noqa: BLE001 - preserve the command's result/failureCODE
HIGHsrc/treg/runner.py123except (ValueError, OSError): # pragma: no cover - defensive; never fail a run over a limitCODE
HIGHsrc/treg/runner.py170except (ProcessLookupError, PermissionError):CODE
HIGHsrc/treg/runner.py271except (asyncio.TimeoutError, ProcessLookupError, asyncio.CancelledError):CODE
HIGHsrc/treg/skills.py63except OSError:CODE
HIGHsrc/treg/health.py252except Exception: # noqa: BLE001 — an alert hiccup must never break the runCODE
HIGHsrc/treg/shell.py218except (ProcessLookupError, OSError):CODE
HIGHsrc/treg/providers.py731except (ValueError, IndexError):CODE
HIGHsrc/treg/cli.py136except Exception:CODE
HIGHsrc/treg/cli.py540except Exception:CODE
HIGHsrc/treg/cli.py799except KeyboardInterrupt:CODE
HIGHsrc/treg/cli.py853except OSError:CODE
HIGHsrc/treg/cli.py1605except Exception:CODE
HIGHsrc/treg/cli.py1612except (OSError, json.JSONDecodeError):CODE
HIGHsrc/treg/cli.py2311except (TypeError, ValueError):CODE
HIGHsrc/treg/cli.py3277except ModuleNotFoundError:CODE
HIGHsrc/treg/cli.py3989except Exception: # noqa: BLE001 — optional extras; the treg skill already installedCODE
HIGHsrc/treg/cli.py1289except ImportError:CODE
HIGHsrc/treg/cli.py1320except ImportError:CODE
HIGHsrc/treg/cli.py2610except ValueError:CODE
HIGHsrc/treg/cli.py2932except (ProcessLookupError, OSError):CODE
HIGHsrc/treg/cli.py2993except Exception: # noqa: BLE001 — reporting must never mask the CLI's own failureCODE
HIGHsrc/treg/cli.py3050except OSError:CODE
HIGHsrc/treg/cli.py3973except OSError:CODE
HIGHsrc/treg/cli.py5953except Exception: # noqa: BLE001 — an access hint must never break the catalog pageCODE
HIGHsrc/treg/cli.py1598except OSError:CODE
HIGHsrc/treg/cli.py3039except OSError:CODE
HIGHsrc/treg/mcp.py1463except ValueError:CODE
HIGHsrc/treg/mcp.py1558except ValueError:CODE
HIGHsrc/treg/localproxy.py400except OSError:CODE
HIGHsrc/treg/localproxy.py558except (ConnectionError, OSError):CODE
HIGHsrc/treg/localproxy.py565except (ConnectionError, OSError, RuntimeError):CODE
HIGHsrc/treg/localproxy.py579except (ConnectionError, OSError, asyncio.IncompleteReadError):CODE
HIGHsrc/treg/localproxy.py839except (ValueError, httpx.HTTPError, TypeError):CODE
HIGHsrc/treg/localproxy.py269except (ValueError, TypeError, OSError):CODE
HIGHsrc/treg/localproxy.py585except (ConnectionError, OSError, RuntimeError):CODE
HIGHsrc/treg/localproxy.py1093except (RuntimeError, TimeoutError, asyncio.TimeoutError, asyncio.CancelledError):CODE
HIGHsrc/treg/localproxy.py1077except (OSError, RuntimeError):CODE
HIGHsrc/treg/localproxy.py206except OSError:CODE
HIGHsrc/treg/localproxy.py225except OSError:CODE
HIGHsrc/treg/localproxy.py1082except (httpx.HTTPError, RuntimeError, OSError):CODE
HIGHsrc/treg/analytics.py181except Exception: # noqa: BLE001 — analytics must never surface into a caller's pathCODE
HIGHsrc/treg/analytics.py292except Exception: # noqa: BLE001 — reporting a fault must never become another faultCODE
HIGHsrc/treg/analytics.py389except Exception: # noqa: BLE001 — a PostHog hiccup costs this batch, nothing elseCODE
HIGHsrc/treg/analytics.py323except Exception: # noqa: BLE001 — Handler.emit must never escape into its callerCODE
HIGHsrc/treg/analytics.py405except (asyncio.CancelledError, Exception): # noqa: BLE001CODE
46 more matches not shown…
Unused Imports471 hits · 442 pts
SeverityFileLineSnippetContext
LOWe2e_check.py7CODE
LOWtests/test_gtm_engineering_page.py5CODE
LOWtests/test_capacity_know.py4CODE
LOWtests/test_maintenance.py3CODE
LOWtests/test_call_pool_discipline.py17CODE
LOWtests/test_call_pool_discipline.py31CODE
LOWtests/test_call_pool_discipline.py39CODE
LOWtests/test_db_pool_isolation.py14CODE
LOWtests/test_billing.py15CODE
LOWtests/test_endpoint_stats.py8CODE
LOWtests/test_catalog_api.py9CODE
LOWtests/test_step3_crud_auth_audit.py6CODE
LOWtests/test_postgres_reset.py3CODE
LOWtests/test_admin.py4CODE
LOWtests/test_money_trace_postgres.py3CODE
LOWtests/test_moltsets.py11CODE
LOWtests/test_fsjail.py4CODE
LOWtests/conftest.py8CODE
LOWtests/test_connections.py8CODE
LOWtests/test_injectors.py7CODE
LOWtests/test_localproxy.py14CODE
LOWtests/test_call_architecture.py3CODE
LOWtests/test_security_round2.py2CODE
LOWtests/test_tag_billing.py12CODE
LOWtests/test_catalog_search.py5CODE
LOWtests/test_aigc_pr_b.py3CODE
LOWtests/test_influencersclub_overflow.py26CODE
LOWtests/test_influencersclub_overflow.py27CODE
LOWtests/test_asgi_middleware.py3CODE
LOWtests/test_detail_pages.py8CODE
LOWtests/test_onboard.py7CODE
LOWtests/test_security_round3.py2CODE
LOWtests/test_refusal_audit.py10CODE
LOWtests/test_static_pages.py4CODE
LOWtests/test_alembic_baseline.py3CODE
LOWtests/test_surface_snapshot.py3CODE
LOWtests/test_plugin.py28CODE
LOWtests/test_step5_skills.py8CODE
LOWtests/test_enrich_arena.py16CODE
LOWtests/test_enrich_arena.py17CODE
LOWtests/test_capacity_collectors.py7CODE
LOWtests/test_relay_content_length.py8CODE
LOWtests/test_financialdatasets.py3CODE
LOWtests/test_hub.py8CODE
LOWtests/test_hub.py19CODE
LOWtests/test_money_admission_postgres.py7CODE
LOWtests/test_table_oauth.py9CODE
LOWtests/test_table_oauth.py16CODE
LOWtests/test_providers.py8CODE
LOWtests/test_auth.py7CODE
LOWtests/test_asynctasks.py3CODE
LOWtests/test_catalog_observation_cache.py3CODE
LOWtests/test_walking_skeleton.py7CODE
LOWtests/test_find_index.py4CODE
LOWtests/test_oauth_connect.py6CODE
LOWtests/test_table.py8CODE
LOWtests/test_table.py16CODE
LOWtests/test_capacity_smoothing.py5CODE
LOWtests/test_capacity_smoothing.py24CODE
LOWtests/test_capacity_smoothing.py24CODE
411 more matches not shown…
Cross-Language Confusion59 hits · 376 pts
SeverityFileLineSnippetContext
HIGHtests/test_catalog_api.py933 no_price: {usd: null, kind: treg_shared_plan, basis: "treg shared-plan rate. $10/mo. break-even at 1,000 calls/mo", CODE
HIGH⚡tests/test_hub.py1368 "export default async function run(ctx) { return { email: null, results: 0 }; }")CODE
HIGH⚡tests/test_hub.py1605 " return { rows: r.json.data, count: FULL ? r.json.data.length : null };"CODE
HIGHtests/test_hub.py1547 " return ctx.inputs.search === 'none' ? { rows: null, count: null } : { rows: [1], count: 1 };"CODE
HIGH⚡tests/test_cache_result_admission.py276 raw = b'{"data":{"name":null}}'CODE
HIGH⚡tests/test_routing.py875 miss_tomba = b'{"data": {"email": null, "score": null, "first_name": "Z", "verification": {"status": null}}}'CODE
HIGH⚡tests/test_routing.py879 assert A._observed_cost_micro(_mk("findymail", endpoint_id="findymail.search.name", cost_type="per_success"), b'{"coCODE
HIGH⚡tests/test_routing.py880 assert A._observed_cost_micro(_mk("leadsforge", endpoint_id="leadsforge.people.email.find", cost_type="per_success")CODE
HIGH⚡tests/test_routing.py881 assert A._observed_cost_micro(_mk("leadsforge", endpoint_id="leadsforge.people.email.find", cost_type="per_call"), bCODE
HIGHtests/test_routing.py1334 fail = b'{"code": 301, "data": null, "message": "COLLECT FAILED, SEND REQUEST AGAIN"}'CODE
HIGH⚡tests/test_hub_sandbox.py68 const a = []; while (true) { a.push("x".repeat(1000000)); }CODE
HIGHtests/test_capacity_overflow_routes.py227 b'"type":"InsufficientCredits","expected":null,"actual":null}],"success":false}')CODE
HIGH⚡tests/test_shell.py152 r = subprocess.run(["/bin/sh", "-c", "stripe deploy --prod && true"], env=env, capture_output=True)CODE
HIGH⚡tests/test_marketplace_call.py860 mk, b'{"ai_overview":null,"search_metadata":{"ai_overview_state":"not_served"}}') == 0CODE
HIGH⚡tests/test_marketplace_call.py863 assert call_settle._observed_cost_micro(mk, b'{"ai_overview":null}') is NoneCODE
HIGH⚡tests/test_marketplace_call.py1046 mk, b'{"results": [], "total_deduction_dollars": null}'CODE
HIGH⚡tests/test_marketplace_call.py1049 mk, b'{"total_deduction_dollars": null}'CODE
HIGH⚡tests/test_marketplace_call.py1052 mk, b'{"results": null, "total_deduction_dollars": null}'CODE
HIGH⚡tests/test_marketplace_call.py1118 ("aviato.companies.enrich.bulk", 150_000, b'{"companies": [{"id": "1"}, null]}', 150_000),CODE
HIGH⚡tests/test_marketplace_call.py1119 ("aviato.people.enrich.bulk", 70_000, b'[{"id": "1"}, null]', 70_000),CODE
HIGH⚡tests/test_marketplace_call.py1216 assert call_settle._observed_cost_micro(f, b'{"data": {"email": null, "score": null}}') == 0, \CODE
HIGH⚡tests/test_marketplace_call.py1218 assert call_settle._observed_cost_micro(f, b'{"data": {"email": "", "score": null}}') == 0, \CODE
HIGH⚡tests/test_marketplace_call.py1235 assert call_settle._observed_cost_micro(t, b'{"code": 400, "message": "Request failed. You won\'t be charged for thiCODE
HIGH⚡tests/test_marketplace_call.py3145 assert call_settle._observed_cost_micro(mk, b'{"success":true,"result":null,"status":"NOT_FOUND"}') == 0CODE
HIGHtests/test_marketplace_call.py1177 assert call_settle._observed_cost_micro(_mk("apollo"), b'{"organization": null}') == 0, "a 2xx miss is free"CODE
HIGHtests/test_marketplace_call.py2466 b'{}', b'{"data": {}}', b'{"data": {"emails": null}}',CODE
HIGHtests/test_marketplace_call.py2467 b'{"data": {"emails": {}}}', b'{"data": null}', b'not json',CODE
HIGHtests/test_mcp.py577 f"the SDK fills absent keys in as null, so a strict client "CODE
HIGHtests/test_mcp.py557 """`total=False` says a key may be ABSENT; it does not say the value may be null, and nulls reachSTRING
HIGHtests/test_mcp.py565 So EVERY field of EVERY tool must allow null, not just the ones known to carry data nulls.STRING
HIGHtests/test_arena_insights.py181 body=b'{"data":{"email":null}}'))CODE
HIGHscripts/backfill_call_archive_links.py57 and cached = false and archive_key_hash is null) as unlinked_callsCODE
HIGHmarketing/landing/build_html.py4 python3 build.py && python3 build_html.pySTRING
HIGHmarketing/landing/build_html.py558 window.tregEvents.push([name, p, Date.now()]);CODE
HIGHmarketing/landing/build_html.py559 if (window.posthog && window.posthog.capture) window.posthog.capture(name, p);CODE
HIGHmarketing/landing/build_html.py582 if (a && a.tagName !== 'DETAILS') ev(a.dataset.ev);CODE
HIGHmarketing/landing/build_review.py4 python3 build.py && python3 build_review.py [outfile]STRING
HIGHsrc/treg/fsjail.py32 '(allow file-write* (regex #"^/dev/"))\n' # /dev/null, /dev/tty, /dev/stdout, …CODE
HIGH⚡src/treg/mcp.py307# says a key may be ABSENT; it does not say the value may be null, and nulls arrive from twoCOMMENT
HIGH⚡src/treg/mcp.py314# advertised schema (`type: string`, no null) refuses the whole answer with -32602. `| None` turnsCOMMENT
HIGH⚡src/treg/mcp.py315# the advertised type into `anyOf [string, null]`, which is the truth of what we send.COMMENT
HIGHsrc/treg/hub_sandbox.py10 parent → child {"op": "run", "script": "...", "inputs": {...}, "data": [rows] | null, "memory_mb": 64, "wall_s": 120STRING
HIGH⚡src/treg/hub_sandbox.py49 if (c === ",") { row.push(field); field = ""; i++; continue; }CODE
HIGH⚡src/treg/hub_sandbox.py51 if (c === "\\n") { row.push(field); rows.push(row); row = []; field = ""; i++; continue; }CODE
HIGH⚡src/treg/hub_sandbox.py54 if (field !== "" || row.length) { row.push(field); rows.push(row); }CODE
HIGH⚡src/treg/hub_sandbox.py57 return rows.slice(1).filter(r => r.length > 1 || (r.length === 1 && r[0] !== "")).map(r => {CODE
HIGHsrc/treg/hub_sandbox.py69 p.resolve({ status: reply.status, headers: reply.headers, json: reply.json, text: reply.text, truncated: !!reply.truncCODE
HIGH⚡src/treg/hub_sandbox.py154globalThis.__state = "pending"; globalThis.__out = null; globalThis.__err = null;CODE
HIGH⚡src/treg/hub_sandbox.py157 .catch(e => { globalThis.__err = (e === null || e === undefined) ? "InternalError: out of memory"CODE
HIGH⚡src/treg/hub_sandbox.py157 .catch(e => { globalThis.__err = (e === null || e === undefined) ? "InternalError: out of memory"CODE
HIGH⚡src/treg/hub_sandbox.py158 : (e && e.message !== undefined ? (e.name + ": " + e.message) : String(e))CODE
HIGH⚡src/treg/hub_sandbox.py159 + (e && e.stack ? "\\n" + e.stack : ""); globalThis.__state = "error"; });CODE
HIGHsrc/treg/routers/catalog.py70 # UI separately when a platform has only free endpoints (price_from stays null).COMMENT
HIGHsrc/treg/routers/auth.py541 mk('h1',null,email?('Logged in as '+email):'Logged in');CODE
HIGHsrc/treg/routers/auth.py542 mk('p',null,'Return to your terminal. The CLI is finishing up.');CODE
HIGHsrc/treg/routers/auth.py560let CREATED_ORG=null; // remember a just-created team so a retry (e.g. after a wrong code) reuses it, never makes a 2ndCODE
HIGHsrc/treg/infra/db.py327 "SELECT 'column', table_name, column_name, data_type || is_nullable "CODE
HIGHsrc/treg/application/connect.py1320 # No SQL filter on tool_access: "all tools" is stored as JSON null, which IS NOT NULLCOMMENT
HIGHsrc/treg/domain/catalog/routing/paths.py261 """Convert declared empty markers to null; retain the original nonempty value."""STRING
Decorative Section Separators112 hits · 364 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_plugin.py168# --------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_plugin.py170# --------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_plugin.py272# --------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_plugin.py275# --------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_plugin.py320# --------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_plugin.py322# --------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_hub.py72# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_hub.py115# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_hub.py707# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_hub.py944# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_hub.py1243# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_hub.py1253# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_hub.py1559# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py213# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py304# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py380# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py464# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py587# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py642# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py809# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py852# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py1000# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py1212# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py1281# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py1342# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub.py1431# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_table.py30# ------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_table.py111# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_table.py211# ------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_hub_sandbox.py220# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_archive.py52# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_archive.py120# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_archive.py263# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_archive.py772# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py24# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py156# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py288# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py318# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py458# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py805# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py896# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive.py1161# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive_opt_out.py55# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive_opt_out.py118# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive_opt_out.py277# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_archive_opt_out.py302# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_cli.py1203# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_marketplace_call.py3179# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_mcp.py1028# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_mcp.py1036# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/test_mcp.py1401# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/callmatrix/test_hub_run.py227# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/callmatrix/test_hub_run.py363# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/callmatrix/test_hub_run.py516# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/callmatrix/test_hub_run.py646# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMscripts/catalog_ingest.py66# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMscripts/catalog_ingest.py304# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMscripts/catalog_ingest.py815# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMscripts/catalog_ingest.py927# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMscripts/catalog_ingest.py1284# ---------------------------------------------------------------------------------------------COMMENT
52 more matches not shown…
Excessive Try-Catch Wrapping281 hits · 278 pts
SeverityFileLineSnippetContext
LOWtests/callmatrix/asserts.py66 except Exception as exc: # noqa: BLE001CODE
LOW…/skills/ugc-talking-head-video/scripts/caption_burn.py31 except Exception: passCODE
LOW…nts/skills/ugc-talking-head-video/scripts/host_file.py29 except Exception: return ""CODE
LOWscripts/catalog_verify_extended.py235 except Exception:CODE
LOWscripts/catalog_ingest.py966 except Exception:CODE
LOWscripts/smoke_archive_r2.py41 except Exception:CODE
LOWscripts/catalog_ingest_crawl4ai_recipes.py259 except Exception as exc: # noqa: BLE001 - a capture failure leaves the row unverifiedCODE
LOWsrc/treg/bootstrap.py417except Exception: # pragma: no cover - exercised by deploys without the optional dependencyCODE
LOWsrc/treg/bootstrap.py601 except Exception: # noqa: BLE001 - diagnostics must not break a gauge or shutdownCODE
LOWsrc/treg/bootstrap.py638 except Exception: # noqa: BLE001 - a gauge must never take the service downCODE
LOWsrc/treg/worker.py409 except Exception: # noqa: BLE001 - preserve the command's result/failureCODE
LOWsrc/treg/worker.py419 except Exception: # noqa: BLE001 - local exit summaries remain the fallback evidenceCODE
LOWsrc/treg/bootstrap_http.py195 except Exception: # noqa: BLE001 -- a malformed encoded body is a client error, not a 500CODE
LOWsrc/treg/audit.py235 except Exception: # noqa: BLE001 — audit must never surface into a call's resultCODE
LOWsrc/treg/health.py86 except Exception as exc: # noqa: BLE001 — transport/timeout says nothing about the credentialCODE
LOWsrc/treg/health.py162 except Exception as exc: # noqa: BLE001CODE
LOWsrc/treg/health.py177 except Exception as exc: # noqa: BLE001 — contain the blast radius to this one toolCODE
LOWsrc/treg/health.py252 except Exception: # noqa: BLE001 — an alert hiccup must never break the runCODE
LOWsrc/treg/shell.py298 except Exception as exc: # noqa: BLE001 — teardown must finish even if the add-on failsCODE
LOWsrc/treg/archive_bodies.py46 except Exception: # noqa: BLE001 - an unanswered HEAD is not proof; upload againCODE
LOWsrc/treg/archive_bodies.py226 except Exception as exc:CODE
LOWsrc/treg/archive_bodies.py390 except Exception:CODE
LOWsrc/treg/archive_bodies.py440 except Exception as exc:CODE
LOWsrc/treg/api.py177 except Exception: # noqa: BLE001 — an editable/source run has no installed metadataCODE
LOWsrc/treg/api.py598 except Exception as exc: # noqa: BLE001 — a failed oauth refresh must read clearly, like /callCODE
LOWsrc/treg/providers.py689 except Exception:CODE
LOWsrc/treg/providers.py695 except Exception:CODE
MEDIUMsrc/treg/cli.py66def _load_config() -> dict:CODE
MEDIUMsrc/treg/cli.py3663def cmd_skill_push(args, cfg) -> None:CODE
LOWsrc/treg/cli.py105 except Exception:CODE
LOWsrc/treg/cli.py115 except Exception:CODE
LOWsrc/treg/cli.py136 except Exception:CODE
LOWsrc/treg/cli.py149 except Exception: # noqa: BLE001 — the caller decides whether this optional exchange is requiredCODE
LOWsrc/treg/cli.py153 except Exception: # noqa: BLE001 — an edge/proxy response need not be JSONCODE
LOWsrc/treg/cli.py325 except Exception:CODE
LOWsrc/treg/cli.py424 except Exception:CODE
LOWsrc/treg/cli.py459 except Exception as exc: # noqa: BLE001 — network/DNS: report, don't persist a maybe-bad tokenCODE
LOWsrc/treg/cli.py514 except Exception as exc:CODE
LOWsrc/treg/cli.py540 except Exception:CODE
LOWsrc/treg/cli.py547 except Exception:CODE
LOWsrc/treg/cli.py834 except Exception: # noqa: BLE001 — a transient failure just means "no smart hint"CODE
LOWsrc/treg/cli.py893 except Exception:CODE
LOWsrc/treg/cli.py1235 except Exception: # noqa: BLE001CODE
LOWsrc/treg/cli.py1334 except Exception as exc: # noqa: BLE001CODE
LOWsrc/treg/cli.py1347 except Exception: # noqa: BLE001 — a walkthrough must survive an unreachable registryCODE
LOWsrc/treg/cli.py1380 except Exception as exc: # noqa: BLE001CODE
LOWsrc/treg/cli.py1605 except Exception:CODE
LOWsrc/treg/cli.py2028 except Exception: # a flaky/non-JSON poll shouldn't abort the loopCODE
LOWsrc/treg/cli.py2064 except Exception as exc:CODE
LOWsrc/treg/cli.py2993 except Exception: # noqa: BLE001 — reporting must never mask the CLI's own failureCODE
LOWsrc/treg/cli.py3092 except Exception: # noqa: BLE001 — a missing/odd config just means no registry host is addedCODE
LOWsrc/treg/cli.py3888 except Exception as exc: # noqa: BLE001 — network/DNS: report, don't write a maybe-bad tokenCODE
LOWsrc/treg/cli.py3955 except Exception as exc: # noqa: BLE001 — network/HTTP; report and exit non-zero for install.shCODE
LOWsrc/treg/cli.py3989 except Exception: # noqa: BLE001 — optional extras; the treg skill already installedCODE
LOWsrc/treg/cli.py4153 except Exception:CODE
LOWsrc/treg/cli.py4167 except Exception:CODE
LOWsrc/treg/cli.py4263 except Exception:CODE
LOWsrc/treg/cli.py4282 except Exception:CODE
LOWsrc/treg/cli.py4337 except Exception: # noqa: BLE001 — can't reach the registry ≠ can't switchCODE
LOWsrc/treg/cli.py4385 except Exception: # noqa: BLE001 — questionary absent → fall back to a typed listCODE
221 more matches not shown…
Over-Commented Block222 hits · 216 pts
SeverityFileLineSnippetContext
LOW.gitleaks.toml21 # The scanner reads every fetched branch, so the seo branch carrying treg's key as a constantCOMMENT
LOW.gitleaks.toml41# rules curation follows. The scoping below is therefore narrow — the entropy rules only, in thatCOMMENT
LOWfrontend/src/views.ts1import { defineAsyncComponent, type Component, type ComponentPublicInstance } from 'vue'COMMENT
LOWfrontend/src/state/catalogComputed.js21mkAccounts(){ return this.connAccounts.filter(a=>a.service===this.mkService); },COMMENT
LOWfrontend/src/state/referrals.js1COMMENT
LOWfrontend/src/state/catalog.js261 },COMMENT
LOWfrontend/src/state/catalog.js361// The two measured numbers, one rule each wherever they show: success once 20 calls are decided,COMMENT
LOWfrontend/src/state/catalog.js381 // reader sees no way to bring their own key. `mkOauth` stays false without the registry, so theCOMMENT
LOWfrontend/src/pages/SearchPage.vue1<script>COMMENT
LOWtests/test_mcp.py1241 # says "crypto", nobody's endpoint text says "cryptocurrency", and substring containment onlyCOMMENT
LOWdsh/cordis.patch.yml1# The layer this bundle contributes to a dsh profile that lists it.COMMENT
LOWexamples/hub/ai-visibility/run.js1// ai-visibility: ask five AI answer engines the same question, report who they mention.COMMENT
LOWexamples/hub/company-consensus/run.js1// company-consensus: one company's details from two independent sources, and whether they agree.COMMENT
LOWexamples/hub/verified-email/run.js1// verified-email: one person's work email, found and then checked, in one call.COMMENT
LOWexamples/hub/search-console-health/run.js1// search-console-health: one Search Console property's health, in one call, on the CALLER's ownCOMMENT
LOWexamples/hub/lead-pipeline/run.js1// lead-pipeline: the people at a company, each with a work email that has been checked.COMMENT
LOWscripts/dev-local.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/catalog_verify_extended.py361# ("2026-07-27 23:27:48") — an extractor that trusted the field name would write a date stringCOMMENT
LOWscripts/catalog_ingest.py301 return outCOMMENT
LOWscripts/catalog_ingest.py581 if body is not None:COMMENT
LOWscripts/catalog_ingest.py1301 "dexscreener": "crypto",COMMENT
LOWscripts/catalog_ingest.py1341# not-found on the canonical example. Listing them would put two endpoints that return nothing onCOMMENT
LOWscripts/catalog_ingest.py1381_ANYAPI_MEASURED: dict[str, dict] | None = NoneCOMMENT
LOWscripts/catalog_ingest.py1641COMMENT
LOWscripts/smoke-domain.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/fresh-test-reset.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/treg/bootstrap_http.py21# /call/, /mcp/, auth flows, webhooks, agent-fetched pages like /vendor-listing, install scriptsCOMMENT
LOWsrc/treg/config.py121 demo_stripe_webhook_secret: str = ""COMMENT
LOWsrc/treg/config.py141 # `treg run --server` allow-list. The server only executes an entrypoint that is a catalog-known CLICOMMENT
LOWsrc/treg/config.py161 # a code change — and so the ledger records the rate that was in force for each call.COMMENT
LOWsrc/treg/config.py181 spool_budget_bytes: int = Field(default=512 * 1024 * 1024, ge=1)COMMENT
LOWsrc/treg/config.py321 overflow_key_orthogonal: str = ""COMMENT
LOWsrc/treg/config.py341 # The discovery EXPERIMENT (application.search_experiment): a relevance judge (TypeSafe's Jev)COMMENT
LOWsrc/treg/config.py361 search_experiment_candidates: int = 30COMMENT
LOWsrc/treg/config.py381 # (GitHub, their company, their homepage), asks the LLM for task inputs grounded in what itCOMMENT
LOWsrc/treg/config.py401 # checks are skipped.COMMENT
LOWsrc/treg/config.py421 find_embed_api_key: str = Field(default="", repr=False)COMMENT
LOWsrc/treg/config.py441 # teams mid-workload (thousands of refused calls against a funded balance) and never on abuse;COMMENT
LOWsrc/treg/config.py461 # Top-up amounts, in whole USD (the ONLY place dollars appear — billing.py converts to micro-USDCOMMENT
LOWsrc/treg/config.py481 autotopup_default_amount_usd: int = 20COMMENT
LOWsrc/treg/config.py521 # lever.COMMENT
LOWsrc/treg/config.py561 # team. The middle stage between "off" and "open": the owner's own team tries the live hub onCOMMENT
LOWsrc/treg/config.py581 # surface before its production Inspector and custom-connector gates have passed.COMMENT
LOWsrc/treg/config.py601 github_client_secret: str = ""COMMENT
LOWsrc/treg/config.py621 posthog_host: str = "https://eu.i.posthog.com"COMMENT
LOWsrc/treg/config.py641 # from the project its live token is paired with. Empty = Ads shows as unconfigured (correct — itCOMMENT
LOWsrc/treg/config.py681 tiktok_client_id: str = ""COMMENT
LOWsrc/treg/config.py721 # response, which is an unauthenticated account-takeover vector in prod — so it defaults OFF andCOMMENT
LOWsrc/treg/audit.py241 logging.getLogger("treg.audit").error(COMMENT
LOWsrc/treg/models.py41 id: int | None = Field(default=None, primary_key=True)COMMENT
LOWsrc/treg/models.py61 # `ledgerentry` cost a scan of the platform's whole day per call and emptied the API poolCOMMENT
LOWsrc/treg/models.py81 autotopup_monthly_cap_micro: int = Field(default=0) # 0 = "use the configured default"COMMENT
LOWsrc/treg/models.py101 # Which keys of the X-Treg-Meta bag this team may set budgets on. DECLARED rather than arbitraryCOMMENT
LOWsrc/treg/models.py201 promoted_from: str = Field(default="")COMMENT
LOWsrc/treg/models.py321class CallRecord(SQLModel, table=True):COMMENT
LOWsrc/treg/models.py341 # That load is why the API pool saturates: the three pools bulkheadCOMMENT
LOWsrc/treg/models.py401 # The hash itself never carries a body, so it is safe to keep forever; it is the future cache keyCOMMENT
LOWsrc/treg/models.py421 # or endpoint) | request (malformed pre-relay: wrong method, missing param, bad body). WhatCOMMENT
LOWsrc/treg/models.py441 # migration's ALTER TABLE ADD COLUMN append position.COMMENT
LOWsrc/treg/models.py561 code_verifier: str = Field(default="")COMMENT
162 more matches not shown…
Deep Nesting191 hits · 166 pts
SeverityFileLineSnippetContext
LOWe2e_check.py66CODE
LOWtests/test_maintenance.py165CODE
LOWtests/test_maintenance.py221CODE
LOWtests/test_web_arena.py435CODE
LOWtests/test_archive_r2.py496CODE
LOWtests/test_money_trace_runner.py161CODE
LOWtests/test_passthrough.py62CODE
LOWtests/callmatrix/provider.py93CODE
LOWtests/callmatrix/asserts.py48CODE
LOW…nts/skills/tools-registry-context/scripts/build-map.py37CODE
LOWscripts/bench_money_admission.py47CODE
LOWscripts/catalog_verify_extended.py199CODE
LOWscripts/catalog_verify_extended.py428CODE
LOWscripts/catalog_verify_extended.py494CODE
LOWscripts/catalog_ingest.py407CODE
LOWscripts/catalog_ingest.py485CODE
LOWscripts/catalog_ingest.py646CODE
LOWscripts/catalog_ingest.py771CODE
LOWscripts/catalog_ingest.py951CODE
LOWscripts/catalog_ingest.py1074CODE
LOWscripts/catalog_ingest.py2398CODE
LOWscripts/catalog_backfill_added.py155CODE
LOWscripts/catalog_verify.py85CODE
LOWscripts/minimax_plugin.py59CODE
LOWscripts/contactout_overflow_verify.py27CODE
LOWscripts/catalog_validate.py184CODE
LOWscripts/catalog_validate.py398CODE
LOWscripts/catalog_validate.py513CODE
LOWscripts/catalog_validate.py547CODE
LOWscripts/catalog_validate.py709CODE
LOWscripts/catalog_validate.py816CODE
LOWscripts/catalog_validate.py1075CODE
LOWscripts/catalog_validate.py1149CODE
LOWscripts/catalog_validate.py561CODE
LOWscripts/catalog_cost_provenance.py298CODE
LOWmarketing/landing/build.py15CODE
LOWmarketing/landing/build_html.py102CODE
LOWmarketing/landing/build_html.py240CODE
LOWmarketing/landing/build_html.py280CODE
LOWmarketing/landing/build_html.py366CODE
LOWmarketing/landing/build_html.py481CODE
LOWmarketing/landing/build_html.py623CODE
LOWmarketing/landing/build_review.py24CODE
LOWmarketing/landing/build_review.py88CODE
LOWsrc/treg/bootstrap.py607CODE
LOWsrc/treg/worker.py133CODE
LOWsrc/treg/egress.py37CODE
LOWsrc/treg/bootstrap_http.py51CODE
LOWsrc/treg/audit.py200CODE
LOWsrc/treg/skills.py153CODE
LOWsrc/treg/skills.py323CODE
LOWsrc/treg/health.py126CODE
LOWsrc/treg/health.py215CODE
LOWsrc/treg/convert.py90CODE
LOWsrc/treg/convert.py292CODE
LOWsrc/treg/archive_bodies.py156CODE
LOWsrc/treg/archive_bodies.py419CODE
LOWsrc/treg/api.py258CODE
LOWsrc/treg/providers.py364CODE
LOWsrc/treg/providers.py470CODE
131 more matches not shown…
Fake / Example Data46 hits · 57 pts
SeverityFileLineSnippetContext
LOWfrontend/e2e/teams.spec.ts46 await expect(cap).toHaveAttribute('placeholder', 'No limit')CODE
LOWfrontend/src/components/FilterBox.vue11 <input :ref="el => register && register(el as Element | null)" v-model="q" :aria-label="label" :placeholder="placeholdCODE
LOWfrontend/src/components/CatalogSearch.vue27 :aria-label="scope ? 'Search '+scopeLabel : 'Search the catalog'" :placeholder="placeholder"CODE
LOW⚡tests/test_team_limit.py28 first = (await clients.post('/users', json={'email': 'legacy-limit@example.org'})).json()CODE
LOWtests/test_team_limit.py47 other = (await clients.post('/users', json={'email': 'other-owner@example.org'})).json()CODE
LOWtests/test_team_limit.py103 other = (await clients.post('/users', json={'email': 'race-owner@example.org'})).json()CODE
LOW⚡tests/test_alembic_baseline.py126 VALUES ('pre-upgrade@example.org', false, false, 0, false, false, CURRENT_TIMESTAMP)CODE
LOW⚡tests/test_alembic_baseline.py132 FROM "user" WHERE email = 'pre-upgrade@example.org'CODE
LOW⚡tests/test_alembic_baseline.py139 WHERE email = 'pre-upgrade@example.org'CODE
LOW⚡tests/test_alembic_baseline.py142 SELECT signup_promo_available FROM "user" WHERE email = 'pre-upgrade@example.org'CODE
LOW⚡tests/test_error_capture.py474 fake_key = "sk_live_ABCDEFGHIJKLMNOP1234"CODE
LOW⚡tests/test_error_capture.py477 400, f'{{"message":"bad token {fake_key} and {fake_jwt}"}}'.encode()))CODE
LOW⚡tests/test_error_capture.py481 assert fake_key not in row["error_response"]CODE
LOWtests/test_orgs.py62 r = await verified_signup(clients, json={"email": "throwaway-team@example.org"})CODE
LOW⚡tests/test_signup_promo.py37 r = await clients.post('/users', json={'email': 'unverified@example.org'})CODE
LOW⚡tests/test_signup_promo.py45 token = await verified_identity(clients, 'unverified@example.org')CODE
LOW⚡tests/test_signup_promo.py55 token = await verified_identity(clients, 'verified@example.org')CODE
LOW⚡tests/test_signup_promo.py64 user = (await db.execute(select(User).where(User.email == 'verified@example.org'))).scalar_one()CODE
LOW⚡tests/test_signup_promo.py71 token = await verified_identity(clients, 'delete@example.org')CODE
LOW⚡tests/test_signup_promo.py84 json={'email': 'invite-code@example.org', 'role': 'member'})CODE
LOW⚡tests/test_signup_promo.py87 'email': 'invite-code@example.org', 'code': invite.json()['code']})CODE
LOW⚡tests/test_signup_promo.py95 db.add(User(email='legacy@example.org', signup_promo_available=False))CODE
LOW⚡tests/test_signup_promo.py97 token = await verified_identity(clients, 'legacy@example.org')CODE
LOW⚡tests/test_signup_promo.py103 token = await verified_identity(clients, 'failure@example.org')CODE
LOW⚡tests/test_signup_promo.py115 user = (await db.execute(select(User).where(User.email == 'failure@example.org'))).scalar_one()CODE
LOW⚡tests/test_signup_promo.py125 token = await verified_identity(clients, 'disabled@example.org')CODE
LOW⚡tests/test_signup_promo.py142 db.execute(text("INSERT INTO \"user\" VALUES (1, 'existing@example.org')"))CODE
LOW⚡tests/test_signup_promo.py146 db.execute(text("INSERT INTO \"user\" (id, email) VALUES (2, 'old-writer@example.org')"))CODE
LOW⚡tests/test_signup_promo.py148 assert User(email='new-code@example.org').signup_promo_available is TrueCODE
LOW⚡tests/test_cli_key_compatibility.py12 for path, body in [('/auth/email/start', {'email': 'new@example.org'}),CODE
LOW⚡tests/test_cli_key_compatibility.py13 ('/auth/email/verify', {'email': 'new@example.org', 'code': '123456'})]:CODE
LOW⚡tests/test_cli_key_compatibility.py29 response = await clients.post('/auth/email/start', json={'email': 'new@example.org'}, headers=headers)CODE
LOW⚡tests/test_cli_key_compatibility.py36 ('/invites/accept', {'email': 'new@example.org', 'code': 'unused'}),CODE
LOWtests/test_onboarding_v2.py407 uid = await _new_user("cy@example.org")CODE
LOWtests/test_onboarding_v2.py409 org = Org(name="cy@example.org", slug=f"cy-{uid}")CODE
LOWtests/test_ledger.py427 user = User(email="promo-atomic@example.org", email_verified_at=utcnow_naive())CODE
LOWsrc/treg/catalog/leadmagic.yaml56 body: {full_name: "Jane Doe", domain: "leadmagic.io"}CODE
LOWsrc/treg/catalog/examples/oceanio.people.search.json10 "name": "Jane Doe",CODE
LOW…catalog/examples/dropleads.people.enrich.verified.json1{"success":true,"status":"success","person":{"id":"example-person","first_name":"Jane","last_name":"Doe","name":"Jane DoCODE
LOW…leadsforge.linkedin.company.followers.job.results.json7 "name": "Jane Doe",CODE
LOWsrc/treg/catalog/examples/findymail.contacts.get.json8 "name": "Jane Doe",CODE
LOWsrc/treg/catalog/examples/dropleads.people.enrich.json1{"success":true,"person":{"id":"example-person","first_name":"Jane","last_name":"Doe","name":"Jane Doe","title":"FounderCODE
LOWsrc/treg/catalog/examples/wiza.people.search.json1{"status":{"code":200,"message":""},"data":{"total":1,"profiles":[{"full_name":"Jane Doe","linkedin_url":"linkedin.com/iCODE
LOW…treg/catalog/examples/companyenrich.people.lookup.json3 "name": "Jane Doe",CODE
LOWsrc/treg/catalog/examples/exa.people.search.json7 "title": "Jane Doe",CODE
LOWsrc/treg/catalog/examples/exa.people.search.json17 "name": "Jane Doe",CODE
Structural Annotation Overuse35 hits · 41 pts
SeverityFileLineSnippetContext
LOWsrc/treg/web/tutorial.md78## Step 1 - Find a tool by what it DOESCOMMENT
LOWsrc/treg/web/tutorial.md100## Step 2 - Read the price before you spendCOMMENT
LOWsrc/treg/web/tutorial.md123## Step 3 - Call it, with no key anywhereCOMMENT
LOWsrc/treg/web/tutorial.md136## Step 4 - See exactly what it costCOMMENT
LOWsrc/treg/web/tutorial.md157## Step 5 - Tom signs in (the email door)COMMENT
LOWsrc/treg/web/tutorial.md176## Step 6 - Tom creates the teamCOMMENT
LOWsrc/treg/web/tutorial.md200## Step 7 - Tom invites BobCOMMENT
LOWsrc/treg/web/tutorial.md220## Step 8 - Bob signs in as himselfCOMMENT
LOWsrc/treg/web/tutorial.md237## Step 9 - Bob sees his invite (no code)COMMENT
LOWsrc/treg/web/tutorial.md261## Step 10 - Bob acceptsCOMMENT
LOWsrc/treg/web/tutorial.md280## Step 11 - Bob's two hatsCOMMENT
LOWsrc/treg/web/tutorial.md299## Step 12 - Tom invites Alice as a viewerCOMMENT
LOWsrc/treg/web/tutorial.md319## Step 13 - Alice joins by code (no login first)COMMENT
LOWsrc/treg/web/tutorial.md339## Step 14 - The viewer role has teethCOMMENT
LOWsrc/treg/web/tutorial.md358## Step 15 - Bob registers a secretCOMMENT
LOWsrc/treg/web/tutorial.md378## Step 16 - Bob registers a toolCOMMENT
LOWsrc/treg/web/tutorial.md400## Step 17 - Alice calls it (with no key)COMMENT
LOWsrc/treg/web/tutorial.md422## Step 18 - Every call is on the recordCOMMENT
LOWsrc/treg/web/tutorial.md449## Step 19 - Call by full URL (agent-native)COMMENT
LOWsrc/treg/web/tutorial.md464## Step 20 - The raw HTTP underneathCOMMENT
LOWsrc/treg/web/tutorial.md482## Step 21 - Draft a skill's registrationCOMMENT
LOWsrc/treg/web/tutorial.md502## Step 22 - Upload the whole skillCOMMENT
LOWsrc/treg/web/tutorial.md580## Step 23 - See the teamCOMMENT
LOWsrc/treg/web/tutorial.md597## Step 24 - Promote Bob to adminCOMMENT
LOWsrc/treg/web/tutorial.md615## Step 25 - Admin rights in actionCOMMENT
LOWsrc/treg/web/tutorial.md634## Step 26 - Review pending invitesCOMMENT
LOWsrc/treg/web/tutorial.md652## Step 27 - Revoke an inviteCOMMENT
LOWsrc/treg/web/tutorial.md668## Step 28 - The role gate, from the viewer sideCOMMENT
LOWsrc/treg/web/tutorial.md687## Step 29 - Become the platform operatorCOMMENT
LOWsrc/treg/web/tutorial.md702## Step 30 - The whole platform at a glanceCOMMENT
LOWsrc/treg/web/tutorial.md720## Step 31 - Every org, across all tenantsCOMMENT
LOWsrc/treg/web/tutorial.md738## Step 32 - Grant a real user super-adminCOMMENT
LOWsrc/treg/web/tutorial.md760## Step 33 - The same registry, in the browserCOMMENT
LOWsrc/treg/web/tutorial.md784## Step 34 - Delete the toolCOMMENT
LOWsrc/treg/web/tutorial.md800## Step 35 - Delete the org (full cascade)COMMENT
Modern AI Meta-Vocabulary13 hits · 37 pts
SeverityFileLineSnippetContext
MEDIUMfrontend/src/dialogs/EditToolDialog.vue63 <p class="sub" v-if="!tForm.cli.deny.length && !(tForm.cli.deny_defaults && catalogExtra.length)" style="fonCODE
MEDIUMdocs/context/interface/cli.md492## Skill scaffolding + the `treg.json` contract (`convert.py`)COMMENT
MEDIUMsrc/treg/config.py482 # Hard guardrails on the off-session charge — the difference between "convenient" and "a runawayCOMMENT
MEDIUMsrc/treg/maintenance.py23# new code serves traffic. Task bodies remain with their owning subsystem; this is orchestration.COMMENT
MEDIUM⚡src/treg/web/media/jev/xboost-seed.json1{"ran_at":"2026-09-19T11:11:30+00:00","since":"2026-09-18","topics":["introducing","launching today","now available","weCODE
MEDIUM⚡src/treg/web/media/jev/xboost-seed.json1{"ran_at":"2026-09-19T11:11:30+00:00","since":"2026-09-18","topics":["introducing","launching today","now available","weCODE
MEDIUM⚡src/treg/web/media/jev/xboost-seed.json1{"ran_at":"2026-09-19T11:11:30+00:00","since":"2026-09-18","topics":["introducing","launching today","now available","weCODE
MEDIUM⚡src/treg/web/media/jev/xboost-seed.json1{"ran_at":"2026-09-19T11:11:30+00:00","since":"2026-09-18","topics":["introducing","launching today","now available","weCODE
MEDIUM⚡src/treg/web/media/jev/signals.json1{"ran_at":"2026-09-19T07:33:22+00:00","topics":["GTM tools stack","enrichment waterfall Clay","lead enrichment data qualCODE
MEDIUM⚡src/treg/web/media/jev/signals.json1{"ran_at":"2026-09-19T07:33:22+00:00","topics":["GTM tools stack","enrichment waterfall Clay","lead enrichment data qualCODE
MEDIUM⚡src/treg/web/media/jev/signals.json1{"ran_at":"2026-09-19T07:33:22+00:00","topics":["GTM tools stack","enrichment waterfall Clay","lead enrichment data qualCODE
MEDIUMsrc/treg/catalog/aliases.yaml8# the cheap layer before any embedding model — see docs/context/architecture/catalog.md ("SearchCOMMENT
MEDIUMsrc/treg/catalog/examples/anyapi.google.serp.news.json18 "url": "https://www.nytimes.com/2026/09/16/technology/openai-model-safety-guardrails.html"CODE
AI Slop Vocabulary12 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM.gitleaks.toml60# — the harness deletes its database between runs, so it never needed a constant — and the value hasCOMMENT
MEDIUMe2e-server.sh26# harness deletes its database between runs, so it has no such need — and a committed key is aCOMMENT
MEDIUMfrontend/src/state/agentsComputed.js24 '# Where to persist these, per agent harness:',CODE
MEDIUMdsh/cordis.patch.yml17# https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/user/develop/basic/publish.mdCOMMENT
MEDIUMsrc/treg/config.py584 # Browser-only OAuth/MCP test harness. It handles real grants and therefore belongs on localCOMMENT
MEDIUMsrc/treg/cli.py687 # deadlocks when the reader (pty harness, agent) hasn't consumed the frame yetCOMMENT
MEDIUM⚡src/treg/web/media/jev/xboost-seed.json1{"ran_at":"2026-09-19T11:11:30+00:00","since":"2026-09-18","topics":["introducing","launching today","now available","weCODE
MEDIUM⚡src/treg/web/media/jev/xboost-seed.json1{"ran_at":"2026-09-19T11:11:30+00:00","since":"2026-09-18","topics":["introducing","launching today","now available","weCODE
MEDIUM⚡src/treg/web/media/jev/xboost-seed.json1{"ran_at":"2026-09-19T11:11:30+00:00","since":"2026-09-18","topics":["introducing","launching today","now available","weCODE
MEDIUM⚡src/treg/web/media/jev/signals.json1{"ran_at":"2026-09-19T07:33:22+00:00","topics":["GTM tools stack","enrichment waterfall Clay","lead enrichment data qualCODE
MEDIUM…/catalog/examples/crawl4ai.web.scrape.job.results.json13 "markdown": "**Notice:** This page displays a fallback because interactive scripts did not run. Possible causes inclCODE
MEDIUM…/treg/catalog/examples/crawl4ai.web.extract.batch.json11 "markdown": "**Notice:** This page displays a fallback because interactive scripts did not run. Possible causes inCODE
Magic Placeholder Names5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHfrontend/src/agent-setup/data.ts43 const value = token ? (masked ? token.slice(0,14)+'••••••••••••••••' : token) : '<YOUR_TOKEN>'CODE
HIGHfrontend/src/state/catalogComputed.js371 epTrySetupLine(){ const S=this.activeSlugNow||'<team-slug>', T=this.myToken||'<YOUR_TOKEN>';CODE
HIGHfrontend/src/state/onboardingComputed.js11 welcomeSetupFull(){ return this.welcomeSetupCmd+'\n\nwith team '+(this.activeSlugNow||'<team-slug>')+' token: '+(thiCODE
HIGHfrontend/src/state/onboardingComputed.js12welcomeSetupMasked(){ const t=this.myToken?(this.startTokenShow?this.myToken:(this.myToken.slice(0,14)+'••••••••••••••••CODE
HIGHfrontend/src/onboarding/ConnectBlock.vue37const masked = computed(() => props.token ? props.token.slice(0, 14) + '••••••••••••••••' : '<YOUR_TOKEN>')CODE
Synthetic Comment Markers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHsrc/treg/catalog/tiktok.yaml107 post_info: {type: object, required: true, note: "{\"title\": \"caption, 2,200 chars, #hashtags and @mentions worCODE
HIGHsrc/treg/catalog/examples/akta.companies.news.json94 "full_text": "News/ Industrials/ CMPR/ Articles Details Cimpress Missed EPS by 20%-Why the Canva Upside Still MattCODE
HIGHsrc/treg/catalog/examples/finnhub.company.news.json524 "image": "https://cdn.benzinga.com/files/images/story/2026/08/13/AI-generated-image-of-Tesla-dealership.png?width=20CODE
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_billing.py98async def _set_org(org_id: int, **fields) -> None:CODE
LOWtests/test_reconcile.py65async def _settles(rows: list[dict]) -> None:CODE
LOWtests/test_usage_caps.py59async def _set_counter(org_id: int, email: str, n: int, day: date) -> None:CODE
LOWtests/test_marketplace_call.py1832async def _set_claim(key: str, **values) -> None:CODE
LOWsrc/treg/infra/money_trace.py222def _set_stage(txn: _Txn, stage: str, now: float) -> None:CODE
LOWsrc/treg/application/call/service.py211def _set_caller_max_cost(request, mk: MarketplaceCall) -> None:CODE
LOWsrc/treg/application/call/service.py576def _set_response_header(response: UpstreamResponse, name: str, value: str) -> None:CODE
LOWsrc/treg/domain/catalog/routing/paths.py47def set_path(doc: dict, path: str, value: Any) -> None:CODE
LOWsrc/treg/domain/feedback/__init__.py5__all__ = ["add", "get", "recent"]CODE
LOWsrc/treg/domain/hub/__init__.py8__all__ = ["PAY_NOTE", "ManifestError", "fees_label", "Validated", "price_label", "range_label", "seeded_observed", "selCODE
AI Structural Patterns13 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/test_web_arena_calls.py14CODE
LOWtests/test_onboarding_v2.py58CODE
LOWtests/test_capacity_overflow.py47CODE
LOWsrc/treg/audit.py59CODE
LOWsrc/treg/mcp.py1239CODE
LOWsrc/treg/mcp.py1255CODE
LOWsrc/treg/mcp.py1825CODE
LOWsrc/treg/routers/auth.py939CODE
LOWsrc/treg/routers/auth.py998CODE
LOWsrc/treg/infra/money_trace_runner.py155CODE
LOWsrc/treg/infra/money_trace_runner.py240CODE
LOWsrc/treg/application/call/service.py929CODE
LOWsrc/treg/application/call/settle.py1125CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_mcp_install.py362 # Create an SSL error the same way Python's ssl module doesCOMMENT
MEDIUMsrc/treg/localproxy.py299 # Create the key file 0600 BEFORE any bytes go in — writing first and chmod-ing after leaves aCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_aigc_pr_b.py250CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/dev-local.sh14# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/test_released_cli_compat.py64 def handle_request(self, request):CODE