AI Slop Code Risk Monitor

PrimeIntellect-ai/prime-agent

SlopCodeMonitor badge for PrimeIntellect-ai/prime-agent Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

3.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for PrimeIntellect-ai/prime-agent, a Rust project with 22,476 GitHub stars. SynthScan examined 695,404 lines of code across 1521 source files, recording 2370 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 3.9 (Low 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.

3.9
Adjusted Signal
3.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
22.5K
Stars
Rust
Language
695.4K
Lines of Code
1.5K
Files
2.4K
Pattern Hits
2026-10-31
Scan Date
0.07
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 12.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.0/100 · LOW

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

Agent Over-Engineering Ratio 10.4/100 · LOW

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

PR Review Velocity Impact 20.0/100 · LOW

Which changes need focused human review? 2370 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

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

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 6HIGH 100MEDIUM 88LOW 2176

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 2370 distinct pattern matches across 19 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 Identifiers1108 hits · 895 pts
SeverityFileLineSnippetContext
LOWcrates/pa-core/assets/export-html/template.js387 function recalculateVisualStructure(filteredNodes, allFlatNodes) {CODE
LOWcrates/pa-core/src/kernel/bootstrap/runtime_code.rs147def _prime_agent_wrap_skill_module(module):CODE
LOWscripts/test_check_late_message_receipt.py27 def test_spawn_handle_cell_serializes_actual_path_objects(self):CODE
LOWscripts/test_check_late_message_receipt.py38 def test_blank_and_partial_jsonl_are_not_complete_receipts(self):CODE
LOWscripts/test_check_late_message_receipt.py48 def test_runtime_and_durable_parent_ids_may_differ(self):CODE
LOWscripts/test_check_late_message_receipt.py60 def test_actual_late_payload_and_readiness_are_required(self):CODE
LOW⚡scripts/test_check_queue_browse.py10 def test_mutation_swaps_with_the_adjacent_user_row(self):CODE
LOW⚡scripts/test_check_queue_browse.py15 def test_rejects_wrong_source_lane_text_or_index(self):CODE
LOW⚡scripts/test_check_queue_browse.py23 def test_subclass_handles_its_commands_without_transient_transport_errors(self):CODE
LOW⚡scripts/test_check_local_harness.py21 def test_resume_returns_new_marker_with_old_marker_in_history(self):CODE
LOW⚡scripts/test_check_local_harness.py25 def test_failing_current_cell_cannot_pass_using_old_marker(self):CODE
LOW⚡scripts/test_check_local_harness.py29 def test_missing_current_result_cannot_pass_using_old_marker(self):CODE
LOWscripts/test_check_dead_child_delete.py6 def test_requires_exact_child_delete_boundary(self):CODE
LOW⚡scripts/test_check_factory_navigation.py8 def test_click_targets_the_observed_factory_cells(self):CODE
LOW⚡scripts/test_check_factory_navigation.py13 def test_existing_factory_response_is_replaced_without_suppressing_errors(self):CODE
LOW⚡scripts/test_check_factory_navigation.py22 def test_missing_factory_is_not_silently_clicked(self):CODE
LOWscripts/test_check_saved_catalog.py45 def test_fixture_is_valid_ordered_and_old_target_is_beyond_first_page(self):CODE
LOWscripts/test_check_saved_catalog.py61 def test_rejects_missing_duplicate_or_wrong_rows(self):CODE
LOWscripts/test_check_saved_catalog.py78 def test_pages_cover_full_catalog_once_and_wrong_boundary_is_rejected(self):CODE
LOWscripts/test_check_saved_catalog.py98 def test_deleted_cursor_boundary_still_requires_the_complete_older_tail(self):CODE
LOWscripts/test_check_saved_catalog.py108 def test_raw_terminal_and_stream_disagreement_fail_closed(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py12 def test_duplicate_catalog_paths_fail(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py19 def test_catalog_selection_does_not_accept_a_matching_id_at_an_unrelated_path(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py24 def test_duplicate_current_probes_fail(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py30 def test_duplicate_current_tool_results_fail(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py36 def test_shutdown_failure_cannot_be_a_green_receipt(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py41 def test_duplicates_do_not_prove_one_child(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py50 def test_unrelated_parent_is_not_normalized_away(self):CODE
LOW⚡scripts/test_check_ledger_liveness.py56 def test_generated_paths_only_normalize_after_real_file_check(self):CODE
LOW⚡scripts/test_check_factory_resumption.py13 def test_rejects_missing_resume_extra_entry_or_extra_attempt(self):CODE
LOW⚡scripts/test_check_factory_resumption.py21 def test_accepts_explicit_wire_camel_case_without_ignoring_duplicates(self):CODE
LOW⚡scripts/test_check_factory_resumption.py30 def test_rejects_missing_or_historical_tool_receipt(self):CODE
LOWscripts/test_check_factory_validation.py15 def test_rejects_acceptance_or_storage_of_invalid_specs(self):CODE
LOWscripts/test_check_factory_validation.py27 def test_unexpected_child_request_is_rejected_before_a_model_response(self):CODE
LOWscripts/test_check_factory_validation.py41 def test_requires_correct_diagnostic_and_all_cases(self):CODE
LOW⚡scripts/test_check_catalog_field_removal.py41 def test_omission_keeps_seeded_stable_fields(self):CODE
LOW⚡scripts/test_check_catalog_field_removal.py50 def test_null_empty_or_text_key_fails_in_both_stream_and_final(self):CODE
LOW⚡scripts/test_check_catalog_field_removal.py60 def test_missing_duplicate_escaped_or_changed_stable_rows_fail(self):CODE
LOWscripts/test_check_catalog_field_removal.py81 def test_missing_raw_wrong_request_and_postterminal_frames_fail_closed(self):CODE
LOW⚡scripts/test_ci_pr_crates.py52 def test_a_crate_only_pr_narrows_to_those_crates(self):CODE
LOW⚡scripts/test_ci_pr_crates.py62 def test_any_non_crate_path_fails_safe_to_the_full_selection(self):CODE
LOW⚡scripts/test_ci_pr_crates.py72 def test_a_renames_removed_side_counts_too(self):CODE
LOW⚡scripts/test_ci_pr_crates.py82 def test_a_rename_within_crates_narrows_to_both_crates(self):CODE
LOW⚡scripts/test_ci_pr_crates.py89 def test_pa_types_only_runs_every_crate(self):CODE
LOW⚡scripts/test_ci_pr_crates.py94 def test_pa_tui_only_runs_pa_cli_too(self):CODE
LOW⚡scripts/test_ci_pr_crates.py99 def test_pa_telemetry_only_runs_all_dependents(self):CODE
LOW⚡scripts/test_ci_pr_crates.py105 def test_an_unknown_crate_fails_safe(self):CODE
LOW⚡scripts/test_ci_pr_crates.py111 def test_an_empty_filename_row_fails_safe(self):CODE
LOW⚡scripts/test_ci_pr_crates.py125 def test_a_null_field_read_also_fails_safe(self):CODE
LOW⚡scripts/test_ci_pr_crates.py135 def test_an_empty_list_fails_safe_to_the_full_selection(self):CODE
LOW⚡scripts/test_ci_pr_crates.py141 def test_a_whitespace_prefixed_path_is_a_non_crate_path(self):CODE
LOWscripts/test_ci_pr_crates.py152 def test_the_files_api_ceiling_fails_safe(self):CODE
LOWscripts/test_check_restore_notice.py14 def test_observation_uses_actual_tool_result_and_inventory(self):CODE
LOWscripts/test_check_custom_ca.py11 def test_one_terminal_assistant_required(self):CODE
LOWscripts/test_check_custom_ca.py18 def test_duplicate_current_prompt_is_not_normalized_away(self):CODE
LOWscripts/test_check_custom_ca.py29 def test_shutdown_failure_remains_red(self):CODE
LOW⚡scripts/test_check_ipython_diff_frames.py9 def test_a_crashed_or_unexited_ui_cannot_pass(self):CODE
LOW⚡scripts/test_check_ipython_diff_frames.py19 def test_wide_cell_repaint_clears_and_styles_its_continuation(self):CODE
LOW⚡scripts/test_check_ipython_diff_frames.py25 def test_capture_keeps_geometry_background_and_inverse(self):CODE
LOW⚡scripts/test_check_ipython_diff_frames.py37 def test_trailing_colored_blanks_cannot_compare_equal(self):CODE
1048 more matches not shown…
Over-Commented Block680 hits · 666 pts
SeverityFileLineSnippetContext
LOWinstall-rust.sh1#!/bin/shCOMMENT
LOWinstall-rust.sh21# touches GitHub.COMMENT
LOWinstall-rust.sh41# SCHEMA FAMILY: the family prefix minus this product's own hash isCOMMENT
LOWinstall-rust.sh61# floor — the field measured a 46-worker drain at ~49s, and a fixedCOMMENT
LOWinstall-rust.sh81# - a TS managed root occupying THIS script's targetCOMMENT
LOWinstall-rust.sh101# products). Default pin + clean stop: out of the box, the twoCOMMENT
LOWinstall-rust.sh121# the channel pointerCOMMENT
LOWinstall-rust.sh141# install-rust.sh --archive <path> publishes a local release archiveCOMMENT
LOWinstall-rust.sh241# updater's environment (the funnel's own shell is trusted-rooted forCOMMENT
LOWinstall-rust.sh301# owns the screen while the install runs: an awk loop (below) that drawsCOMMENT
LOWinstall-rust.sh681# THE PUBLISH-WINDOW RESTORE (the interrupt handler's discipline, sharedCOMMENT
LOWinstall-rust.sh761 fiCOMMENT
LOWinstall-rust.sh941 step_ok "Using the local archive" "$(tilde "$ARCHIVE")"COMMENT
LOWinstall-rust.sh961# at ~/.local/bin, the same default prefix this script uses; a customCOMMENT
LOWinstall-rust.sh1141 # canonical ~/.local/bin still serves this install (no duplicateCOMMENT
LOWinstall-rust.sh1181COMMENT
LOWinstall-rust.sh1301# newline trim (the newline guard below would then never see it), andCOMMENT
LOWinstall-rust.sh1401 # slot takes the same three checks a recorded generation takes.COMMENT
LOWinstall-rust.sh1421 fiCOMMENT
LOWinstall-rust.sh1441 CHANNEL="$(printf '%s\n' "$marker" | sed -n '1s/^install-rust.sh channel //p')"COMMENT
LOWinstall-rust.sh1561# and venv state; the update needs it down, and the next invocationCOMMENT
LOWinstall-rust.sh1581# socket is OUR daemon by construction (no schema inspection; theCOMMENT
LOWinstall-rust.sh1621case "$env_socket" inCOMMENT
LOWinstall-rust.sh1941# 1. the graceful shutdown request (force:false) — the clean stop anCOMMENT
LOWinstall-rust.sh1981COMMENT
LOWinstall-rust.sh2081# reason is reported (a say/note line now, a summary line for the stops);COMMENT
LOWinstall-rust.sh2261COMMENT
LOWinstall-rust.sh2301fiCOMMENT
LOWinstall-rust.sh2321 :COMMENT
LOWinstall-rust.sh2441# The ownership marker: the share tree this script publishes carries it, soCOMMENT
LOWinstall-rust.sh2461 # so it never outlives the refused install — a rollback's stage is the keptCOMMENT
LOWinstall-rust.sh2641fiCOMMENT
LOWinstall-rust.sh2781fiCOMMENT
LOWinstall-rust.sh2821launcher_tmp="$(mktemp "${bin_dir}/.prime-agent.XXXXXX")"COMMENT
LOWinstall-rust.sh2841# so the same sessions appear in both products. The env keeps the TSCOMMENT
LOWinstall-rust.sh2941# Every candidate is probed by its named variable (the default TSCOMMENT
LOWinstall-rust.sh3041 npm_launcher_backup=""COMMENT
LOWCargo.toml121# Shipping posture, pinned (Kevin, Option C): thin LTO plus 4 codegenCOMMENT
LOWdeny.toml1# cargo-deny configuration for the prime-agent Rust workspace.COMMENT
LOWpackaging/homebrew/Formula/prime-agent.rb1# Homebrew formula candidate for prime-agent v1.0.0 (the Rust port).COMMENT
LOWcrates/pa-daemon/tests/steer_boundary_batch_e2e.rs1//! Multi-steer tool-boundary batching: parked steering messages co-deliverCOMMENT
LOWcrates/pa-daemon/tests/fd_lifecycle_e2e.rs1//! End-to-end fd-lifecycle audit against the real `pa-daemon` supervisor: runCOMMENT
LOWcrates/pa-daemon/tests/stop_escalation_e2e.rs1//! The stop-escalation e2e (the Codex daemon-comparison finding #5): aCOMMENT
LOWcrates/pa-daemon/tests/rlm_roster_walk_e2e.rs1//! The passive-RLM roster walk at scale: a synthetic ledger with one rootCOMMENT
LOWcrates/pa-daemon/tests/session_rebind_e2e.rs1//! Stale active-session rebind e2e: a worker replacement supersedes theCOMMENT
LOWcrates/pa-daemon/tests/provider_failure_e2e.rs1//! Interactive provider-failure e2e: a daemon worker session against aCOMMENT
LOWcrates/pa-daemon/tests/session_tree_e2e.rs1//! Session-tree worker commands against the real `pa-daemon` binary:COMMENT
LOWcrates/pa-daemon/tests/socket_identity_guard_e2e.rs1//! Bind-time socket-identity guard e2e (the bind-choreography parityCOMMENT
LOWcrates/pa-daemon/tests/socket_identity_guard_e2e.rs21//! the path, and the original's graceful exit must not unlink theCOMMENT
LOWcrates/pa-daemon/tests/agents_view_roster_e2e.rs1//! Agent-roster wire protocol e2e: a subscriber's `roster_subscribe` snapshot,COMMENT
LOWcrates/pa-daemon/tests/saved_catalog_stream_e2e.rs1//! The saved-catalog stream is per-file DURING the scan (TSCOMMENT
LOWcrates/pa-daemon/tests/thinking_level_roster_e2e.rs1//! E2e for the agents-view thinking-level roster push: aCOMMENT
LOWcrates/pa-daemon/tests/readoption_wake_e2e.rs1//! Re-adoption wake e2e: the wake paths of a session whose worker isCOMMENT
LOWcrates/pa-daemon/tests/thinking_level_e2e.rs1//! E2e for thinking-level propagation on the interactive daemon path: theCOMMENT
LOWcrates/pa-daemon/tests/mcp_product_path_e2e.rs1//! MCP product-path e2e: a settings-declared stdio MCP server reaches theCOMMENT
LOWcrates/pa-daemon/tests/rlm_children_replacement_e2e.rs1//! RLM children lifecycle on parent runtime replacement (the #237 flaggedCOMMENT
LOWcrates/pa-daemon/tests/recovery_control_plane_e2e.rs1//! Control-plane priority e2e (design R3): a supervisor booting over a sessionsCOMMENT
LOWcrates/pa-daemon/tests/rlm_children_parent_death_e2e.rs1//! RLM children on a hard-killed parent worker (the #246 adjacent gap): TS hosts childrenCOMMENT
LOWcrates/pa-daemon/tests/queue_delivery_e2e.rs1//! Queued-input delivery projection: pickups reach attached clients as aCOMMENT
LOWcrates/pa-daemon/tests/compaction_outcome_e2e.rs1//! Durable `compaction_outcome` row e2e (TS `_endCompactionUnsuccessfully`COMMENT
620 more matches not shown…
Empty Error Handlers77 hits · 372 pts
SeverityFileLineSnippetContext
HIGHscripts/check_private_default_frames.py158except (FileNotFoundError, json.JSONDecodeError, KeyError):CODE
HIGHscripts/check_at_completion.py141except subprocess.TimeoutExpired:CODE
HIGHscripts/check_agent_bounce.py61except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/check_dock_events.py85except (BrokenPipeError, OSError):CODE
HIGHscripts/check_new_goal.py79except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/check_shutdown_scope.py41except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/check_shutdown_scope.py123except ProcessLookupError:CODE
HIGHscripts/lifecycle_lib.py396except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/lifecycle_lib.py407except OSError: passCODE
HIGHscripts/lifecycle_lib.py525except (OSError, ValueError, KeyError, AssertionError):CODE
HIGHscripts/lifecycle_lib.py544except (FileNotFoundError, ProcessLookupError):CODE
HIGHscripts/lifecycle_lib.py40except ProcessLookupError:CODE
HIGHscripts/lifecycle_lib.py534except OSError:CODE
HIGHscripts/check_launch_env.py108except (OSError, ValueError):CODE
HIGHscripts/check_launch_env.py143except FileNotFoundError:CODE
HIGHscripts/check_launch_env.py167except (OSError, ValueError):CODE
HIGHscripts/check_observe_selectors.py145except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/check_observe_selectors.py330except (OSError, ValueError):CODE
HIGHscripts/check_client_write_cleanup.py48except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/check_client_write_cleanup.py92except (FileNotFoundError, ProcessLookupError, PermissionError):CODE
HIGHscripts/check_client_write_cleanup.py110except ProcessLookupError:CODE
HIGHscripts/check_custom_ca.py139except ProcessLookupError:CODE
HIGHscripts/check_kernel_env.py232except (FileNotFoundError, ProcessLookupError):CODE
HIGHscripts/check_kernel_env.py245except (OSError, ValueError):CODE
HIGHscripts/check_kernel_env.py129except (OSError, ValueError):CODE
HIGHscripts/check_kernel_env.py164except (FileNotFoundError, ProcessLookupError):CODE
HIGHscripts/check_ledger_liveness.py162except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/check_ledger_liveness.py79except ProcessLookupError:CODE
HIGHscripts/release/test_catalog_assets.py129except (BrokenPipeError, ConnectionResetError):CODE
HIGHscripts/release/bundle_catalog.py780except ValueError:CODE
HIGHskills/websearch/src/websearch/websearch.py50except (OSError, ValueError):CODE
HIGHskills/edit/src/edit/__init__.py68except Exception:CODE
HIGHskills/agent-message/src/agent_message/__init__.py82except Exception:CODE
HIGHprime-agent-runtime/test/test_bash.py1465except PermissionError:CODE
HIGHprime-agent-runtime/test/test_bash.py1507except ProcessLookupError:CODE
HIGHprime-agent-runtime/test/test_repl.py48except ValueError:CODE
HIGHprime-agent-runtime/src/rlm/repl.py1313except BaseException: # noqa: BLE001 - never block or crash the shutdown pathCODE
HIGHprime-agent-runtime/src/rlm/repl.py1643except OSError:CODE
HIGHprime-agent-runtime/src/rlm/repl.py1714except BaseException: # noqa: BLE001CODE
HIGHprime-agent-runtime/src/rlm/repl.py706except (OSError, ValueError, AttributeError):CODE
HIGHprime-agent-runtime/src/rlm/repl.py813except OSError:CODE
HIGHprime-agent-runtime/src/rlm/repl.py1380except BaseException:CODE
HIGHprime-agent-runtime/src/rlm/repl.py124except OSError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py165except (ImportError, RuntimeError):CODE
HIGHprime-agent-runtime/src/rlm/bash.py270except (ImportError, RuntimeError):CODE
HIGHprime-agent-runtime/src/rlm/bash.py1504except PermissionError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py1520except (OSError, ValueError, IndexError, subprocess.SubprocessError):CODE
HIGHprime-agent-runtime/src/rlm/bash.py1631except PermissionError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py1683except (OSError, ValueError):CODE
HIGHprime-agent-runtime/src/rlm/bash.py1747except OSError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py586except (OSError, ValueError):CODE
HIGHprime-agent-runtime/src/rlm/bash.py591except OSError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py709except PermissionError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py991except PermissionError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py1037except (OSError, subprocess.SubprocessError):CODE
HIGHprime-agent-runtime/src/rlm/bash.py1227except FileNotFoundError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py1475except OSError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py490except OSError:CODE
HIGHprime-agent-runtime/src/rlm/bash.py567except (OSError, ValueError):CODE
HIGHprime-agent-runtime/src/rlm/bash.py662except OSError:CODE
17 more matches not shown…
Excessive Try-Catch Wrapping136 hits · 141 pts
SeverityFileLineSnippetContext
MEDIUMinstall-rust.sh1781def listening_flag():CODE
LOWinstall-rust.sh2009 except Exception:CODE
LOWinstall-rust.sh3022except Exception:CODE
LOWcrates/pa-cli/tests/print_inline_subagents_e2e.rs973except Exception as error:CODE
LOWcrates/pa-cli/tests/print_inline_subagents_e2e.rs990except Exception as error:CODE
LOWcrates/pa-cli/tests/print_inline_subagents_e2e.rs1056 except Exception as error:CODE
MEDIUMcrates/pa-cli/tests/print_inline_subagents_e2e.rs1039def accept_ready(reader, writer):CODE
LOWcrates/pa-tui/tests/tmux_replay.sh85 except Exception:CODE
LOWcrates/pa-core/src/kernel/provisioner.rs1940 except Exception:CODE
LOWcrates/pa-core/src/kernel/bootstrap/runtime_code.rs53except Exception as _prime_agent_rlm_error:CODE
LOWcrates/pa-core/src/kernel/bootstrap/runtime_code.rs157 except Exception:CODE
LOWcrates/pa-core/src/kernel/bootstrap/runtime_code.rs172 except Exception as _prime_agent_skill_error:CODE
LOWcrates/pa-core/src/kernel/manager/requests.rs524 except Exception:CODE
LOWcrates/pa-core/src/kernel/manager/requests.rs592 except Exception:CODE
LOWscripts/check_private_default_frames.py325 except Exception as error:CODE
LOWscripts/check_reconnect_version.py127 except Exception as error:CODE
LOWscripts/check_reconnect_version.py171 except Exception as error:CODE
LOWscripts/check_minimum_reasoning.py252 except Exception as error:CODE
LOWscripts/check_queue_priority.py122 except Exception as error:CODE
LOWscripts/check_queue_priority.py127 except Exception as error:CODE
LOWscripts/check_refine_request_headers.py110 except Exception as error:CODE
LOWscripts/check_at_completion.py130 except Exception as error:CODE
LOWscripts/check_at_completion.py145 except Exception as fallback_error:CODE
LOWscripts/check_at_completion.py156 except Exception as error:CODE
LOWscripts/check_at_completion.py241 except Exception as error:CODE
LOWscripts/check_at_completion.py245 except Exception as error:CODE
LOWscripts/check_link_frames.py119 except Exception as error:CODE
LOWscripts/check_link_frames.py183 except Exception as error:CODE
LOWscripts/check_agent_bounce.py188 except Exception as error:CODE
LOWscripts/check_agent_bounce.py220 except Exception as error:CODE
LOWscripts/check_saved_catalog.py256 except Exception as error:CODE
LOWscripts/check_saved_catalog.py261 except Exception as error:CODE
LOWscripts/check_live_mcp.py232 except Exception as error:CODE
LOWscripts/check_live_mcp.py259 except Exception as error:CODE
LOWscripts/check_live_mcp.py264 except Exception as error:CODE
LOWscripts/check_local_harness.py200 except Exception as error:CODE
LOWscripts/check_local_harness.py204 except Exception as error:CODE
LOWscripts/check_dock_events.py229 except Exception as error:CODE
LOWscripts/check_dock_events.py233 except Exception as error:CODE
MEDIUMscripts/check_dock_events.py118def cost_ready(text, expected):CODE
LOWscripts/check_new_goal.py81 except Exception as exc:CODE
LOWscripts/check_new_goal.py299 except Exception as exc:CODE
LOWscripts/check_new_goal.py304 except Exception as exc:CODE
MEDIUMscripts/check_new_goal.py52def do_POST(self):CODE
LOWscripts/check_shutdown_scope.py107 except Exception as caught:CODE
LOWscripts/check_shutdown_scope.py232 except Exception as error:CODE
LOWscripts/check_shutdown_scope.py244 except Exception as error:CODE
LOWscripts/check_shutdown_scope.py271 except Exception as error:CODE
MEDIUMscripts/check_shutdown_scope.py45def process_identity(pid):CODE
LOWscripts/check_socket_pin.py126 except Exception as error:STRING
LOWscripts/lifecycle_lib.py398 except Exception as error:CODE
LOWscripts/lifecycle_lib.py590 except Exception as error:CODE
LOWscripts/lifecycle_lib.py596 except Exception as discovery_error:CODE
LOWscripts/lifecycle_lib.py607 except Exception as wait_error:CODE
LOWscripts/lifecycle_lib.py615 except Exception as close_error:CODE
LOWscripts/check_launch_env.py299 except Exception as error:CODE
LOWscripts/check_launch_env.py330 except Exception as error:CODE
LOWscripts/check_launch_env.py334 except Exception as error:CODE
LOWscripts/check_model_facts.py269 except Exception as error:CODE
LOWscripts/check_catalog_field_removal.py195 except Exception as error:CODE
76 more matches not shown…
Deep Nesting162 hits · 129 pts
SeverityFileLineSnippetContext
LOWcrates/pa-daemon/testdata/acp/compare_differential.py45CODE
LOWscripts/check_private_default_frames.py302CODE
LOWscripts/test_check_saved_catalog.py108CODE
LOWscripts/check_minimum_reasoning.py44CODE
LOWscripts/check_at_completion.py117CODE
LOWscripts/check_at_completion.py224CODE
LOWscripts/test_check_catalog_field_removal.py60CODE
LOWscripts/test_check_catalog_field_removal.py81CODE
LOWscripts/check_link_frames.py78CODE
LOWscripts/check_link_frames.py161CODE
LOWscripts/check_agent_bounce.py108CODE
LOWscripts/check_live_mcp.py35CODE
LOWscripts/check_live_mcp.py175CODE
LOWscripts/check_local_harness.py113CODE
LOWscripts/check_dock_events.py52CODE
LOWscripts/check_new_goal.py124CODE
LOWscripts/check_new_goal.py281CODE
LOWscripts/test_check_reconnect_version.py42CODE
LOWscripts/test_check_minimum_reasoning.py142CODE
LOWscripts/check_shutdown_scope.py93CODE
LOWscripts/check_shutdown_scope.py176CODE
LOWscripts/check_socket_pin.py22CODE
LOWscripts/lifecycle_lib.py77CODE
LOWscripts/lifecycle_lib.py576CODE
LOWscripts/lifecycle_lib.py117CODE
LOWscripts/lifecycle_lib.py259CODE
LOWscripts/lifecycle_lib.py493CODE
LOWscripts/lifecycle_lib.py517CODE
LOWscripts/lifecycle_lib.py641CODE
LOWscripts/lifecycle_lib.py815CODE
LOWscripts/check_launch_env.py96CODE
LOWscripts/check_launch_env.py134CODE
LOWscripts/check_launch_env.py151CODE
LOWscripts/check_launch_env.py198CODE
LOWscripts/check_model_facts.py103CODE
LOWscripts/check_model_facts.py160CODE
LOWscripts/ci_test_shard_summary.py237CODE
LOWscripts/check_observe_selectors.py264CODE
LOWscripts/check_observe_selectors.py467CODE
LOWscripts/check_observe_selectors.py312CODE
LOWscripts/check_client_write_cleanup.py83CODE
LOWscripts/check_client_write_cleanup.py97CODE
LOWscripts/check_client_write_cleanup.py134CODE
LOWscripts/check_custom_ca.py125CODE
LOWscripts/test_check_agent_bounce.py21CODE
LOWscripts/check_restore_notice.py42CODE
LOWscripts/check_restore_notice.py128CODE
LOWscripts/check_restore_notice.py70CODE
LOWscripts/check_kernel_env.py117CODE
LOWscripts/check_kernel_env.py155CODE
LOWscripts/check_kernel_env.py237CODE
LOWscripts/check_kernel_env.py297CODE
LOWscripts/check_kernel_env.py417CODE
LOWscripts/check_kernel_env.py358CODE
LOWscripts/ci_test_shard.py104CODE
LOWscripts/check_print_bash.py108CODE
LOWscripts/test_check_shutdown_scope.py39CODE
LOWscripts/check_refine_errors.py64CODE
LOWscripts/check_refine_errors.py141CODE
LOWscripts/check_queue_browse.py107CODE
102 more matches not shown…
Cross-Language Confusion20 hits · 120 pts
SeverityFileLineSnippetContext
HIGHscripts/check_ipython_diff_frames.py85 # Pinned TS daemon-mode returns {toolDefinition: undefined} forCOMMENT
HIGHscripts/release/test_restamp.py60 if (argc > 1 && strcmp(argv[1], "--version") == 0) {CODE
HIGHscripts/release/test_npm_bridge.py52 if (installed.status !== 0) { console.error(installed.stderr); process.exitCode=installed.status || 1; }CODE
HIGHscripts/release/test_npm_bridge.py86else { console.log(JSON.stringify(process.argv.slice(2))); process.exitCode = Number(process.env.NATIVE_EXIT || 0); }CODE
HIGH⚡.github/scripts/discussion-notifier/test_notify.py337 "\n\n```typescript\nconst a = b < 5 && c > 0;\n```\n" + "x" * 4_000CODE
HIGH⚡prime-agent-runtime/test/test_factory.py1805 ["transitions[0] when.value must be finite JSON data (JSON carries no NaN or Infinity, and only JSON shaCODE
HIGH⚡prime-agent-runtime/test/test_factory.py1813 ["transitions[0] when.value must be finite JSON data (JSON carries no NaN or Infinity, and only JSON shapes CODE
HIGH⚡prime-agent-runtime/test/test_factory.py1879 ["transitions[0] when.value must be finite JSON data (JSON carries no NaN or Infinity, and only JSON shapes CODE
HIGH⚡prime-agent-runtime/test/test_factory.py1885 ["transitions[0] when.value must be finite JSON data (JSON carries no NaN or Infinity, and only JSON shapes CODE
HIGHprime-agent-runtime/test/test_factory.py3888 # null, not the no-value sentinel path.COMMENT
HIGHprime-agent-runtime/test/test_factory.py1849 ["transitions[0] when.value must be finite JSON data (JSON carries no NaN or Infinity, and only JSON shaCODE
HIGHprime-agent-runtime/test/test_factory.py1921 ["transitions[0] when.value must be finite JSON data (JSON carries no NaN or Infinity, and only JSON shapes CODE
HIGHprime-agent-runtime/test/test_factory.py3863 self.host.outcomes["src"] = {"status": "done", "answer": '```json\n{"data": null}\n```'}CODE
HIGHprime-agent-runtime/test/test_bash.py546 await bash(f"sleep 1.0 && touch {marker}")CODE
HIGHprime-agent-runtime/test/test_repl.py507 code = f"from rlm import bash\nr = await bash('sleep 1.5 && touch {marker}')"CODE
HIGHprime-agent-runtime/test/test_repl.py528 f"r = await bash('sleep 1.5 && touch {marker}')",CODE
HIGHprime-agent-runtime/src/rlm/bash.py150 "read -r _prime_agent_gate || exit 127\n"CODE
HIGHprime-agent-runtime/src/rlm/factory.py232 # explicit JSON null (run.max_parallel: null) must be rejected with theCOMMENT
HIGHprime-agent-runtime/src/rlm/factory.py501 "serialize: lists, objects, strings, numbers, booleans, null, "CODE
HIGHprime-agent-runtime/src/rlm/factory.py5364 null, re-entries bind the previous settle).CODE
Decorative Section Separators45 hits · 115 pts
SeverityFileLineSnippetContext
MEDIUMscripts/release/bundle_catalog.py116# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/release/bundle_catalog.py119# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/release/bundle_catalog.py416# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/release/bundle_catalog.py418# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/release/bundle_catalog.py720# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/release/bundle_catalog.py722# --------------------------------------------------------------------------COMMENT
MEDIUM⚡prime-agent-runtime/test/test_factory.py196# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡prime-agent-runtime/test/test_factory.py198# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡prime-agent-runtime/test/test_factory.py1018# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡prime-agent-runtime/test/test_factory.py1020# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡prime-agent-runtime/test/test_factory.py7775# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡prime-agent-runtime/test/test_factory.py7777# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py815# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py817# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py2031# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py2033# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py2623# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py2625# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py2702# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py2704# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py3042# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py3044# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py6856# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py6858# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py7938# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py7946# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py9270# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py9272# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_factory.py7067# ---------------------------------------------------------------------------STRING
MEDIUMprime-agent-runtime/test/test_factory.py7069# ---------------------------------------------------------------------------STRING
MEDIUMprime-agent-runtime/src/rlm/factory.py218# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py220# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py450# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py452# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py711# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py713# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py826# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py828# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py1034# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py4056# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py4058# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py4419# ---------------------------------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py4445# ---------------------------------------------------------------------------COMMENT
Hallucination Indicators6 hits · 80 pts
SeverityFileLineSnippetContext
CRITICAL⚡crates/pa-perf/src/bench/runner.rs419 Some(ctx.manifest.markers.huge.file.clone()),CODE
CRITICAL⚡crates/pa-perf/src/bench/runner.rs420 ctx.manifest.markers.huge.needle.as_bytes().to_vec(),CODE
CRITICAL⚡crates/pa-perf/src/bench/runner.rs423 Some(ctx.manifest.markers.switch_a.file.clone()),CODE
CRITICAL⚡crates/pa-perf/src/bench/runner.rs424 ctx.manifest.markers.switch_a.needle.as_bytes().to_vec(),CODE
CRITICALcrates/pa-perf/src/bench/runner.rs675 ctx.manifest.markers.switch_b.needle.as_bytes(),CODE
CRITICALcrates/pa-core/src/kernel/provisioner.rs1405 engine.provisioner.inner.options.command_prefix.as_deref(),CODE
AI Slop Vocabulary28 hits · 71 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/homebrew/Casks/prime-agent.rb33 "~/.prime", # sessions, subagents, skills, harness state, kernel venvsCODE
MEDIUMcrates/pa-daemon/tests/compaction_mega_trace_e2e.rs145 .is_some_and(|content| content.starts_with("# prime-agent harness"))CODE
MEDIUMcrates/pa-daemon/tests/compaction_mega_trace_e2e.rs167 .is_some_and(|content| content.starts_with("# prime-agent harness"))CODE
MEDIUMcrates/pa-daemon/tests/compaction_mega_trace_e2e.rs335#[ignore = "measurement harness: seeds ~50MB and prints the phase table"]COMMENT
MEDIUM…daemon/src/worker/turn_stream_tests/abort_idle_race.rs84#[ignore = "the rate harness: run with PA_RACE_* knobs (see the module docs)"]COMMENT
MEDIUMcrates/pa-perf/Cargo.toml1# pa-perf: the performance corpus generator + bench harness (dev/CI tooling).COMMENT
MEDIUMcrates/pa-perf/Cargo.toml22# pty + poll for the bench harness: the same nix version the workspaceCOMMENT
MEDIUMcrates/pa-cli/tests/termios_process_exit_e2e.rs21#[path = "terminal_state_differential_e2e/harness.rs"]COMMENT
MEDIUMcrates/pa-cli/tests/kitty_verdict_time_e2e.rs145 // The +100ms reply is load-robust headroom: a load-smeared conclusion stillCOMMENT
MEDIUMcrates/pa-cli/tests/input_live_open_pty_e2e.rs125 // The red-first oracle, ordering-based (load-robust where a wallCOMMENT
MEDIUMcrates/pa-cli/src/prompt_command.rs226 assert!(breakdown.assembled.starts_with("# prime-agent harness"));CODE
MEDIUMcrates/pa-tui/tests/daemon_rejection_headless.rs523/// The agents-view open route (TS `openAgentsViewSession`, TS #2391): the same harness throughCOMMENT
MEDIUMcrates/pa-tui/tests/chat_detail_persist_headless.rs435 // #2709 (`next = createMode(harness)`): it starts at `details`, no key pressed.COMMENT
MEDIUM…-core/src/session_engine/engine/append_system_tests.rs70 assert!(prompt.starts_with("# prime-agent harness"));CODE
MEDIUMcrates/pa-core/src/session_engine/engine/tests.rs149 assert!(engine.system_prompt.starts_with("# prime-agent harness"));CODE
MEDIUMcrates/pa-core/src/prompts/system_prompt.rs444 assert!(prompt.starts_with("# prime-agent harness"));CODE
MEDIUMcrates/pa-core/src/prompts/system_prompt.rs524 assert!(!prompt.contains("# prime-agent harness"));CODE
MEDIUMcrates/pa-core/src/session/mod.rs624 r#"{{"type":"custom_message","id":"{id}","parentId":{parent},"timestamp":"2024-01-01T00:00:00.000Z","customTCODE
MEDIUMscripts/check_local_harness.py124 # Never inject RLM_* harness paths, which would mask missing runtime exports.COMMENT
MEDIUMscripts/check_local_harness.py162 # PRIME_AGENT_CODING_AGENT_DIR/harness, checked on disk below.COMMENT
MEDIUMprime-agent-runtime/test/test_harness.py25 # `factory.enabled` setting is off (the default); the harness CRUD testsCOMMENT
MEDIUMprime-agent-runtime/test/test_harness.py1316 # per-session env; the child applies env after fork. rlm.harness must thenCOMMENT
MEDIUM⚡prime-agent-runtime/test/test_factory.py3216 # -- harness write gate ----------------------------------------------------COMMENT
MEDIUMprime-agent-runtime/test/test_repl.py809 # the request would never be served at all (the harness's readCOMMENT
MEDIUMprime-agent-runtime/src/rlm/__init__.py571 except Exception: # pragma: no cover - harness access must never raiseCODE
MEDIUMprime-agent-runtime/src/rlm/factory.py4080 # One home for the agent-dir resolution (harness.py owns it); importedCOMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py4081 # lazily because harness imports this module at its own top.COMMENT
MEDIUMprime-agent-runtime/src/rlm/factory.py4788 # Set-but-empty env values behave as unset (mirrors harness._env_dir).COMMENT
Unused Imports70 hits · 64 pts
SeverityFileLineSnippetContext
LOWscripts/check_private_default_frames.py25CODE
LOWscripts/generate-catalog-fixture.py24CODE
LOWscripts/test_ci_pr_crates.py17CODE
LOWscripts/test_ci_pr_crates.py19CODE
LOWscripts/ci_test_shard_summary.py34CODE
LOWscripts/test_ci_test_shard.py24CODE
LOWscripts/ci_test_shard.py55CODE
LOWscripts/ci_test_shard.py61CODE
LOWscripts/ci_pr_crates.py31CODE
LOWscripts/release/verify_release.py19CODE
LOWscripts/release/native_compat.py8CODE
LOWscripts/release/npm_bridge.py8CODE
LOWscripts/release/verify_legacy_release.py7CODE
LOWscripts/release/test_legacy_upgrade.py17CODE
LOWscripts/release/split_debug.py34CODE
LOWscripts/release/restamp_continuous.py39CODE
LOWscripts/release/restamp_continuous.py42CODE
LOWscripts/release/test_catalog_assets.py14CODE
LOWscripts/release/test_catalog_assets.py21CODE
LOWscripts/release/test_channel_install.py7CODE
LOWscripts/release/assemble_artifacts.py48CODE
LOWscripts/release/test_fold_changelog.py15CODE
LOWscripts/release/test_fold_changelog.py17CODE
LOWscripts/release/test_restamp.py22CODE
LOWscripts/release/fold_changelog.py40CODE
LOWscripts/release/assemble_source.py57CODE
LOWscripts/release/bundle_catalog.py39CODE
LOWscripts/release/test_decoder_manifest.py3CODE
LOWskills/agent-observe/src/agent_observe/__init__.py8CODE
LOWskills/compact/src/compact/__init__.py8CODE
LOWskills/attach-image/src/attach_image/attach_image.py3CODE
LOWskills/attach-image/src/attach_image/__init__.py3CODE
LOWskills/websearch/src/websearch/__init__.py3CODE
LOWskills/websearch/src/websearch/websearch.py3CODE
LOWskills/edit/src/edit/__init__.py3CODE
LOWskills/refine/src/refine/__init__.py8CODE
LOWskills/rlm-heartbeat/src/rlm_heartbeat/__init__.py8CODE
LOWskills/agent-message/src/agent_message/__init__.py7CODE
LOWskills/goal/src/goal/__init__.py8CODE
LOWprime-agent-runtime/test/test_harness.py1CODE
LOWprime-agent-runtime/test/test_factory.py49CODE
LOWprime-agent-runtime/test/test_factory.py67CODE
LOWprime-agent-runtime/test/test_factory.py67CODE
LOWprime-agent-runtime/test/test_bash.py1CODE
LOWprime-agent-runtime/test/test_repl.py1CODE
LOWprime-agent-runtime/test/test_create_session.py1CODE
LOWprime-agent-runtime/test/test_subagent_registry.py1CODE
LOWprime-agent-runtime/test/test_agent_message_skill.py1CODE
LOWprime-agent-runtime/test/test_winjob.py3CODE
LOWprime-agent-runtime/test/test_mcp.py1CODE
LOWprime-agent-runtime/test/test_mcp.py5CODE
LOWprime-agent-runtime/test/test_mcp_base.py1CODE
LOWprime-agent-runtime/src/rlm/skill.py3CODE
LOWprime-agent-runtime/src/rlm/harness.py10CODE
LOWprime-agent-runtime/src/rlm/repl.py8CODE
LOWprime-agent-runtime/src/rlm/bash.py3CODE
LOWprime-agent-runtime/src/rlm/__init__.py3CODE
LOWprime-agent-runtime/src/rlm/__init__.py11CODE
LOWprime-agent-runtime/src/rlm/__init__.py11CODE
LOWprime-agent-runtime/src/rlm/__init__.py11CODE
10 more matches not shown…
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOWcrates/pa-cli/tests/clipboard_auth_commands_e2e.rs475 name: "Acme Corp".to_string(),CODE
LOWcrates/pa-cli/tests/clipboard_auth_commands_e2e.rs904 rendered.contains("Acme Corp"),CODE
LOWcrates/pa-cli/tests/login_panel_pty_e2e.rs135 name: "Acme Corp".to_string(),CODE
LOWcrates/pa-cli/tests/login_panel_pty_e2e.rs387 harness.wait_from(mark, "Acme Corp", "the team row");CODE
LOWcrates/pa-tui/src/onboarding.rs806 name: "Acme Corp".to_string(),CODE
LOWcrates/pa-tui/src/markdown/tests.rs1295 crate::hyperlinks::osc8_open("mailto:foo.bar@example.org"),CODE
LOWcrates/pa-tui/src/auth_panel/tests.rs23 name: "Acme Corp".to_string(),CODE
LOWcrates/pa-tui/src/auth_panel/tests.rs297 assert!(rows.iter().any(|row| row.contains("Acme Corp")));CODE
LOWcrates/pa-tui/src/auth_panel/tests.rs349 assert!(rows.iter().any(|row| row.contains("Acme Corp")));CODE
LOWcrates/pa-tui/src/auth_panel/tests.rs367 !rows.iter().any(|row| row.contains("Acme Corp")),CODE
LOWcrates/pa-tui/src/tool_card/ipython/tests.rs293 let code = format!("print('{}')", "lorem ipsum ".repeat(8));CODE
LOW⚡scripts/release/test_native_compat.py74 (staging / "photon_rs_bg.wasm").write_bytes(b"placeholder")CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHskills/attach-image/src/attach_image/attach_image.py208Load one or more on-disk images into the model's context as attachments. Use this when the model needs to actually STRING
HIGHskills/edit/src/edit/__init__.py9Replace a unique string in a file. ``old_str`` must appear exactly once in the file at ``path``; that match is STRING
Modern AI Meta-Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUM.cursor/BUGBOT.md6## No legacy or migration scaffoldingCOMMENT
MEDIUMskills/prime-intellect/SKILL.md55prime env init my-env --v1 # scaffold a new environmentCODE
MEDIUMskills/prime-intellect/references/environments.md25prime env init my-env --v1 # scaffold (add --with-harness for an explicit reusable harness)CODE
Modern Structural Boilerplate8 hits · 7 pts
SeverityFileLineSnippetContext
LOWskills/attach-image/src/attach_image/__init__.py5__all__ = ["run"]CODE
LOWskills/websearch/src/websearch/__init__.py5__all__ = ["run"]CODE
LOWprime-agent-runtime/src/rlm/harness.py1374__all__ = [CODE
LOWprime-agent-runtime/src/rlm/bash.py69def _set_completion_notices_wired(wired: bool) -> None:CODE
LOWprime-agent-runtime/src/rlm/__init__.py727__all__ = [CODE
LOWprime-agent-runtime/src/rlm/factory.py999__all__ = [CODE
LOWprime-agent-runtime/src/rlm/mcp.py37__all__ = [CODE
LOWprime-agent-runtime/src/rlm/mcp_base.py29__all__ = ["McpIntegration", "McpToolError", "NotEnabled"]CODE
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡crates/pa-models/src/chain.rs168 // Step 1: validated last-good cache + the compiled offlineCOMMENT
LOW⚡crates/pa-models/src/chain.rs177 // Step 2: packaged bundled snapshot (damaged assets are None).COMMENT
LOW⚡crates/pa-models/src/chain.rs184 // Step 3: compiled fallback.COMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡crates/pa-models/src/chain.rs168 // Step 1: validated last-good cache + the compiled offlineCOMMENT
LOW⚡crates/pa-models/src/chain.rs177 // Step 2: packaged bundled snapshot (damaged assets are None).COMMENT
LOW⚡crates/pa-models/src/chain.rs184 // Step 3: compiled fallback.COMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHskills/prime-intellect/references/inference.md13export PRIME_API_KEY="your-api-key-here"CODE
Overly Generic Function Names5 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡prime-agent-runtime/test/test_repl.py1687 self.repl.execute("ln1", "alpha = 1\ndef helper(n):\n return n\n_hidden = 2\nrlm = object()")CODE
LOWprime-agent-runtime/test/test_repl.py963 "import functools\nG = 1\ndef helper():\n return G\ndef apply(fn):\n return fn()\n"CODE
LOWprime-agent-runtime/test/test_repl.py982 code = ("G = 1\ndef helper():\n return G\nrun = lambda fn=helper: fn()\nrun2 = lambda *, fn=helper: fn()\ncloCODE
LOWprime-agent-runtime/test/test_repl.py1035 code = "import functools\nG = 1\ndef helper():\n return G\np = functools.partial(len)\np.callback = helper"CODE
LOWprime-agent-runtime/test/test_repl.py1041 "import functools\nG = 1\ndef helper():\n return G\ndef apply(fn):\n return fn()\n"CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/release/native_compat.py40 # This file is validated, not executed, by the already-running TS installer.COMMENT