Repository Analysis

ultraworkers/claw-code

The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord: https://discord.gg/5TUQKqFWd Built in Rust using oh-my-codex.

2.2 Likely human-written View on GitHub
2.2
Adjusted Score
2.2
Raw Score
100%
Time Factor
2026-05-29
Last Push
192,870
Stars
Rust
Language
123,778
Lines of Code
353
Files
203
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 26LOW 177

Pattern Findings

203 matches across 10 categories. Click a row to expand file-level details.

Unused Imports95 hits · 94 pts
SeverityFileLineSnippet
LOWrust/scripts/run_mock_parity_diff.py2
LOWtests/test_porting_workspace.py1
LOWtests/test_roadmap_helpers.py1
LOWtests/test_security_scope.py1
LOWtests/test_pre_push_hook_contract.py1
LOWscripts/generate_cc2_board.py3
LOWscripts/validate_cc2_board.py3
LOWscripts/cc2_board.py7
LOW.github/scripts/check_doc_source_of_truth.py2
LOW.github/scripts/check_release_readiness.py14
LOW.omx/cc2/render_board_md.py3
LOW.omx/cc2/render_board_md.py8
LOW.omx/cc2/validate_issue_parity_intake.py3
LOWsrc/projectOnboardingState.py1
LOWsrc/query_engine.py1
LOWsrc/task.py1
LOWsrc/task.py3
LOWsrc/ink.py1
LOWsrc/cost_tracker.py1
LOWsrc/tasks.py1
LOWsrc/models.py1
LOWsrc/query.py1
LOWsrc/transcript.py1
LOWsrc/bootstrap_graph.py1
LOWsrc/execution_registry.py1
LOWsrc/_archive_helper.py3
LOWsrc/tools.py1
LOWsrc/remote_runtime.py1
LOWsrc/__init__.py3
LOWsrc/__init__.py3
LOWsrc/__init__.py4
LOWsrc/__init__.py4
LOWsrc/__init__.py5
LOWsrc/__init__.py5
LOWsrc/__init__.py6
LOWsrc/__init__.py6
LOWsrc/__init__.py7
LOWsrc/__init__.py7
LOWsrc/__init__.py8
LOWsrc/__init__.py8
LOWsrc/__init__.py8
LOWsrc/__init__.py9
LOWsrc/__init__.py10
LOWsrc/__init__.py10
LOWsrc/system_init.py1
LOWsrc/interactiveHelpers.py1
LOWsrc/costHook.py1
LOWsrc/port_manifest.py1
LOWsrc/runtime.py1
LOWsrc/deferred_init.py1
LOWsrc/dialogLaunchers.py1
LOWsrc/QueryEngine.py1
LOWsrc/setup.py1
LOWsrc/context.py1
LOWsrc/path_scope.py1
LOWsrc/command_graph.py1
LOWsrc/direct_modes.py1
LOWsrc/permissions.py1
LOWsrc/prefetch.py1
LOWsrc/tool_pool.py1
35 more matches not shown…
Decorative Section Separators24 hits · 93 pts
SeverityFileLineSnippet
MEDIUMinstall.sh176# ---------------------------------------------------------------------------
MEDIUMinstall.sh178# ---------------------------------------------------------------------------
MEDIUMinstall.sh184# ---------------------------------------------------------------------------
MEDIUMinstall.sh186# ---------------------------------------------------------------------------
MEDIUMinstall.sh233# ---------------------------------------------------------------------------
MEDIUMinstall.sh235# ---------------------------------------------------------------------------
MEDIUMinstall.sh255# ---------------------------------------------------------------------------
MEDIUMinstall.sh257# ---------------------------------------------------------------------------
MEDIUMinstall.sh304# ---------------------------------------------------------------------------
MEDIUMinstall.sh306# ---------------------------------------------------------------------------
MEDIUMinstall.sh333# ---------------------------------------------------------------------------
MEDIUMinstall.sh335# ---------------------------------------------------------------------------
MEDIUMinstall.sh360# ---------------------------------------------------------------------------
MEDIUMinstall.sh362# ---------------------------------------------------------------------------
MEDIUMinstall.sh20# ---------------------------------------------------------------------------
MEDIUMinstall.sh22# ---------------------------------------------------------------------------
MEDIUMinstall.sh88# ---------------------------------------------------------------------------
MEDIUMinstall.sh90# ---------------------------------------------------------------------------
MEDIUMinstall.sh127# ---------------------------------------------------------------------------
MEDIUMinstall.sh129# ---------------------------------------------------------------------------
MEDIUMrust/crates/runtime/src/team_cron_registry.rs236 // ── Team tests ──────────────────────────────────────
MEDIUMrust/crates/runtime/src/team_cron_registry.rs278 // ── Cron tests ──────────────────────────────────────
MEDIUMrust/.claude/sessions/session-1775011562247.json1{"messages":[{"blocks":[{"text":"analyze this repo and make a plan for enhancing tui","type":"text"}],"role":"user"},{"b
MEDIUMrust/.claude/sessions/session-1775011562247.json1{"messages":[{"blocks":[{"text":"analyze this repo and make a plan for enhancing tui","type":"text"}],"role":"user"},{"b
Hyper-Verbose Identifiers41 hits · 44 pts
SeverityFileLineSnippet
LOWtests/test_porting_workspace.py45 def test_root_file_coverage_is_complete_when_local_archive_exists(self) -> None:
LOWtests/test_porting_workspace.py53 def test_command_and_tool_snapshots_are_nontrivial(self) -> None:
LOWtests/test_porting_workspace.py57 def test_commands_and_tools_cli_run(self) -> None:
LOWtests/test_porting_workspace.py270 def test_remote_mode_clis_run(self) -> None:
LOWtests/test_porting_workspace.py278 def test_flush_transcript_cli_runs(self) -> None:
LOWtests/test_porting_workspace.py287 def test_command_graph_and_tool_pool_cli_run(self) -> None:
LOWtests/test_porting_workspace.py293 def test_setup_report_mentions_deferred_init(self) -> None:
LOWtests/test_porting_workspace.py303 def test_execution_registry_runs(self) -> None:
LOWtests/test_porting_workspace.py312 def test_bootstrap_graph_and_direct_modes_run(self) -> None:
LOWtests/test_porting_workspace.py16 def test_manifest_counts_python_files(self) -> None:
LOWtests/test_porting_workspace.py21 def test_query_engine_summary_mentions_workspace(self) -> None:
LOWtests/test_porting_workspace.py73 def test_subsystem_packages_expose_archive_metadata(self) -> None:
LOWtests/test_porting_workspace.py81 def test_route_and_show_entry_cli_run(self) -> None:
LOWtests/test_porting_workspace.py115 def test_bootstrap_session_tracks_turn_state(self) -> None:
LOWtests/test_porting_workspace.py123 def test_exec_command_and_tool_cli_run(self) -> None:
LOWtests/test_porting_workspace.py139 def test_setup_report_and_registry_filters_run(self) -> None:
LOWtests/test_porting_workspace.py162 def test_plugin_command_filter_excludes_plugin_sources(self) -> None:
LOWtests/test_porting_workspace.py173 def test_plugin_command_aliases_execute_as_local_commands(self) -> None:
LOWtests/test_porting_workspace.py186 def test_route_plugin_slash_commands_match_commands(self) -> None:
LOWtests/test_porting_workspace.py201 def test_plugin_command_stream_emits_command_match(self) -> None:
LOWtests/test_porting_workspace.py214 def test_turn_loop_plugin_commands_are_not_prompt_only(self) -> None:
LOWtests/test_porting_workspace.py236 def test_load_session_cli_runs(self) -> None:
LOWtests/test_porting_workspace.py250 def test_tool_permission_filtering_cli_runs(self) -> None:
LOWtests/test_roadmap_helpers.py25 def test_roadmap_next_id_prints_only_next_id_after_duplicate_check(self) -> None:
LOWtests/test_roadmap_helpers.py36 def test_roadmap_next_id_fails_fast_on_helper_era_duplicate(self) -> None:
LOWtests/test_roadmap_helpers.py49 def test_roadmap_next_id_fails_closed_when_checker_is_unavailable(self) -> None:
LOWtests/test_security_scope.py16 def test_direct_parent_escape_is_denied(self) -> None:
LOWtests/test_security_scope.py40 def test_glob_expansion_must_stay_inside_workspace(self) -> None:
LOWtests/test_security_scope.py54 def test_shell_environment_expansion_is_validated(self) -> None:
LOWtests/test_security_scope.py75 def test_explicit_worktree_roots_are_allowed(self) -> None:
LOWtests/test_security_scope.py88 def test_windows_absolute_paths_are_denied_for_posix_workspace(self) -> None:
LOWtests/test_security_scope.py101 def test_file_and_shell_tools_use_workspace_scope_context(self) -> None:
LOWtests/test_security_scope.py120 def test_permission_denial_stream_events_expose_status_and_reason(self) -> None:
LOWtests/test_pre_push_hook_contract.py14 def test_skip_escape_hatch_exits_successfully_with_stderr_notice(self) -> None:
LOWtests/test_pre_push_hook_contract.py31 def test_default_build_gate_uses_workspace_locked_cargo_build(self) -> None:
LOW.github/scripts/check_release_readiness.py133def validate_command_examples(errors: list[str]) -> None:
LOWsrc/query_engine.py136 def compact_messages_if_needed(self) -> None:
LOWsrc/query_engine.py168 def _render_structured_output(self, payload: dict[str, object]) -> str:
LOWsrc/tools.py56def filter_tools_by_permission_context(tools: tuple[PortingModule, ...], permission_context: ToolPermissionContext | Non
LOWsrc/system_init.py8def build_system_init_message(trusted: bool = True) -> str:
LOWsrc/runtime.py196 def _infer_permission_denials(self, matches: list[RoutedMatch]) -> list[PermissionDenial]:
Over-Commented Block30 hits · 30 pts
SeverityFileLineSnippet
LOWinstall.sh1#!/usr/bin/env bash
LOWrust/crates/tools/src/lane_completion.rs1//! Lane completion detector — automatically marks lanes as completed when
LOWrust/crates/tools/src/lib.rs2921 #[serde(default)]
LOWrust/crates/tools/src/lib.rs2941 count: Option<usize>,
LOWrust/crates/tools/src/lib.rs2961 #[serde(default)]
LOWrust/crates/tools/src/pdf_extract.rs1//! Minimal PDF text extraction.
LOWrust/crates/plugins/src/hooks.rs341 // (or exits early without reading stdin) closes its stdin
LOWrust/crates/runtime/src/compact.rs121 .saturating_sub(config.preserve_recent_messages)
LOWrust/crates/runtime/src/bash_validation.rs1//! Bash command validation submodules.
LOWrust/crates/runtime/src/trust_resolver.rs21 /// Deny trust for this path
LOWrust/crates/runtime/src/lane_events.rs221 #[serde(skip_serializing_if = "Option::is_none")]
LOWrust/crates/runtime/src/mcp_server.rs1//! Minimal Model Context Protocol (MCP) server.
LOWrust/crates/runtime/src/task_packet.rs41 /// Legacy verification commands kept for compatibility with existing task packets.
LOWrust/crates/runtime/src/session_control.rs1#![allow(dead_code)]
LOWrust/crates/runtime/src/worker_boot.rs161#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
LOWrust/crates/rusty-claude-cli/src/main.rs2661/// This is the file-based worker observability surface: `push_event()` in `worker_boot.rs`
LOWrust/crates/rusty-claude-cli/src/main.rs5721 Err(error) => {
LOWrust/crates/rusty-claude-cli/src/main.rs5741 // Detection: We look for "context_window" or "Context window" in the error
LOWrust/crates/rusty-claude-cli/src/main.rs7401 // #148: optional provenance for `model` field. Surfaces `model_source`
LOWrust/crates/rusty-claude-cli/src/main.rs9881 ) -> Result<Self, Box<dyn std::error::Error>> {
LOWrust/crates/api/src/types.rs21 #[serde(skip_serializing_if = "Option::is_none")]
LOWrust/crates/api/src/providers/mod.rs741/// Build an Anthropic-specific `MissingCredentials` error, attaching a
LOWrust/crates/api/src/providers/openai_compat.rs881}
LOWrust/crates/api/src/providers/openai_compat.rs1221 })
LOWrust/crates/claw-analog/src/agents.rs161#[derive(Debug, Parser)]
LOWrust/crates/claw-analog/src/doctor.rs81
LOWrust/crates/claw-analog/src/main.rs121#[derive(Parser, Debug)]
LOWrust/crates/claw-analog/src/main.rs141 #[arg(long, value_name = "PATH")]
LOWscripts/dogfood-build.sh1#!/usr/bin/env bash
LOWscripts/roadmap-next-id.sh1#!/usr/bin/env bash
Verbosity Indicators6 hits · 7 pts
SeverityFileLineSnippet
LOWinstall.sh185# Step 1: detect OS / arch / WSL
LOWinstall.sh234# Step 2: locate the Rust workspace
LOWinstall.sh256# Step 3: prerequisite checks
LOWinstall.sh305# Step 4: build the workspace
LOWinstall.sh334# Step 5: post-install verification
LOWinstall.sh361# Step 6: next steps
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMrust/.claude/sessions/session-1775011562247.json1{"messages":[{"blocks":[{"text":"analyze this repo and make a plan for enhancing tui","type":"text"}],"role":"user"},{"b
MEDIUMrust/.claude/sessions/session-1775011562247.json1{"messages":[{"blocks":[{"text":"analyze this repo and make a plan for enhancing tui","type":"text"}],"role":"user"},{"b
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippet
LOW.github/scripts/check_release_readiness.py93
LOW.github/scripts/check_release_readiness.py133
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOWrust/crates/runtime/src/oauth.rs527 .with_extra_param("login_hint", "user@example.com")
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippet
LOWscripts/generate_cc2_board.py102 except Exception:
Example Usage Blocks1 hit · 1 pts
SeverityFileLineSnippet
LOWinstall.sh8# Usage: