AI Slop Code Risk Monitor

xai-org/grok-build

SlopCodeMonitor badge for xai-org/grok-build Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

SpaceXAI's coding agent harness and TUI. Fullscreen, mouse interactive, extensible.

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for xai-org/grok-build, a Rust project with 27,634 GitHub stars. SynthScan examined 2,053,747 lines of code across 4301 source files, recording 3420 pattern matches distributed across 19 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-09-29
Last Push
27.6K
Stars
Rust
Language
2.1M
Lines of Code
4.3K
Files
3.4K
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 5.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 8.9/100 · LOW

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

PR Review Velocity Impact 14.0/100 · LOW

Which changes need focused human review? 3420 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 17HIGH 5MEDIUM 1307LOW 2091

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 3420 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.

Decorative Section Separators1232 hits · 3792 pts
SeverityFileLineSnippetContext
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1716 // ── Context fields ──────────────────────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1724 // ── Delta counters ──────────────────────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1763 // ── Turn-level snapshot values ──────────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1768 // ── Turn-level latency ──────────────────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1796 // ── Accumulated / snapshot session-level values ─────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1806 // ── Turn-level outcome / served checkpoint ──────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1820 // ── Turn-level tool / error detail ──────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1834 // ── Accumulated totals ──────────────────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1865 // ── Feedback state ──────────────────────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1876 // ── Turn-level token counts ─────────────────────────────────────────COMMENT
MEDIUMprod/mc/cli-chat-proxy-types/src/feedback_types.rs1885 // ── LOC Attribution Deltas ──────────────────────────────────────────COMMENT
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs33// ── Test infrastructure ──────────────────────────────────────────────────COMMENT
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs235// ── 1. Overlay = FUSE + btrfs subvolume ──────────────────────────────────COMMENT
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs425// ── 2. Worktree = FUSE + snapshot ────────────────────────────────────────COMMENT
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs634// ── 3. Manual cleanup ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/sync.rs86 // ── Per-phase timing (milliseconds) ─────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/mount_info.rs215// ── Internal helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/btrfs/detect.rs510 // ─── Unit tests for resolve_via_subvol_mount ─────────────────────────COMMENT
MEDIUM…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs475// ── Internal helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers_tests.rs5081// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers_tests.rs5083// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/codegen/xai-fsnotify/src/watcher_tests.rs213 // platform without process-global env races) ──────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs49// ── Fixtures ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs171// ── Non-product prefix baseline ─────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs234// ── Bench groups ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs288 // ── 500L + prefix (own heavy config) ────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs309 // ── 10kL session (no prefix) ────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/render.rs75// ─── Benchmarks ────────────────────────────────────────────────────COMMENT
MEDIUM⚡crates/codegen/xai-grok-pager/benches/render.rs263// ─── Reveal (scrollback-search n/N navigation) ─────────────────────COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js169// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js171// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js369// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js371// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js530// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js532// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js625// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js627// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js712// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js714// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js907// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js909// ═══════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js1169// ─── Summary ───────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/docs.rs34// ── Static doc tables ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/docs.rs204// ── Public API ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/plugin_cmd.rs21// ── JSON output types ───────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/plugin_cmd.rs75// ── CLI arg definitions ─────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/plugin_cmd.rs194// ── Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/plugin_cmd.rs236// ── Top-level dispatch ──────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/plugin_cmd.rs262// ── Plugin subcommands ──────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/plugin_cmd.rs794// ── Marketplace subcommands ─────────────────────────────────────────COMMENT
MEDIUM…codegen/xai-grok-pager/src/app/screen_mode_relaunch.rs752 // ── effective_minimal_preference ─────────────────────────────────────COMMENT
MEDIUM…grok-pager/src/app/acp_handler/tests/session_events.rs4 // ── apply_session_event ────────────────────────────────────────────COMMENT
MEDIUM…grok-pager/src/app/acp_handler/tests/session_events.rs1036 // ── handle_child_session_notification ──────────────────────────────COMMENT
MEDIUM…grok-pager/src/app/acp_handler/tests/session_events.rs1440 // ── apply_retry_state ─────────────────────────────────────────────COMMENT
MEDIUM…grok-pager/src/app/acp_handler/tests/session_events.rs1680 // ── HooksChanged (x.ai/session/update push) ─────────────────────────COMMENT
MEDIUM…n/xai-grok-pager/src/app/acp_handler/tests/git_head.rs4 // ── derive_child_cwd ─────────────────────────────────────────────COMMENT
MEDIUM…i-grok-pager/src/app/acp_handler/tests/interactions.rs748 // ── Plan approval persistence tests ─────────────────────────COMMENT
MEDIUM…es/codegen/xai-grok-pager/src/app/agent_view/viewer.rs28 // ── Line viewer methods ────────────────────────────────────────────COMMENT
MEDIUM…es/codegen/xai-grok-pager/src/app/agent_view/prompt.rs110 // ── History panel intercept (modal) ─────────────────────────────COMMENT
MEDIUM…es/codegen/xai-grok-pager/src/app/agent_view/prompt.rs130 // ── File search intercept ───────────────────────────────────────COMMENT
1172 more matches not shown…
Over-Commented Block1834 hits · 1750 pts
SeverityFileLineSnippetContext
LOWCargo.toml481# 1. Main's CI to failCOMMENT
LOWclippy.toml1# Clippy config for crates/codegen/**.COMMENT
LOWclippy.toml21# started it, while an enrolled one dies with its scope. Allow with a reasonCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs1//! Prompt metadata types shared between the CLI client and the cli-chat-proxy server.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs21/// v1.13: Removed `ab_*` fields after the A/B experimentation feature was discontinued.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs41/// OS-level sandbox state for a trace turn (local `xai-grok-sandbox`, not cloud sandbox).COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs61 /// Request id for this prompt (uuid v4 we generate per prompt)COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs81 /// Team ID from OAuth authentication (may be None for personal accounts)COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs101 pub experiment_id: Option<String>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs121 /// Version of the grok-shell agent binary that handled this turnCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/storage_types.rs21/// Cloudflare body-size limits that would otherwise cause 413 errors on largeCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/storage_types.rs61#[derive(Debug, Serialize, Deserialize)]COMMENT
LOW…mc/cli-chat-proxy-types/src/deployment_config_types.rs21/// Shape of a server-minted nonce (16 random bytes as hex): what `fresh_nonce`COMMENT
LOW…mc/cli-chat-proxy-types/src/deployment_config_types.rs41 #[serde(default)]COMMENT
LOW…mc/cli-chat-proxy-types/src/deployment_config_types.rs61 /// Identifies the signing key, so a rotation can be distinguished.COMMENT
LOW…mc/cli-chat-proxy-types/src/deployment_config_types.rs81 /// Signing key id (same rotation set as the policy envelope).COMMENT
LOW…/cli-chat-proxy-types/src/team_managed_config_types.rs21 pub configured: bool,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1//! Feedback API request and response types.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs401 pub rating_type: Option<RatingType>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs461 // === Experiment / Comparison Fields ===COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs481COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs541COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs621 /// Multiplexer wrapping the session (e.g. "tmux", "Zellij", "None detected").COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs661/// Response from submitting feedback.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs681COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs761}COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs781 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs901 /// Models used in the sessionCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs921COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs941 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs961 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs981COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1001 /// Completed responses accepted with confident doom-loop signals afterCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1021 /// Items that exhausted retry budget (superset of expired).COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1101COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1121 pub max_time_to_first_token_ms: i64,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1221 pub expires_at: Option<DateTime<Utc>>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1241 pub status: FeedbackRequestStatus,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1261 pub enabled: bool,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1281 /// Whether revert is required (Tier 3)COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1321/// Configuration for feedback heuristics loaded from remote config.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1341 pub max_requests_per_session: i64,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1361 pub tier1_no_cancellations: bool,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1381 pub tier2_sample_rate: f64,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1401 #[serde(default = "default_tier2_prompt")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1421 #[serde(default)]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1441 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1701COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1761 pub delta_successful_tool_uses: i64,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1801 /// **[accumulated]** Primary model ID (most recently used model).COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1821 /// **[turn-level]** Distinct tool names invoked during this turn (deduplicated, sorted, capped at 100 entries). ResCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1861 /// table partitioning in the analytics backend.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1881 /// **[turn-level]** Number of thinking/reasoning tokens generated during this turn. `None` when no inference occurrCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1921 #[serde(default)]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/session_types.rs21 #[serde(default)]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/session_types.rs41 pub last_turn_number: Option<i32>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs1//! Sandbox API request and response types.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs21 /// Snapshot bucket to use.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs241#[derive(Debug, Clone, Deserialize, Serialize)]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs261// Session Lifecycle TypesCOMMENT
1774 more matches not shown…
Hallucination Indicators17 hits · 170 pts
SeverityFileLineSnippetContext
CRITICALcrates/codegen/xai-grok-pager/src/app/mouse.rs351 let total = self.prompt.suggestions.dropdown.items.len();CODE
CRITICAL…egen/xai-grok-pager/src/app/agent_view/interactions.rs1106 .position(|p| p.request.request.tool_call.tool_call_id.0.as_ref() == tool_call_id)CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs13 let had_items = !self.prompt.suggestions.dropdown.items.is_empty();CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs651 agent.prompt.suggestions.dropdown.items.len(),CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs678 agent.prompt.suggestions.dropdown.items.len(),CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs687 assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2);CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs710 assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2);CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs817 assert!(agent.prompt.suggestions.dropdown.items.is_empty());CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs852 assert!(agent.prompt.suggestions.dropdown.items.is_empty());CODE
CRITICAL…es/codegen/xai-grok-pager/src/app/agent_view/rewind.rs53 let tc_id = perm.request.request.tool_call.tool_call_id.0.as_ref();CODE
CRITICAL…odegen/xai-grok-pager/src/app/dispatch/tests/prompt.rs5295 assert!(agent.prompt.suggestions.dropdown.items.is_empty());CODE
CRITICAL…odegen/xai-grok-pager/src/app/dispatch/tests/prompt.rs5441 assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2);CODE
CRITICAL…odegen/xai-grok-pager/src/app/dispatch/tests/prompt.rs5497 agent.prompt.suggestions.dropdown.items.len(),CODE
CRITICAL…en/xai-grok-shell/src/session/acp_session_impl/turn.rs157 session_id: Some(self.session.session_info.id.0.to_string()),CODE
CRITICAL…ssion/acp_session_tests/pre_tool_use_decision_tests.rs292 title: args.request.tool_call.fields.title.clone(),CODE
CRITICAL…ssion/acp_session_tests/pre_tool_use_decision_tests.rs293 raw_input: args.request.tool_call.fields.raw_input.clone(),CODE
CRITICAL…codegen/xai-grok-pager-render/src/appearance/config.rs1969 assert!(cfg.scrollback.blocks.edit.accent.is_some());CODE
Fake / Example Data104 hits · 116 pts
SeverityFileLineSnippetContext
LOWcrates/codegen/xai-grok-mcp/src/servers_tests.rs3042 serde_json::json!({"email": "user@example.com"}),CODE
LOWcrates/codegen/xai-grok-mcp/src/servers_tests.rs3132 Some("user@example.com")CODE
LOWcrates/codegen/xai-grok-mcp/src/servers_tests.rs3203 serde_json::json!({"email": "user@example.com"}),CODE
LOWcrates/codegen/xai-grok-mcp/src/servers_tests.rs4107 "name": "Jane Doe",CODE
LOW…gen/xai-grok-pager/docs/user-guide/05-configuration.md257auth_provider_label = "Acme Corp"CODE
LOW…gen/xai-grok-pager/docs/user-guide/05-configuration.md652auth_provider_label = "Acme Corp"CODE
LOW…en/xai-grok-pager/docs/user-guide/02-authentication.md168auth_provider_label = "Acme Corp" # optional -- customizes the TUI login buttonCODE
LOW…en/xai-grok-pager/docs/user-guide/02-authentication.md176export GROK_AUTH_PROVIDER_LABEL="Acme Corp"CODE
LOW…en/xai-grok-pager/docs/user-guide/02-authentication.md238| `GROK_AUTH_PROVIDER_LABEL` | Display name on the TUI login screen (e.g., "Acme Corp") |CODE
LOW…gen/xai-grok-pager/docs/user-guide/11-custom-models.md442auth_provider_label = "Acme Corp"CODE
LOW⚡crates/codegen/xai-grok-pager/benches/render.rs268 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOW⚡crates/codegen/xai-grok-pager/benches/render.rs268 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOWcrates/codegen/xai-grok-pager/benches/search.rs28 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOWcrates/codegen/xai-grok-pager/benches/search.rs28 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOWcrates/codegen/xai-grok-pager/src/test_util.rs292 let sig = git2::Signature::now("test", "test@test.com").unwrap();CODE
LOWcrates/codegen/xai-grok-pager/src/app/consent_tests.rs4const ACCOUNT: &str = "user@example.com";CODE
LOWcrates/codegen/xai-grok-pager/src/app/subscription.rs275 app.team_name = Some("Acme Corp".into());CODE
LOWcrates/codegen/xai-grok-pager/src/app/subscription.rs383 app.team_name = Some("Acme Corp".into());CODE
LOWcrates/codegen/xai-grok-pager/src/app/app_view.rs942 /// Login button label from `AuthMethod.name` (e.g., "grok.com", "Acme Corp").COMMENT
LOWcrates/codegen/xai-grok-pager/src/app/app_view_tests.rs2110 team_name: Some("Acme Corp".into()),CODE
LOWcrates/codegen/xai-grok-pager/src/app/app_view_tests.rs2262 team_name: Some("Acme Corp".into()),CODE
LOW…n/xai-grok-pager/src/app/agent_view/key_owner_tests.rs1200 let _ = agent.handle_elicitation_paste("user@example.com");CODE
LOW…n/xai-grok-pager/src/app/agent_view/key_owner_tests.rs1210 "user@example.com"CODE
LOW…degen/xai-grok-pager/src/app/dispatch/tests/billing.rs805 team_name: Some("Acme Corp".into()),CODE
LOW…s/codegen/xai-grok-pager/src/app/dispatch/tests/mod.rs629 session_id: Some("placeholder".into()),CODE
LOW…grok-pager/src/app/dispatch/tests/session/lifecycle.rs1396 app.account_email = Some("user@example.com".to_string());CODE
LOW…grok-pager/src/app/dispatch/tests/session/lifecycle.rs1414 if account.as_deref() == Some("user@example.com")CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2353 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2353 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2354 description: "Lorem ipsum dolor sit ame".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2359 label: "Lorem ipsum dolor sit amet elit sed tempor".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2359 label: "Lorem ipsum dolor sit amet elit sed tempor".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2360 description: "Lorem ipsum dolor sit amet elit s".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2360 description: "Lorem ipsum dolor sit amet elit s".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2372 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2372 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2373 description: "Lorem ipsum dolor sit amet, consectetur adipiscing.".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2373 description: "Lorem ipsum dolor sit amet, consectetur adipiscing.".into(),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2404 text.contains("Lorem ipsum dolor sit amet consectetur adipiscing!"),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2404 text.contains("Lorem ipsum dolor sit amet consectetur adipiscing!"),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2408 text.contains("Lorem ipsum dolor sit amet, consectetur"),CODE
LOW⚡…ates/codegen/xai-grok-pager/src/views/question_view.rs2408 text.contains("Lorem ipsum dolor sit amet, consectetur"),CODE
LOW…odegen/xai-grok-pager/src/views/prompt_widget/tests.rs889 let text = "lorem ipsum dolor\n".repeat(2000); // ~36 KB across 2000 linesCODE
LOWcrates/codegen/xai-grok-pager/src/acp/mod.rs105 /// Login button label from `AuthMethod.name` (e.g., "grok.com", "Acme Corp").COMMENT
LOWcrates/codegen/xai-grok-pager/src/acp/mod.rs857 let methods = vec![make_auth_method("grok.com", "Acme Corp", Some(meta))];CODE
LOWcrates/codegen/xai-grok-pager/src/acp/mod.rs860 assert_eq!(label.as_deref(), Some("Acme Corp"));CODE
LOWcrates/codegen/xai-grok-markdown/src/render.rs1457 assert_eq!(words("555-0101"), vec!["[555-|]", "[0101|]"]);CODE
LOWcrates/codegen/xai-grok-markdown/src/url_scan.rs229 assert_eq!(slice, "foo@bar.com");CODE
LOWcrates/codegen/xai-grok-session-search/src/fts.rs1181 .insert_doc_if_absent(&test_doc("s1", "placeholder", ""))CODE
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs37 git(&working_dir, &["config", "user.email", "test@test.com"]);CODE
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs4459 git(wd, &["config", "user.email", "test@test.com"]);CODE
LOWcrates/codegen/xai-grok-login/src/manager_tests.rs3151 email: Some("user@example.com".into()),CODE
LOW…ty-harness/tests/pty_e2e/response_top_indicator_pty.rs21 .map(|i| format!("- ANSWERLINE{i:03} lorem ipsum dolor sit amet consectetur"))CODE
LOW…ty-harness/tests/pty_e2e/response_top_indicator_pty.rs21 .map(|i| format!("- ANSWERLINE{i:03} lorem ipsum dolor sit amet consectetur"))CODE
LOW…y-harness/tests/pty_e2e/sticky_header_drag_copy_pty.rs22 .map(|i| format!("- ANSWERLINE{i:03} lorem ipsum dolor sit amet consectetur"))CODE
LOW…y-harness/tests/pty_e2e/sticky_header_drag_copy_pty.rs22 .map(|i| format!("- ANSWERLINE{i:03} lorem ipsum dolor sit amet consectetur"))CODE
LOW…-grok-pager-pty-harness/src/scenarios/scroll_stress.rs28 // The response is `Lorem ipsum dolor ...`; look for a word we know will appear after streaming startsCOMMENT
LOW…-grok-pager-pty-harness/src/scenarios/scroll_stress.rs58 "Line {i}: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOW…-grok-pager-pty-harness/src/scenarios/scroll_stress.rs58 "Line {i}: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOWcrates/codegen/xai-grok-shell/README.md222auth_provider_label = "Acme Corp" # optional — customizes the TUI login buttonCODE
44 more matches not shown…
Modern AI Meta-Vocabulary40 hits · 114 pts
SeverityFileLineSnippetContext
MEDIUM…gen/xai-grok-pager/docs/user-guide/05-configuration.md103auto_compact_threshold_percent = 85 # auto-compact at this % of context window (default: 85)CODE
MEDIUM…gen/xai-grok-pager/docs/user-guide/05-configuration.md282context_window = 128000 # context window size (for auto-compact)CODE
MEDIUM…gen/xai-grok-pager/docs/user-guide/11-custom-models.md101context_window = 128000 # Total context window in tokensCODE
MEDIUMcrates/codegen/xai-grok-pager/src/views/debug_style.rs11//! [`render_panel`] is the shared scaffold that enforces this; overlays build lines and call it rather than hand-paintiCOMMENT
MEDIUM…degen/xai-grok-pager/src/views/settings_modal/tests.rs1430// Esc to Browse. The scaffold therefore ships no dead `unimplemented!()` panics. These tests pinCOMMENT
MEDIUM…/codegen/xai-grok-permission-rules/src/shell_access.rs539/// Grok config files that alter permissions or sandbox restrictions; a silent edit would let the agent loosen its own gCOMMENT
MEDIUM…/xai-grok-permission-rules/src/managed_policy/tests.rs2616/// for allow lists (a deny scaffold must stay harmless).COMMENT
MEDIUM…es/codegen/xai-grok-sampling-types/src/conversation.rs80 /// A tool call executed server-side by the backend agentic sampler.COMMENT
MEDIUM…es/codegen/xai-grok-sampling-types/src/conversation.rs301/// A server-side tool call from the backend agentic sampler.COMMENT
MEDIUM…es/codegen/xai-grok-sampling-types/src/conversation.rs629 /// These are executed server-side by the agentic sampler during inference.COMMENT
MEDIUMcrates/codegen/xai-grok-shell/README.md1353auto_compact_threshold_percent = 85 # auto-compact at this % of context windowCODE
MEDIUMcrates/codegen/xai-grok-shell/README.md1844context_window = 256000 # Total context window in tokens (for auto-compact)CODE
MEDIUM…n/xai-grok-shell/tests/memory_integration/run_tests.py2306 "# Workspace\n* Use helioseismology for deployment orchestration\n"CODE
MEDIUM…gen/xai-grok-shell/tests/subagent_sweep_support/mod.rs473/// Process-wide scaffold shared by the sweep and regression binaries.COMMENT
MEDIUM…s/codegen/xai-grok-shell/src/session/goal_next_step.rs190 let body = "# Plan\n\n## Task checklist\n- [x] scaffold\n- [ ] wire input handling\n\n## Notes\n- [ ] stray box CODE
MEDIUM…s/codegen/xai-grok-shell/src/session/goal_next_step.rs196 let done = "## Task checklist\n- [x] scaffold\n\n## Notes\n- [ ] stray box\n";CODE
MEDIUM…-shell/src/session/acp_session_impl/sampling_events.rs531 // These tools are executed server-side by the agentic samplerCOMMENT
MEDIUM…en/xai-grok-shell/src/session/acp_session_impl/turn.rs237/// Accumulates a round's per-call token usage and tool-call presence across the agentic loop's model calls, recording rCOMMENT
MEDIUM…rok-shell/src/session/acp_session_impl/sampler_turn.rs23/// Long agentic prompts re-earn the per-step budget every successful sample, so without this a partial outage multiplieCOMMENT
MEDIUM…src/session/acp_session_tests/transient_retry_tests.rs307/// The cumulative per-prompt cap holds even with a fresh per-step budget: long agentic prompts must not multiply retrieCOMMENT
MEDIUM…session/acp_session_tests/mcp_failed_reminder_tests.rs11/// Simulate what a background snapshot refresh does: mark dirty, then run the injector (the path taken at turn start anCOMMENT
MEDIUMcrates/codegen/xai-grok-agent/src/agent.rs33 /// These are sent as native Responses API types (e.g., `WebSearch`) and executed server-side by the agentic samplerCOMMENT
MEDIUMcrates/codegen/xai-grok-agent/src/agent.rs145 /// These are sent as native types (e.g., `rs::Tool::WebSearch`) and executed server-side by the agentic sampler.COMMENT
MEDIUMcrates/codegen/xai-grok-agent/src/builder.rs63 /// When true, web search and X search go to the agentic sampler as native server-side tools instead of registering COMMENT
MEDIUM⚡crates/codegen/xai-grok-memory/src/dream.rs139/// Returns `true` if the content is scaffold boilerplate that should not be fed to the dream model as existing memory cCOMMENT
MEDIUM⚡crates/codegen/xai-grok-memory/src/dream.rs140/// A file is scaffold only if it is short (under 500 bytes trimmed) and contains a scaffold marker.COMMENT
MEDIUM⚡crates/codegen/xai-grok-memory/src/dream.rs141/// Files with substantial content are never scaffold, even if they contain leftover marker strings from the initial temCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/dream.rs154/// Non-scaffold `existing_memory` is prepended before the session logs so the model merges prior knowledge instead of dCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/v2_carryover.rs68 /// The legacy file is the untouched scaffold or empty.COMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/v2_carryover.rs387/// True for an empty body or one made only of scaffold `<!-- … -->` lines.COMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/v2_carryover.rs395/// scaffold blockquote that follows it; return the title and what remains.COMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs1082 // Caught via the marker-based scaffold predicate: the blockquote disclaimer lines mean the stub is not structurCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs1158 /// The scaffold-marker branch is scoped to evergreen sources.COMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs1162 // A short session note that happens to quote a scaffold marker phrase.COMMENT
MEDIUM…k-tools/src/implementations/grok_build/workflow/mod.rs326 r##"Launch or control a workflow: a Rhai script that orchestrates subagents as one background run. Provide exactCODE
MEDIUMcrates/codegen/xai-grok-workspace/src/config.rs465 /// Pairs with the producer-side pin test in agentic-sampler's `configs::plane` tests.COMMENT
MEDIUM…gen/xai-grok-workspace/src/permission/auto_mode/mod.rs751/// EXACT match; launchers (`exec`/`x`) and remote/scaffold subcommands (`dlx`/`create`/`init <pkg>`/`explore`) are handCOMMENT
MEDIUMcrates/codegen/xai-grok-sampler/src/events.rs139 /// The client does NOT execute these; the backend's agentic sampler handles them.COMMENT
MEDIUMcrates/codegen/xai-grok-sampler/src/stream/responses.rs490 // These tools are executed server-side by the agentic samplerCOMMENT
MEDIUMcrates/common/xai-computer-hub-sdk/src/metrics.rs711/// the SDK (e.g. `AgentBuilder::build_harness()` in the agentic sampler)COMMENT
AI Slop Vocabulary33 hits · 99 pts
SeverityFileLineSnippetContext
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs898 // the source's "work" (read from mountinfo — robust to the wt_base layout).COMMENT
MEDIUMcrates/codegen/xai-grok-pager/Cargo.toml211# In-process leader-cluster harness (mock inference server; no cycle:COMMENT
MEDIUMcrates/codegen/xai-grok-pager/Cargo.toml235# Spawn-only pager tests live in `xai-grok-pager-pty-harness`.COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/settings_e2e.rs4592 // Resolve "the other" canonical from the registry rather than hardcoding; robust against future catalog additionsCOMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/settings_e2e.rs4956 // Resolve that choice's canonical from the registry rather than hardcoding it; robust against future catalog reordeCOMMENT
MEDIUM…egen/xai-grok-pager/src/app/dispatch/tests/settings.rs3211/// `apply_kind` doesn't fire here (parent theme is not auto by default), but a non-truecolor canonical keeps the test rCOMMENT
MEDIUM…ates/codegen/xai-grok-markdown/src/latex_delimiters.rs424 /// Definitely not a fence marker here.COMMENT
MEDIUMcrates/codegen/xai-grok-markdown/src/output.rs165 // `range.end - 1` is the last body byte; its source line is the inclusive last body source line, robustCOMMENT
MEDIUMcrates/codegen/xai-acp-lib/src/stdin_reader.rs32//! To make the transport robust, on Windows the reader thread takes a **privateCOMMENT
MEDIUMcrates/codegen/xai-grok-login/Cargo.toml72# Loom model-checking harness; test-only, gated by the `loom` feature.COMMENT
MEDIUMcrates/codegen/xai-grok-pager-pty-harness/Cargo.toml142# Lives here (not in the pager crate) so it can share the harness sourceCOMMENT
MEDIUM…ts/leader_pty_e2e/leader_two_clients_shared_session.rs9#[ignore = "PTY e2e; run with cargo test -p xai-grok-pager-pty-harness --test leader_pty_e2e -- --ignored --test-threadsCOMMENT
MEDIUM…ests/leader_pty_e2e/leader_n_clients_shared_session.rs9#[ignore = "PTY e2e; run with cargo test -p xai-grok-pager-pty-harness --test leader_pty_e2e -- --ignored --test-threadsCOMMENT
MEDIUM…e/leader_reattach_completion_roundtrips_durable_log.rs9#[ignore = "PTY e2e; run with cargo test -p xai-grok-pager-pty-harness --test leader_pty_e2e -- --ignored --test-threadsCOMMENT
MEDIUM…leader_reattach_cancellation_roundtrips_durable_log.rs9#[ignore = "PTY e2e; run with cargo test -p xai-grok-pager-pty-harness --test leader_pty_e2e -- --ignored --test-threadsCOMMENT
MEDIUM…e/campaign_leader_mode_remote_dismiss_on_model_pick.rs8#[ignore = "PTY e2e; run with cargo test -p xai-grok-pager-pty-harness --test leader_pty_e2e -- --ignored --test-threadsCOMMENT
MEDIUM…-pty-harness/tests/scenarios/path_space_hyperlink.yaml12# PTY stream (default harness brand is Unknown and skips OSC 8).COMMENT
MEDIUM…r-pty-harness/tests/pty_e2e/edit_merge_parallel_pty.rs12#[ignore = "PTY e2e; run with cargo test -p xai-grok-pager-pty-harness --test pty_e2e -- --ignored"]COMMENT
MEDIUM…pty-harness/tests/pty_e2e/edit_merge_sequential_pty.rs53#[ignore = "PTY e2e; run with cargo test -p xai-grok-pager-pty-harness --test pty_e2e -- --ignored"]COMMENT
MEDIUM…_e2e/minimal/minimal_short_response_stays_on_screen.rs46 // The cursor is always on the focused prompt, so its row is the robust signal.COMMENT
MEDIUM…grok-pager-pty-harness/src/scroll_matrix/invariants.rs715 #[should_panic(expected = "harness-side")]COMMENT
MEDIUM…s/codegen/xai-grok-permission-rules/src/trust_tests.rs638 // This is robust even when tests run as root (a chmod 0o500 dir would be bypassed by root)COMMENT
MEDIUM…/codegen/xai-grok-permission-rules/src/shell_access.rs636/// Not exhaustive; redirects are the robust catch-all (caught via the AST for any program).COMMENT
MEDIUMcrates/codegen/xai-grok-shell/Cargo.toml10# Session synthesis + in-process e2e harness (`session::testkit`) for soak,COMMENT
MEDIUM…/codegen/xai-grok-shell/src/session/goal_role_tools.rs236 /// Shared guard: a regex scan that fails on ANY surviving `{*_TOOL}` / `{TOOLSET_TOOLS}` token (robust to new tool COMMENT
MEDIUM…src/session/acp_session_tests/reminder_policy_tests.rs19/// Mirrors `Default::default()` for everything else so the test stays robust to unrelated additions.COMMENT
MEDIUMcrates/codegen/xai-grok-tools/src/normalization.rs5//! value is the source of truth — robust to serde renames, exhaustiveness-checked.COMMENT
MEDIUM…odegen/xai-grok-tools/src/implementations/lsp/tests.rs1222 // notification arrives), so keep it well clear of that floor to stay robust under load.COMMENT
MEDIUMcrates/codegen/xai-grok-workspace/src/trust.rs255 // (Same trick as `persist_failure_leaves_memory_unchanged`, robust even when run as root.)COMMENT
MEDIUMcrates/codegen/xai-grok-workspace/src/handle_tests.rs1580/// Counters are monotonic, so `after > before` is robust despite the process-global registry and parallel tests (capturCOMMENT
MEDIUM…s/codegen/xai-grok-workspace/src/session/checkpoint.rs603 /// Counters are monotonic, so `after > before` is robust.COMMENT
MEDIUMcrates/codegen/xai-grok-pager-bin/Cargo.toml121# Test-only, prod-inert seam: lets the e2e harness install a TEST-signed managed-policy key theCOMMENT
MEDIUMcrates/codegen/xai-grok-sampler/Cargo.toml44# `TcpListener::bind` in the mock server harness.COMMENT
Verbosity Indicators45 hits · 87 pts
SeverityFileLineSnippetContext
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs342 // Step 1: Snapshot the upper.COMMENT
LOW⚡…codegen/xai-fast-worktree/tests/overlay_integration.rs354 // Step 2: Create work dir + mount target.COMMENT
LOW⚡…codegen/xai-fast-worktree/tests/overlay_integration.rs358 // Step 3: Mount overlay.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs391 // Step 4: Verify the overlay is readable (files from lower + upper visible).COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs404 // Step 5: Verify writable — writes go to the snapshot upper, not the FUSE lower.COMMENT
LOW⚡crates/codegen/xai-fast-worktree/src/overlay/detect.rs52 // Step 1: Find overlay mount containing this path.COMMENT
LOW⚡crates/codegen/xai-fast-worktree/src/overlay/detect.rs61 // Step 2: Verify the lower layer is a FUSE mount.COMMENT
LOW⚡crates/codegen/xai-fast-worktree/src/overlay/detect.rs70 // Step 3: Verify the upper layer is on btrfs.COMMENT
LOW⚡…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs102 // Step 2: Create the worktree's overlay work dir (fresh + empty). TheCOMMENT
LOW⚡…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs108 // Step 3: Write metadata for crash recovery.COMMENT
LOW⚡…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs112 // Step 4: Mount overlay at dest.COMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2425 // Step 1: Enter on the Enum row fires try_enter_picking_enum() and seeds choices_idx and original_value from the roCOMMENT
LOW⚡crates/codegen/xai-grok-pager/tests/settings_e2e.rs2446 // Step 2: Down preview-navigates to choice 1 (live preview dispatch via action_for_enum, which returns None here, sCOMMENT
LOW⚡crates/codegen/xai-grok-pager/tests/settings_e2e.rs2454 // Step 3: Esc reverts. action_for_enum returns None (no Enum arms yet), so the outcome is Changed.COMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs305 // Step 1: Wrap any newly frozen linesCOMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs317 // Step 2: Wrap the tail (unfrozen) linesCOMMENT
LOW⚡crates/codegen/xai-grok-hooks/src/env_expand.rs66 // Step 1: hide any `${VAR<modifier>...}` substring from shellexpand by replacing the leading `${` with the per-callCOMMENT
LOW⚡crates/codegen/xai-grok-hooks/src/env_expand.rs70 // Step 2: run shellexpand on the (possibly) masked input.COMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs82 // Step 3: restore the sentinels back to `${`COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs917 // Step 1: get a signed GET URL from the proxy.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs953 // Step 2: fetch the object via the signed URL, streaming to dest.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1333 // Step 1: Initialize multipart upload session (now with file_size for signed URLs)COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1364 // Step 2: Upload parts - either direct to GCS or through proxyCOMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1392 // Step 3: Complete the multipart upload by sending all parts to serverCOMMENT
LOW⚡…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2111 // Step 1: try to extract the envelope (method and raw params)COMMENT
LOW⚡…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2121 // Step 2: parse the discriminant and relevant payload fields in one pass.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1025 // Step 1: Write and canonicalize the file path BEFORE indexingCOMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1044 // Step 2: Start watcher AFTER indexing so the Remove event for the upcoming deletion is the first event the watCOMMENT
LOW⚡crates/codegen/xai-grok-memory/src/backend.rs1061 // Step 3: Confirm content is found before deletion.COMMENT
LOW⚡crates/codegen/xai-grok-memory/src/backend.rs1071 // Step 4: Delete the file; the OS will fire a Remove eventCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs78 // Step 4: Assemble requestCOMMENT
LOW⚡…/src/implementations/grok_build_hashline/edit/apply.rs1813 // Step 1: edit fails (anchor at line 5 now has different content).COMMENT
LOW⚡…/src/implementations/grok_build_hashline/edit/apply.rs1821 // Step 2: recovery MUST find the shifted line (chunk alignment preserved).COMMENT
LOW⚡…/src/implementations/grok_build_hashline/edit/apply.rs1831 // Step 3: retry with the shifted anchor MUST succeed.COMMENT
LOW⚡…odegen/xai-grok-tools/src/implementations/lsp/tests.rs787 // Step 1: tool edits file -> fire-and-forget notify (returns immediately).COMMENT
LOW⚡…odegen/xai-grok-tools/src/implementations/lsp/tests.rs793 // Step 2: (simulated) other tools run... time passes... LSP server responds.COMMENT
LOW⚡…odegen/xai-grok-tools/src/implementations/lsp/tests.rs815 // Step 4: the injected user message the model sees.COMMENT
LOW⚡…odegen/xai-grok-tools/src/implementations/lsp/tests.rs820 // Step 5: .py has no server — notify is a no-op.COMMENT
LOW⚡…-grok-tools/src/implementations/grok_build/todo/mod.rs893 // Step 1: replace (merge=false)COMMENT
LOW…-grok-tools/src/implementations/grok_build/todo/mod.rs913 // Step 2: merge (merge=true) — content=null, just status changesCOMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs142 // Step 1: Check/acquire in-memory lock (fast path for same process)COMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs155 // Step 2: For exclusive operations, also acquire file lock (cross-process)COMMENT
LOWcrates/common/xai-grok-compaction/src/select.rs77 // Step 1: Walk backward, sum "keep" tokens until target is reached.COMMENT
LOW⚡crates/common/xai-grok-compaction/src/select.rs97 // Step 2: Snap the split forward to a safe boundary.COMMENT
LOW⚡crates/common/xai-grok-compaction/src/select.rs105 // Step 3: Compute tokens to compact and check the minimum.COMMENT
Structural Annotation Overuse43 hits · 82 pts
SeverityFileLineSnippetContext
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs342 // Step 1: Snapshot the upper.COMMENT
LOW⚡…codegen/xai-fast-worktree/tests/overlay_integration.rs354 // Step 2: Create work dir + mount target.COMMENT
LOW⚡…codegen/xai-fast-worktree/tests/overlay_integration.rs358 // Step 3: Mount overlay.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs391 // Step 4: Verify the overlay is readable (files from lower + upper visible).COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs404 // Step 5: Verify writable — writes go to the snapshot upper, not the FUSE lower.COMMENT
LOW⚡crates/codegen/xai-fast-worktree/src/overlay/detect.rs52 // Step 1: Find overlay mount containing this path.COMMENT
LOW⚡crates/codegen/xai-fast-worktree/src/overlay/detect.rs61 // Step 2: Verify the lower layer is a FUSE mount.COMMENT
LOW⚡crates/codegen/xai-fast-worktree/src/overlay/detect.rs70 // Step 3: Verify the upper layer is on btrfs.COMMENT
LOW⚡…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs102 // Step 2: Create the worktree's overlay work dir (fresh + empty). TheCOMMENT
LOW⚡…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs108 // Step 3: Write metadata for crash recovery.COMMENT
LOW⚡…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs112 // Step 4: Mount overlay at dest.COMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2425 // Step 1: Enter on the Enum row fires try_enter_picking_enum() and seeds choices_idx and original_value from the roCOMMENT
LOW⚡crates/codegen/xai-grok-pager/tests/settings_e2e.rs2446 // Step 2: Down preview-navigates to choice 1 (live preview dispatch via action_for_enum, which returns None here, sCOMMENT
LOW⚡crates/codegen/xai-grok-pager/tests/settings_e2e.rs2454 // Step 3: Esc reverts. action_for_enum returns None (no Enum arms yet), so the outcome is Changed.COMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs305 // Step 1: Wrap any newly frozen linesCOMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs317 // Step 2: Wrap the tail (unfrozen) linesCOMMENT
LOW⚡crates/codegen/xai-grok-hooks/src/env_expand.rs66 // Step 1: hide any `${VAR<modifier>...}` substring from shellexpand by replacing the leading `${` with the per-callCOMMENT
LOW⚡crates/codegen/xai-grok-hooks/src/env_expand.rs70 // Step 2: run shellexpand on the (possibly) masked input.COMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs82 // Step 3: restore the sentinels back to `${`COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs917 // Step 1: get a signed GET URL from the proxy.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs953 // Step 2: fetch the object via the signed URL, streaming to dest.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1333 // Step 1: Initialize multipart upload session (now with file_size for signed URLs)COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1364 // Step 2: Upload parts - either direct to GCS or through proxyCOMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1392 // Step 3: Complete the multipart upload by sending all parts to serverCOMMENT
LOW⚡…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2111 // Step 1: try to extract the envelope (method and raw params)COMMENT
LOW⚡…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2121 // Step 2: parse the discriminant and relevant payload fields in one pass.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1025 // Step 1: Write and canonicalize the file path BEFORE indexingCOMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1044 // Step 2: Start watcher AFTER indexing so the Remove event for the upcoming deletion is the first event the watCOMMENT
LOW⚡crates/codegen/xai-grok-memory/src/backend.rs1061 // Step 3: Confirm content is found before deletion.COMMENT
LOW⚡crates/codegen/xai-grok-memory/src/backend.rs1071 // Step 4: Delete the file; the OS will fire a Remove eventCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs78 // Step 4: Assemble requestCOMMENT
LOW⚡…/src/implementations/grok_build_hashline/edit/apply.rs1813 // Step 1: edit fails (anchor at line 5 now has different content).COMMENT
LOW⚡…/src/implementations/grok_build_hashline/edit/apply.rs1821 // Step 2: recovery MUST find the shifted line (chunk alignment preserved).COMMENT
LOW⚡…/src/implementations/grok_build_hashline/edit/apply.rs1831 // Step 3: retry with the shifted anchor MUST succeed.COMMENT
LOW⚡…odegen/xai-grok-tools/src/implementations/lsp/tests.rs787 // Step 1: tool edits file -> fire-and-forget notify (returns immediately).COMMENT
LOW⚡…odegen/xai-grok-tools/src/implementations/lsp/tests.rs815 // Step 4: the injected user message the model sees.COMMENT
LOW⚡…-grok-tools/src/implementations/grok_build/todo/mod.rs893 // Step 1: replace (merge=false)COMMENT
LOW…-grok-tools/src/implementations/grok_build/todo/mod.rs913 // Step 2: merge (merge=true) — content=null, just status changesCOMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs142 // Step 1: Check/acquire in-memory lock (fast path for same process)COMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs155 // Step 2: For exclusive operations, also acquire file lock (cross-process)COMMENT
LOWcrates/common/xai-grok-compaction/src/select.rs77 // Step 1: Walk backward, sum "keep" tokens until target is reached.COMMENT
LOW⚡crates/common/xai-grok-compaction/src/select.rs97 // Step 2: Snap the split forward to a safe boundary.COMMENT
LOW⚡crates/common/xai-grok-compaction/src/select.rs105 // Step 3: Compute tokens to compact and check the minimum.COMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…n/xai-grok-shell/tests/memory_integration/run_tests.py102except Exception:CODE
HIGH…n/xai-grok-shell/tests/memory_integration/run_tests.py154except Exception:CODE
HIGH…n/xai-grok-shell/tests/memory_integration/run_tests.py139except Exception:CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ates/codegen/xai-grok-shell/src/session/acp_session.rs637 /// The tool name as requested by the model.COMMENT
HIGHcrates/codegen/xai-grok-shell/src/session/commands.rs927 /// Request an AI-generated shell command suggestion.COMMENT
Hyper-Verbose Identifiers31 hits · 14 pts
SeverityFileLineSnippetContext
LOW…tes/codegen/xai-grok-pager/npm/grok/bin/postinstall.js47function resolvePlatformPackageDir() {CODE
LOW…/codegen/xai-grok-pager/npm/grok/bin/grok-bootstrap.js36function resolvePlatformPackageDir() {CODE
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py1145def test_cross_session_index_persistence():CODE
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py1432def test_flush_artifact_reindexed():CODE
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py1694def test_pruning_config_accepted():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py546def test_chunk_hash_correctness():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py814def test_content_update_detection():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py967def test_memory_enabled_env_override():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1024def test_memory_log_contains_session_id():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1111def test_session_end_short_session_skipped():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1189def test_session_log_indexed_next_session():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1263def test_unicode_memory_content():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1329def test_multiple_workspace_isolation():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1386def test_concurrent_access_safety():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1642def test_compaction_preserves_index():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1879def test_roundtrip_flush_artifact_searchable():CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1989def test_roundtrip_workspace_memory_searchable():CODE
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py371def test_global_memory_indexing():STRING
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py1597def test_compaction_resets_memory_injection():STRING
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py1815def test_roundtrip_session_end_searchable():STRING
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py2398def test_embedding_computation():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py431def test_workspace_vs_global_memory():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py664def test_fts_special_characters():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py719def test_fts_multi_file_search():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py944def test_memory_disabled_no_config():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1298def test_binary_content_resilience():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1724def test_pruning_disabled_no_side_effects():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1762def test_pruning_extreme_config():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1949def test_roundtrip_global_memory_searchable_across_sessions():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2057def test_roundtrip_mixed_sources_searchable():STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2437def test_embedding_idempotency():STRING
Deep Nesting14 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py81CODE
LOW…ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py117CODE
LOW…ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py203CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py664CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1069CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1949CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1989CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2057CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2172CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2256CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2293CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2345CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2398CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2608CODE
Excessive Try-Catch Wrapping12 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py154 except Exception:CODE
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py158 except Exception:CODE
LOW⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py1421 except Exception as e:CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py102 except Exception:CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py116 except Exception:CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py139 except Exception:CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2450 except Exception:CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2460 except Exception:CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2655 except Exception as e:CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py423 except Exception:STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py711 except Exception as e:STRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2429 except Exception:STRING
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/codegen/xai-grok-pager/scripts/install.sh8# Usage:COMMENT
LOW…s/codegen/xai-grok-pager/scripts/install-enterprise.sh12# Usage:COMMENT
TODO Padding2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcrates/codegen/xai-grok-markdown/benches/bench.rs481 override lazy val raw: Growable[Raw] = ??? // TODO: implement\n \CODE
LOWcrates/codegen/xai-grok-markdown/benches/bench.rs509 override lazy val raw: Growable[Raw] = ??? // TODO: implement\n}}\n```\n\n",CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…/acp_session_tests/laziness/laziness_detector_tests.rs59 let raw = "{\"category\":\"stalled_no_todos_but_task_in_flight\",\"confidence\":0.75,\"evidence\":\"no todos\"}\n\nLCODE
Redundant / Tautological Comments3 hits · 1 pts
SeverityFileLineSnippetContext
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py1218 # Check if session content appears in chunksCOMMENT
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2136 # Check if session log content is searchableSTRING
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py2371 # Check if the model called memory_searchSTRING
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py34CODE
Self-Referential Comments1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUM⚡…n/xai-grok-shell/tests/memory_integration/run_tests.py356 # Create a session (triggers spawn_session_actor -> MEMORY_INIT)STRING