AI Slop Code Risk Monitor

FailproofAI/failproofai

SlopCodeMonitor badge for FailproofAI/failproofai Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
13.8 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for FailproofAI/failproofai. SynthScan examined 449,278 lines of code across 1313 source files, recording 3969 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 13.8 (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.

13.8
Adjusted Signal
13.8
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
449.3K
Lines of Code
1.3K
Files
4.0K
Pattern Hits
2026-10-31
Scan Date
0.04
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 23.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.8/100 · LOW

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

Agent Over-Engineering Ratio 42.4/100 · MEDIUM

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

PR Review Velocity Impact 50.2/100 · HIGH

Which changes need focused human review? 3969 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 4HIGH 55MEDIUM 991LOW 2919

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 3969 distinct pattern matches across 18 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.

Decorative Section Separators946 hits · 3112 pts
SeverityFileLineSnippetContext
MEDIUMosv-scanner.toml32# ---------------------------------------------------------------------------COMMENT
MEDIUMosv-scanner.toml66# ---------------------------------------------------------------------------COMMENT
MEDIUMosv-scanner.toml88# ---------------------------------------------------------------------------COMMENT
MEDIUMosv-scanner.toml105# ---------------------------------------------------------------------------COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs152// ── the chat_message shapes, verbatim from a live database ────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs185// ── assertion helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs201// ── content-shape transforms ──────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs372// ── the forest: replays collapse, distinct messages do not ────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs448// ── session identity and filtering ─────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs505// ── session start ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs544// ── timestamps ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs581// ── watermark, limits, determinism ─────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/devin_source.rs662// ── engine ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/human_input.rs248// ── edge cases found by driving the real harnesses in a sandbox ─────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_source.rs66// ── transform ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_source.rs202// ── thinking blocks ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_source.rs278// ── compact boundaries ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_source.rs334// ── synthetic / failed assistant turns ───────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_source.rs455// ── format table ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_source.rs500// ── engine ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/factory_source.rs47// ── real record shapes ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/factory_source.rs102// ── transform-direct ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/factory_source.rs195// ── engine ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/pi_source.rs53// ── real record shapes ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/pi_source.rs164// ── transform ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/pi_source.rs665// ── format table ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/pi_source.rs779// ── engine ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/copilot_source.rs46// ── real record shapes ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/copilot_source.rs202// ── transform ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/copilot_source.rs547// ── resume ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/copilot_source.rs599// ── format table ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/copilot_source.rs764// ── engine ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/opencode_source.rs336// ── the mutation this whole source exists for ────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/opencode_source.rs586// ── text parts ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/opencode_source.rs725// ── agent id: directory, never path ──────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/opencode_source.rs838// ── session bracketing ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/opencode_source.rs974// ── ordering, watermark, limits ──────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/opencode_source.rs1218// ── dedup discrimination and determinism ─────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/opencode_source.rs1375// ── timestamps, format table, discovery ──────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/antigravity_source.rs55// ── real record shapes ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/antigravity_source.rs111// ── transform-direct ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/antigravity_source.rs290// ── engine ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/openclaw_source.rs46// ── record builders, mirroring the capture field for field ───────────────COMMENT
MEDIUMcrates/fpai-collect/tests/openclaw_source.rs114// ── transform ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/openclaw_source.rs461// ── format table ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/openclaw_source.rs563// ── engine ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/openclaw_source.rs987// ── OpenClaw 2026.9.2+ SQLite store ─────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_subagents.rs77// ── file identity ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_subagents.rs159// ── agent type ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_subagents.rs220// ── the parent link ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/claude_subagents.rs263// ── engine ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs174// ── the block shapes, verbatim from a live database ──────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs216// ── assertions helpers ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs232// ── content-block shapes ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs419// ── rows are not turn-aligned ────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs498// ── session filtering and identity ───────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs573// ── session boundaries ───────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs660// ── watermark, limits, determinism ───────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs766// ── timestamps and usage ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/fpai-collect/tests/goose_source.rs862// ── engine ───────────────────────────────────────────────────────────────COMMENT
886 more matches not shown…
Hyper-Verbose Identifiers1750 hits · 1500 pts
SeverityFileLineSnippetContext
LOWapp/policies/hooks-client.tsx63function projectFromTranscriptPath(transcriptPath: string): string | null {CODE
LOWapp/components/project-list.tsx49function normalizeKeywordForSearch(keyword: string): string {CODE
LOWapp/components/raw-log-viewer.tsx183function buildSubagentUuidToParentMap(allEntries: LogEntry[]): Map<string, string> {CODE
LOWapp/actions/get-hooks-config.ts124async function discoverConventionPolicies(CODE
LOWapp/actions/get-hooks-config.ts178async function parseCustomPoliciesFromFile(filePath: string): Promise<CustomPolicyInfo[]> {CODE
LOW__tests__/hooks/fp-reset.test.ts734 function seedLayoutOnePolicyConfig() {CODE
LOW__tests__/hooks/fp-reset.test.ts882 function seedLayoutTwoWithRegisteredPath(entry: string) {CODE
LOW__tests__/hooks/policy-reviewability.test.ts55function packEntriesWithoutAuthority(): ReturnType<typeof parsePackPolicy>[] {CODE
LOW__tests__/hooks/migrations.test.ts353 function seedLayoutThreeWithSession() {CODE
LOW__tests__/hooks/semantic/intent-capture-r9.test.ts49function expectNotRecordedAnywhere(text: string): void {CODE
LOW__tests__/hooks/semantic/intent-capture-r8.test.ts71function expectNotRecordedAnywhere(text: string): void {CODE
LOW__tests__/e2e/helpers/hook-runner.ts104export function assertPermissionRequestDeny(result: HookRunResult): void {CODE
LOW__tests__/e2e/helpers/hook-runner.ts127export function assertPostToolUseBlockDecision(result: HookRunResult): void {CODE
LOW⚡__tests__/e2e/helpers/hook-runner.ts266export function assertAntigravityStopContinue(result: HookRunResult): void {CODE
LOW⚡__tests__/e2e/helpers/hook-runner.ts275export function assertAntigravityInjectSteps(result: HookRunResult): void {CODE
LOWsdk/python/skill/references/integration.md294def test_failure_is_recorded_as_failed(events):CODE
LOWsdk/python/skill/references/integration.md344def test_unserializable_payload_does_not_kill_the_writer(events):CODE
LOWsdk/python/failproofai_sdk/_resolver.py72def failproofai_custom_agents_dir() -> Path:CODE
LOWsdk/python/failproofai_sdk/_events.py67def _validate_promoted_numeric(name: str, value) -> None:CODE
LOWsdk/python/failproofai_sdk/_events.py94def _validate_promoted_string(name: str, value) -> None:CODE
LOWsdk/python/failproofai_sdk/evaluator/protocol.py84def validate_protocol_version(version: str) -> None:CODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py829 def _condition_phase_deadline(self, assignment: Assignment) -> float:CODE
LOWsdk/python/failproofai_sdk/integrations/crewai.py374 def _root_for_current_context(self, roots):CODE
LOWsdk/python/tests/test_no_customer_identifiers.py126def test_no_real_customer_or_vendor_identifiers():CODE
LOWsdk/python/tests/test_no_customer_identifiers.py147def test_no_internal_artefacts_from_the_private_monorepo():CODE
LOWsdk/python/tests/test_no_customer_identifiers.py159def test_the_scan_actually_has_files_to_scan():CODE
LOWsdk/python/tests/test_no_customer_identifiers.py169def test_the_hashed_scan_matches_substrings_and_only_them():CODE
LOWsdk/python/tests/test_no_customer_identifiers.py183def test_no_internal_hostnames_leaked():CODE
LOWsdk/python/tests/test_no_customer_identifiers.py195def test_this_file_does_not_name_the_customers_it_denies():CODE
LOWsdk/python/tests/conftest.py110def _quiesce_the_process_wide_writer():CODE
LOWsdk/python/tests/test_evaluator_example.py20def test_example_registers_deterministic_and_async_evals(monkeypatch):CODE
LOWsdk/python/tests/test_evaluator_example.py31def test_example_rejects_non_http_judge_urls(monkeypatch):CODE
LOW⚡sdk/python/tests/test_evaluator_review_fixes.py24def test_bounded_keeps_tab_newline_cr():CODE
LOW⚡sdk/python/tests/test_evaluator_review_fixes.py30def test_reasoning_carried_on_metric_primary():CODE
LOW⚡sdk/python/tests/test_evaluator_review_fixes.py37def test_reasoning_not_smeared_onto_secondary_metrics():CODE
LOWsdk/python/tests/test_evaluator_review_fixes.py48def test_object_repr_guard_allows_plain_hex_literals():CODE
LOWsdk/python/tests/test_evaluator_review_fixes.py55def test_object_repr_guard_still_rejects_pointer_reprs():CODE
LOWsdk/python/tests/test_evaluator_review_fixes.py126def test_transcript_too_large_skips_assignment_without_crashing():CODE
LOWsdk/python/tests/test_evaluator_review_fixes.py144def test_idempotent_replay_runs_a_definition_this_attempt_skipped():CODE
LOWsdk/python/tests/test_packaging.py49def test_the_distribution_is_installed():CODE
LOWsdk/python/tests/test_packaging.py56def test_every_requirement_is_gated_behind_an_extra():CODE
LOWsdk/python/tests/test_packaging.py71def test_no_requirement_names_the_retired_distribution():CODE
LOW⚡sdk/python/tests/test_packaging.py89def test_there_is_no_all_extra():CODE
LOW⚡sdk/python/tests/test_packaging.py93def test_every_extra_maps_to_a_registered_adapter():CODE
LOW⚡sdk/python/tests/test_packaging.py100def test_every_registered_adapter_has_an_extra():CODE
LOW⚡sdk/python/tests/test_packaging.py105def test_every_extra_requirement_pins_a_floor_and_a_ceiling():CODE
LOWsdk/python/tests/test_packaging.py139def test_importing_the_package_stays_clean(tmp_path):CODE
LOWsdk/python/tests/test_packaging.py163def test_instrument_is_lazy_until_it_is_called():CODE
LOWsdk/python/tests/test_packaging.py177def test_the_registry_points_at_a_module_inside_this_package(name):CODE
LOW⚡sdk/python/tests/test_integrations.py106def test_the_four_adapters_are_pre_registered():CODE
LOW⚡sdk/python/tests/test_integrations.py127def test_unknown_name_raises_valueerror_listing_the_valid_ones():CODE
LOW⚡sdk/python/tests/test_integrations.py137def test_instrument_installs_and_reports_the_name(fake):CODE
LOW⚡sdk/python/tests/test_integrations.py143def test_the_public_facade_reaches_the_registry(fake):CODE
LOW⚡sdk/python/tests/test_integrations.py152def test_options_reach_the_adapter(fake):CODE
LOW⚡sdk/python/tests/test_integrations.py157def test_instrumenting_twice_is_a_noop(fake):CODE
LOW⚡sdk/python/tests/test_integrations.py163def test_uninstrument_calls_uninstall_once(fake):CODE
LOW⚡sdk/python/tests/test_integrations.py170def test_uninstrument_of_something_never_instrumented_is_a_noop(fake):CODE
LOW⚡sdk/python/tests/test_integrations.py175def test_uninstrument_of_an_unknown_name_does_not_raise(caplog):CODE
LOW⚡sdk/python/tests/test_integrations.py182def test_bare_instrument_with_nothing_imported_warns_rather_than_going_quiet(CODE
LOW⚡sdk/python/tests/test_integrations.py238def test_a_failing_install_raises_under_strict(monkeypatch):CODE
1690 more matches not shown…
Over-Commented Block747 hits · 716 pts
SeverityFileLineSnippetContext
LOWosv-scanner.toml1# OSV-Scanner allow-list — auto-loaded by the Supply Chain CI gateCOMMENT
LOWosv-scanner.toml21# justifies it and the conditions attached. Note the different date key there —COMMENT
LOWosv-scanner.toml41# crewai 1.15.27 requires `chromadb~=1.5.9`, which moved the lock from 1.1.1COMMENT
LOWosv-scanner.toml81reason = "chromadb 1.5.9 (published 2026-06-12, surfaced 2026-08-24). No fixed version. Transitive via crewai, dev/test COMMENT
LOWhermes-plugin/__init__.py61_HANDOFF_LIMIT = 256COMMENT
LOWhermes-plugin/__init__.py221 return values[key]COMMENT
LOWcrates/fpai-collect/Cargo.toml21# four targets and pulling OpenSSL onto each of them is the kind of buildCOMMENT
LOWcrates/fpai-collect/Cargo.toml41# `bundled` vendors libsqlite3 rather than linking the host's, so the fourCOMMENT
LOWcrates/fpai-collect/tests/hooks_jev.rs721}COMMENT
LOWcrates/fpai-collect/tests/hooks_jev.rs941 "rm",COMMENT
LOWcrates/fpai-collect/tests/hooks_jev.rs1461 agg["jev_latency_ms"], 50.0,COMMENT
LOWcrates/fpai-collect/tests/claude_source.rs741}COMMENT
LOWcrates/fpai-collect/tests/hooks_source.rs561 let plain = eventsCOMMENT
LOWcrates/fpai-collect/tests/uploader_private_ca.rs1//! The daemon trusts a private CA that the machine trusts.COMMENT
LOWcrates/fpai-collect/tests/opencode_source.rs1//! opencode source: transform correctness and poll behaviour, against REALCOMMENT
LOWcrates/fpai-collect/tests/health_delivery.rs1//! The health file must be able to say whether anything is ARRIVING.COMMENT
LOWcrates/fpai-collect/tests/antigravity_source.rs1//! Antigravity (agy) source: transform correctness and engine behaviour.COMMENT
LOWcrates/fpai-collect/tests/codex_source.rs241#[test]COMMENT
LOWcrates/fpai-collect/tests/hermes_source.rs1//! Hermes source: transform correctness and engine behaviour, against REALCOMMENT
LOWcrates/fpai-collect/tests/extra_paths_engine.rs1//! Extra capture paths, end to end through the real engines.COMMENT
LOWcrates/fpai-collect/src/test_env.rs1//! ONE lock for every test in this crate that reads or writes theCOMMENT
LOWcrates/fpai-collect/src/uploader.rs1//! Ships spooled batches to the ingest endpoint.COMMENT
LOWcrates/fpai-collect/src/uploader.rs21//!COMMENT
LOWcrates/fpai-collect/src/uploader.rs141impl std::error::Error for UploadError {}COMMENT
LOWcrates/fpai-collect/src/uploader.rs381 // identically until the URL is fixed.COMMENT
LOWcrates/fpai-collect/src/uploader.rs481 /// accepted ack — `{"accepted":3,"skipped":1}` — was treated as a plainCOMMENT
LOWcrates/fpai-collect/src/health.rs1//! Per-source liveness, written to `~/.failproofai/collector-health.json`.COMMENT
LOWcrates/fpai-collect/src/health.rs41 pub root_present: bool,COMMENT
LOWcrates/fpai-collect/src/health.rs61/// a source's job ends when it writes a batch to the spool. Everything afterCOMMENT
LOWcrates/fpai-collect/src/health.rs81/// ones. Before any of this the only trace was a line in the daemon's log.COMMENT
LOWcrates/fpai-collect/src/health.rs101 /// When this snapshot was written, so a reader can tell a stale file from aCOMMENT
LOWcrates/fpai-collect/src/health.rs221/// them vary. Unset until the daemon installs one, and every method on theCOMMENT
LOWcrates/fpai-collect/src/health.rs461 /// every credential rotation, every `[collector]` config change and everyCOMMENT
LOWcrates/fpai-collect/src/spool.rs1//! Durable hand-off between a source and the uploader.COMMENT
LOWcrates/fpai-collect/src/spool.rs61 /// `agent_id` — a per-project/per-harness identity — and the fleet viewsCOMMENT
LOWcrates/fpai-collect/src/spool.rs221COMMENT
LOWcrates/fpai-collect/src/supervisor.rs1//! Fault-isolated host for every collector task.COMMENT
LOWcrates/fpai-collect/src/supervisor.rs21//! unchanged — converting it would mean rewriting the connection handlingCOMMENT
LOWcrates/fpai-collect/src/supervisor.rs61/// off. Shutdown latency is bounded by this, so it stays well under the flushCOMMENT
LOWcrates/fpai-collect/src/supervisor.rs181/// Counters a caller (or a test) can read without stopping the supervisor.COMMENT
LOWcrates/fpai-collect/src/config.rs1//! Collector configuration: where to send events, and what to collect.COMMENT
LOWcrates/fpai-collect/src/config.rs21//! machine that has not opted in pays nothing for this code existing. SessionCOMMENT
LOWcrates/fpai-collect/src/config.rs41///COMMENT
LOWcrates/fpai-collect/src/config.rs81fn default_url() -> String {COMMENT
LOWcrates/fpai-collect/src/config.rs101 Decisions,COMMENT
LOWcrates/fpai-collect/src/config.rs121///COMMENT
LOWcrates/fpai-collect/src/config.rs141 pub config_generation: Option<String>,COMMENT
LOWcrates/fpai-collect/src/config.rs161 #[serde(default)]COMMENT
LOWcrates/fpai-collect/src/config.rs301/// Which agents this machine traces: the `agents` object at the TOP LEVEL ofCOMMENT
LOWcrates/fpai-collect/src/config.rs401 pub ingest: Option<Ingest>,COMMENT
LOWcrates/fpai-collect/src/config.rs441impl CollectorConfig {COMMENT
LOWcrates/fpai-collect/src/config.rs781fn tighten_home(_home: &Path) {}COMMENT
LOWcrates/fpai-collect/src/config.rs941 unsafe {COMMENT
LOWcrates/fpai-collect/src/lib.rs1//! Session-log and hook-activity collection for `failproofaid`.COMMENT
LOWcrates/fpai-collect/src/filetail.rs1//! Generic tailer for agents that keep sessions in append-structured JSONL.COMMENT
LOWcrates/fpai-collect/src/filetail.rs41/// Leading lines read once per file, and reused for every question that needsCOMMENT
LOWcrates/fpai-collect/src/filetail.rs61/// life and persisted in the cursor, so it is identical across polls andCOMMENT
LOWcrates/fpai-collect/src/filetail.rs81#[derive(Clone, Copy)]COMMENT
LOWcrates/fpai-collect/src/filetail.rs101 ///COMMENT
LOWcrates/fpai-collect/src/filetail.rs141 ///COMMENT
687 more matches not shown…
Unused Imports203 hits · 174 pts
SeverityFileLineSnippetContext
LOWhermes-plugin/client.py3CODE
LOWhermes-plugin/ledger.py3CODE
LOWhermes-plugin/__init__.py3CODE
LOWsdk/python/failproofai_sdk/__init__.py19CODE
LOWsdk/python/failproofai_sdk/__init__.py22CODE
LOWsdk/python/failproofai_sdk/__init__.py22CODE
LOWsdk/python/failproofai_sdk/__init__.py22CODE
LOWsdk/python/failproofai_sdk/__init__.py23CODE
LOWsdk/python/failproofai_sdk/__init__.py24CODE
LOWsdk/python/failproofai_sdk/__init__.py24CODE
LOWsdk/python/failproofai_sdk/__init__.py24CODE
LOWsdk/python/failproofai_sdk/_scopes.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/protocol.py3CODE
LOWsdk/python/failproofai_sdk/evaluator/client.py3CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py7CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py17CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py17CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py17CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py17CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py23CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py54CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py54CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py55CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py55CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py55CODE
143 more matches not shown…
Empty Error Handlers32 hits · 160 pts
SeverityFileLineSnippetContext
HIGHhermes-plugin/__init__.py116except Exception:CODE
HIGHhermes-plugin/__init__.py618except Exception:CODE
HIGHsdk/python/failproofai_sdk/_writer.py750except OSError: # pragma: no cover - platform dependentCODE
HIGHsdk/python/failproofai_sdk/_events.py318except (StopIteration, RuntimeError): # emptied or resized under usCODE
HIGHsdk/python/failproofai_sdk/evaluator/runtime.py845except (ValueError, AttributeError):CODE
HIGHsdk/python/failproofai_sdk/evaluator/runtime.py938except asyncio.CancelledError:CODE
HIGHsdk/python/failproofai_sdk/evaluator/runtime.py965except asyncio.TimeoutError:CODE
HIGHsdk/python/failproofai_sdk/evaluator/authoring.py414except (NotImplementedError, RuntimeError):CODE
HIGHsdk/python/failproofai_sdk/evaluator/source.py260except OSError:CODE
HIGHsdk/python/failproofai_sdk/integrations/_core.py720except (ValueError, AttributeError, TypeError):CODE
HIGHsdk/python/failproofai_sdk/integrations/_core.py288except (AttributeError, TypeError):CODE
HIGHsdk/python/tests/test_scopes.py226except KeyboardInterrupt:CODE
HIGHsdk/python/tests/test_scopes.py237except SystemExit:CODE
HIGHsdk/python/tests/test_scopes.py253except asyncio.CancelledError:CODE
HIGHsdk/python/tests/test_scopes.py264except GeneratorExit:CODE
HIGHsdk/python/tests/test_evaluator_request_id.py79except Exception: # noqa: BLE001 - the response shape is not under test hereCODE
HIGHfp-cloud-cli/fp_cli/auth.py184except httpx.RequestError:CODE
HIGHfp-cloud-cli/fp_cli/config.py266except FileNotFoundError:CODE
HIGHfp-cloud-cli/fp_cli/config.py204except OSError:CODE
HIGHfp-cloud-cli/fp_cli/config.py289except OSError:CODE
HIGHfp-cloud-cli/fp_cli/client.py1698except ValueError:CODE
HIGHfp-cloud-cli/fp_cli/app.py233except Exception:CODE
HIGHfp-cloud-cli/fp_cli/analytics.py128except Exception:CODE
HIGHfp-cloud-cli/fp_cli/analytics.py239except Exception:CODE
HIGHfp-cloud-cli/fp_cli/analytics.py285except Exception:CODE
HIGHfp-cloud-cli/fp_cli/analytics.py303except Exception:CODE
HIGHfp-cloud-cli/fp_cli/analytics.py374except Exception:CODE
HIGHfp-cloud-cli/fp_cli/analytics.py330except Exception:CODE
HIGHfp-cloud-cli/fp_cli/analytics.py334except Exception:CODE
HIGHfp-cloud-cli/fp_cli/output.py3125except ValueError:CODE
HIGHfp-cloud-cli/fp_cli/commands/queries_cmds.py50except ValueError:CODE
HIGHfp-cloud-cli/fp_cli/commands/queries_cmds.py54except ValueError:CODE
Excessive Try-Catch Wrapping101 hits · 102 pts
SeverityFileLineSnippetContext
MEDIUMhermes-plugin/__init__.py150def _hermes_home() -> Path:CODE
MEDIUMhermes-plugin/__init__.py560def _plugin_version() -> str:CODE
MEDIUMhermes-plugin/__init__.py569def _hermes_version() -> str:CODE
LOW⚡hermes-plugin/__init__.py1026 except Exception as exc:CODE
LOW⚡hermes-plugin/__init__.py1034 except Exception as exc:CODE
LOW⚡hermes-plugin/__init__.py1037 except Exception as exc:CODE
LOWhermes-plugin/__init__.py116 except Exception:CODE
LOWhermes-plugin/__init__.py157 except Exception:CODE
LOWhermes-plugin/__init__.py185 except Exception as exc:CODE
LOWhermes-plugin/__init__.py191 except Exception as exc:CODE
LOWhermes-plugin/__init__.py214 except Exception as exc:CODE
LOWhermes-plugin/__init__.py338 except Exception:CODE
LOWhermes-plugin/__init__.py378 except Exception:CODE
LOWhermes-plugin/__init__.py444 except Exception:CODE
LOWhermes-plugin/__init__.py480 except Exception as exc:CODE
LOWhermes-plugin/__init__.py532 except Exception as exc:CODE
LOWhermes-plugin/__init__.py565 except Exception:CODE
LOWhermes-plugin/__init__.py574 except Exception:CODE
LOWhermes-plugin/__init__.py590 except Exception as exc:CODE
LOWhermes-plugin/__init__.py613 except Exception as exc:CODE
LOWhermes-plugin/__init__.py618 except Exception:CODE
LOWhermes-plugin/__init__.py632 except Exception as exc:CODE
LOWhermes-plugin/__init__.py722 except Exception as exc:CODE
LOWhermes-plugin/__init__.py789 except Exception as exc:CODE
LOWhermes-plugin/__init__.py864 except Exception as exc:CODE
LOWhermes-plugin/__init__.py877 except Exception as exc:CODE
LOWhermes-plugin/__init__.py881 except Exception as exc:CODE
LOWhermes-plugin/__init__.py919 except Exception as exc:CODE
LOWhermes-plugin/__init__.py1007 except Exception:CODE
LOWsdk/python/failproofai_sdk/_writer.py197 except Exception: # pragma: no cover - a container whose iteration raisesCODE
LOWsdk/python/failproofai_sdk/_writer.py220 except Exception: # pragma: no cover - a container whose iteration raisesCODE
LOWsdk/python/failproofai_sdk/_writer.py331 except Exception:CODE
LOWsdk/python/failproofai_sdk/_writer.py347 except Exception:CODE
LOWsdk/python/failproofai_sdk/_writer.py394 except Exception: # pragma: no cover - `entry` already encoded onceCODE
LOWsdk/python/failproofai_sdk/_writer.py433 except Exception:CODE
LOWsdk/python/failproofai_sdk/_writer.py456 except Exception: # pragma: no cover - defensiveCODE
LOWsdk/python/failproofai_sdk/_writer.py594 except Exception:CODE
LOWsdk/python/failproofai_sdk/_writer.py626 except Exception:CODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py250 except Exception:CODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py482 except Exception as error: # noqa: BLE001 - isolates customer condition codeCODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py719 except Exception as error: # noqa: BLE001 - converts customer eval failuresCODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py761 except Exception as error: # noqa: BLE001 - cancellation hooks are customer codeCODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py819 except Exception as error: # noqa: BLE001 - keep lease renewal aliveCODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py946 except Exception:CODE
MEDIUMsdk/python/failproofai_sdk/evaluator/runtime.py238def register(self) -> None:CODE
LOW⚡sdk/python/failproofai_sdk/integrations/llama_index.py1309 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py217 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py231 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py244 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py328 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py1575 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/crewai.py971 except Exception: # pragma: no cover - exercised by a crewai that moved itCODE
LOWsdk/python/failproofai_sdk/integrations/crewai.py1009 except Exception: # pragma: no cover - teardown must never raiseCODE
LOWsdk/python/failproofai_sdk/integrations/crewai.py1535 except Exception: # pragma: no cover - teardown must never raiseCODE
MEDIUMsdk/python/failproofai_sdk/integrations/crewai.py968def _patch_task_human_input(self) -> None:CODE
LOWsdk/python/failproofai_sdk/integrations/__init__.py189 except Exception as exc:CODE
LOWsdk/python/failproofai_sdk/integrations/__init__.py203 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/__init__.py263 except Exception:CODE
LOW⚡sdk/python/failproofai_sdk/integrations/_core.py317 except Exception:CODE
LOWsdk/python/failproofai_sdk/integrations/_core.py157 except Exception:CODE
41 more matches not shown…
Cross-Language Confusion16 hits · 100 pts
SeverityFileLineSnippetContext
HIGHsdk/python/failproofai_sdk/integrations/otel.py14_METADATA = b'{"path":"/v1/traces","content_type":"application/json","encoding":null}\n'CODE
HIGHfp-cloud-cli/fp_cli/models.py909 #: only `label` showed the machine's own (usually null) name and silentlyCOMMENT
HIGHfp-cloud-cli/fp_cli/models.py957 Mirrors `machinePicker.ts`: `labelOverride || label || machineId`. TheSTRING
HIGHfp-cloud-cli/fp_cli/policy_check.py143export const customPolicies = { add: (p) => { registered.push(p); } };CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py167 out.push({ name: p.name ?? "(unnamed)", description: p.description ?? null,CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py167 out.push({ name: p.name ?? "(unnamed)", description: p.description ?? null,CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py172 out.push({ name: p.name ?? "(unnamed)", description: p.description ?? null,CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py172 out.push({ name: p.name ?? "(unnamed)", description: p.description ?? null,CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py178 out.push({ name: p.name ?? "(unnamed)", description: p.description ?? null,CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py178 out.push({ name: p.name ?? "(unnamed)", description: p.description ?? null,CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py179 decision: r?.decision ?? "allow", reason: r?.reason ?? null });CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py181 out.push({ name: p.name ?? "(unnamed)", error: String(e && e.message || e) });CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py181 out.push({ name: p.name ?? "(unnamed)", error: String(e && e.message || e) });CODE
HIGH⚡fp-cloud-cli/fp_cli/policy_check.py181 out.push({ name: p.name ?? "(unnamed)", error: String(e && e.message || e) });CODE
HIGHfp-cloud-cli/fp_cli/client.py1774 then emitting ``{"…": [...], "next_cursor": null}``, which positively assertsSTRING
HIGHfp-cloud-cli/fp_cli/output.py4447 comment (``deleted_at`` set, or ``body`` null) shows a dim italic ``(deleted)`` tombstone; theSTRING
Modern AI Meta-Vocabulary22 hits · 67 pts
SeverityFileLineSnippetContext
MEDIUMcrates/fpai-collect/tests/hooks_source.rs438// real row arrives unattributed and the guardrails view can only report thatCOMMENT
MEDIUMcrates/fpai-collect/src/sources/claude/mod.rs225/// (`openclaw-local`, `agentic-test`, `sensor-app`). The `cwd` field is exact.COMMENT
MEDIUM__tests__/hooks/publish-authoring.test.ts154 // The scaffold has to survive the loader's own rules, or the first thing aCOMMENT
MEDIUM__tests__/lib/codex-projects.test.ts158 // /home/u/agentic-test encodes to -home-u-agentic-test, which decodeFolderName wouldCOMMENT
MEDIUM__tests__/lib/codex-projects.test.ts159 // erroneously turn into /home/u/agentic/test. Re-encoding-from-cwd preserves the dash.COMMENT
MEDIUMsdk/python/failproofai_sdk/_events.py264# the ordinary multi-agent shape — collided on any shared step id. StartingCOMMENT
MEDIUMsdk/python/failproofai_sdk/_events.py301 # long-running multi-agent process this cap exists for in the firstCOMMENT
MEDIUMsdk/python/failproofai_sdk/integrations/llama_index.py172#: "a real RAG prompt is well over 2 KiB". This is the RAG-first framework. ItCOMMENT
MEDIUMsdk/python/failproofai_sdk/integrations/crewai.py764 # -- flow methods and guardrails: hook pairs ----------------------------COMMENT
MEDIUMsdk/python/failproofai_sdk/integrations/langchain.py154#: prompt and the completion. A real RAG prompt is well over 2 KiB, so theCOMMENT
MEDIUM⚡sdk/python/tests/integrations/test_langchain.py2222# read. A real RAG prompt clears 2 KiB comfortably, so the tightening fired onCOMMENT
MEDIUMsdk/typescript/test/mastra.test.ts177 // The agentic loop's workflows carry InternalSpans.WORKFLOW (1) or ALL (15).COMMENT
MEDIUMfp-cloud-cli/skill/references/commands.md20- [policies · fleet · guardrails](#policies--fleet--guardrails)CODE
MEDIUMfp-cloud-cli/skill/references/commands.md249## policies · fleet · guardrailsCOMMENT
MEDIUMfp-cloud-cli/skill/references/commands.md297### guardrailsCOMMENT
MEDIUM⚡fp-cloud-cli/tests/test_output.py241# ── multi-agent roster (agents column) ─────────────────────────────────────COMMENT
MEDIUM⚡fp-cloud-cli/tests/test_output.py267 # a legacy row with no `agents` field is never multi-agent (back-compat)COMMENT
MEDIUMfp-cloud-cli/tests/test_commands.py558# ── multi-agent roster (agents column) ─────────────────────────────────────COMMENT
MEDIUMfp-cloud-cli/fp_cli/models.py211 # cast. ``None`` on older servers that predate the multi-agent roster.COMMENT
MEDIUMfp-cloud-cli/fp_cli/output.py700 # name: `policies`, `fleet` and `guardrails` — the entire ENFORCE surface —COMMENT
MEDIUMfp-cloud-cli/fp_cli/commands/guardrails_cmds.py135 # A pure container, like every other group in this CLI: bare `fp guardrails`COMMENT
MEDIUMsrc/audit/features.ts78 // ── cowboy ── destructive / forceful / bypasses guardrails (21) ───────────COMMENT
Hallucination Indicators4 hits · 55 pts
SeverityFileLineSnippetContext
CRITICAL__tests__/ci/release-pipeline.test.ts655 const built = workflow("build-daemon.yml").jobs.build.strategy.matrix.include.map(CODE
CRITICAL⚡fp-cloud-cli/tests/test_auth_mode.py78 assert "ae_session=env-tok" in api_route.calls.last.request.headers.get("cookie", "")CODE
CRITICAL⚡fp-cloud-cli/tests/test_orgs.py304 assert route.calls.last.request.headers.get("X-AgentEye-Org") == "acme"CODE
CRITICAL⚡fp-cloud-cli/tests/test_orgs.py317 assert route.calls.last.request.headers.get("X-AgentEye-Org") == "globex"CODE
Deep Nesting64 hits · 53 pts
SeverityFileLineSnippetContext
LOWhermes-plugin/ledger.py88CODE
LOW__tests__/e2e/layout/cli-login-driver.py35CODE
LOWsdk/python/failproofai_sdk/_writer.py602CODE
LOWsdk/python/failproofai_sdk/evaluator/client.py255CODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py271CODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py367CODE
LOWsdk/python/failproofai_sdk/evaluator/runtime.py767CODE
LOWsdk/python/failproofai_sdk/evaluator/source.py148CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py1355CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py542CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py596CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py1223CODE
LOWsdk/python/failproofai_sdk/integrations/llama_index.py1388CODE
LOWsdk/python/failproofai_sdk/integrations/__init__.py142CODE
LOWsdk/python/failproofai_sdk/integrations/_core.py398CODE
LOWsdk/python/failproofai_sdk/integrations/langchain.py976CODE
LOWsdk/python/failproofai_sdk/integrations/langchain.py1392CODE
LOWsdk/python/failproofai_sdk/integrations/pydantic_ai.py277CODE
LOWsdk/python/failproofai_sdk/integrations/pydantic_ai.py678CODE
LOWsdk/python/failproofai_sdk/integrations/otel.py84CODE
LOWsdk/python/tests/test_no_customer_identifiers.py77CODE
LOWsdk/python/tests/test_no_customer_identifiers.py126CODE
LOWsdk/python/tests/test_no_customer_identifiers.py147CODE
LOWsdk/python/tests/test_no_customer_identifiers.py183CODE
LOWsdk/python/tests/test_durability.py201CODE
LOWsdk/python/tests/test_durability.py214CODE
LOWsdk/python/tests/test_site_docs.py347CODE
LOWsdk/python/tests/test_scopes.py131CODE
LOWsdk/python/tests/test_zero_dependencies.py77CODE
LOWsdk/python/tests/test_zero_dependencies.py194CODE
LOWsdk/python/tests/integrations/test_llama_index.py490CODE
LOWsdk/python/docs/manual/examples/research_agent.py97CODE
LOWfp-cloud-cli/tests/test_no_customer_identifiers.py63CODE
LOWfp-cloud-cli/tests/test_no_customer_identifiers.py100CODE
LOWfp-cloud-cli/tests/test_no_customer_identifiers.py159CODE
LOWfp-cloud-cli/tests/test_help_table_coverage.py94CODE
LOWfp-cloud-cli/tests/test_click_compat.py39CODE
LOWfp-cloud-cli/tests/test_cloud_human_views.py41CODE
LOWfp-cloud-cli/tests/fake_cloud_smoke.py190CODE
LOWfp-cloud-cli/fp_cli/evaluator_spec.py84CODE
LOWfp-cloud-cli/fp_cli/policy_check.py312CODE
LOWfp-cloud-cli/fp_cli/policy_check.py331CODE
LOWfp-cloud-cli/fp_cli/policy_check.py393CODE
LOWfp-cloud-cli/fp_cli/client.py1673CODE
LOWfp-cloud-cli/fp_cli/client.py1704CODE
LOWfp-cloud-cli/fp_cli/client.py1792CODE
LOWfp-cloud-cli/fp_cli/cloud_output.py92CODE
LOWfp-cloud-cli/fp_cli/cloud_output.py141CODE
LOWfp-cloud-cli/fp_cli/cloud_output.py331CODE
LOWfp-cloud-cli/fp_cli/cloud_output.py438CODE
LOWfp-cloud-cli/fp_cli/_context.py287CODE
LOWfp-cloud-cli/fp_cli/permissions.py187CODE
LOWfp-cloud-cli/fp_cli/select.py115CODE
LOWfp-cloud-cli/fp_cli/select.py283CODE
LOWfp-cloud-cli/fp_cli/output.py890CODE
LOWfp-cloud-cli/fp_cli/output.py1359CODE
LOWfp-cloud-cli/fp_cli/output.py3669CODE
LOWfp-cloud-cli/fp_cli/output.py4962CODE
LOWfp-cloud-cli/fp_cli/output.py5577CODE
LOWfp-cloud-cli/fp_cli/output.py6284CODE
4 more matches not shown…
AI Slop Vocabulary13 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMsdk/python/failproofai_sdk/_events.py259# harness's own step id — got a `hook_completed` that consumed the `tool_use`COMMENT
MEDIUM.github/workflows/integration-suite.yml26# integration-suite/ci-entrypoint.sh, so the harness is readable — and runnable —COMMENT
MEDIUM.github/workflows/integration-suite.yml106 # after the first successful run on main). This harness was renamed fromCOMMENT
MEDIUM⚡fp-cloud-cli/tests/test_orgs.py75 # normally does), so stdout here is "<echo>\n<envelope>". That prefix is a harness artifact,COMMENT
MEDIUMfp-cloud-cli/fp_cli/commands/fleet_cmds.py263 # retrying harness re-running the same deploy should succeed, not error.COMMENT
MEDIUMfp-cloud-cli/fp_cli/commands/policies_cmds.py254 # the harness read success, and the syntax error surfaced at enforcementCOMMENT
MEDIUMintegration-suite/ci-entrypoint.sh8# step that actually *does* something lives here, so the harness can be read —COMMENT
MEDIUMintegration-suite/ci-entrypoint.sh99# This harness was renamed from `cli-integration`, which took the Actions cacheCOMMENT
MEDIUMintegration-suite/local/job-entrypoint.sh8# WHAT THIS TRADES AWAY, deliberately. The old split let a harness change reachCOMMENT
MEDIUM⚡integration-suite/local/jobs/canary.sh10# evolves with the harness, and the box picks changes up through the checkout —COMMENT
MEDIUM⚡integration-suite/local/jobs/canary.sh11# nobody rebuilds the boss's image for a harness tweak.COMMENT
MEDIUMintegration-suite/local/jobs/canary.sh29# the only harness default rooted elsewhere ($HOME), so pin it here.COMMENT
MEDIUMintegration-suite/local/jobs/canary.sh118 # already carries the story); non-zero WITHOUT one means the harness diedCOMMENT
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHscripts/changelog-open.py0a message a maintainer can act on, printed without a traceback.STRING
HIGHscripts/changelog-section.py0a message a maintainer can act on, printed without a traceback.STRING
HIGHscripts/python-version.py0a message a maintainer can act on, printed without a traceback.STRING
HIGHfp-cloud-cli/fp_cli/commands/queries_cmds.py0resolve an audit by **name** (primary), falling back to an exact id match, raising a typed error the central chokepoint STRING
HIGHfp-cloud-cli/fp_cli/commands/alerts_cmds.py0resolve an audit by **name** (primary), falling back to an exact id match, raising a typed error the central chokepoint STRING
HIGHfp-cloud-cli/fp_cli/commands/audits_cmds.py0resolve an audit by **name** (primary), falling back to an exact id match, raising a typed error the central chokepoint STRING
AI Structural Patterns27 hits · 26 pts
SeverityFileLineSnippetContext
LOWsdk/python/failproofai_sdk/_events.py443CODE
LOWfp-cloud-cli/fp_cli/evaluator_spec.py197CODE
LOWfp-cloud-cli/fp_cli/enforcement.py203CODE
LOWfp-cloud-cli/fp_cli/client.py873CODE
LOWfp-cloud-cli/fp_cli/client.py908CODE
LOWfp-cloud-cli/fp_cli/client.py983CODE
LOWfp-cloud-cli/fp_cli/client.py1017CODE
LOWfp-cloud-cli/fp_cli/client.py1051CODE
LOWfp-cloud-cli/fp_cli/client.py1087CODE
LOWfp-cloud-cli/fp_cli/app.py276CODE
LOWfp-cloud-cli/fp_cli/output.py413CODE
LOWfp-cloud-cli/fp_cli/commands/fleet_cmds.py152CODE
LOWfp-cloud-cli/fp_cli/commands/evals_cmds.py24CODE
LOWfp-cloud-cli/fp_cli/commands/events_cmds.py23CODE
LOWfp-cloud-cli/fp_cli/commands/policies_cmds.py604CODE
LOWfp-cloud-cli/fp_cli/commands/incidents_cmds.py91CODE
LOWfp-cloud-cli/fp_cli/commands/incidents_cmds.py135CODE
LOWfp-cloud-cli/fp_cli/commands/incidents_cmds.py713CODE
LOWfp-cloud-cli/fp_cli/commands/errors_cmds.py30CODE
LOWfp-cloud-cli/fp_cli/commands/evaluators_cmds.py72CODE
LOWfp-cloud-cli/fp_cli/commands/evaluators_cmds.py124CODE
LOWfp-cloud-cli/fp_cli/commands/evaluators_cmds.py237CODE
LOWfp-cloud-cli/fp_cli/commands/alerts_cmds.py214CODE
LOWfp-cloud-cli/fp_cli/commands/alerts_cmds.py261CODE
LOWfp-cloud-cli/fp_cli/commands/sessions_cmds.py26CODE
LOWfp-cloud-cli/fp_cli/commands/audits_cmds.py382CODE
LOWfp-cloud-cli/fp_cli/commands/audits_cmds.py466CODE
Modern Structural Boilerplate20 hits · 20 pts
SeverityFileLineSnippetContext
LOWhermes-plugin/__init__.py23logger = logging.getLogger(__name__)CODE
LOWsdk/python/failproofai_sdk/_writer.py15logger = logging.getLogger(__name__)CODE
LOWsdk/python/failproofai_sdk/_writer.py576 def set_flush_interval(self, interval: float) -> None:CODE
LOWsdk/python/failproofai_sdk/__init__.py29__all__ = [CODE
LOWsdk/python/failproofai_sdk/_context.py29logger = logging.getLogger(__name__)CODE
LOWsdk/python/failproofai_sdk/_resolver.py118def set_base_dir(path: "str | Path | None") -> None:CODE
LOWsdk/python/failproofai_sdk/_environment.py72def set_environment(env: str | None) -> None:CODE
LOWsdk/python/failproofai_sdk/_events.py25logger = logging.getLogger(__name__)CODE
LOWsdk/python/failproofai_sdk/evaluator/__init__.py62__all__ = [CODE
LOWsdk/python/failproofai_sdk/integrations/crewai.py91__all__ = ["adapter", "FailproofAICrewListener"]CODE
LOWsdk/python/failproofai_sdk/integrations/__init__.py53__all__ = ["instrument", "uninstrument", "active", "available"]CODE
LOWsdk/python/failproofai_sdk/integrations/_core.py40__all__ = [CODE
LOWsdk/python/failproofai_sdk/integrations/_core.py110def set_strict(value: bool | None) -> None:CODE
LOWsdk/python/failproofai_sdk/integrations/_compat.py53__all__ = [CODE
LOWsdk/python/failproofai_sdk/integrations/_compat.py94def set_strict_integrations(value: bool | None) -> None:CODE
LOWfp-cloud-cli/fp_cli/_click_compat.py68__all__ = [CODE
LOWfp-cloud-cli/fp_cli/client.py1425def set_incident_archived(ctx: ClientContext, incident_id: str, archived: bool) -> None:CODE
LOWfp-cloud-cli/fp_cli/__init__.py10__all__ = ["__version__"]CODE
LOWfp-cloud-cli/fp_cli/commands/incidents_cmds.py387def _set_archived(ctx: typer.Context, incident_id: str, archived: bool) -> None:CODE
LOWfp-cloud-cli/fp_cli/commands/keys_cmds.py45__all__ = ["PermissionTokenError", "_parse_permissions", "register"]CODE
Fake / Example Data13 hits · 12 pts
SeverityFileLineSnippetContext
LOW__tests__/hooks/cloud-connect-jev.test.ts59const ORG = { orgId: "org_123", orgSlug: "acme", orgName: "Acme Inc" };CODE
LOW__tests__/hooks/cloud-introspect.test.ts40 org_name: "Acme Inc",CODE
LOW__tests__/hooks/cloud-introspect.test.ts190 expect(describeOrg({ permissions: [], orgName: "Acme Inc", orgSlug: "acme" })).toBe(CODE
LOW__tests__/hooks/cloud-connect-permissions.test.ts35const ORG = { orgId: "org_123", orgSlug: "acme", orgName: "Acme Inc" };CODE
LOW__tests__/hooks/cloud-connect-permissions.test.ts88 expect(readCredentials().org).toEqual({ id: "org_123", slug: "acme", name: "Acme Inc" });CODE
LOW__tests__/hooks/cloud-connect-permissions.test.ts104 expect(outcome.ingest.reason).toContain("Acme Inc");CODE
LOW__tests__/actions/jev-mode-action.test.ts59 org: { id: "org_1", slug: "acme", name: "Acme Inc" },CODE
LOWfp-cloud-cli/tests/test_whoami.py57 {"org_id": "o2", "org_slug": "acme", "org_name": "Acme Corp", "permission_set": "admin",CODE
LOWfp-cloud-cli/tests/test_output.py447 {"is_active": False, "slug": "acme", "name": "Acme Corp", "role": "admin", "perms": 27},CODE
LOWfp-cloud-cli/tests/fake_cloud_smoke.py93 assert self.headers.get("Authorization") == "Bearer fake-key"CODE
LOWfp-cloud-cli/tests/fake_cloud_smoke.py209 cmd = fp + (["--api-key", "fake-key"] if key else []) + (["--json"] if json_mode else []) + argvCODE
LOWsrc/hooks/semantic/redact.ts2079 "example", "sample", "dummy", "fake", "mock", "placeholder",CODE
LOWsrc/hooks/semantic/redact.ts2086 "required", "min", "max", "header", "field", "param", "params", "prompt", "label", "placeholder",CODE
Self-Referential Comments3 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM⚡sdk/python/failproofai_sdk/integrations/langchain.py180# This module is only ever imported by `instrument("langchain")`, so importingCOMMENT
MEDIUMsdk/python/failproofai_sdk/integrations/pydantic_ai.py117# This module is only ever imported by `instrument("pydantic_ai")`, so aCOMMENT
MEDIUM.github/workflows/integration-suite.yml24# This file is a THIN TRIGGER on purpose. Everything beyond the GitHub-specificCOMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH__tests__/ci/python-version-pipeline.test.ts394 print("REFUSED")`],CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/repro-npm-install.sh17# Usage:COMMENT