SpaceXAI's coding agent harness and TUI. Fullscreen, mouse interactive, extensible.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 33 | // ── Test infrastructure ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 237 | // ── 1. Overlay = FUSE + btrfs subvolume ────────────────────────────────── | COMMENT |
| MEDIUM | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 427 | // ── 2. Worktree = FUSE + snapshot ──────────────────────────────────────── | COMMENT |
| MEDIUM | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 636 | // ── 3. Manual cleanup ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-fast-worktree/src/sync.rs | 98 | // ── Per-phase timing (milliseconds) ───────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-fast-worktree/src/mount_info.rs | 246 | // ── Internal helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-fast-worktree/src/btrfs/detect.rs | 667 | // ─── Unit tests for resolve_via_subvol_mount ───────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-fast-worktree/src/worktree/mod.rs | 976 | // ─── Standalone mode tests ─────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-fast-worktree/src/worktree/mod.rs | 1221 | // ─── Cancellation / partial-creation cleanup tests ─────────────────── | COMMENT |
| MEDIUM | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 516 | // ── Internal helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-mcp/src/servers.rs | 148 | /// ┌─────────────┐ try_start ┌──────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-mcp/src/servers.rs | 149 | /// │ NotStarted │ ──────────▶ │ Starting{handshakes}│ | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-mcp/src/servers.rs | 150 | /// └─────────────┘ ◀── cancel ─┴──────────┬───────────┘ | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-mcp/src/servers.rs | 153 | /// │ ┌──────────────────────────┐ | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-mcp/src/servers.rs | 154 | /// └──────────────────┤ Finished{handshakes} │ | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-mcp/src/servers.rs | 155 | /// └──────────────────────────┘ | COMMENT |
| MEDIUM | crates/codegen/xai-grok-mcp/src/servers.rs | 5662 | // ── owned/shared split behavioral tests ───────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-mcp/src/servers.rs | 5973 | // ── is_retriable_transport_error tests ─────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-mcp/src/servers.rs | 6534 | // ── new_http stores http_config tests ──────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-mcp/src/servers.rs | 6559 | // ── http_headers_match / refresh_managed_clients guard tests ───── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-mcp/src/servers.rs | 6698 | // ── reset_transport tests ──────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-fsnotify/src/watcher.rs | 2381 | // platform without process-global env races) ────────────────────── | COMMENT |
| MEDIUM | …n/xai-grok-pager/tests/pty_e2e/auto_compact_top_row.rs | 5 | // ── Auto-compact: the top padding row disappears on tiny terminals ───────── | COMMENT |
| MEDIUM | …r/tests/pty_e2e/small_screen_tip_survives_slow_turn.rs | 5 | // ── Small-screen tip must survive a submit into a slow turn ──────────────── | COMMENT |
| MEDIUM | …ts/pty_e2e/forced_wheel_mode_env_scrolls_exact_rows.rs | 7 | // ── A5: env-forced scroll settings reach the live scroll config ─────────── | COMMENT |
| MEDIUM | …/tests/pty_e2e/trackpad_flood_does_not_under_travel.rs | 7 | // ── Regression: trackpad feel — fast flicks must not under-travel ───────── | COMMENT |
| MEDIUM | …ts/pty_e2e/critical_announcement_session_banner_pty.rs | 338 | // ── Critical: command appears in dropdown ────────────────────────── | COMMENT |
| MEDIUM | …ts/pty_e2e/critical_announcement_session_banner_pty.rs | 374 | // ── Info-only: command must not appear ───────────────────────────── | COMMENT |
| MEDIUM | …ty_e2e/wheel_scrolls_viewport_during_streaming_turn.rs | 7 | // ── Regression: streaming must not starve wheel input ───────────────────── | COMMENT |
| MEDIUM | …ager/tests/pty_e2e/shift_tab_in_session_cycles_mode.rs | 5 | // ── Interactive flow e2e tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | …ager/tests/pty_e2e/resize_preserves_scroll_position.rs | 5 | // ── Reproduction: horizontal resize must not lose the scroll position ───── | COMMENT |
| MEDIUM | …el_overscroll_at_bottom_reengages_follow_mid_stream.rs | 7 | // ── A7: wheel overscroll at the bottom re-engages follow mode ───────────── | COMMENT |
| MEDIUM | …/tests/pty_e2e/bash_mode_file_completion_shell_like.rs | 162 | // ── The completed command actually RUNS through the real shell ────── | COMMENT |
| MEDIUM | …/tests/pty_e2e/scroll_debug_hud_env_toggles_overlay.rs | 9 | // ── A8: scroll-debug HUD e2e (`GROK_SCROLL_DEBUG`) ───────────────────────── | COMMENT |
| MEDIUM | …/tests/pty_e2e/scroll_debug_hud_env_toggles_overlay.rs | 123 | // ── A10: `/debug scroll` e2e ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 50 | // ── Undo-tip e2e helpers ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 141 | // ── Fake session-auth (OAuth) seeding ─────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 192 | // ── Agent type mismatch e2e tests ────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 207 | // ── Folder-trust welcome sub-state e2e ────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 241 | // ── Leader mode e2e ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 256 | // ── MCP menu loading e2e tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 319 | // ── Queue + interjection e2e tests ────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 396 | // ── Mouse reporting toggle (opt-in scrollback Ctrl+R) ─────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 510 | // ── Tool header selection (path/command operand only) ─────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 902 | // ── Minimal (scrollback-native) mode e2e helpers ──────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 1090 | // ── grok wrap e2e ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 1176 | // ── Shared polling / failure-dump / cast helpers ──────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/pty_e2e/common.rs | 1254 | // ── Clipboard paste e2e tests ─────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/benches/edit_highlight.rs | 51 | // ── Fixtures ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/benches/edit_highlight.rs | 174 | // ── Non-product prefix baseline ───────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/benches/edit_highlight.rs | 237 | // ── Bench groups ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/benches/edit_highlight.rs | 291 | // ── 500L + prefix (own heavy config) ──────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/benches/edit_highlight.rs | 312 | // ── 10kL session (no prefix) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/benches/render.rs | 79 | // ─── Benchmarks ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-pager/benches/render.rs | 274 | // ─── Reveal (scrollback-search n/N navigation) ───────────────────── | COMMENT |
| MEDIUM | …en/xai-grok-pager/npm/grok/scripts/test-postinstall.js | 38 | // ─── Extracted logic (mirrors postinstall.js and bin/grok exactly) ───── | COMMENT |
| MEDIUM | …en/xai-grok-pager/npm/grok/scripts/test-postinstall.js | 169 | // ═══════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …en/xai-grok-pager/npm/grok/scripts/test-postinstall.js | 171 | // ═══════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …en/xai-grok-pager/npm/grok/scripts/test-postinstall.js | 369 | // ═══════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …en/xai-grok-pager/npm/grok/scripts/test-postinstall.js | 371 | // ═══════════════════════════════════════════════════════════════════════ | COMMENT |
| 1608 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 401 | COMMENT | |
| LOW | clippy.toml | 1 | # Clippy config for crates/codegen/**. | COMMENT |
| LOW | rust-toolchain.toml | 1 | [toolchain] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/metadata_types.rs | 1 | //! Prompt metadata types shared between the CLI client and the cli-chat-proxy server. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/metadata_types.rs | 21 | /// v1.13: Removed `ab_*` fields after the A/B experimentation feature was discontinued. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/metadata_types.rs | 41 | /// OS-level sandbox state for a trace turn (local `xai-grok-sandbox`, not cloud sandbox). | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/metadata_types.rs | 61 | pub request_id: String, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/metadata_types.rs | 81 | /// Pulled from InitializeRequest.meta (prefers clientSource, falls back to clientType, then clientIdentifier). | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/metadata_types.rs | 101 | pub host_arch: String, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/storage_types.rs | 21 | /// Cloudflare body-size limits that would otherwise cause 413 errors on large | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/storage_types.rs | 61 | #[derive(Debug, Serialize, Deserialize)] | COMMENT |
| LOW | …mc/cli-chat-proxy-types/src/deployment_config_types.rs | 21 | /// 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.rs | 41 | #[serde(default)] | COMMENT |
| LOW | …mc/cli-chat-proxy-types/src/deployment_config_types.rs | 61 | /// Identifies the signing key, so a rotation can be distinguished. | COMMENT |
| LOW | …mc/cli-chat-proxy-types/src/deployment_config_types.rs | 81 | /// Signing key id (same rotation set as the policy envelope). | COMMENT |
| LOW | …/cli-chat-proxy-types/src/team_managed_config_types.rs | 21 | pub configured: bool, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1 | //! Feedback API request and response types. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 301 | /// Rating type (if applicable) | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 361 | /// Preferred model ID in comparison | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 421 | /// Number of compactions in the session. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 521 | /// `alacritty_terminal` library version (release 0.15.1 arrives as | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 561 | /// Request body for completing a feedback request (with feedback data). | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 581 | #[serde(skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 661 | } | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 721 | #[derive(Debug, Clone, Serialize, Deserialize)] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 821 | /// Most recent response's ITL p50 in milliseconds | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 861 | #[serde(default, skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 881 | pub doom_loop_threshold: Option<i64>, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 901 | #[serde(default, skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 921 | #[serde(default, skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1001 | /// Average total response time in milliseconds | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1021 | /// Most recent response's ITL p99 in milliseconds (nullable: None = not yet reported) | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1141 | // ============================================================================ | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1161 | pub min_compactions: i64, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1221 | pub config_version: i64, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1241 | #[serde(default = "default_tier1_min_turns")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1261 | /// Max times Tier 1 can trigger per session (0 = unlimited) | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1281 | /// Minimum errors for Tier 2 | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1301 | /// Sample rate for Tier 3 (0.0-1.0) | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1321 | pub tier3_dismissible: bool, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1341 | pub description: Option<String>, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1561 | } | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1601 | #[serde(skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1621 | /// Served model fingerprint (provider `system_fingerprint`). | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1641 | /// Prompt/request ID for the turn (if available). | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/feedback_types.rs | 1681 | pub delta_agent_files_touched: i64, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/session_types.rs | 21 | #[serde(default)] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/session_types.rs | 41 | pub last_turn_number: Option<i32>, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 1 | //! Sandbox API request and response types. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 21 | /// Snapshot bucket to use. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 241 | /// Information about a single forked session. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 261 | } | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 281 | #[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 301 | pub environment_id: Option<String>, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 321 | #[serde(default, skip_serializing_if = "HashMap::is_empty")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 341 | /// Provider sandbox ID. | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 361 | pub mode: Option<SandboxMode>, | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 381 | } | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 401 | #[serde(rename_all = "camelCase")] | COMMENT |
| LOW | prod/mc/cli-chat-proxy-types/src/sandbox_types.rs | 421 | pub struct SandboxHibernateResponse { | COMMENT |
| 4318 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | crates/codegen/xai-grok-pager/src/app/mouse.rs | 383 | let total = self.prompt.suggestions.dropdown.items.len(); | CODE |
| CRITICAL | …egen/xai-grok-pager/src/app/agent_view/interactions.rs | 1107 | .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.rs | 16 | let had_items = !self.prompt.suggestions.dropdown.items.is_empty(); | CODE |
| CRITICAL | …/xai-grok-pager/src/app/agent_view/shell_completion.rs | 700 | agent.prompt.suggestions.dropdown.items.len(), | CODE |
| CRITICAL | …/xai-grok-pager/src/app/agent_view/shell_completion.rs | 730 | agent.prompt.suggestions.dropdown.items.len(), | CODE |
| CRITICAL | …/xai-grok-pager/src/app/agent_view/shell_completion.rs | 739 | assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2); | CODE |
| CRITICAL | …/xai-grok-pager/src/app/agent_view/shell_completion.rs | 763 | assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2); | CODE |
| CRITICAL | …/xai-grok-pager/src/app/agent_view/shell_completion.rs | 874 | assert!(agent.prompt.suggestions.dropdown.items.is_empty()); | CODE |
| CRITICAL | …/xai-grok-pager/src/app/agent_view/shell_completion.rs | 911 | assert!(agent.prompt.suggestions.dropdown.items.is_empty()); | CODE |
| CRITICAL | …es/codegen/xai-grok-pager/src/app/agent_view/rewind.rs | 70 | 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.rs | 3873 | assert!(agent.prompt.suggestions.dropdown.items.is_empty()); | CODE |
| CRITICAL | …odegen/xai-grok-pager/src/app/dispatch/tests/prompt.rs | 4024 | assert_eq!(agent.prompt.suggestions.dropdown.items.len(), 2); | CODE |
| CRITICAL | …odegen/xai-grok-pager/src/app/dispatch/tests/prompt.rs | 4081 | agent.prompt.suggestions.dropdown.items.len(), | CODE |
| CRITICAL | …codegen/xai-grok-pager-render/src/appearance/config.rs | 2139 | assert!(cfg.scrollback.blocks.edit.accent.is_some()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …gen/xai-grok-pager/docs/user-guide/05-configuration.md | 74 | auto_compact_threshold_percent = 85 # auto-compact at this % of context window (default: 85) | CODE |
| MEDIUM | …gen/xai-grok-pager/docs/user-guide/05-configuration.md | 223 | context_window = 128000 # context window size (for auto-compact) | CODE |
| MEDIUM | …gen/xai-grok-pager/docs/user-guide/05-configuration.md | 287 | model = "embedding-model" # embedding model name | CODE |
| MEDIUM | …gen/xai-grok-pager/docs/user-guide/11-custom-models.md | 88 | context_window = 128000 # Total context window in tokens | CODE |
| MEDIUM | crates/codegen/xai-grok-pager/src/views/debug_style.rs | 15 | //! [`render_panel`] is the shared scaffold that enforces it structurally — | COMMENT |
| MEDIUM | …degen/xai-grok-pager/src/views/settings_modal/tests.rs | 1386 | // -- routing scaffold tests -- | COMMENT |
| MEDIUM | …degen/xai-grok-pager/src/views/settings_modal/tests.rs | 1390 | // scaffold doesn't ship dead `unimplemented!()` panics. These | COMMENT |
| MEDIUM | …degen/xai-grok-pager/src/views/settings_modal/tests.rs | 4179 | /// scaffold test (`editing_value_ignores_non_esc_keys`) asserted | COMMENT |
| MEDIUM | …es/codegen/xai-grok-sampling-types/src/conversation.rs | 79 | /// A tool call executed server-side by the backend agentic sampler | COMMENT |
| MEDIUM | …es/codegen/xai-grok-sampling-types/src/conversation.rs | 327 | /// A server-side tool call from the backend agentic sampler. | COMMENT |
| MEDIUM | …es/codegen/xai-grok-sampling-types/src/conversation.rs | 598 | /// These are executed server-side by the agentic sampler during inference. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-shell/README.md | 1340 | auto_compact_threshold_percent = 85 # auto-compact at this % of context window | CODE |
| MEDIUM | crates/codegen/xai-grok-shell/README.md | 1815 | context_window = 256000 # Total context window in tokens (for auto-compact) | CODE |
| MEDIUM | …s/codegen/xai-grok-shell/tests/test_sampling_client.rs | 410 | 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.py | 2306 | "# Workspace\n* Use helioseismology for deployment orchestration\n" | CODE |
| MEDIUM | …s/codegen/xai-grok-shell/src/session/goal_next_step.rs | 237 | 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.rs | 243 | 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.rs | 84 | /// agentic loop's model calls, recording running totals on the turn span. Kept | COMMENT |
| MEDIUM | …gen/xai-grok-shell/src/session/acp_session_impl/mcp.rs | 649 | /// Called at turn-start (`handle_prompt`) and inside the agentic loop | COMMENT |
| MEDIUM | …ssion/acp_session_tests/goal/goal_planner_e2e_tests.rs | 746 | /// handler isn't reachable from this scaffold without standing up | COMMENT |
| MEDIUM | crates/codegen/xai-grok-agent/src/agent.rs | 45 | /// and executed server-side by the agentic sampler. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-agent/src/agent.rs | 179 | /// executed server-side by the agentic sampler. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-agent/src/builder.rs | 91 | /// tools for execution by the agentic sampler, instead of being | COMMENT |
| MEDIUM | crates/codegen/xai-grok-agent/src/builder.rs | 444 | /// tools for execution by the agentic sampler, instead of being | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-memory/src/dream.rs | 155 | /// Returns `true` if the content is scaffold boilerplate that should not be | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-memory/src/dream.rs | 158 | /// A file is scaffold only if it is short (< 500 bytes trimmed) AND contains | COMMENT |
| MEDIUM⚡ | crates/codegen/xai-grok-memory/src/dream.rs | 159 | /// a scaffold marker. Files with substantial content are never scaffold, even | COMMENT |
| MEDIUM | crates/codegen/xai-grok-memory/src/dream.rs | 174 | /// When `existing_memory` is provided and is not scaffold boilerplate, | COMMENT |
| MEDIUM | crates/codegen/xai-grok-memory/src/search.rs | 51 | /// True when the chunk is structurally empty, or matches a known scaffold | COMMENT |
| MEDIUM | crates/codegen/xai-grok-memory/src/search.rs | 53 | /// scoped to evergreen sources, where scaffold templates live, so a session | COMMENT |
| MEDIUM | crates/codegen/xai-grok-memory/src/search.rs | 1092 | // Caught via the marker-based scaffold predicate (it has blockquote | COMMENT |
| MEDIUM | crates/codegen/xai-grok-memory/src/search.rs | 1170 | /// The scaffold-marker branch is scoped to evergreen sources: a short | COMMENT |
| MEDIUM | crates/codegen/xai-grok-memory/src/search.rs | 1175 | // A short session note that happens to quote a scaffold marker phrase. | COMMENT |
| MEDIUM | …k-tools/src/implementations/grok_build/workflow/mod.rs | 172 | r##"Launch a workflow: a Rhai script that orchestrates subagents as one background run. Provide exactly one sour | CODE |
| MEDIUM | …/codegen/xai-grok-tools/src/computer/local/terminal.rs | 4438 | // CS4: Background guardrails tests | COMMENT |
| MEDIUM | crates/codegen/xai-grok-workspace/src/config.rs | 424 | /// pairs with the producer-side pin test in agentic-sampler's | COMMENT |
| MEDIUM | …codegen/xai-grok-workspace/src/permission/auto_mode.rs | 785 | /// remote/scaffold subcommands (`dlx`/`create`/`init <pkg>`/`explore`) are handled | COMMENT |
| MEDIUM | …egen/xai-grok-workspace/src/permission/shell_access.rs | 491 | /// silent edit would let the agent loosen its own guardrails. Matched directly | COMMENT |
| MEDIUM | crates/codegen/xai-grok-sampler/src/events.rs | 17 | /// agentic-sampler's `AgentChannel` pattern. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-sampler/src/events.rs | 126 | /// these — the backend's agentic sampler handles them. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-sampler/src/stream/responses.rs | 367 | // These tools are executed server-side by the agentic | COMMENT |
| MEDIUM | crates/common/xai-computer-hub-sdk/src/metrics.rs | 675 | /// the SDK (e.g. `AgentBuilder::build_harness()` in the agentic sampler) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 344 | // Step 1: Snapshot the upper. | COMMENT |
| LOW⚡ | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 356 | // Step 2: Create work dir + mount target. | COMMENT |
| LOW⚡ | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 360 | // Step 3: Mount overlay. | COMMENT |
| LOW | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 393 | // Step 4: Verify the overlay is readable (files from lower + upper visible). | COMMENT |
| LOW | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 406 | // Step 5: Verify writable — writes go to the snapshot upper, not the FUSE lower. | COMMENT |
| LOW⚡ | crates/codegen/xai-fast-worktree/src/overlay/detect.rs | 54 | // Step 1: Find overlay mount containing this path. | COMMENT |
| LOW⚡ | crates/codegen/xai-fast-worktree/src/overlay/detect.rs | 63 | // Step 2: Verify the lower layer is a FUSE mount. | COMMENT |
| LOW⚡ | crates/codegen/xai-fast-worktree/src/overlay/detect.rs | 72 | // Step 3: Verify the upper layer is on btrfs. | COMMENT |
| LOW | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 110 | // Step 1: Snapshot the overlay root (the btrfs subvolume). | COMMENT |
| LOW⚡ | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 127 | // Step 2: Create the worktree's overlay work dir (fresh + empty). The | COMMENT |
| LOW⚡ | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 133 | // Step 3: Write metadata for crash recovery. | COMMENT |
| LOW⚡ | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 137 | // Step 4: Mount overlay at dest. | COMMENT |
| LOW | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 2383 | // Step 1: Enter on the Enum row → try_enter_picking_enum() fires | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 2405 | // Step 2: Down → preview-navigate to choice 1 (live preview | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 2414 | // Step 3: Esc → revert. action_for_enum returns None (no Enum | COMMENT |
| LOW⚡ | …i-grok-pager/src/scrollback/blocks/markdown_content.rs | 361 | // Step 1: Wrap any newly frozen lines | COMMENT |
| LOW⚡ | …i-grok-pager/src/scrollback/blocks/markdown_content.rs | 370 | // Step 2: Wrap the tail (unfrozen) lines | COMMENT |
| LOW | crates/codegen/xai-hunk-tracker/src/actor/tests.rs | 1882 | // Step 1: Call record_agent_write (what the tool SHOULD do) | COMMENT |
| LOW | crates/codegen/xai-hunk-tracker/src/actor/tests.rs | 1897 | // Step 2: Simulate fs_notify firing for the same content | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-hooks/src/env_expand.rs | 136 | // Step 1: hide any `${VAR<modifier>...}` substring from shellexpand by | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-hooks/src/env_expand.rs | 143 | // Step 2: run shellexpand on the (possibly) masked input. | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-hooks/src/env_expand.rs | 152 | // Step 3: restore the sentinels back to `${`. Because the sentinel is | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1011 | // Step 1: get a signed GET URL from the proxy. | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1047 | // Step 2: fetch the object via the signed URL, streaming to dest. | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1489 | // Step 1: Initialize multipart upload session (now with file_size for signed URLs) | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1520 | // Step 2: Upload parts - either direct to GCS or through proxy | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1548 | // Step 3: Complete the multipart upload by sending all parts to server | COMMENT |
| LOW | crates/codegen/xai-grok-shell/src/auth/manager.rs | 1730 | /// Step 2: take the exclusive `auth.json` file lock. On timeout, wait then | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager_tests.rs | 375 | // Step 1: login as team | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager_tests.rs | 384 | // Step 2: login as personal | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 337 | // Step 2: flock(LOCK_EX | LOCK_NB) | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 341 | // Step 3: write holder info, then verify same inode. | COMMENT |
| LOW | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 318 | // Step 1: open (create if missing) auth.json.lock | COMMENT |
| LOW | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 384 | // Step 4: EWOULDBLOCK — lock is held by someone else. | COMMENT |
| LOW⚡ | …ates/codegen/xai-grok-shell/src/session/storage/mod.rs | 2321 | // Step 1: try to extract the envelope (method + raw params). | COMMENT |
| LOW⚡ | …ates/codegen/xai-grok-shell/src/session/storage/mod.rs | 2331 | // Step 2: parse the discriminant and relevant payload fields in one pass. | COMMENT |
| LOW⚡ | …s/codegen/xai-grok-shell/src/session/storage/search.rs | 964 | // Step 1: Peek at envelope to get method + raw params | COMMENT |
| LOW⚡ | …s/codegen/xai-grok-shell/src/session/storage/search.rs | 974 | // Step 2: Peek at the sessionUpdate discriminant tag. | COMMENT |
| LOW | crates/codegen/xai-grok-memory/src/backend.rs | 1089 | // Step 1: Write + canonicalize the file path BEFORE indexing. | COMMENT |
| LOW | crates/codegen/xai-grok-memory/src/backend.rs | 1110 | // Step 2: Start watcher AFTER indexing so the Remove event for the | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-memory/src/backend.rs | 1129 | // Step 3: Confirm content is found before deletion. | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-memory/src/backend.rs | 1139 | // Step 4: Delete the file — the OS will fire a Remove event. | COMMENT |
| LOW | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 81 | // Step 1: When the body nears the 50 MB ceiling, evict oldest | COMMENT |
| LOW⚡ | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 94 | // Step 2: Prune old tool results if context is > 50% utilized | COMMENT |
| LOW⚡ | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 99 | // Step 3: Inject memory reminder into the system message | COMMENT |
| LOW | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 127 | // Step 4: Assemble request | COMMENT |
| LOW⚡ | …/src/implementations/grok_build_hashline/edit/apply.rs | 1789 | // Step 1: edit fails (anchor at line 5 now has different content). | COMMENT |
| LOW⚡ | …/src/implementations/grok_build_hashline/edit/apply.rs | 1797 | // Step 2: recovery MUST find the shifted line (chunk alignment preserved). | COMMENT |
| LOW⚡ | …/src/implementations/grok_build_hashline/edit/apply.rs | 1807 | // Step 3: retry with the shifted anchor MUST succeed. | COMMENT |
| LOW⚡ | …odegen/xai-grok-tools/src/implementations/lsp/tests.rs | 792 | // Step 1: tool edits file -> fire-and-forget notify (returns immediately). | COMMENT |
| LOW⚡ | …odegen/xai-grok-tools/src/implementations/lsp/tests.rs | 798 | // Step 2: (simulated) other tools run... time passes... LSP server responds. | COMMENT |
| LOW⚡ | …odegen/xai-grok-tools/src/implementations/lsp/tests.rs | 820 | // Step 4: the injected user message the model sees. | COMMENT |
| LOW⚡ | …odegen/xai-grok-tools/src/implementations/lsp/tests.rs | 825 | // Step 5: .py has no server — notify is a no-op. | COMMENT |
| LOW⚡ | …-grok-tools/src/implementations/grok_build/todo/mod.rs | 895 | // Step 1: replace (merge=false) | COMMENT |
| LOW | …-grok-tools/src/implementations/grok_build/todo/mod.rs | 915 | // Step 2: merge (merge=true) — content=null, just status changes | COMMENT |
| LOW | crates/codegen/xai-codebase-graph/src/manager/lock.rs | 174 | // Step 1: Check/acquire in-memory lock (fast path for same process) | COMMENT |
| LOW | crates/codegen/xai-codebase-graph/src/manager/lock.rs | 187 | // Step 2: For exclusive operations, also acquire file lock (cross-process) | COMMENT |
| LOW | crates/common/xai-grok-compaction/src/select.rs | 77 | // Step 1: Walk backward, sum "keep" tokens until target is reached. | COMMENT |
| LOW⚡ | crates/common/xai-grok-compaction/src/select.rs | 97 | // Step 2: Snap the split forward to a safe boundary. | COMMENT |
| LOW⚡ | crates/common/xai-grok-compaction/src/select.rs | 105 | // Step 3: Compute tokens to compact and check the minimum. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 344 | // Step 1: Snapshot the upper. | COMMENT |
| LOW⚡ | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 356 | // Step 2: Create work dir + mount target. | COMMENT |
| LOW⚡ | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 360 | // Step 3: Mount overlay. | COMMENT |
| LOW | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 393 | // Step 4: Verify the overlay is readable (files from lower + upper visible). | COMMENT |
| LOW | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 406 | // Step 5: Verify writable — writes go to the snapshot upper, not the FUSE lower. | COMMENT |
| LOW⚡ | crates/codegen/xai-fast-worktree/src/overlay/detect.rs | 54 | // Step 1: Find overlay mount containing this path. | COMMENT |
| LOW⚡ | crates/codegen/xai-fast-worktree/src/overlay/detect.rs | 63 | // Step 2: Verify the lower layer is a FUSE mount. | COMMENT |
| LOW⚡ | crates/codegen/xai-fast-worktree/src/overlay/detect.rs | 72 | // Step 3: Verify the upper layer is on btrfs. | COMMENT |
| LOW | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 110 | // Step 1: Snapshot the overlay root (the btrfs subvolume). | COMMENT |
| LOW⚡ | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 127 | // Step 2: Create the worktree's overlay work dir (fresh + empty). The | COMMENT |
| LOW⚡ | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 133 | // Step 3: Write metadata for crash recovery. | COMMENT |
| LOW⚡ | …ates/codegen/xai-fast-worktree/src/overlay/snapshot.rs | 137 | // Step 4: Mount overlay at dest. | COMMENT |
| LOW | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 2383 | // Step 1: Enter on the Enum row → try_enter_picking_enum() fires | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 2405 | // Step 2: Down → preview-navigate to choice 1 (live preview | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 2414 | // Step 3: Esc → revert. action_for_enum returns None (no Enum | COMMENT |
| LOW | …degen/xai-grok-pager/src/scrollback/scrollback_pane.rs | 569 | /// NOTE: This method now uses cached data from prepare_layout(). | COMMENT |
| LOW⚡ | …i-grok-pager/src/scrollback/blocks/markdown_content.rs | 361 | // Step 1: Wrap any newly frozen lines | COMMENT |
| LOW⚡ | …i-grok-pager/src/scrollback/blocks/markdown_content.rs | 370 | // Step 2: Wrap the tail (unfrozen) lines | COMMENT |
| LOW | crates/codegen/xai-hunk-tracker/src/actor/tests.rs | 1882 | // Step 1: Call record_agent_write (what the tool SHOULD do) | COMMENT |
| LOW | crates/codegen/xai-hunk-tracker/src/actor/tests.rs | 1897 | // Step 2: Simulate fs_notify firing for the same content | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-hooks/src/env_expand.rs | 136 | // Step 1: hide any `${VAR<modifier>...}` substring from shellexpand by | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-hooks/src/env_expand.rs | 143 | // Step 2: run shellexpand on the (possibly) masked input. | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-hooks/src/env_expand.rs | 152 | // Step 3: restore the sentinels back to `${`. Because the sentinel is | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1011 | // Step 1: get a signed GET URL from the proxy. | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1047 | // Step 2: fetch the object via the signed URL, streaming to dest. | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1489 | // Step 1: Initialize multipart upload session (now with file_size for signed URLs) | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1520 | // Step 2: Upload parts - either direct to GCS or through proxy | COMMENT |
| LOW | crates/codegen/xai-file-utils/src/storage_client.rs | 1548 | // Step 3: Complete the multipart upload by sending all parts to server | COMMENT |
| LOW | crates/codegen/xai-grok-shell/src/auth/manager.rs | 1730 | /// Step 2: take the exclusive `auth.json` file lock. On timeout, wait then | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager_tests.rs | 375 | // Step 1: login as team | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager_tests.rs | 384 | // Step 2: login as personal | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 337 | // Step 2: flock(LOCK_EX | LOCK_NB) | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 341 | // Step 3: write holder info, then verify same inode. | COMMENT |
| LOW | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 318 | // Step 1: open (create if missing) auth.json.lock | COMMENT |
| LOW | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 384 | // Step 4: EWOULDBLOCK — lock is held by someone else. | COMMENT |
| LOW⚡ | …ates/codegen/xai-grok-shell/src/session/storage/mod.rs | 2321 | // Step 1: try to extract the envelope (method + raw params). | COMMENT |
| LOW⚡ | …ates/codegen/xai-grok-shell/src/session/storage/mod.rs | 2331 | // Step 2: parse the discriminant and relevant payload fields in one pass. | COMMENT |
| LOW⚡ | …s/codegen/xai-grok-shell/src/session/storage/search.rs | 964 | // Step 1: Peek at envelope to get method + raw params | COMMENT |
| LOW⚡ | …s/codegen/xai-grok-shell/src/session/storage/search.rs | 974 | // Step 2: Peek at the sessionUpdate discriminant tag. | COMMENT |
| LOW | crates/codegen/xai-grok-memory/src/backend.rs | 1089 | // Step 1: Write + canonicalize the file path BEFORE indexing. | COMMENT |
| LOW | crates/codegen/xai-grok-memory/src/backend.rs | 1110 | // Step 2: Start watcher AFTER indexing so the Remove event for the | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-memory/src/backend.rs | 1129 | // Step 3: Confirm content is found before deletion. | COMMENT |
| LOW⚡ | crates/codegen/xai-grok-memory/src/backend.rs | 1139 | // Step 4: Delete the file — the OS will fire a Remove event. | COMMENT |
| LOW | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 81 | // Step 1: When the body nears the 50 MB ceiling, evict oldest | COMMENT |
| LOW⚡ | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 94 | // Step 2: Prune old tool results if context is > 50% utilized | COMMENT |
| LOW⚡ | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 99 | // Step 3: Inject memory reminder into the system message | COMMENT |
| LOW | …es/codegen/xai-chat-state/src/actor/request_builder.rs | 127 | // Step 4: Assemble request | COMMENT |
| LOW⚡ | …/src/implementations/grok_build_hashline/edit/apply.rs | 1789 | // Step 1: edit fails (anchor at line 5 now has different content). | COMMENT |
| LOW⚡ | …/src/implementations/grok_build_hashline/edit/apply.rs | 1797 | // Step 2: recovery MUST find the shifted line (chunk alignment preserved). | COMMENT |
| LOW⚡ | …/src/implementations/grok_build_hashline/edit/apply.rs | 1807 | // Step 3: retry with the shifted anchor MUST succeed. | COMMENT |
| LOW⚡ | …odegen/xai-grok-tools/src/implementations/lsp/tests.rs | 792 | // Step 1: tool edits file -> fire-and-forget notify (returns immediately). | COMMENT |
| LOW⚡ | …odegen/xai-grok-tools/src/implementations/lsp/tests.rs | 820 | // Step 4: the injected user message the model sees. | COMMENT |
| LOW⚡ | …-grok-tools/src/implementations/grok_build/todo/mod.rs | 895 | // Step 1: replace (merge=false) | COMMENT |
| LOW | …-grok-tools/src/implementations/grok_build/todo/mod.rs | 915 | // Step 2: merge (merge=true) — content=null, just status changes | COMMENT |
| LOW | …s/codegen/xai-grok-workspace/src/session/file_state.rs | 660 | /// NOTE: This method is similar to `capture_file_state_with_fs`. They are kept | COMMENT |
| LOW | …s/codegen/xai-grok-workspace/src/session/file_state.rs | 705 | /// NOTE: This method is similar to `capture_file_state`. They are kept separate | COMMENT |
| LOW | crates/codegen/xai-codebase-graph/src/manager/lock.rs | 174 | // Step 1: Check/acquire in-memory lock (fast path for same process) | COMMENT |
| LOW | crates/codegen/xai-codebase-graph/src/manager/lock.rs | 187 | // Step 2: For exclusive operations, also acquire file lock (cross-process) | COMMENT |
| LOW | crates/common/xai-grok-compaction/src/select.rs | 77 | // Step 1: Walk backward, sum "keep" tokens until target is reached. | COMMENT |
| LOW⚡ | crates/common/xai-grok-compaction/src/select.rs | 97 | // Step 2: Snap the split forward to a safe boundary. | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …codegen/xai-fast-worktree/tests/overlay_integration.rs | 905 | // the source's "work" (read from mountinfo — robust to the wt_base layout). | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/Cargo.toml | 173 | # In-process leader-cluster harness (mock inference server; no cycle: | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 4758 | // hardcoding — robust against future catalog additions. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/tests/settings_e2e.rs | 5136 | // hardcoding it — robust against future catalog reordering. | COMMENT |
| MEDIUM | …i-grok-pager/tests/scenarios/path_space_hyperlink.yaml | 12 | # PTY stream (default harness brand is Unknown and skips OSC 8). | COMMENT |
| MEDIUM | …/tests/pty_e2e/trackpad_flood_does_not_under_travel.rs | 26 | // travel is then classification- and jitter-robust: | COMMENT |
| MEDIUM | …inimal/minimal_new_session_keeps_history_and_resets.rs | 12 | /// *native scrollback* before `/new`. The robust "new session" signal is then | COMMENT |
| MEDIUM | …_e2e/minimal/minimal_short_response_stays_on_screen.rs | 11 | /// Discriminating signals (all robust to how the emulator pads blank rows): | COMMENT |
| MEDIUM | …_e2e/minimal/minimal_short_response_stays_on_screen.rs | 61 | // on the focused prompt, so its row is the robust signal: bottom-pin puts | COMMENT |
| MEDIUM | …egen/xai-grok-pager/src/app/dispatch/tests/settings.rs | 3111 | /// the test robust to environment differences. | COMMENT |
| MEDIUM | …s/codegen/xai-grok-pager/src/app/leader_cluster/mod.rs | 17 | //! The scenarios are `#[ignore]`d in the shared lib test binary: the harness | COMMENT |
| MEDIUM | …es/codegen/xai-grok-pager/src/views/permission_view.rs | 2931 | #[ignore = "manual review harness; run with PERMISSION_UI_RENDER_REVIEW=1 --ignored --nocapture"] | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager/src/views/goal_detail.rs | 1640 | // far short. Banded (not exact) to stay parity-robust. | COMMENT |
| MEDIUM | …s/codegen/xai-grok-pager/src/views/dashboard/render.rs | 7568 | // Bounding to the label keeps this robust whether or not a branch is | COMMENT |
| MEDIUM | …/codegen/xai-grok-pager/src/views/prompt_widget/mod.rs | 2638 | /// Identity-based pairing is robust against the two ways the | COMMENT |
| MEDIUM | …ates/codegen/xai-grok-markdown/src/latex_delimiters.rs | 416 | /// Definitely not a fence marker here. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-markdown/src/output.rs | 208 | // inclusive last body source line, robust to a trailing newline. | COMMENT |
| MEDIUM | crates/codegen/xai-acp-lib/src/stdin_reader.rs | 32 | //! To make the transport robust, on Windows the reader thread takes a **private | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager-pty-harness/Cargo.toml | 79 | # Lives here (not in the pager crate) so it can share the harness source | COMMENT |
| MEDIUM | …grok-pager-pty-harness/src/scroll_matrix/invariants.rs | 773 | #[should_panic(expected = "harness-side")] | COMMENT |
| MEDIUM | …ager-pty-harness/src/scenarios/plan_approval_resume.rs | 177 | /// field (robust to schema growth) rather than depend on the heavy shell crate | COMMENT |
| MEDIUM | crates/codegen/xai-grok-shell/Cargo.toml | 11 | # Session synthesis + in-process e2e harness (`session::testkit`) for soak, | COMMENT |
| MEDIUM | crates/codegen/xai-grok-shell/src/config/watcher.rs | 354 | /// the explicit refresh button. A robust fix (re-attempt on parent- | COMMENT |
| MEDIUM | crates/codegen/xai-grok-shell/src/auth/flow.rs | 688 | // xAI OAuth2 also defaults to loopback; the device flow (robust on | COMMENT |
| MEDIUM | crates/codegen/xai-grok-shell/src/auth/manager/lock.rs | 4 | //! Uses flock + PID-in-file + unlink-to-break for robust stale-lock | COMMENT |
| MEDIUM | …tes/codegen/xai-grok-shell/src/session/goal_tracker.rs | 1274 | /// value. Drives the (skip-robust) strategist trigger. No-op (returns | COMMENT |
| MEDIUM | …/codegen/xai-grok-shell/src/session/goal_role_tools.rs | 284 | /// `{TOOLSET_TOOLS}` token (robust to new tool placeholders, unlike a fixed | COMMENT |
| MEDIUM | …src/session/acp_session_tests/reminder_policy_tests.rs | 14 | /// everything else so the test stays robust to unrelated additions. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-tools/src/normalization.rs | 5 | //! value is the source of truth — robust to serde renames, exhaustiveness-checked. | COMMENT |
| MEDIUM | …odegen/xai-grok-tools/src/implementations/lsp/tests.rs | 1233 | // keep it well clear of that floor to stay robust under load. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-workspace/src/handle.rs | 6129 | /// Counters are monotonic, so `after > before` is robust despite the | COMMENT |
| MEDIUM | crates/codegen/xai-grok-workspace/src/trust.rs | 684 | // `persist_failure_leaves_memory_unchanged`, robust even when run as root). | COMMENT |
| MEDIUM | crates/codegen/xai-grok-workspace/src/trust.rs | 1256 | // robust even when tests run as root (a chmod 0o500 dir would be | COMMENT |
| MEDIUM | …egen/xai-grok-workspace/src/permission/shell_access.rs | 574 | /// are the robust catch-all (caught via the AST for any program). | COMMENT |
| MEDIUM | …s/codegen/xai-grok-workspace/src/session/checkpoint.rs | 637 | /// an open FS checkpoint (flag on). Counters are monotonic, so `after > before` is robust. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-sampler/Cargo.toml | 35 | # `TcpListener::bind` in the mock server harness. | COMMENT |
| MEDIUM | crates/codegen/xai-grok-pager-render/src/link_opener.rs | 259 | /// Uses the `url` crate for robust scheme extraction. Falls back to | COMMENT |
| MEDIUM | …ates/codegen/xai-grok-shared/src/placeholder_images.rs | 610 | // dedup is robust against non-canonical `file://` URIs from the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …gen/xai-grok-pager/docs/user-guide/05-configuration.md | 198 | auth_provider_label = "Acme Corp" | CODE |
| LOW | …gen/xai-grok-pager/docs/user-guide/05-configuration.md | 563 | auth_provider_label = "Acme Corp" | CODE |
| LOW | …en/xai-grok-pager/docs/user-guide/02-authentication.md | 168 | auth_provider_label = "Acme Corp" # optional -- customizes the TUI login button | CODE |
| LOW | …en/xai-grok-pager/docs/user-guide/02-authentication.md | 176 | export GROK_AUTH_PROVIDER_LABEL="Acme Corp" | CODE |
| LOW | …en/xai-grok-pager/docs/user-guide/02-authentication.md | 207 | | `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.md | 369 | auth_provider_label = "Acme Corp" | CODE |
| LOW⚡ | crates/codegen/xai-grok-pager/benches/render.rs | 280 | let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \ | CODE |
| LOW⚡ | crates/codegen/xai-grok-pager/benches/render.rs | 280 | let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \ | CODE |
| LOW | crates/codegen/xai-grok-pager/benches/search.rs | 31 | let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \ | CODE |
| LOW | crates/codegen/xai-grok-pager/benches/search.rs | 31 | let lorem = "lorem ipsum dolor sit amet consectetur adipiscing elit sed do \ | CODE |
| LOW | crates/codegen/xai-grok-pager/src/app/subscription.rs | 294 | app.team_name = Some("Acme Corp".into()); | CODE |
| LOW | crates/codegen/xai-grok-pager/src/app/subscription.rs | 402 | app.team_name = Some("Acme Corp".into()); | CODE |
| LOW | crates/codegen/xai-grok-pager/src/app/app_view.rs | 1056 | /// Login button label from `AuthMethod.name` (e.g., "grok.com", "Acme Corp"). | COMMENT |
| LOW | crates/codegen/xai-grok-pager/src/app/app_view.rs | 7305 | team_name: Some("Acme Corp".into()), | CODE |
| LOW | crates/codegen/xai-grok-pager/src/app/app_view.rs | 7463 | team_name: Some("Acme Corp".into()), | CODE |
| LOW | …degen/xai-grok-pager/src/app/dispatch/tests/billing.rs | 563 | team_name: Some("Acme Corp".into()), | CODE |
| LOW | …s/codegen/xai-grok-pager/src/app/dispatch/tests/mod.rs | 556 | session_id: Some("placeholder".into()), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2417 | label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2417 | label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2418 | description: "Lorem ipsum dolor sit ame".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2423 | label: "Lorem ipsum dolor sit amet elit sed tempor".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2423 | label: "Lorem ipsum dolor sit amet elit sed tempor".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2424 | description: "Lorem ipsum dolor sit amet elit s".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2424 | description: "Lorem ipsum dolor sit amet elit s".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2436 | label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2436 | label: "Lorem ipsum dolor sit amet consectetur adipiscing!".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2437 | description: "Lorem ipsum dolor sit amet, consectetur adipiscing.".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2437 | description: "Lorem ipsum dolor sit amet, consectetur adipiscing.".into(), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2464 | text.contains("Lorem ipsum dolor sit amet consectetur adipiscing!"), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2464 | text.contains("Lorem ipsum dolor sit amet consectetur adipiscing!"), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2468 | text.contains("Lorem ipsum dolor sit amet, consectetur"), | CODE |
| LOW⚡ | …ates/codegen/xai-grok-pager/src/views/question_view.rs | 2468 | text.contains("Lorem ipsum dolor sit amet, consectetur"), | CODE |
| LOW | …odegen/xai-grok-pager/src/views/prompt_widget/tests.rs | 843 | let text = "lorem ipsum dolor\n".repeat(2000); // ~36 KB across 2000 lines | CODE |
| LOW | crates/codegen/xai-grok-pager/src/acp/mod.rs | 75 | /// Login button label from `AuthMethod.name` (e.g., "grok.com", "Acme Corp"). | COMMENT |
| LOW | crates/codegen/xai-grok-pager/src/acp/mod.rs | 916 | let methods = vec![make_auth_method("grok.com", "Acme Corp", Some(meta))]; | CODE |
| LOW | crates/codegen/xai-grok-pager/src/acp/mod.rs | 919 | assert_eq!(label.as_deref(), Some("Acme Corp")); | CODE |
| LOW | crates/codegen/xai-grok-markdown/src/render.rs | 1463 | assert_eq!(words("555-0101"), vec!["[555-|]", "[0101|]"]); | CODE |
| LOW | crates/codegen/xai-hunk-tracker/src/actor/tests.rs | 40 | git(&working_dir, &["config", "user.email", "test@test.com"]); | CODE |
| LOW | crates/codegen/xai-hunk-tracker/src/actor/tests.rs | 5443 | git(wd, &["config", "user.email", "test@test.com"]); | CODE |
| LOW | …-grok-pager-pty-harness/src/scenarios/scroll_stress.rs | 30 | // The response is `Lorem ipsum dolor ...` — look for a word we know | COMMENT |
| LOW | …-grok-pager-pty-harness/src/scenarios/scroll_stress.rs | 61 | "Line {i}: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labo | CODE |
| LOW | …-grok-pager-pty-harness/src/scenarios/scroll_stress.rs | 61 | "Line {i}: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labo | CODE |
| LOW | crates/codegen/xai-grok-shell/README.md | 222 | auth_provider_label = "Acme Corp" # optional — customizes the TUI login button | CODE |
| LOW | crates/codegen/xai-grok-shell/README.md | 229 | export GROK_AUTH_PROVIDER_LABEL="Acme Corp" # optional | CODE |
| LOW | crates/codegen/xai-grok-shell/README.md | 1521 | auth_provider_label = "Acme Corp" | CODE |
| LOW | …tes/codegen/xai-grok-shell/tests/git_contention_e2e.rs | 98 | git(wd, &["config", "user.email", "test@test.com"]); | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 870 | 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.py | 870 | sections.append(f"## Section {i}\n\n{'Lorem ipsum dolor sit amet. ' * 50}\n") | CODE |
| LOW | crates/codegen/xai-grok-shell/src/util/user_identity.rs | 529 | assert_eq!(resolved.email.as_deref(), Some("admin@example.com")); | CODE |
| LOW | crates/codegen/xai-grok-shell/src/config/reloader.rs | 544 | email: Some("test@test.com".to_string()), | CODE |
| LOW | crates/codegen/xai-grok-shell/src/auth/manager_tests.rs | 2955 | email: Some("user@example.com".into()), | CODE |
| LOW | crates/codegen/xai-grok-shell/src/agent/auth_method.rs | 734 | login_label: Some("Acme Corp"), | CODE |
| LOW | crates/codegen/xai-grok-shell/src/agent/auth_method.rs | 744 | assert_eq!(grok.name(), "Acme Corp"); | CODE |
| LOW | …es/codegen/xai-grok-shell/src/agent/mvp_agent/tests.rs | 2726 | email: Some("user@example.com".into()), | CODE |
| LOW | …es/codegen/xai-grok-shell/src/agent/mvp_agent/tests.rs | 2742 | assert_eq!(info["email"], "user@example.com"); | CODE |
| LOW | …es/codegen/xai-grok-shell/src/session/worktree_pool.rs | 1872 | .args(["config", "user.email", "test@test.com"]) | CODE |
| LOW | crates/codegen/xai-grok-shell/src/session/worktree.rs | 937 | .args(["config", "user.email", "test@test.com"]) | CODE |
| LOW | …session/acp_session_tests/auth_error_no_retry_tests.rs | 1338 | "placeholder".to_string(), | CODE |
| LOW | …session/acp_session_tests/auth_error_no_retry_tests.rs | 1432 | "placeholder".to_string(), | CODE |
| LOW | …degen/xai-grok-shell/src/session/storage/search_fts.rs | 968 | .insert_doc_if_absent(&test_doc("s1", "placeholder", "")) | CODE |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ates/codegen/xai-grok-shell/src/session/acp_session.rs | 547 | /// The tool name as requested by the model. | COMMENT |
| HIGH | crates/codegen/xai-grok-shell/src/session/commands.rs | 699 | /// Request an AI-generated shell command suggestion. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tes/codegen/xai-grok-pager/npm/grok/bin/postinstall.js | 47 | function resolvePlatformPackageDir() { | CODE |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1145 | def test_cross_session_index_persistence(): | CODE |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1432 | def test_flush_artifact_reindexed(): | CODE |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1694 | def test_pruning_config_accepted(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 546 | def test_chunk_hash_correctness(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 814 | def test_content_update_detection(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 967 | def test_memory_enabled_env_override(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1024 | def test_memory_log_contains_session_id(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1111 | def test_session_end_short_session_skipped(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1189 | def test_session_log_indexed_next_session(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1263 | def test_unicode_memory_content(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1329 | def test_multiple_workspace_isolation(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1386 | def test_concurrent_access_safety(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1642 | def test_compaction_preserves_index(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1879 | def test_roundtrip_flush_artifact_searchable(): | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1989 | def test_roundtrip_workspace_memory_searchable(): | CODE |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 371 | def test_global_memory_indexing(): | STRING |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1597 | def test_compaction_resets_memory_injection(): | STRING |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1815 | def test_roundtrip_session_end_searchable(): | STRING |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2398 | def test_embedding_computation(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 431 | def test_workspace_vs_global_memory(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 664 | def test_fts_special_characters(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 719 | def test_fts_multi_file_search(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 944 | def test_memory_disabled_no_config(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1298 | def test_binary_content_resilience(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1724 | def test_pruning_disabled_no_side_effects(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1762 | def test_pruning_extreme_config(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1949 | def test_roundtrip_global_memory_searchable_across_sessions(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2057 | def test_roundtrip_mixed_sources_searchable(): | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2437 | def test_embedding_idempotency(): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py | 81 | CODE | |
| LOW | …ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py | 117 | CODE | |
| LOW | …ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py | 203 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 664 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1069 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1949 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1989 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2057 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2172 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2256 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2293 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2345 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2398 | CODE | |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2608 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 154 | except Exception: | CODE |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 158 | except Exception: | CODE |
| LOW⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1421 | except Exception as e: | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 102 | except Exception: | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 116 | except Exception: | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 139 | except Exception: | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2450 | except Exception: | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2460 | except Exception: | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2655 | except Exception as e: | CODE |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 423 | except Exception: | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 711 | except Exception as e: | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2429 | except Exception: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/codegen/xai-grok-pager/scripts/install.sh | 8 | # Usage: | COMMENT |
| LOW | …s/codegen/xai-grok-pager/scripts/install-enterprise.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/codegen/xai-grok-markdown/benches/bench.rs | 510 | override lazy val raw: Growable[Raw] = ??? // TODO: implement\n \ | CODE |
| LOW | crates/codegen/xai-grok-markdown/benches/bench.rs | 538 | override lazy val raw: Growable[Raw] = ??? // TODO: implement\n}}\n```\n\n", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/acp_session_tests/laziness/laziness_detector_tests.rs | 60 | let raw = "{\"category\":\"stalled_no_todos_but_task_in_flight\",\"confidence\":0.75,\"evidence\":\"no todos\"}\n\nL | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 1218 | # Check if session content appears in chunks | COMMENT |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2136 | # Check if session log content is searchable | STRING |
| LOW | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 2371 | # Check if the model called memory_search | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ok-hooks/examples/hooks/bin/no-recursive-grep-guard.py | 34 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …n/xai-grok-shell/tests/memory_integration/run_tests.py | 356 | # Create a session (triggers spawn_session_actor -> MEMORY_INIT) | STRING |