Repository Analysis

xai-org/grok-build

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

6.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of xai-org/grok-build, a Rust project with 23,846 GitHub stars. SynthScan v2.0 examined 1,561,573 lines of code across 2949 source files, recording 6410 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 6.4 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.4
Adjusted Score
6.4
Raw Score
100%
Time Factor
2026-07-31
Last Push
23.8K
Stars
Rust
Language
1.6M
Lines of Code
2.9K
Files
6.4K
Pattern Hits
2026-08-02
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 14HIGH 2MEDIUM 1750LOW 4644

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 6410 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1668 hits · 5094 pts
SeverityFileLineSnippetContext
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs33// ── Test infrastructure ──────────────────────────────────────────────────COMMENT
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs237// ── 1. Overlay = FUSE + btrfs subvolume ──────────────────────────────────COMMENT
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs427// ── 2. Worktree = FUSE + snapshot ────────────────────────────────────────COMMENT
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs636// ── 3. Manual cleanup ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/sync.rs98 // ── Per-phase timing (milliseconds) ─────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/mount_info.rs246// ── Internal helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/btrfs/detect.rs667 // ─── Unit tests for resolve_via_subvol_mount ─────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/worktree/mod.rs976 // ─── Standalone mode tests ───────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fast-worktree/src/worktree/mod.rs1221 // ─── Cancellation / partial-creation cleanup tests ───────────────────COMMENT
MEDIUM…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs516// ── Internal helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs148/// ┌─────────────┐ try_start ┌──────────────────────┐COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs149/// │ NotStarted │ ──────────▶ │ Starting{handshakes}│COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs150/// └─────────────┘ ◀── cancel ─┴──────────┬───────────┘COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs153/// │ ┌──────────────────────────┐COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs154/// └──────────────────┤ Finished{handshakes} │COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs155/// └──────────────────────────┘COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs5662 // ── owned/shared split behavioral tests ─────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs5973 // ── is_retriable_transport_error tests ───────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs6534 // ── new_http stores http_config tests ────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs6559 // ── http_headers_match / refresh_managed_clients guard tests ─────COMMENT
MEDIUMcrates/codegen/xai-grok-mcp/src/servers.rs6698 // ── reset_transport tests ────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-fsnotify/src/watcher.rs2381 // platform without process-global env races) ──────────────────────COMMENT
MEDIUM…n/xai-grok-pager/tests/pty_e2e/auto_compact_top_row.rs5// ── Auto-compact: the top padding row disappears on tiny terminals ─────────COMMENT
MEDIUM…r/tests/pty_e2e/small_screen_tip_survives_slow_turn.rs5// ── Small-screen tip must survive a submit into a slow turn ────────────────COMMENT
MEDIUM…ts/pty_e2e/forced_wheel_mode_env_scrolls_exact_rows.rs7// ── A5: env-forced scroll settings reach the live scroll config ───────────COMMENT
MEDIUM…/tests/pty_e2e/trackpad_flood_does_not_under_travel.rs7// ── Regression: trackpad feel — fast flicks must not under-travel ─────────COMMENT
MEDIUM…ts/pty_e2e/critical_announcement_session_banner_pty.rs338 // ── Critical: command appears in dropdown ──────────────────────────COMMENT
MEDIUM…ts/pty_e2e/critical_announcement_session_banner_pty.rs374 // ── Info-only: command must not appear ─────────────────────────────COMMENT
MEDIUM…ty_e2e/wheel_scrolls_viewport_during_streaming_turn.rs7// ── Regression: streaming must not starve wheel input ─────────────────────COMMENT
MEDIUM…ager/tests/pty_e2e/shift_tab_in_session_cycles_mode.rs5// ── Interactive flow e2e tests ──────────────────────────────────────────COMMENT
MEDIUM…ager/tests/pty_e2e/resize_preserves_scroll_position.rs5// ── Reproduction: horizontal resize must not lose the scroll position ─────COMMENT
MEDIUM…el_overscroll_at_bottom_reengages_follow_mid_stream.rs7// ── A7: wheel overscroll at the bottom re-engages follow mode ─────────────COMMENT
MEDIUM…/tests/pty_e2e/bash_mode_file_completion_shell_like.rs162 // ── The completed command actually RUNS through the real shell ──────COMMENT
MEDIUM…/tests/pty_e2e/scroll_debug_hud_env_toggles_overlay.rs9// ── A8: scroll-debug HUD e2e (`GROK_SCROLL_DEBUG`) ─────────────────────────COMMENT
MEDIUM…/tests/pty_e2e/scroll_debug_hud_env_toggles_overlay.rs123// ── A10: `/debug scroll` e2e ────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs50// ── Undo-tip e2e helpers ────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs141// ── Fake session-auth (OAuth) seeding ───────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs192// ── Agent type mismatch e2e tests ──────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs207// ── Folder-trust welcome sub-state e2e ──────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs241// ── Leader mode e2e ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs256// ── MCP menu loading e2e tests ──────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs319// ── Queue + interjection e2e tests ──────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs396// ── Mouse reporting toggle (opt-in scrollback Ctrl+R) ───────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs510// ── Tool header selection (path/command operand only) ───────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs902// ── Minimal (scrollback-native) mode e2e helpers ────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs1090// ── grok wrap e2e ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs1176// ── Shared polling / failure-dump / cast helpers ────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/pty_e2e/common.rs1254// ── Clipboard paste e2e tests ───────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs51// ── Fixtures ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs174// ── Non-product prefix baseline ─────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs237// ── Bench groups ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs291 // ── 500L + prefix (own heavy config) ────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/edit_highlight.rs312 // ── 10kL session (no prefix) ────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/render.rs79// ─── Benchmarks ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/codegen/xai-grok-pager/benches/render.rs274// ─── Reveal (scrollback-search n/N navigation) ─────────────────────COMMENT
MEDIUM…en/xai-grok-pager/npm/grok/scripts/test-postinstall.js38// ─── Extracted logic (mirrors postinstall.js and bin/grok exactly) ─────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
1608 more matches not shown…
Over-Commented Block4378 hits · 4129 pts
SeverityFileLineSnippetContext
LOWCargo.toml401COMMENT
LOWclippy.toml1# Clippy config for crates/codegen/**.COMMENT
LOWrust-toolchain.toml1[toolchain]COMMENT
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 pub request_id: String,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs81 /// Pulled from InitializeRequest.meta (prefers clientSource, falls back to clientType, then clientIdentifier).COMMENT
LOWprod/mc/cli-chat-proxy-types/src/metadata_types.rs101 pub host_arch: String,COMMENT
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.rs301 /// Rating type (if applicable)COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs361 /// Preferred model ID in comparisonCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs421 /// Number of compactions in the session.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs521 /// `alacritty_terminal` library version (release 0.15.1 arrives asCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs561/// Request body for completing a feedback request (with feedback data).COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs581 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs661}COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs721#[derive(Debug, Clone, Serialize, Deserialize)]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs821 /// Most recent response's ITL p50 in millisecondsCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs861 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs881 pub doom_loop_threshold: Option<i64>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs901 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs921 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1001 /// Average total response time in millisecondsCOMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1021 /// Most recent response's ITL p99 in milliseconds (nullable: None = not yet reported)COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1141// ============================================================================COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1161 pub min_compactions: i64,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1221 pub config_version: i64,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1241 #[serde(default = "default_tier1_min_turns")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1261 /// Max times Tier 1 can trigger per session (0 = unlimited)COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1281 /// Minimum errors for Tier 2COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1301 /// Sample rate for Tier 3 (0.0-1.0)COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1321 pub tier3_dismissible: bool,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1341 pub description: Option<String>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1561}COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1601 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1621 /// Served model fingerprint (provider `system_fingerprint`).COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1641 /// Prompt/request ID for the turn (if available).COMMENT
LOWprod/mc/cli-chat-proxy-types/src/feedback_types.rs1681 pub delta_agent_files_touched: i64,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/// Information about a single forked session.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs261}COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs281#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs301 pub environment_id: Option<String>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs321 #[serde(default, skip_serializing_if = "HashMap::is_empty")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs341 /// Provider sandbox ID.COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs361 pub mode: Option<SandboxMode>,COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs381}COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs401#[serde(rename_all = "camelCase")]COMMENT
LOWprod/mc/cli-chat-proxy-types/src/sandbox_types.rs421pub struct SandboxHibernateResponse {COMMENT
4318 more matches not shown…
Hallucination Indicators14 hits · 140 pts
SeverityFileLineSnippetContext
CRITICALcrates/codegen/xai-grok-pager/src/app/mouse.rs383 let total = self.prompt.suggestions.dropdown.items.len();CODE
CRITICAL…egen/xai-grok-pager/src/app/agent_view/interactions.rs1107 .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.rs16 let had_items = !self.prompt.suggestions.dropdown.items.is_empty();CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs700 agent.prompt.suggestions.dropdown.items.len(),CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs730 agent.prompt.suggestions.dropdown.items.len(),CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs739 assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2);CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs763 assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2);CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs874 assert!(agent.prompt.suggestions.dropdown.items.is_empty());CODE
CRITICAL…/xai-grok-pager/src/app/agent_view/shell_completion.rs911 assert!(agent.prompt.suggestions.dropdown.items.is_empty());CODE
CRITICAL…es/codegen/xai-grok-pager/src/app/agent_view/rewind.rs70 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.rs3873 assert!(agent.prompt.suggestions.dropdown.items.is_empty());CODE
CRITICAL…odegen/xai-grok-pager/src/app/dispatch/tests/prompt.rs4024 assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2);CODE
CRITICAL…odegen/xai-grok-pager/src/app/dispatch/tests/prompt.rs4081 agent.prompt.suggestions.dropdown.items.len(),CODE
CRITICAL…codegen/xai-grok-pager-render/src/appearance/config.rs2139 assert!(cfg.scrollback.blocks.edit.accent.is_some());CODE
Modern AI Meta-Vocabulary42 hits · 118 pts
SeverityFileLineSnippetContext
MEDIUM…gen/xai-grok-pager/docs/user-guide/05-configuration.md74auto_compact_threshold_percent = 85 # auto-compact at this % of context window (default: 85)CODE
MEDIUM…gen/xai-grok-pager/docs/user-guide/05-configuration.md223context_window = 128000 # context window size (for auto-compact)CODE
MEDIUM…gen/xai-grok-pager/docs/user-guide/05-configuration.md287model = "embedding-model" # embedding model nameCODE
MEDIUM…gen/xai-grok-pager/docs/user-guide/11-custom-models.md88context_window = 128000 # Total context window in tokensCODE
MEDIUMcrates/codegen/xai-grok-pager/src/views/debug_style.rs15//! [`render_panel`] is the shared scaffold that enforces it structurally —COMMENT
MEDIUM…degen/xai-grok-pager/src/views/settings_modal/tests.rs1386// -- routing scaffold tests --COMMENT
MEDIUM…degen/xai-grok-pager/src/views/settings_modal/tests.rs1390// scaffold doesn't ship dead `unimplemented!()` panics. TheseCOMMENT
MEDIUM…degen/xai-grok-pager/src/views/settings_modal/tests.rs4179/// scaffold test (`editing_value_ignores_non_esc_keys`) assertedCOMMENT
MEDIUM…es/codegen/xai-grok-sampling-types/src/conversation.rs79 /// A tool call executed server-side by the backend agentic samplerCOMMENT
MEDIUM…es/codegen/xai-grok-sampling-types/src/conversation.rs327/// A server-side tool call from the backend agentic sampler.COMMENT
MEDIUM…es/codegen/xai-grok-sampling-types/src/conversation.rs598 /// These are executed server-side by the agentic sampler during inference.COMMENT
MEDIUMcrates/codegen/xai-grok-shell/README.md1340auto_compact_threshold_percent = 85 # auto-compact at this % of context windowCODE
MEDIUMcrates/codegen/xai-grok-shell/README.md1815context_window = 256000 # Total context window in tokens (for auto-compact)CODE
MEDIUM…s/codegen/xai-grok-shell/tests/test_sampling_client.rs410 r#"{"type":"assistant","content":"a1","reasoning":{"text":"legacy chain of thought","id":"rs_legacy"}}"#,CODE
MEDIUM…n/xai-grok-shell/tests/memory_integration/run_tests.py2306 "# Workspace\n* Use helioseismology for deployment orchestration\n"CODE
MEDIUM…s/codegen/xai-grok-shell/src/session/goal_next_step.rs237 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.rs243 let done = "## Task checklist\n- [x] scaffold\n\n## Notes\n- [ ] stray box\n";CODE
MEDIUM…en/xai-grok-shell/src/session/acp_session_impl/turn.rs84/// agentic loop's model calls, recording running totals on the turn span. KeptCOMMENT
MEDIUM…gen/xai-grok-shell/src/session/acp_session_impl/mcp.rs649 /// Called at turn-start (`handle_prompt`) and inside the agentic loopCOMMENT
MEDIUM…ssion/acp_session_tests/goal/goal_planner_e2e_tests.rs746/// handler isn't reachable from this scaffold without standing upCOMMENT
MEDIUMcrates/codegen/xai-grok-agent/src/agent.rs45 /// and executed server-side by the agentic sampler.COMMENT
MEDIUMcrates/codegen/xai-grok-agent/src/agent.rs179 /// executed server-side by the agentic sampler.COMMENT
MEDIUMcrates/codegen/xai-grok-agent/src/builder.rs91 /// tools for execution by the agentic sampler, instead of beingCOMMENT
MEDIUMcrates/codegen/xai-grok-agent/src/builder.rs444 /// tools for execution by the agentic sampler, instead of beingCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/dream.rs155/// Returns `true` if the content is scaffold boilerplate that should not beCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/dream.rs158/// A file is scaffold only if it is short (< 500 bytes trimmed) AND containsCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/dream.rs159/// a scaffold marker. Files with substantial content are never scaffold, evenCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/dream.rs174/// When `existing_memory` is provided and is not scaffold boilerplate,COMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs51/// True when the chunk is structurally empty, or matches a known scaffoldCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs53/// scoped to evergreen sources, where scaffold templates live, so a sessionCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs1092 // Caught via the marker-based scaffold predicate (it has blockquoteCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs1170 /// The scaffold-marker branch is scoped to evergreen sources: a shortCOMMENT
MEDIUMcrates/codegen/xai-grok-memory/src/search.rs1175 // A short session note that happens to quote a scaffold marker phrase.COMMENT
MEDIUM…k-tools/src/implementations/grok_build/workflow/mod.rs172 r##"Launch a workflow: a Rhai script that orchestrates subagents as one background run. Provide exactly one sourCODE
MEDIUM…/codegen/xai-grok-tools/src/computer/local/terminal.rs4438 // CS4: Background guardrails testsCOMMENT
MEDIUMcrates/codegen/xai-grok-workspace/src/config.rs424 /// pairs with the producer-side pin test in agentic-sampler'sCOMMENT
MEDIUM…codegen/xai-grok-workspace/src/permission/auto_mode.rs785/// remote/scaffold subcommands (`dlx`/`create`/`init <pkg>`/`explore`) are handledCOMMENT
MEDIUM…egen/xai-grok-workspace/src/permission/shell_access.rs491/// silent edit would let the agent loosen its own guardrails. Matched directlyCOMMENT
MEDIUMcrates/codegen/xai-grok-sampler/src/events.rs17/// agentic-sampler's `AgentChannel` pattern.COMMENT
MEDIUMcrates/codegen/xai-grok-sampler/src/events.rs126 /// these — the backend's agentic sampler handles them.COMMENT
MEDIUMcrates/codegen/xai-grok-sampler/src/stream/responses.rs367 // These tools are executed server-side by the agenticCOMMENT
MEDIUMcrates/common/xai-computer-hub-sdk/src/metrics.rs675/// the SDK (e.g. `AgentBuilder::build_harness()` in the agentic sampler)COMMENT
Verbosity Indicators60 hits · 118 pts
SeverityFileLineSnippetContext
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs344 // Step 1: Snapshot the upper.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs356 // Step 2: Create work dir + mount target.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs360 // Step 3: Mount overlay.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs393 // Step 4: Verify the overlay is readable (files from lower + upper visible).COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs406 // Step 5: Verify writable — writes go to the snapshot upper, not the FUSE lower.COMMENT
LOWcrates/codegen/xai-fast-worktree/src/overlay/detect.rs54 // Step 1: Find overlay mount containing this path.COMMENT
LOWcrates/codegen/xai-fast-worktree/src/overlay/detect.rs63 // Step 2: Verify the lower layer is a FUSE mount.COMMENT
LOWcrates/codegen/xai-fast-worktree/src/overlay/detect.rs72 // Step 3: Verify the upper layer is on btrfs.COMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs110 // Step 1: Snapshot the overlay root (the btrfs subvolume).COMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs127 // Step 2: Create the worktree's overlay work dir (fresh + empty). TheCOMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs133 // Step 3: Write metadata for crash recovery.COMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs137 // Step 4: Mount overlay at dest.COMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2383 // Step 1: Enter on the Enum row → try_enter_picking_enum() firesCOMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2405 // Step 2: Down → preview-navigate to choice 1 (live previewCOMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2414 // Step 3: Esc → revert. action_for_enum returns None (no EnumCOMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs361 // Step 1: Wrap any newly frozen linesCOMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs370 // Step 2: Wrap the tail (unfrozen) linesCOMMENT
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs1882 // Step 1: Call record_agent_write (what the tool SHOULD do)COMMENT
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs1897 // Step 2: Simulate fs_notify firing for the same contentCOMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs136 // Step 1: hide any `${VAR<modifier>...}` substring from shellexpand byCOMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs143 // Step 2: run shellexpand on the (possibly) masked input.COMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs152 // Step 3: restore the sentinels back to `${`. Because the sentinel isCOMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1011 // Step 1: get a signed GET URL from the proxy.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1047 // Step 2: fetch the object via the signed URL, streaming to dest.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1489 // Step 1: Initialize multipart upload session (now with file_size for signed URLs)COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1520 // Step 2: Upload parts - either direct to GCS or through proxyCOMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1548 // Step 3: Complete the multipart upload by sending all parts to serverCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager.rs1730 /// Step 2: take the exclusive `auth.json` file lock. On timeout, wait thenCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager_tests.rs375 // Step 1: login as teamCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager_tests.rs384 // Step 2: login as personalCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs337 // Step 2: flock(LOCK_EX | LOCK_NB)COMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs341 // Step 3: write holder info, then verify same inode.COMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs318 // Step 1: open (create if missing) auth.json.lockCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs384 // Step 4: EWOULDBLOCK — lock is held by someone else.COMMENT
LOW…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2321 // Step 1: try to extract the envelope (method + raw params).COMMENT
LOW…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2331 // Step 2: parse the discriminant and relevant payload fields in one pass.COMMENT
LOW…s/codegen/xai-grok-shell/src/session/storage/search.rs964 // Step 1: Peek at envelope to get method + raw paramsCOMMENT
LOW…s/codegen/xai-grok-shell/src/session/storage/search.rs974 // Step 2: Peek at the sessionUpdate discriminant tag.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1089 // Step 1: Write + canonicalize the file path BEFORE indexing.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1110 // Step 2: Start watcher AFTER indexing so the Remove event for theCOMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1129 // Step 3: Confirm content is found before deletion.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1139 // Step 4: Delete the file — the OS will fire a Remove event.COMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs81 // Step 1: When the body nears the 50 MB ceiling, evict oldestCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs94 // Step 2: Prune old tool results if context is > 50% utilizedCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs99 // Step 3: Inject memory reminder into the system messageCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs127 // Step 4: Assemble requestCOMMENT
LOW…/src/implementations/grok_build_hashline/edit/apply.rs1789 // Step 1: edit fails (anchor at line 5 now has different content).COMMENT
LOW…/src/implementations/grok_build_hashline/edit/apply.rs1797 // Step 2: recovery MUST find the shifted line (chunk alignment preserved).COMMENT
LOW…/src/implementations/grok_build_hashline/edit/apply.rs1807 // Step 3: retry with the shifted anchor MUST succeed.COMMENT
LOW…odegen/xai-grok-tools/src/implementations/lsp/tests.rs792 // Step 1: tool edits file -> fire-and-forget notify (returns immediately).COMMENT
LOW…odegen/xai-grok-tools/src/implementations/lsp/tests.rs798 // Step 2: (simulated) other tools run... time passes... LSP server responds.COMMENT
LOW…odegen/xai-grok-tools/src/implementations/lsp/tests.rs820 // Step 4: the injected user message the model sees.COMMENT
LOW…odegen/xai-grok-tools/src/implementations/lsp/tests.rs825 // Step 5: .py has no server — notify is a no-op.COMMENT
LOW…-grok-tools/src/implementations/grok_build/todo/mod.rs895 // Step 1: replace (merge=false)COMMENT
LOW…-grok-tools/src/implementations/grok_build/todo/mod.rs915 // Step 2: merge (merge=true) — content=null, just status changesCOMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs174 // Step 1: Check/acquire in-memory lock (fast path for same process)COMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs187 // 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
LOWcrates/common/xai-grok-compaction/src/select.rs97 // Step 2: Snap the split forward to a safe boundary.COMMENT
LOWcrates/common/xai-grok-compaction/src/select.rs105 // Step 3: Compute tokens to compact and check the minimum.COMMENT
Structural Annotation Overuse61 hits · 118 pts
SeverityFileLineSnippetContext
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs344 // Step 1: Snapshot the upper.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs356 // Step 2: Create work dir + mount target.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs360 // Step 3: Mount overlay.COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs393 // Step 4: Verify the overlay is readable (files from lower + upper visible).COMMENT
LOW…codegen/xai-fast-worktree/tests/overlay_integration.rs406 // Step 5: Verify writable — writes go to the snapshot upper, not the FUSE lower.COMMENT
LOWcrates/codegen/xai-fast-worktree/src/overlay/detect.rs54 // Step 1: Find overlay mount containing this path.COMMENT
LOWcrates/codegen/xai-fast-worktree/src/overlay/detect.rs63 // Step 2: Verify the lower layer is a FUSE mount.COMMENT
LOWcrates/codegen/xai-fast-worktree/src/overlay/detect.rs72 // Step 3: Verify the upper layer is on btrfs.COMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs110 // Step 1: Snapshot the overlay root (the btrfs subvolume).COMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs127 // Step 2: Create the worktree's overlay work dir (fresh + empty). TheCOMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs133 // Step 3: Write metadata for crash recovery.COMMENT
LOW…ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs137 // Step 4: Mount overlay at dest.COMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2383 // Step 1: Enter on the Enum row → try_enter_picking_enum() firesCOMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2405 // Step 2: Down → preview-navigate to choice 1 (live previewCOMMENT
LOWcrates/codegen/xai-grok-pager/tests/settings_e2e.rs2414 // Step 3: Esc → revert. action_for_enum returns None (no EnumCOMMENT
LOW…degen/xai-grok-pager/src/scrollback/scrollback_pane.rs569 /// NOTE: This method now uses cached data from prepare_layout().COMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs361 // Step 1: Wrap any newly frozen linesCOMMENT
LOW…i-grok-pager/src/scrollback/blocks/markdown_content.rs370 // Step 2: Wrap the tail (unfrozen) linesCOMMENT
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs1882 // Step 1: Call record_agent_write (what the tool SHOULD do)COMMENT
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs1897 // Step 2: Simulate fs_notify firing for the same contentCOMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs136 // Step 1: hide any `${VAR<modifier>...}` substring from shellexpand byCOMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs143 // Step 2: run shellexpand on the (possibly) masked input.COMMENT
LOWcrates/codegen/xai-grok-hooks/src/env_expand.rs152 // Step 3: restore the sentinels back to `${`. Because the sentinel isCOMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1011 // Step 1: get a signed GET URL from the proxy.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1047 // Step 2: fetch the object via the signed URL, streaming to dest.COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1489 // Step 1: Initialize multipart upload session (now with file_size for signed URLs)COMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1520 // Step 2: Upload parts - either direct to GCS or through proxyCOMMENT
LOWcrates/codegen/xai-file-utils/src/storage_client.rs1548 // Step 3: Complete the multipart upload by sending all parts to serverCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager.rs1730 /// Step 2: take the exclusive `auth.json` file lock. On timeout, wait thenCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager_tests.rs375 // Step 1: login as teamCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager_tests.rs384 // Step 2: login as personalCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs337 // Step 2: flock(LOCK_EX | LOCK_NB)COMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs341 // Step 3: write holder info, then verify same inode.COMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs318 // Step 1: open (create if missing) auth.json.lockCOMMENT
LOWcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs384 // Step 4: EWOULDBLOCK — lock is held by someone else.COMMENT
LOW…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2321 // Step 1: try to extract the envelope (method + raw params).COMMENT
LOW…ates/codegen/xai-grok-shell/src/session/storage/mod.rs2331 // Step 2: parse the discriminant and relevant payload fields in one pass.COMMENT
LOW…s/codegen/xai-grok-shell/src/session/storage/search.rs964 // Step 1: Peek at envelope to get method + raw paramsCOMMENT
LOW…s/codegen/xai-grok-shell/src/session/storage/search.rs974 // Step 2: Peek at the sessionUpdate discriminant tag.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1089 // Step 1: Write + canonicalize the file path BEFORE indexing.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1110 // Step 2: Start watcher AFTER indexing so the Remove event for theCOMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1129 // Step 3: Confirm content is found before deletion.COMMENT
LOWcrates/codegen/xai-grok-memory/src/backend.rs1139 // Step 4: Delete the file — the OS will fire a Remove event.COMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs81 // Step 1: When the body nears the 50 MB ceiling, evict oldestCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs94 // Step 2: Prune old tool results if context is > 50% utilizedCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs99 // Step 3: Inject memory reminder into the system messageCOMMENT
LOW…es/codegen/xai-chat-state/src/actor/request_builder.rs127 // Step 4: Assemble requestCOMMENT
LOW…/src/implementations/grok_build_hashline/edit/apply.rs1789 // Step 1: edit fails (anchor at line 5 now has different content).COMMENT
LOW…/src/implementations/grok_build_hashline/edit/apply.rs1797 // Step 2: recovery MUST find the shifted line (chunk alignment preserved).COMMENT
LOW…/src/implementations/grok_build_hashline/edit/apply.rs1807 // Step 3: retry with the shifted anchor MUST succeed.COMMENT
LOW…odegen/xai-grok-tools/src/implementations/lsp/tests.rs792 // Step 1: tool edits file -> fire-and-forget notify (returns immediately).COMMENT
LOW…odegen/xai-grok-tools/src/implementations/lsp/tests.rs820 // Step 4: the injected user message the model sees.COMMENT
LOW…-grok-tools/src/implementations/grok_build/todo/mod.rs895 // Step 1: replace (merge=false)COMMENT
LOW…-grok-tools/src/implementations/grok_build/todo/mod.rs915 // Step 2: merge (merge=true) — content=null, just status changesCOMMENT
LOW…s/codegen/xai-grok-workspace/src/session/file_state.rs660 /// NOTE: This method is similar to `capture_file_state_with_fs`. They are keptCOMMENT
LOW…s/codegen/xai-grok-workspace/src/session/file_state.rs705 /// NOTE: This method is similar to `capture_file_state`. They are kept separateCOMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs174 // Step 1: Check/acquire in-memory lock (fast path for same process)COMMENT
LOWcrates/codegen/xai-codebase-graph/src/manager/lock.rs187 // 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
LOWcrates/common/xai-grok-compaction/src/select.rs97 // Step 2: Snap the split forward to a safe boundary.COMMENT
1 more matches not shown…
AI Slop Vocabulary38 hits · 114 pts
SeverityFileLineSnippetContext
MEDIUM…codegen/xai-fast-worktree/tests/overlay_integration.rs905 // the source's "work" (read from mountinfo — robust to the wt_base layout).COMMENT
MEDIUMcrates/codegen/xai-grok-pager/Cargo.toml173# In-process leader-cluster harness (mock inference server; no cycle:COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/settings_e2e.rs4758 // hardcoding — robust against future catalog additions.COMMENT
MEDIUMcrates/codegen/xai-grok-pager/tests/settings_e2e.rs5136 // hardcoding it — robust against future catalog reordering.COMMENT
MEDIUM…i-grok-pager/tests/scenarios/path_space_hyperlink.yaml12# PTY stream (default harness brand is Unknown and skips OSC 8).COMMENT
MEDIUM…/tests/pty_e2e/trackpad_flood_does_not_under_travel.rs26// travel is then classification- and jitter-robust:COMMENT
MEDIUM…inimal/minimal_new_session_keeps_history_and_resets.rs12/// *native scrollback* before `/new`. The robust "new session" signal is thenCOMMENT
MEDIUM…_e2e/minimal/minimal_short_response_stays_on_screen.rs11/// Discriminating signals (all robust to how the emulator pads blank rows):COMMENT
MEDIUM…_e2e/minimal/minimal_short_response_stays_on_screen.rs61 // on the focused prompt, so its row is the robust signal: bottom-pin putsCOMMENT
MEDIUM…egen/xai-grok-pager/src/app/dispatch/tests/settings.rs3111/// the test robust to environment differences.COMMENT
MEDIUM…s/codegen/xai-grok-pager/src/app/leader_cluster/mod.rs17//! The scenarios are `#[ignore]`d in the shared lib test binary: the harnessCOMMENT
MEDIUM…es/codegen/xai-grok-pager/src/views/permission_view.rs2931 #[ignore = "manual review harness; run with PERMISSION_UI_RENDER_REVIEW=1 --ignored --nocapture"]COMMENT
MEDIUMcrates/codegen/xai-grok-pager/src/views/goal_detail.rs1640 // far short. Banded (not exact) to stay parity-robust.COMMENT
MEDIUM…s/codegen/xai-grok-pager/src/views/dashboard/render.rs7568 // Bounding to the label keeps this robust whether or not a branch isCOMMENT
MEDIUM…/codegen/xai-grok-pager/src/views/prompt_widget/mod.rs2638 /// Identity-based pairing is robust against the two ways theCOMMENT
MEDIUM…ates/codegen/xai-grok-markdown/src/latex_delimiters.rs416 /// Definitely not a fence marker here.COMMENT
MEDIUMcrates/codegen/xai-grok-markdown/src/output.rs208 // inclusive last body source line, robust to a trailing newline.COMMENT
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-pager-pty-harness/Cargo.toml79# Lives here (not in the pager crate) so it can share the harness sourceCOMMENT
MEDIUM…grok-pager-pty-harness/src/scroll_matrix/invariants.rs773 #[should_panic(expected = "harness-side")]COMMENT
MEDIUM…ager-pty-harness/src/scenarios/plan_approval_resume.rs177/// field (robust to schema growth) rather than depend on the heavy shell crateCOMMENT
MEDIUMcrates/codegen/xai-grok-shell/Cargo.toml11# Session synthesis + in-process e2e harness (`session::testkit`) for soak,COMMENT
MEDIUMcrates/codegen/xai-grok-shell/src/config/watcher.rs354/// the explicit refresh button. A robust fix (re-attempt on parent-COMMENT
MEDIUMcrates/codegen/xai-grok-shell/src/auth/flow.rs688 // xAI OAuth2 also defaults to loopback; the device flow (robust onCOMMENT
MEDIUMcrates/codegen/xai-grok-shell/src/auth/manager/lock.rs4//! Uses flock + PID-in-file + unlink-to-break for robust stale-lockCOMMENT
MEDIUM…tes/codegen/xai-grok-shell/src/session/goal_tracker.rs1274 /// value. Drives the (skip-robust) strategist trigger. No-op (returnsCOMMENT
MEDIUM…/codegen/xai-grok-shell/src/session/goal_role_tools.rs284 /// `{TOOLSET_TOOLS}` token (robust to new tool placeholders, unlike a fixedCOMMENT
MEDIUM…src/session/acp_session_tests/reminder_policy_tests.rs14/// 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.rs1233 // keep it well clear of that floor to stay robust under load.COMMENT
MEDIUMcrates/codegen/xai-grok-workspace/src/handle.rs6129 /// Counters are monotonic, so `after > before` is robust despite theCOMMENT
MEDIUMcrates/codegen/xai-grok-workspace/src/trust.rs684 // `persist_failure_leaves_memory_unchanged`, robust even when run as root).COMMENT
MEDIUMcrates/codegen/xai-grok-workspace/src/trust.rs1256 // robust even when tests run as root (a chmod 0o500 dir would beCOMMENT
MEDIUM…egen/xai-grok-workspace/src/permission/shell_access.rs574/// are the robust catch-all (caught via the AST for any program).COMMENT
MEDIUM…s/codegen/xai-grok-workspace/src/session/checkpoint.rs637 /// an open FS checkpoint (flag on). Counters are monotonic, so `after > before` is robust.COMMENT
MEDIUMcrates/codegen/xai-grok-sampler/Cargo.toml35# `TcpListener::bind` in the mock server harness.COMMENT
MEDIUMcrates/codegen/xai-grok-pager-render/src/link_opener.rs259/// Uses the `url` crate for robust scheme extraction. Falls back toCOMMENT
MEDIUM…ates/codegen/xai-grok-shared/src/placeholder_images.rs610 // dedup is robust against non-canonical `file://` URIs from theCOMMENT
Fake / Example Data81 hits · 82 pts
SeverityFileLineSnippetContext
LOW…gen/xai-grok-pager/docs/user-guide/05-configuration.md198auth_provider_label = "Acme Corp"CODE
LOW…gen/xai-grok-pager/docs/user-guide/05-configuration.md563auth_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.md207| `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.md369auth_provider_label = "Acme Corp"CODE
LOWcrates/codegen/xai-grok-pager/benches/render.rs280 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOWcrates/codegen/xai-grok-pager/benches/render.rs280 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOWcrates/codegen/xai-grok-pager/benches/search.rs31 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOWcrates/codegen/xai-grok-pager/benches/search.rs31 let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \CODE
LOWcrates/codegen/xai-grok-pager/src/app/subscription.rs294 app.team_name = Some("Acme Corp".into());CODE
LOWcrates/codegen/xai-grok-pager/src/app/subscription.rs402 app.team_name = Some("Acme Corp".into());CODE
LOWcrates/codegen/xai-grok-pager/src/app/app_view.rs1056 /// Login button label from `AuthMethod.name` (e.g., "grok.com", "Acme Corp").COMMENT
LOWcrates/codegen/xai-grok-pager/src/app/app_view.rs7305 team_name: Some("Acme Corp".into()),CODE
LOWcrates/codegen/xai-grok-pager/src/app/app_view.rs7463 team_name: Some("Acme Corp".into()),CODE
LOW…degen/xai-grok-pager/src/app/dispatch/tests/billing.rs563 team_name: Some("Acme Corp".into()),CODE
LOW…s/codegen/xai-grok-pager/src/app/dispatch/tests/mod.rs556 session_id: Some("placeholder".into()),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2417 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2417 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2418 description: "Lorem ipsum dolor sit ame".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2423 label: "Lorem ipsum dolor sit amet elit sed tempor".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2423 label: "Lorem ipsum dolor sit amet elit sed tempor".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2424 description: "Lorem ipsum dolor sit amet elit s".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2424 description: "Lorem ipsum dolor sit amet elit s".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2436 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2436 label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2437 description: "Lorem ipsum dolor sit amet, consectetur adipiscing.".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2437 description: "Lorem ipsum dolor sit amet, consectetur adipiscing.".into(),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2464 text.contains("Lorem ipsum dolor sit amet consectetur adipiscing!"),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2464 text.contains("Lorem ipsum dolor sit amet consectetur adipiscing!"),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2468 text.contains("Lorem ipsum dolor sit amet, consectetur"),CODE
LOW…ates/codegen/xai-grok-pager/src/views/question_view.rs2468 text.contains("Lorem ipsum dolor sit amet, consectetur"),CODE
LOW…odegen/xai-grok-pager/src/views/prompt_widget/tests.rs843 let text = "lorem ipsum dolor\n".repeat(2000); // ~36 KB across 2000 linesCODE
LOWcrates/codegen/xai-grok-pager/src/acp/mod.rs75 /// Login button label from `AuthMethod.name` (e.g., "grok.com", "Acme Corp").COMMENT
LOWcrates/codegen/xai-grok-pager/src/acp/mod.rs916 let methods = vec![make_auth_method("grok.com", "Acme Corp", Some(meta))];CODE
LOWcrates/codegen/xai-grok-pager/src/acp/mod.rs919 assert_eq!(label.as_deref(), Some("Acme Corp"));CODE
LOWcrates/codegen/xai-grok-markdown/src/render.rs1463 assert_eq!(words("555-0101"), vec!["[555-|]", "[0101|]"]);CODE
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs40 git(&working_dir, &["config", "user.email", "test@test.com"]);CODE
LOWcrates/codegen/xai-hunk-tracker/src/actor/tests.rs5443 git(wd, &["config", "user.email", "test@test.com"]);CODE
LOW…-grok-pager-pty-harness/src/scenarios/scroll_stress.rs30 // The response is `Lorem ipsum dolor ...` — look for a word we knowCOMMENT
LOW…-grok-pager-pty-harness/src/scenarios/scroll_stress.rs61 "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.rs61 "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
LOWcrates/codegen/xai-grok-shell/README.md229export GROK_AUTH_PROVIDER_LABEL="Acme Corp" # optionalCODE
LOWcrates/codegen/xai-grok-shell/README.md1521auth_provider_label = "Acme Corp"CODE
LOW…tes/codegen/xai-grok-shell/tests/git_contention_e2e.rs98 git(wd, &["config", "user.email", "test@test.com"]);CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py870 sections.append(f"## Section {i}\n\n{'Lorem ipsum dolor sit amet. ' * 50}\n")CODE
LOW…n/xai-grok-shell/tests/memory_integration/run_tests.py870 sections.append(f"## Section {i}\n\n{'Lorem ipsum dolor sit amet. ' * 50}\n")CODE
LOWcrates/codegen/xai-grok-shell/src/util/user_identity.rs529 assert_eq!(resolved.email.as_deref(), Some("admin@example.com"));CODE
LOWcrates/codegen/xai-grok-shell/src/config/reloader.rs544 email: Some("test@test.com".to_string()),CODE
LOWcrates/codegen/xai-grok-shell/src/auth/manager_tests.rs2955 email: Some("user@example.com".into()),CODE
LOWcrates/codegen/xai-grok-shell/src/agent/auth_method.rs734 login_label: Some("Acme Corp"),CODE
LOWcrates/codegen/xai-grok-shell/src/agent/auth_method.rs744 assert_eq!(grok.name(), "Acme Corp");CODE
LOW…es/codegen/xai-grok-shell/src/agent/mvp_agent/tests.rs2726 email: Some("user@example.com".into()),CODE
LOW…es/codegen/xai-grok-shell/src/agent/mvp_agent/tests.rs2742 assert_eq!(info["email"], "user@example.com");CODE
LOW…es/codegen/xai-grok-shell/src/session/worktree_pool.rs1872 .args(["config", "user.email", "test@test.com"])CODE
LOWcrates/codegen/xai-grok-shell/src/session/worktree.rs937 .args(["config", "user.email", "test@test.com"])CODE
LOW…session/acp_session_tests/auth_error_no_retry_tests.rs1338 "placeholder".to_string(),CODE
LOW…session/acp_session_tests/auth_error_no_retry_tests.rs1432 "placeholder".to_string(),CODE
LOW…degen/xai-grok-shell/src/session/storage/search_fts.rs968 .insert_doc_if_absent(&test_doc("s1", "placeholder", ""))CODE
21 more matches not shown…
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ates/codegen/xai-grok-shell/src/session/acp_session.rs547 /// The tool name as requested by the model.COMMENT
HIGHcrates/codegen/xai-grok-shell/src/session/commands.rs699 /// Request an AI-generated shell command suggestion.COMMENT
Hyper-Verbose Identifiers30 hits · 13 pts
SeverityFileLineSnippetContext
LOW…tes/codegen/xai-grok-pager/npm/grok/bin/postinstall.js47function 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.rs510 override lazy val raw: Growable[Raw] = ??? // TODO: implement\n \CODE
LOWcrates/codegen/xai-grok-markdown/benches/bench.rs538 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.rs60 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