AI Slop Code Risk Monitor

akitaonrails/ai-memory

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

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for akitaonrails/ai-memory, a Rust project with 14,754 GitHub stars. SynthScan examined 634,539 lines of code across 1035 source files, recording 1856 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 3.1 (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.1
Adjusted Signal
3.1
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
14.8K
Stars
Rust
Language
634.5K
Lines of Code
1.0K
Files
1.9K
Pattern Hits
2026-10-31
Scan Date
0.01
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.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 2.6/100 · LOW

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

PR Review Velocity Impact 16.0/100 · LOW

Which changes need focused human review? 1856 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 0HIGH 13MEDIUM 146LOW 1697

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 1856 distinct pattern matches across 16 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.

Over-Commented Block1617 hits · 1380 pts
SeverityFileLineSnippetContext
LOWCargo.toml61# Error handling.COMMENT
LOWCargo.toml181# LLM provider HTTP.COMMENT
LOWinstall.sh1#!/bin/shCOMMENT
LOW.gitleaks.toml1# gitleaks configuration for ai-memory.COMMENT
LOW.gitleaks.toml41 '''github_pat_FAKE[A-Z0-9_]+''',COMMENT
LOW.config/nextest.toml1# cargo-nextest configuration. Two profiles for people, one for CI:COMMENT
LOWevals/tests/smoke.rs1//! On-demand end-to-end smoke for the retrieval harness (mirrors theCOMMENT
LOWevals/src/ab.rs1//! Live A/B harness for the ai-memory consolidation prompt.COMMENT
LOWevals/src/ab.rs21//! and `must_not_mention` hits.COMMENT
LOWevals/src/ab.rs121 #[arg(long)]COMMENT
LOWevals/src/ab.rs141/// observations the consolidation prompt actually consumes; theCOMMENT
LOWevals/src/generate.rs1//! Seeded long-session generator for the fidelity harness (#1215).COMMENT
LOWevals/src/main.rs1//! `ai-memory-eval` — offline evaluation harnesses for ai-memory.COMMENT
LOWevals/src/abstention.rs21COMMENT
LOWevals/src/fidelity.rs1//! Zero-LLM literal-fidelity metrics for the consolidation prompt (#1215).COMMENT
LOWevals/src/retrieval/grep.rs1//! `--engine grep`: a whole-session term-overlap baseline with no server.COMMENT
LOWevals/src/retrieval/query.rs21}COMMENT
LOWevals/src/retrieval/query.rs41 /// Ranked hit contexts (title + snippet), same order as `retrieved`.COMMENT
LOWevals/src/retrieval/query.rs61 /// Raw observation hits in the response. The server only falls back toCOMMENT
LOWevals/src/retrieval/server.rs21 pub base_url: String,COMMENT
LOWevals/src/retrieval/server.rs41 /// fetches.COMMENT
LOWevals/src/retrieval/ingest.rs1//! Replay LongMemEval haystack sessions through the real hook-ingestCOMMENT
LOWevals/src/retrieval/ingest.rs101 pub elapsed: Duration,COMMENT
LOWevals/src/retrieval/qa.rs1//! Opt-in, live-LLM QA-accuracy mode for the retrieval harness (R2b).COMMENT
LOWevals/src/retrieval/qa.rs41/// Shared opt-in QA provider arguments. Both retrieval QA and the abstentionCOMMENT
LOWevals/src/retrieval/qa.rs61 /// Env var containing the QA answerer API key.COMMENT
LOWevals/src/retrieval/qa.rs101 /// server answer's validated citation presence).COMMENT
LOWevals/src/retrieval/report.rs1//! Render benchmark results as JSON (machine) + markdown (human), withCOMMENT
LOWevals/src/retrieval/mod.rs1//! Pinned retrieval benchmarks, end to end through the real stack.COMMENT
LOWevals/src/retrieval/mod.rs21//!COMMENT
LOWevals/src/retrieval/mod.rs61COMMENT
LOWevals/src/retrieval/mod.rs81 /// Score only the first N scored (non-abstention) questions of eachCOMMENT
LOWevals/src/retrieval/mod.rs101 #[arg(long)]COMMENT
LOWevals/src/retrieval/mod.rs121COMMENT
LOWevals/src/retrieval/mod.rs141 /// retrieval flags, future toggles).COMMENT
LOWevals/src/retrieval/mod.rs161 #[arg(long, value_enum, default_value_t = DatePrefix::Turn)]COMMENT
LOWevals/src/retrieval/score.rs1//! Session-level retrieval scoring, matching how published LongMemEvalCOMMENT
LOWevals/src/retrieval/score.rs41 #[serde(default)]COMMENT
LOWevals/src/retrieval/dataset.rs1//! Pinned retrieval datasets in the LongMemEval question/session format.COMMENT
LOWevals/src/retrieval/reachability.rs1//! `--reachability`: does the evidence reach the index at all?COMMENT
LOWevals/src/retrieval/reachability.rs21//! fixed English stopword list. Its *distinctive* tokens are the contentCOMMENT
LOWcrates/ai-memory-web/build.rs1//! Build script for ai-memory-web.COMMENT
LOWcrates/ai-memory-web/tests/suite/routes.rs2761/// the text an automatic handoff synthesises from the operator's prompts.COMMENT
LOWcrates/ai-memory-web/tests/suite/routes.rs4461/// Pins a documented, by-design boundary (see `docs/users.md`): under aCOMMENT
LOWcrates/ai-memory-web/src/health.rs1//! The root-only health page's data model and its checks.COMMENT
LOWcrates/ai-memory-web/src/lib.rs1//! `ai-memory-web` — read-only HTTP browser for the wiki.COMMENT
LOWcrates/ai-memory-web/src/lib.rs21//! - `GET /w/:workspace/:project/s/:session` → session timeline, pagedCOMMENT
LOWcrates/ai-memory-web/src/lib.rs81/// The host should `nest("/api/v1", api_router(...))` behind its normal authCOMMENT
LOWcrates/ai-memory-web/src/lib.rs101#[cfg(test)]COMMENT
LOWcrates/ai-memory-web/src/recall.rs1//! Project search through the same hybrid ranker as `memory_query`.COMMENT
LOWcrates/ai-memory-web/src/html_auth.rs61 } else {COMMENT
LOWcrates/ai-memory-web/src/state.rs21 /// Read-only SQLite pool — drives FTS5 search, page metadata,COMMENT
LOWcrates/ai-memory-web/src/mount.rs21use axum::response::{IntoResponse, Response};COMMENT
LOWcrates/ai-memory-web/src/mount.rs41/// `..` are rejected outright even though their characters are unreservedCOMMENT
LOWcrates/ai-memory-web/src/mount.rs301 /// Operator-supplied custom SPA directory (`--web-ui-dir`). `None`COMMENT
LOWcrates/ai-memory-web/src/markdown.rs1//! Markdown → HTML rendering for the read-only web browser, plus theCOMMENT
LOWcrates/ai-memory-web/src/markdown.rs21/// `[[wiki links]]` (with the `[[target|label]]`, `[[project:path]]`,COMMENT
LOWcrates/ai-memory-web/src/markdown.rs161 )COMMENT
LOWcrates/ai-memory-web/src/markdown.rs621 urlCOMMENT
LOWcrates/ai-memory-web/src/markdown.rs741#[must_use]COMMENT
1557 more matches not shown…
Decorative Section Separators88 hits · 270 pts
SeverityFileLineSnippetContext
MEDIUMcrates/ai-memory-web/tests/suite/routes.rs312// ── /web HTML chrome for multi-user attribution ──────────────────────COMMENT
MEDIUMcrates/ai-memory-web/tests/suite/routes.rs3192// ── Part A: Cache-Control + ETag tests ─────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/tests/suite/autoscope_env.rs314// ─── Boundary-value cases for the numeric fields ──────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/marker.rs2271 // ── #668: a capture-only marker is scope/settings-transparent ────────COMMENT
MEDIUMcrates/ai-memory-cli/src/marker.rs2271 // ── #668: a capture-only marker is scope/settings-transparent ────────COMMENT
MEDIUMcrates/ai-memory-cli/src/marker.rs2459 // ── #992: `server` profile selection ─────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/marker.rs2459 // ── #992: `server` profile selection ─────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/serve.rs7967 // ── Part B: CORS validation tests ──────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/hook.rs7971 // ── `[briefing] inject_on_subagent_start` ─────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/hook.rs8186 // ── #992: per-repository server profiles ─────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/hook.rs8186 // ── #992: per-repository server profiles ─────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/hook_capture.rs2377 // ── install-time default strategy (#128), no marker required ──────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/hook_capture.rs2377 // ── install-time default strategy (#128), no marker required ──────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/install_hooks.rs10022 // ── #issue project-strategy preservation on re-apply ─────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/install_hooks.rs10022 // ── #issue project-strategy preservation on re-apply ─────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/install_hooks.rs10237 // ── P1.8 validate_as_user ────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/render_shared.rs5504 // ── install-time --project-strategy baking (#128) ────────────────COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/render_shared.rs5504 // ── install-time --project-strategy baking (#128) ────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/autoscope_multiuser.rs522// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/autoscope_multiuser.rs526// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/autoscope_multiuser.rs672// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/autoscope_multiuser.rs679// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/autoscope_multiuser.rs733// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/autoscope_multiuser.rs737// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs397// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs399// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs458// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs460// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs553// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs561// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs651// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs653// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs744// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs746// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs809// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs811// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs870// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs884// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs1102// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/stress_autoscope.rs1117// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-mcp/tests/suite/read_page_related.rs115/// └────────▶ lib:notes/x.md (cross-project)COMMENT
MEDIUMcrates/ai-memory-mcp/src/admin.rs14756 // ── user-management endpoints (P1.4) ──────────────────────────COMMENT
MEDIUMcrates/ai-memory-core/src/user.rs357 // ── username validation ───────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-core/src/user.rs421 // ── email validation ──────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-core/src/user.rs478 // ── NewUser::validate normalisation ───────────────────────────COMMENT
MEDIUMcrates/ai-memory-core/src/active_project.rs1511 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-core/src/active_project.rs1526 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-llm/src/openai_compat.rs835 // ── strip_reasoning_blocks ───────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-wiki/src/wiki.rs7974 // ── P1.6: write attribution ─────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-store/tests/suite/related_walk.rs83/// └── links to ─────┘ (cycle b⇄c)COMMENT
MEDIUMcrates/ai-memory-store/src/reader.rs13935 // ── user lookups ────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-hooks/src/session_end_equivalence.rs1059// ── fixtures ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-hooks/src/session_end_equivalence.rs1269// ── the tests ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/ai-memory-consolidate/tests/suite/lifecycle.rs168 // ── Phase 1 — bootstrap a fresh wiki + store ─────────────────COMMENT
MEDIUMcrates/ai-memory-consolidate/tests/suite/lifecycle.rs214 // ── Phase 3 — time-travel via direct SQL ────────────────────COMMENT
MEDIUMcrates/ai-memory-consolidate/tests/suite/lifecycle.rs261 // ── Phase 5 — real sweep; verify row counts ─────────────────COMMENT
MEDIUMcrates/ai-memory-consolidate/tests/suite/lifecycle.rs333 // ── Phase 6 — FTS5 invariants ───────────────────────────────COMMENT
MEDIUMcrates/ai-memory-consolidate/tests/suite/lifecycle.rs456 // ── Phase 8 — retention scores ordering sanity check ────────COMMENT
MEDIUMcrates/ai-memory-consolidate/src/lint.rs487// ── A5: zero-LLM contradiction detection (cosine-similarity band) ──────────COMMENT
MEDIUMcrates/ai-memory-consolidate/src/lint.rs1201 // ── LintFinding tolerant deserialization ─────────────────────────────COMMENT
28 more matches not shown…
AI Slop Vocabulary39 hits · 118 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml16 # Live A/B harness — not part of the shipped binary, but inCOMMENT
MEDIUMCargo.toml21# ships, plus test-support. The evals harness is two more test binaries nobodyCOMMENT
MEDIUMcrates/ai-memory-web/src/markdown.rs33 // robust hook. Code (fenced + inline) is skipped so `[[…]]` stays literalCOMMENT
MEDIUMcrates/ai-memory-cli/Cargo.toml23# a second ~120 MB harness binary for it that contains no tests.COMMENT
MEDIUMcrates/ai-memory-cli/tests/suite/backfill_e2e.rs263 // it acks, but poll briefly to stay robust against any lag.COMMENT
MEDIUM⚡crates/ai-memory-cli/templates/config.default.toml178# existing local harness session history once, so installing hooks mid-projectCOMMENT
MEDIUM⚡crates/ai-memory-cli/templates/config.default.toml185# The first `ai-memory run <harness>` launch per harness, binary version andCOMMENT
MEDIUM⚡crates/ai-memory-cli/templates/config.default.toml186# config home installs that harness's lifecycle hooks and MCP server when theyCOMMENT
MEDIUMcrates/ai-memory-cli/templates/config.default.toml292# (crashed harness, closed terminal, timed-out hook) with the summary pageCOMMENT
MEDIUMcrates/ai-memory-cli/templates/config.default.toml340# Optional env-only presets for managed harness launches. Select one withCOMMENT
MEDIUMcrates/ai-memory-cli/templates/config.default.toml594# behaviour; correct only for one harness at a time.COMMENT
MEDIUMcrates/ai-memory-cli/templates/plugin/ai-memory-hook.sh29# fallbacks. Attribute the event to the harness that really ran it, or stayCOMMENT
MEDIUMcrates/ai-memory-cli/src/cli.rs2650 #[value(alias = "deepseek-harness", alias = "deepseek_harness")]COMMENT
MEDIUMcrates/ai-memory-cli/src/cli.rs3002 #[value(alias = "deepseek-harness", alias = "deepseek_harness")]COMMENT
MEDIUMcrates/ai-memory-cli/src/commands/run.rs3998 failures.push(format!("{} store resolution: {error:#}", harness.as_str()));CODE
MEDIUMcrates/ai-memory-cli/src/commands/run.rs4032 failures.push(format!("{} transcript export: {error:#}", harness.as_str()));CODE
MEDIUMcrates/ai-memory-store/tests/suite/multi_session.rs315 "# Plan\n\nfrom harness A"CODE
MEDIUMcrates/ai-memory-store/tests/suite/multi_session.rs325 "# Plan\n\nfrom harness B"CODE
MEDIUMcrates/ai-memory-store/src/ops.rs5111 // path-boundary match robust to trailing slash/backslash drift.COMMENT
MEDIUMcrates/ai-memory-hooks/src/synth.rs1197 /// #1225: the harness's end reason, when captured, closes the summary;COMMENT
MEDIUMdocker/multiuser-test/compose.yml8# The unproxied port is deliberately exposed: it is how the harness checks thatCOMMENT
MEDIUMtests/wrapper_upgrade.sh351# harness arguments remain intact, and preserve the native child's exit code.COMMENT
MEDIUMtests/hooks/test_lib.sh732# The spool dir follows the data dir, which the harness pins inside $TMP.COMMENT
MEDIUMtests/hooks/test_lib.sh1157# show for it on the harness side. A PATH curl shim runs the real shippedCOMMENT
MEDIUMtests/hooks/test_plugin_launcher.sh10# precedence, the missing-binary path, the foreign-harness guard and theCOMMENT
MEDIUM.cargo/config.toml5# (everything but the evals harness) and lets `cargo t -p <crate>` build justCOMMENT
MEDIUMhooks/_lib.sh275# Extract a harness-native session id from the common hook payload spellings.COMMENT
MEDIUMscripts/managed-workstream-acceptance.sh2# Manual, opt-in acceptance test for managed cross-harness workstreams.COMMENT
MEDIUMscripts/managed-workstream-acceptance.sh3# This is intentionally not called by CI: the real-harness phase uses theCOMMENT
MEDIUMscripts/managed-workstream-acceptance.sh19# `ai-memory run` wires the harness it launches into that harness's userCOMMENT
MEDIUMscripts/managed-workstream-acceptance.sh154# the harness produced new portable evidence, and any assigned context deltaCOMMENT
MEDIUMscripts/managed-workstream-acceptance.sh601# native session in any auto-detected harness.COMMENT
MEDIUMscripts/managed-workstream-acceptance.sh615# The harness list in this message grows as adapters join the automaticCOMMENT
MEDIUMscripts/managed-workstream-acceptance.sh1187# history through the local dossier. Other cross-harness checks mutate theCOMMENT
MEDIUMscripts/managed-workstream-acceptance.sh1188# Kimi workstream before this point, so it is not an exact two-harness switch.COMMENT
MEDIUMscripts/managed-workstream-acceptance.sh1564# The real-harness phase reads credentials from the operator's home andCOMMENT
MEDIUM.github/workflows/plugins.yml7# launcher; this workflow adds what needs the real harness CLIs:COMMENT
MEDIUM.github/workflows/plugins.yml48 # Pinned harness CLIs: a new release is adopted deliberately, after itsCOMMENT
MEDIUM.github/workflows/ci.yml178 # companions/. The harness gives the server a scratch data dir, aCOMMENT
Hyper-Verbose Identifiers45 hits · 53 pts
SeverityFileLineSnippetContext
LOW…ates/ai-memory-web/templates/_inbox_notifications.html7 async function refreshInboxNotifications(){CODE
LOWcrates/ai-memory-cli/src/commands/render_shared.rs470function captureWindowsUnplaceable(word: string, base: string): boolean { const w = captureStripProvider(word); if (/^[ACODE
LOWcrates/ai-memory-cli/src/commands/render_shared.rs602function captureWithoutWindowsEscapes(command: string): string | undefined { if (!/[`^]/.test(command)) return undefinedCODE
LOWcrates/ai-memory-cli/src/commands/render_shared.rs627function captureUnevaluatedExpansion(command: string): boolean { const operator = (c: string) => "|&;<>()`".includes(c);CODE
LOWcrates/ai-memory-cli/src/commands/render_shared.rs667function captureBraceSequenceBounds(body: string): [number, number, boolean] | undefined { const parts = body.split(".."CODE
LOWcrates/ai-memory-cli/src/commands/render_shared.rs669function captureBraceOverflowLeaves(segment: string): boolean { if (/[\/\\~()|]/.test(segment)) return true; const charsCODE
LOWtests/e2e/external_relay_smoke.py485 def start_drop_response_proxy(self) -> DropFirstResponseProxy:CODE
LOWtests/e2e/test_external_relay_smoke.py14 def test_failed_subprocess_exposes_safe_error_markers_not_payloads(self):CODE
LOWtests/e2e/test_external_relay_smoke.py42 def test_unknown_and_large_output_are_omitted_and_success_is_unchanged(self):CODE
LOWtests/e2e/test_external_relay_smoke.py55 def test_expected_failure_and_unspecified_exit_do_not_raise(self):CODE
LOWtests/e2e/test_external_relay_smoke.py62 def test_numeric_codes_are_bounded_and_empty_stderr_is_explicit(self):CODE
LOWtests/e2e/claude_plugin_smoke.py223def scenario_settings_hook_wins(box: Sandbox) -> None:CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py48 def test_rounding_drift_tolerated(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py53 def test_missing_probabilities_object(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py57 def test_non_object_response_rejected(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py99 def test_out_of_range_rejected(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py106 def test_degenerate_sum_rejected(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py114 def test_duplicate_candidate_ids_rejected(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py119 def test_empty_candidates_rejected(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py125 def test_duplicate_keys_rejected(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py130 def test_normal_json_accepted(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py145 def test_duplicate_json_key_in_response_raises(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py153 def test_valid_response_maps_scores(self):CODE
LOW⚡…es/jev-reranker-adapter/test_jev_rerank_shim_choice.py161 def test_malformed_response_raises(self):CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py48 def test_the_sample_proposal_passes(self) -> None:CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py51 def test_a_portuguese_procedure_passes_and_todo_in_prose_is_no_placeholder(CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py56 def test_a_japanese_procedure_passes(self) -> None:CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py60 def test_a_portuguese_rule_passes(self) -> None:CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py64 def test_rule_length_counts_characters_not_bytes(self) -> None:CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py71 def test_a_procedure_without_a_list_of_steps_fails(self) -> None:CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py79 def test_a_rewrite_that_scores_lower_than_the_page_fails(self) -> None:CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py83 def test_escaped_json_and_nested_keys_are_read_as_the_server_sends_them(CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py91 def test_an_escaped_backslash_before_n_is_not_read_as_a_line_break(self) -> None:CODE
LOW⚡docs/examples/auto-improve-eval/test_score_proposal.py96 def test_a_crlf_page_scores_as_its_lf_twin(self) -> None:CODE
LOWdocs/examples/auto-improve-eval/test_score_proposal.py112 def test_a_non_json_input_fails_closed_in_the_shell_scorer(self) -> None:CODE
LOW⚡.github/codeql/test_filter_test_alerts.py59 def test_inline_test_module_result_is_dropped(self):STRING
LOW⚡.github/codeql/test_filter_test_alerts.py64 def test_production_code_result_is_kept(self):STRING
LOW⚡.github/codeql/test_filter_test_alerts.py69 def test_code_after_the_test_module_is_kept(self):STRING
LOW⚡.github/codeql/test_filter_test_alerts.py73 def test_tests_directory_result_is_dropped(self):STRING
LOW⚡.github/codeql/test_filter_test_alerts.py79 def test_other_rules_in_test_code_are_kept(self):STRING
LOW⚡.github/codeql/test_filter_test_alerts.py83 def test_unreadable_source_keeps_its_result(self):STRING
LOW⚡.github/codeql/test_filter_test_alerts.py87 def test_rule_resolved_through_its_index(self):STRING
LOW.github/codeql/test_filter_test_alerts.py104 def test_module_ranges_skip_a_cfg_test_function(self):STRING
LOW.github/codeql/test_filter_test_alerts.py108 def test_out_of_line_module_paths_follow_rustc(self):STRING
LOW.github/codeql/test_filter_test_alerts.py133 def test_out_of_line_test_module_file_is_dropped(self):STRING
Modern AI Meta-Vocabulary19 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUMevals/src/fidelity.rs88 // Tokens the scaffold always carries would count as recalled whateverCOMMENT
MEDIUMevals/src/fidelity.rs406 // `body_markdown` is in the batch scaffold, so it can never be lost.COMMENT
MEDIUMcrates/ai-memory-cli/templates/config.default.toml444# differ by provider and model. Their sum must fit the model's context window;COMMENT
MEDIUMcrates/ai-memory-core/src/profile.rs239/// room for the scaffold every digest carries (the precedence line, theCOMMENT
MEDIUM…/ai-memory-llm/tests/suite/openai_compat_guardrails.rs1//! Integration tests for the openai-compat guardrails, driving the realCOMMENT
MEDIUMcrates/ai-memory-hooks/src/brief_tiers.rs12//! router owns the strings and the security scaffold around them.COMMENT
MEDIUMdocs/competitive-parity.md84| **Caura** (governed fleet memory, issue #810) | **No: different buyer** (org-scale multi-agent governance and live peeCODE
MEDIUMdocs/competitive-parity.md84| **Caura** (governed fleet memory, issue #810) | **No: different buyer** (org-scale multi-agent governance and live peeCODE
MEDIUMdocs/ARCHITECTURE.md1346 # their sum must fit the model context window;COMMENT
MEDIUMdocs/companion-crates.md551├── crates/server/ # auth, CSRF, mutation broker, LLM orchestrationCODE
MEDIUMdocs/install.md3338#### Match the consolidation budget to a local model's context windowCOMMENT
MEDIUMdocs/install.md3347# e.g. a model loaded with a 12k context windowCOMMENT
MEDIUMdocs/research-2026-landscape.md997- Caura (issue #810): github.com/caura-ai/caura (README: governed multi-agentCODE
MEDIUMdocs/marker-file.md142# captures. A multi-agent harness fans one goal out to many subagentCOMMENT
MEDIUMdocs/security-boundaries.md113| 11b | Capture exclusions drop before storage | `ai-memory-hooks` `capture_policy.rs` `extract` reads each adapter's owCODE
MEDIUMdocs/issues-mempalace.md125- **#1561**: "persist and verify embedding model metadata in palaceCODE
MEDIUMdocs/issues-mempalace.md130- **#1563 / #1261**: embedding model is hardcoded to all-MiniLM-L6-v2; usersCODE
MEDIUMdocs/issues-mempalace.md185| #1561/#1563: no stored embedding model identity; drift on model change | **#8 `{provider, model, dim}` stored next to CODE
MEDIUMdocs/llm-provider-comparison.md370## Run 3 - tightened anti-hallucination system promptCOMMENT
Synthetic Comment Markers9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHcrates/ai-memory-cli/src/commands/install_hooks.rs8304 "# Generated by ai-memory install-hooks --agent cline.\n\CODE
HIGHcrates/ai-memory-cli/src/commands/install_hooks.rs8316 "#!/bin/sh\n# Generated by ai-memory install-hooks --agent cline.\nexec {command}\n"CODE
HIGHcrates/ai-memory-cli/src/commands/install_hooks.rs8382 if !existing.contains("Generated by ai-memory install-hooks --agent cline") =>CODE
HIGHcrates/ai-memory-cli/src/commands/install_hooks.rs8405 && !existing.contains("Generated by ai-memory install-hooks --agent cline")CODE
HIGHcrates/ai-memory-cli/src/commands/uninstall.rs1572 content.contains("Generated by ai-memory install-hooks --agent cline")CODE
HIGHcrates/ai-memory-cli/src/commands/uninstall.rs2720 "#!/bin/sh\n# Generated by ai-memory install-hooks --agent cline.\nexec 'other' 'hook' '--agent' 'cline'\n",CODE
HIGHcrates/ai-memory-cli/src/commands/uninstall.rs2727 "#!/bin/sh\n# Generated by ai-memory install-hooks --agent cline.\nexec 'ai-memory' 'hook' '--agent' 'cline'CODE
HIGHdocs/usage.md667 to be generated by ai-memory.CODE
HIGHdocs/changelog/2.x.md1232 entries. Migrations remove only entries proven generated by ai-memory, and pluginCODE
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippetContext
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs262 // Step 1: first response, mid-session (`post-tool-use`). Usage must already be there and the session still open.COMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs279 // Step 2: a second response arrives; `stop` adds exactly that response.COMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs296 // Step 3: the same event delivered again (a retry, or a boundary that re-reads the same tail) changes nothing.COMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs311 // Step 4: a response that streams. First it is partial, then final under the SAME id: it counts once, at itsCOMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs344 // Step 5: the session ends. The legacy cumulative report must agree with what live capture already recorded; ifCOMMENT
LOWcrates/ai-memory-mcp/src/admin.rs6354 // Step 3: execute the rename. The writer validates the name andCOMMENT
LOWcrates/ai-memory-mcp/src/admin.rs6375 // Step 4: count is_latest pages that now belong to the renamed project.COMMENT
LOW…es/ai-memory-consolidate/tests/suite/embed_backfill.rs389 // Step 2: forced backfill with the embedder that fails on notes/bad.md.COMMENT
Structural Annotation Overuse8 hits · 12 pts
SeverityFileLineSnippetContext
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs262 // Step 1: first response, mid-session (`post-tool-use`). Usage must already be there and the session still open.COMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs279 // Step 2: a second response arrives; `stop` adds exactly that response.COMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs296 // Step 3: the same event delivered again (a retry, or a boundary that re-reads the same tail) changes nothing.COMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs311 // Step 4: a response that streams. First it is partial, then final under the SAME id: it counts once, at itsCOMMENT
LOW…ates/ai-memory-cli/tests/suite/live_token_usage_e2e.rs344 // Step 5: the session ends. The legacy cumulative report must agree with what live capture already recorded; ifCOMMENT
LOWcrates/ai-memory-mcp/src/admin.rs6354 // Step 3: execute the rename. The writer validates the name andCOMMENT
LOWcrates/ai-memory-mcp/src/admin.rs6375 // Step 4: count is_latest pages that now belong to the renamed project.COMMENT
LOW…es/ai-memory-consolidate/tests/suite/embed_backfill.rs389 // Step 2: forced backfill with the embedder that fails on notes/bad.md.COMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtests/e2e/external_relay_smoke.py464except (urllib.error.URLError, TimeoutError):CODE
HIGH…xamples/jev-reranker-adapter/jev_rerank_shim_choice.py259except KeyboardInterrupt:CODE
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHscripts/check-dashboard-core-mutations.py27 {'name': 'expose-admin-feature-settings', 'file': 'crates/ai-memory-web/src/features.rs', 'start': 'pub(crate) asyncCODE
HIGHscripts/check-dashboard-core-mutations.py32 "before": "if cursor.offset > len", "after": "if true || cursor.offset > len",CODE
Excessive Try-Catch Wrapping5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/e2e/external_relay_smoke.py894 except Exception as error: # diagnostics must survive every assertion failureCODE
LOW…xamples/jev-reranker-adapter/jev_rerank_shim_choice.py204 except Exception as e: # transport failure upstreamCODE
LOW…xamples/jev-reranker-adapter/jev_rerank_shim_choice.py244 except Exception as e:CODE
LOWscripts/check-dashboard-core-mutations.py204 except Exception as error:CODE
LOWscripts/check-dashboard-core-mutations.py216 except Exception as error:CODE
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/e2e/external_relay_smoke.py17CODE
LOWtests/e2e/codex_plugin_smoke.py25CODE
LOWtests/e2e/claude_plugin_smoke.py31CODE
LOWdocs/examples/auto-improve-eval/score_proposal.py19CODE
LOWdocs/examples/auto-improve-eval/test_score_proposal.py6CODE
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/e2e/codex_plugin_smoke.py113CODE
LOWtests/e2e/codex_plugin_smoke.py161CODE
LOWtests/e2e/claude_plugin_smoke.py98CODE
LOW…xamples/jev-reranker-adapter/jev_rerank_shim_choice.py186CODE
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/ai-memory-mcp/tests/suite/admin_llm_test.rs49 body: format!("Incorrect API key provided: {}", fake_key()),CODE
LOWcrates/ai-memory-mcp/tests/suite/admin_llm_test.rs67fn fake_key() -> String {CODE
LOWcrates/ai-memory-mcp/tests/suite/admin_llm_test.rs160 !message.contains(&fake_key()),CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcrates/ai-memory-consolidate/tests/suite/lifecycle.rs407 // the "don't forget too fast" property explicit — searching for aCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/install-hooks.sh8# Usage:COMMENT