Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.
This report presents the forensic synthetic code analysis of yvgude/lean-ctx, a Rust project with 3,551 GitHub stars. SynthScan v2.0 examined 768,169 lines of code across 2823 source files, recording 2165 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 4.5 places this repository in the Likely human-written 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 2165 distinct pattern matches across 20 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 | benchmark/run_benchmark.sh | 23 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | benchmark/run_benchmark.sh | 26 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | benchmark/run_benchmark.sh | 86 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | benchmark/run_benchmark.sh | 89 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | benchmark/run_benchmark.sh | 125 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | benchmark/run_benchmark.sh | 127 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | benchmark/run_benchmark.sh | 135 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | benchmark/run_benchmark.sh | 137 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | benchmark/run_benchmark.sh | 143 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | benchmark/run_benchmark.sh | 145 | # ═══════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | rust/tests/compliance_frameworks.rs | 32 | // ── meta: mapping ↔ test drift guard ───────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/compliance_frameworks.rs | 51 | // ── AC 1: EU AI Act reference report ───────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/compliance_frameworks.rs | 78 | // ── EU AI Act — full-coverage proofs ───────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/compliance_frameworks.rs | 328 | // ── ISO 42001 — full-coverage proofs ───────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/compliance_frameworks.rs | 382 | // ── SOC 2 — full-coverage proofs ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | rust/tests/ticket_fixes_scenarios.rs | 738 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | rust/tests/ticket_fixes_scenarios.rs | 740 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | rust/tests/ticket_fixes_scenarios.rs | 749 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | rust/tests/ticket_fixes_scenarios.rs | 751 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 17 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 21 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 129 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 131 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 150 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 154 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 223 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 226 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 248 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 252 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 320 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 324 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 390 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 395 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 463 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 467 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 498 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 503 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 539 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 543 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 566 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 568 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 585 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 589 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 644 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 646 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 686 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/ticket_fixes_scenarios.rs | 688 | // ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/outcome_pricing_e2e.rs | 79 | // ── 1 + 2. Real compression → measured savings → signed hash chain ──────── | COMMENT |
| MEDIUM | rust/tests/outcome_pricing_e2e.rs | 108 | // ── 3. Signed batch + OFFLINE verification + tamper check ───────────────── | COMMENT |
| MEDIUM | rust/tests/outcome_pricing_e2e.rs | 133 | // ── 4. Frozen v1 source-integrity predicate ─────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/outcome_pricing_e2e.rs | 150 | // ── 5. FOCUS FinOps export — savings as a Credit row ────────────────────── | COMMENT |
| MEDIUM | rust/tests/outcome_pricing_e2e.rs | 166 | // ── teardown ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 97 | // ── Phase 1: Setup & Orientation ─────────────────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 152 | // ── Phase 2: Codebase Research (Read Modes) ──────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 341 | // ── Phase 3: Code Search ─────────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 386 | // ── Phase 4: Shell & Execution ───────────────────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 434 | // ── Phase 5: Edit & Iteration ────────────────────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 476 | // ── Phase 6: Context Management ──────────────────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 586 | // ── Phase 7: Knowledge & Session ─────────────────────────── | COMMENT |
| MEDIUM | rust/tests/power_user_worksession.rs | 702 | // ── Phase 8: Multi-Agent Coordination ────────────────────── | COMMENT |
| 405 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/types.rs | 1 | //! Wire types for the lean-ctx `/v1` contract. | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/types.rs | 61 | /// Serialized tool arguments. | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/types.rs | 101 | /// Page size requested. | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/types.rs | 121 | /// Monotonic event id within the workspace/channel stream. | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/ocla.rs | 21 | pub const MAX_OCLA_WIRE_BYTES: usize = 64 * 1024; | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/ocla.rs | 41 | /// Supported version. | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/ocla.rs | 81 | #[derive(Clone, Copy, Debug, Eq, PartialEq, Serialize, Deserialize)] | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/error.rs | 1 | //! Error types for the lean-ctx client. | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/lib.rs | 1 | //! # lean-ctx-client | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/lib.rs | 21 | //! | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/lib.rs | 41 | //! - `GET /v1/context/summary`, `GET /v1/events/search`, | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/lib.rs | 61 | //! This crate is deliberately small and decoupled. It is **not** a binding to | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/conformance.rs | 1 | //! Shared SDK conformance kit (EPIC 12.5, industrialized in GL #395). | COMMENT |
| LOW | clients/rust/lean-ctx-client/src/tool_text.rs | 1 | //! Flatten an MCP tool result into plain text. | COMMENT |
| LOW | bench/agent-task/r2/lean-ctx.toml | 1 | # Faithful R2 lean-ctx arm — engine config (config.toml). | COMMENT |
| LOW | bench/agent-task/r2/lean-ctx.toml | 21 | # surface, shrinking the other half of the injected prefix (the tool schemas). | COMMENT |
| LOW | lean/README.md | 1 | # LeanCtxProofs | COMMENT |
| LOW | rust/Cargo.toml | 1 | # Workspace root. The SDK (Track A) is an opt-in member; `default-members` keeps | COMMENT |
| LOW | rust/Cargo.toml | 261 | tree-sitter-solidity = { version = "1.2", optional = true } | COMMENT |
| LOW | rust/proptest-regressions/core/science_props.txt | 1 | # Seeds for failure cases proptest has generated in the past. It is | COMMENT |
| LOW | rust/.config/nextest.toml | 1 | experimental = ["setup-scripts"] | COMMENT |
| LOW | rust/.config/nextest-tmpdir.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/error.rs | 1 | //! The SDK's own error type. | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/error.rs | 21 | /// The engine could not be constructed (e.g. the project root does not | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/lib.rs | 1 | //! # lean-ctx-sdk — in-process embedding façade (Track A) | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/lib.rs | 21 | //! assert!(again.saved_tokens >= first.saved_tokens); | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/read.rs | 1 | //! Read-mode selection — the SDK's stable mirror of the engine's `ctx_read` | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/compress.rs | 1 | //! Shell/tool output compression — the same pattern engine the proxy and | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/engine.rs | 1 | //! The embedding [`Engine`] — a safe, ergonomic handle over the lean-ctx | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/engine.rs | 21 | //! [`EngineBuilder::build`] is read-mostly and scoped: | COMMENT |
| LOW | rust/crates/lean-ctx-sdk/src/engine.rs | 161 | /// Start configuring an engine rooted at `project_root` (the `PathJail` root). | COMMENT |
| LOW | rust/crates/grammar-addons/lua/src/lib.rs | 1 | //! Lua grammar addon (#690): exports the Lua grammar's raw `LanguageFn` | COMMENT |
| LOW | rust/crates/lean-ctx-ocla/src/types.rs | 201 | /// Canonical, payload-free representation of a token decision at any engine | COMMENT |
| LOW | rust/crates/lean-ctx-ocla/src/types.rs | 561 | /// [INTERNAL] Whether the user accepted the result. | COMMENT |
| LOW | rust/crates/lean-ctx-ocla/src/types.rs | 621 | pub struct ExperimentStopConditions { | COMMENT |
| LOW | rust/crates/lean-ctx-ocla/src/types.rs | 701 | #[derive(Clone, Debug, Serialize, Deserialize)] | COMMENT |
| LOW | rust/crates/lean-ctx-ocla/src/types.rs | 761 | } | COMMENT |
| LOW | rust/crates/lean-ctx-ocla/src/types.rs | 781 | pub relay_tokens_saved: u64, | COMMENT |
| LOW | rust/crates/lean-ctx-ocla/src/lib.rs | 1 | //! Open Context & Token Lifecycle Architecture (OCLA) — the stable contract | COMMENT |
| LOW | rust/tests/compliance_frameworks.rs | 81 | /// data-dir env var, so they run inside ONE #[test] in a controlled order. | COMMENT |
| LOW | rust/tests/ticket_fixes_scenarios.rs | 1 | // Integration tests for all ticket fixes: | COMMENT |
| LOW | rust/tests/read_only_roots_e2e.rs | 1 | //! #475 end-to-end: a configured read-only root (`read_only_roots` / | COMMENT |
| LOW | rust/tests/outcome_pricing_e2e.rs | 1 | //! End-to-end "durchspielbar" proof for **Outcome-Based Pricing** (Epic #671). | COMMENT |
| LOW | rust/tests/tcc_sandbox.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | rust/tests/gateway_postprocess_e2e.rs | 1 | //! End-to-end tests for deeper addon integration (#1102). | COMMENT |
| LOW | rust/tests/graph_provider_cold_open.rs | 1 | //! Regression: the first *cold* `open_or_build` on a fresh project must return a | COMMENT |
| LOW | rust/tests/codex_proxy_554.rs | 1 | //! End-to-end regression for #554 / #597 / #603: `proxy enable` must treat the two | COMMENT |
| LOW | rust/tests/neuro_physics_scenarios.rs | 1 | //! Comprehensive scenario tests for the Neuro-Physics Hardening implementation. | COMMENT |
| LOW | rust/tests/issue_249_index_observability.rs | 1 | //! Regression test for issue #249 — "semantic index keeps warming up, never | COMMENT |
| LOW | rust/tests/ciso_great_filter_e2e.rs | 1 | //! End-to-end "durchspielbar" proof for **The Great Filter** (CISO product, | COMMENT |
| LOW | rust/tests/dropin_install_tests.rs | 1 | #![cfg(unix)] | COMMENT |
| LOW | rust/tests/xdg_legacy_contract.rs | 1 | //! Contract guard for GH #436: a marker-free legacy `~/.lean-ctx` (e.g. runtime | COMMENT |
| LOW | rust/tests/intensive_benchmarks.rs | 81 | tok_compact < 2450, | COMMENT |
| LOW | rust/tests/intensive_benchmarks.rs | 141 | // the live server advertises in full mode. Set with deliberate headroom over | COMMENT |
| LOW | rust/tests/intensive_benchmarks.rs | 201 | " Estimated cost @$3/1M input: ${:.4}", | COMMENT |
| LOW | rust/tests/intensive_benchmarks.rs | 221 | // #290 the ceiling must carry "a tool or two" of slack over the actual, so | COMMENT |
| LOW | rust/tests/suite/ctx_read_lmd_md_raw.rs | 1 | //! `.lmd.md` reads are raw — like any other file. | COMMENT |
| LOW | rust/tests/suite/config_path_parity_594.rs | 1 | //! End-to-end regression for GitHub #594: | COMMENT |
| LOW | rust/tests/suite/retrieval_eval.rs | 1 | //! Retrieval-quality eval harness for the spreading-activation ranker. | COMMENT |
| 908 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | clients/python/tests/test_ocla_wire.py | 71 | def test_public_token_and_agent_fixtures_verify() -> None: | CODE |
| LOW | clients/python/tests/test_ocla_wire.py | 81 | def test_gateway_policy_is_separate_from_wire_integrity() -> None: | CODE |
| LOW | clients/python/tests/test_ocla_wire.py | 107 | def test_token_decoder_fails_closed(wire: bytes) -> None: | CODE |
| LOW | clients/python/tests/test_ocla_wire.py | 121 | def test_agent_lineage_identity_budget_and_unknown_fields_fail_closed() -> None: | CODE |
| LOW | clients/python/tests/test_ocla_wire.py | 141 | def test_wrong_wire_kind_is_rejected() -> None: | CODE |
| LOW | clients/python/tests/test_conformance_live.py | 23 | def test_live_conformance_all_checks_pass() -> None: | CODE |
| LOW | clients/python/tests/test_ocla_package.py | 54 | def test_built_wheel_is_dependency_free_and_console_entrypoint_runs( | CODE |
| LOW | clients/python/tests/test_adapters_live.py | 60 | def test_openai_adapter_live_round_trip(client: LeanCtxClient, smoke_tool: str) -> None: | CODE |
| LOW | clients/python/tests/test_adapters_live.py | 73 | def test_langchain_adapter_live_round_trip( | CODE |
| LOW | clients/python/tests/test_adapters_live.py | 82 | def test_llamaindex_adapter_live_round_trip( | CODE |
| LOW | clients/python/tests/test_adapters_live.py | 93 | def test_crewai_adapter_live_round_trip( | CODE |
| LOW | clients/python/tests/test_adapters_live.py | 102 | def test_adapter_specs_cover_full_manifest(client: LeanCtxClient) -> None: | CODE |
| LOW | clients/python/tests/test_adapters.py | 85 | def test_to_openai_tools_shape(client: Tuple[LeanCtxClient, HTTPServer]) -> None: | CODE |
| LOW | clients/python/tests/test_adapters.py | 93 | def test_run_openai_tool_call_dict_and_object(client: Tuple[LeanCtxClient, HTTPServer]) -> None: | CODE |
| LOW | clients/python/tests/test_client.py | 88 | def test_capabilities_and_openapi(server: Tuple[str, HTTPServer]) -> None: | CODE |
| LOW | clients/python/tests/test_client.py | 106 | def test_call_tool_forwards_args_and_workspace(server: Tuple[str, HTTPServer]) -> None: | CODE |
| LOW | clients/python/tests/test_ocla_cli.py | 28 | def test_cli_accepts_public_fixtures_without_identifiers_in_output() -> None: | CODE |
| LOW | clients/python/tests/test_ocla_cli.py | 41 | def test_cli_rejection_is_content_free() -> None: | CODE |
| LOW | clients/python/tests/test_ocla_cli.py | 52 | def test_cli_rejects_lone_unicode_surrogate_without_traceback( | CODE |
| LOW | clients/python/tests/test_ocla_cli.py | 75 | def test_cli_rejects_bounded_parser_failures_without_traceback( | CODE |
| LOW⚡ | clients/python/tests/test_ocla_cli.py | 89 | def test_cli_rejects_fifo_without_open_block(tmp_path: Path) -> None: | CODE |
| LOW⚡ | clients/python/tests/test_ocla_cli.py | 98 | def test_cli_rejects_symlink_and_special_file(tmp_path: Path) -> None: | CODE |
| LOW⚡ | clients/python/tests/test_ocla_cli.py | 107 | def test_cli_argument_errors_are_stable_and_content_free() -> None: | CODE |
| LOW | clients/python/tests/test_conformance.py | 111 | def test_conformance_passes_against_valid_server() -> None: | CODE |
| LOW | clients/python/tests/test_conformance.py | 121 | def test_conformance_flags_malformed_capabilities() -> None: | CODE |
| LOW | clients/python/tests/test_conformance.py | 133 | def test_route_coverage_catches_endpoint_drift() -> None: | CODE |
| LOW | clients/python/leanctx/ocla.py | 426 | def decode_canonical_token_envelope(wire: bytes) -> CanonicalTokenEnvelopeV1: | CODE |
| LOW | clients/python/leanctx/ocla.py | 524 | def verify_agent_gateway_admissibility(envelope: AgentEnvelopeV1) -> None: | CODE |
| LOW | python-sdk/tests/test_client.py | 42 | def test_health_and_capabilities() -> None: | CODE |
| LOW | python-sdk/tests/test_client.py | 71 | def test_validate_envelope_and_ledger_summary() -> None: | CODE |
| LOW | python-sdk/tests/test_client.py | 168 | def test_envelope_payload_models_validate_and_round_trip() -> None: | CODE |
| LOW | python-sdk/tests/test_client.py | 182 | def test_stream_events_parses_multiple_events() -> None: | CODE |
| LOW | python-sdk/tests/test_client.py | 209 | def test_stream_envelopes_yields_envelope_events_only() -> None: | CODE |
| LOW | rust/src/dashboard/static/components/cockpit-live.js | 396 | function buildExpandedCompressionDetail(kind) { | CODE |
| LOW⚡ | tests/security/test_verify_release_integrity.py | 47 | def test_valid_manifest_and_artifacts_verify(self): | CODE |
| LOW⚡ | tests/security/test_verify_release_integrity.py | 52 | def test_manifest_schema_validation_rejects_unknown_field(self): | CODE |
| LOW⚡ | tests/security/test_verify_release_integrity.py | 58 | def test_artifact_digest_mismatch_fails(self): | CODE |
| LOW⚡ | tests/security/test_verify_release_integrity.py | 64 | def test_checksum_parser_handles_gnu_format_and_rejects_paths(self): | CODE |
| LOW⚡ | tests/security/test_verify_release_integrity.py | 71 | def test_sbom_parser_returns_package_and_license(self): | CODE |
| LOW⚡ | tests/security/test_verify_release_integrity.py | 77 | def test_download_uses_http_and_fetches_checksum_listed_artifacts(self): | CODE |
| LOW⚡ | tests/security/test_generate_audit_report.py | 38 | def test_summarize_output_format(self): | CODE |
| LOW⚡ | tests/security/test_generate_audit_report.py | 44 | def test_markdown_renders_categories_and_next_run(self): | CODE |
| LOW⚡ | tests/security/test_generate_audit_report.py | 51 | def test_baseline_comparison_detects_new_findings(self): | CODE |
| LOW⚡ | tests/security/test_generate_audit_report.py | 58 | def test_baseline_comparison_accepts_existing_finding(self): | CODE |
| LOW | tests/security/test_generate_audit_report.py | 69 | def test_history_reads_inline_fixture_reports(self): | CODE |
| LOW | tests/security/test_history_policy_gate.py | 73 | def test_full_audit_is_bounded_and_redacted(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 85 | def test_clean_current_and_delta_pass(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 89 | def test_current_and_delta_secret_fail_closed(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 97 | def test_current_and_delta_private_path_fail_closed(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 104 | def test_missing_or_modified_baseline_fails(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 112 | def test_unreachable_baseline_fails(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 117 | def test_present_non_ancestor_baseline_is_accepted(self): | CODE |
| LOW | tests/security/test_history_policy_gate.py | 134 | def test_pr_base_current_findings_are_inherited(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 153 | def test_policy_rule_drift_fails(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 160 | def test_scanner_version_drift_fails(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 168 | def test_scanner_source_drift_fails(self): | CODE |
| LOW⚡ | tests/security/test_history_policy_gate.py | 173 | def test_scanner_source_path_hash_set_drift_fails(self): | CODE |
| LOW | tests/security/test_history_policy_gate.py | 187 | def test_baseline_report_symlink_fails(self): | CODE |
| LOW | tests/security/test_history_policy_gate.py | 195 | def test_policy_fingerprint_mismatch_fails(self): | CODE |
| LOW | tests/security/test_history_policy_gate.py | 239 | def test_edit_baselined_secret_path_still_passes(self): | CODE |
| 209 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CHANGELOG.md | 5559 | - **VS Code / Cursor extension, now publishable** (community feedback): the editor extension is consolidated into a sing | CODE |
| MEDIUM | bench/research/agent-4-systems-engineering.md | 71 | - Even with 90% billing discount, **cached schemas still occupy context slots** — MCP issue [#2808](https://github.com/m | CODE |
| MEDIUM | bench/lifecycle/lanes/terraform.json | 23 | "internal/policy/callback/baseline_v3_deferred_test.go": "package callback\n\nimport (\n\t\"context\"\n\t\"testing\" | CODE |
| MEDIUM | rust/crates/lean-ctx-sdk/src/lib.rs | 43 | //! - [`addon`] — author + statically audit addons in-process (scaffold, audit, | COMMENT |
| MEDIUM | rust/crates/lean-ctx-sdk/src/addon.rs | 4 | //! ships its capabilities as an addon) needs: scaffold a manifest, then run the | COMMENT |
| MEDIUM | rust/src/core/input_filters/mod.rs | 6 | //! checksum guardrails against false positives; | COMMENT |
| MEDIUM | rust/src/core/input_filters/pii.rs | 1 | //! PII detection with checksum guardrails (GL #675). | COMMENT |
| MEDIUM | rust/src/core/input_filters/pii.rs | 131 | /// This preserves the checksum guardrails for invalid cards, IBANs, and AHV IDs. | COMMENT |
| MEDIUM | rust/src/core/addons/mod.rs | 19 | //! - [`scaffold`] — `addon init` starter manifest generator (DX, P4). | COMMENT |
| MEDIUM | rust/src/core/addons/trust.rs | 114 | /// Used by the `addon init` scaffold to pick capabilities that don't silently | COMMENT |
| MEDIUM | rust/src/core/addons/scaffold.rs | 7 | //! to end on a fresh scaffold. | COMMENT |
| MEDIUM | rust/src/core/addons/scaffold.rs | 21 | /// gets `network = full` + `filesystem = read_write` so the scaffold is not | COMMENT |
| MEDIUM | rust/src/core/addons/scaffold.rs | 23 | /// scaffold keeps the secure-by-default profile for a local binary. | COMMENT |
| MEDIUM | rust/src/core/addons/scaffold.rs | 173 | // GH #1079: an `addon init --command "npx -y pkg@1.2.3"` scaffold must | COMMENT |
| MEDIUM | rust/src/core/addons/scaffold.rs | 173 | // GH #1079: an `addon init --command "npx -y pkg@1.2.3"` scaffold must | COMMENT |
| MEDIUM | rust/src/core/extractive/tests.rs | 147 | /// `#[ignore]`d (needs the embedding model + is slow); reproduce with: | COMMENT |
| MEDIUM | rust/src/core/extractive/tests.rs | 152 | #[ignore = "benchmark; needs the embedding model; run with --ignored --nocapture"] | COMMENT |
| MEDIUM | rust/src/proxy/compress.rs | 67 | /// remote gateway whose agentic loop scans for `hash=<24hex>` (#702). | COMMENT |
| MEDIUM | rust/src/proxy/compress.rs | 591 | /// shape, the CCR agentic loop silently stops firing — this test fails | COMMENT |
| MEDIUM | rust/src/proxy/compress_api.rs | 9 | //! guardrail resolves through `GET /v1/retrieve/{hash}` — the CCR agentic loop | COMMENT |
| MEDIUM | rust/src/proxy/compress_api.rs | 297 | /// guardrail's CCR agentic loop. | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 18 | //! The leading scaffold (`source`/`shopt`/`setopt`) and any `< /dev/null` are | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 41 | //! requires `eval` AND host scaffold markers (`setopt NO_EXTENDED_GLOB` / | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 111 | // Requires BOTH host scaffold markers AND trailing bare pwd. | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 112 | // A model-chosen `eval 'x' && pwd` without scaffold stays blocked. | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 291 | /// True when the command prefix (before any `eval`) contains agent-host scaffold | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 521 | /// `source <snapshot> … && shopt … &&` scaffold must be scanned past so the | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 522 | /// inner command is still found and the scaffold dropped. | COMMENT |
| MEDIUM | rust/src/shell/agent_wrapper.rs | 583 | /// SECURITY: `eval 'payload' && pwd` without host scaffold must NOT unwrap. | COMMENT |
| MEDIUM | rust/src/shell/exec/execution.rs | 230 | // #595: when the agent wraps its command in host scaffolding | COMMENT |
| MEDIUM | rust/src/cli/eval_cmd.rs | 4 | //! * `eval init <dir>` — scaffold a runnable starter suite (one QA + one code task). | COMMENT |
| MEDIUM | rust/src/cli/dispatch/network/provider.rs | 36 | /// `provider init <id>` — scaffold a config-provider TOML in the project-local | COMMENT |
| MEDIUM | rust/src/cli/addon_cmd/authoring.rs | 3 | /// `addon init [name]` — scaffold a ready-to-edit `lean-ctx-addon.toml` in the | COMMENT |
| MEDIUM | rust/src/cli/addon_cmd/authoring.rs | 17 | // the scaffold pick capabilities that actually let it run (GH #1079). | COMMENT |
| MEDIUM | rust/src/dashboard/routes/system.rs | 81 | // Protection area (GL #487): the OWASP agentic-risk alignment that | COMMENT |
| MEDIUM | rust/src/dashboard/routes/system.rs | 81 | // Protection area (GL #487): the OWASP agentic-risk alignment that | COMMENT |
| MEDIUM | docs/user-journeys.md | 24 | ### Act I — Govern & scale the context window | COMMENT |
| MEDIUM | docs/user-journeys.md | 129 | ## Journey 2 — "One `grep` blew up my context window" → Context Firewall | COMMENT |
| MEDIUM | docs/comparisons/vs-naive-rag.md | 1 | # lean-ctx vs naive RAG | COMMENT |
| MEDIUM | docs/comparisons/vs-naive-rag.md | 75 | ## Where naive RAG is the right call | COMMENT |
| MEDIUM | docs/comparisons/README.md | 44 | ### "I want to compress free-form prose / chat history / RAG context" | COMMENT |
| MEDIUM | docs/comparisons/README.md | 50 | ### "I was going to build plain vector-DB RAG over my codebase" | COMMENT |
| MEDIUM | docs/comparisons/vs-token-company.md | 149 | ### "I'm compressing chatbot history, RAG context, or long prose prompts" | COMMENT |
| MEDIUM | docs/reference/10-customization-and-governance.md | 174 | lean-ctx filter init # scaffold a filter config | CODE |
| MEDIUM | docs/reference/appendix-mcp-tools.md | 62 | ## 3. Session & multi-agent | COMMENT |
| MEDIUM | docs/reference/05-advanced.md | 643 | lean-ctx plugin init # scaffold a new plugin | CODE |
| MEDIUM | docs/reference/08-multi-agent.md | 163 | ## 6. Task orchestration — the shared board (A2A) | COMMENT |
| MEDIUM | docs/reference/08-multi-agent.md | 231 | ## 10. A full multi-agent walkthrough | COMMENT |
| MEDIUM | docs/reference/08-multi-agent.md | 249 | ## Storage layout (multi-agent) | COMMENT |
| MEDIUM | integrations/hermes-lean-ctx/config.py | 21 | # Sensible default context window when the host has not called update_model(). | COMMENT |
| MEDIUM | integrations/hermes-lean-ctx/config.py | 75 | # Fraction of the context window at which compaction fires. | COMMENT |
| MEDIUM | benchmarks/efficiency/RESULTS-baseline.md | 51 | ## Notes on the token/agentic axis | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 24 | # CI must be hermetic: never let tests download the embedding model | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 562 | # Raised 3000→3100 after wave of multi-agent merges pushed fixed cost to ~3008. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | clients/python/tests/test_ocla_wire.py | 1 | CODE | |
| LOW | clients/python/tests/test_conformance_live.py | 9 | CODE | |
| LOW | clients/python/tests/test_ocla_package.py | 1 | CODE | |
| LOW | clients/python/tests/test_adapters_live.py | 12 | CODE | |
| LOW | clients/python/tests/test_adapters.py | 9 | CODE | |
| LOW | clients/python/tests/test_client.py | 3 | CODE | |
| LOW | clients/python/tests/test_ocla_cli.py | 1 | CODE | |
| LOW | clients/python/tests/test_conformance.py | 3 | CODE | |
| LOW | clients/python/leanctx/client.py | 10 | CODE | |
| LOW | clients/python/leanctx/ocla.py | 7 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 7 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 9 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 10 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 10 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 10 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 10 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 10 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 17 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 17 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 17 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 17 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 23 | CODE | |
| LOW | clients/python/leanctx/__init__.py | 38 | CODE | |
| LOW | clients/python/leanctx/ocla_verify.py | 3 | CODE | |
| LOW | clients/python/leanctx/tool_text.py | 8 | CODE | |
| LOW | clients/python/leanctx/conformance.py | 17 | CODE | |
| LOW | clients/python/leanctx/errors.py | 3 | CODE | |
| LOW | clients/python/leanctx/adapters/crewai.py | 7 | CODE | |
| LOW | clients/python/leanctx/adapters/_common.py | 8 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 15 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 17 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 17 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 17 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 18 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 19 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 20 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 21 | CODE | |
| LOW | clients/python/leanctx/adapters/__init__.py | 21 | CODE | |
| LOW | clients/python/leanctx/adapters/llamaindex.py | 7 | CODE | |
| LOW | clients/python/leanctx/adapters/openai.py | 8 | CODE | |
| LOW | clients/python/leanctx/adapters/langchain.py | 7 | CODE | |
| LOW | bench/compress/benchmark.py | 22 | CODE | |
| LOW | bench/agent-task/swebench_harness/collect.py | 12 | CODE | |
| LOW | bench/agent-task/swebench_harness/run_arm.py | 15 | CODE | |
| LOW | bench/agent-task/swebench_harness/__init__.py | 8 | CODE | |
| LOW | bench/agent-task/swebench_harness/select_tasks.py | 13 | CODE | |
| LOW | bench/agent-task/swebench_harness/select_tasks.py | 15 | CODE | |
| LOW | bench/agent-task/swebench_harness/report.py | 12 | CODE | |
| 100 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 58 | // Step 1: Consolidate | COMMENT |
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 78 | // Step 2: Apply to session cache | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 90 | // Step 3: Verify cache contains provider data | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 100 | // Step 4: Cross-source hints for the referenced file | COMMENT |
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 117 | // Step 5: Format hints (as ctx_read would append them) | COMMENT |
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 267 | // Step 1: Provider query produces chunks and consolidates them | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 295 | // Step 2: Apply edges (these would be in the graph index) | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 300 | // Step 3: Simulate ctx_read — check cross-source hints for referenced files | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 331 | // Step 4: Verify format output matches what ctx_read appends | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 336 | // Step 5: Verify cache hit (session cache stores the provider results) | COMMENT |
| LOW | rust/src/core/context_compiler.rs | 270 | // Step 4: DEDUP — drop items whose CONTENT is >70% redundant with an | COMMENT |
| LOW | rust/src/core/context_compiler.rs | 304 | // Step 5: ORDER — Lost-in-the-Middle (LiTM) reorder. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 101 | // Step 3: Fidelity Check (structural only, no LLM) | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 161 | /// Step 1: Promote recent session decisions/findings into project knowledge. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 219 | /// Step 2: Remove edges whose endpoints no longer exist in the knowledge store. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 235 | /// Step 4: Connect related facts that share vocabulary but lack an explicit edge. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 275 | /// Step 5: Resolve contradictions — same category+key, different values. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 313 | /// Step 6: Strengthen edges between facts co-retrieved in the same session window. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 350 | /// Step 7: Decay confidence on stale facts, and decay edge counts for unseen edges. | COMMENT |
| LOW | rust/src/core/attention_context.rs | 81 | // Step 1: Compute raw density scores | COMMENT |
| LOW | rust/src/core/attention_context.rs | 96 | // Step 2: Apply redundancy penalties (MMR-like) | COMMENT |
| LOW | rust/src/core/attention_context.rs | 109 | // Step 3: Normalize attention scores and allocate budget | COMMENT |
| LOW | rust/src/core/embeddings/mod.rs | 758 | /// NOTE: This function BLOCKS on first call while loading the ONNX model. | COMMENT |
| LOW | docs/guides/claude-code.md | 37 | ### Step 1: MCP Server Registration | COMMENT |
| LOW | docs/guides/claude-code.md | 77 | ### Step 2: Agent Instructions (CLAUDE.md block + skill) | COMMENT |
| LOW | docs/guides/claude-code.md | 122 | ### Step 3: Shell Hook | COMMENT |
| LOW | docs/guides/claude-code.md | 149 | ### Step 4: SKILL.md (Optional) | COMMENT |
| LOW | docs/guides/windsurf.md | 42 | ### Step 1: MCP Server Registration | COMMENT |
| LOW | docs/guides/windsurf.md | 58 | ### Step 2: Agent Rules | COMMENT |
| LOW | docs/guides/windsurf.md | 95 | ### Step 3: Shell Hook | COMMENT |
| LOW | docs/guides/cursor.md | 31 | ### Step 1: MCP Server Registration | COMMENT |
| LOW | docs/guides/cursor.md | 49 | ### Step 2: Agent Rules (MDC Format) | COMMENT |
| LOW | docs/guides/cursor.md | 78 | ### Step 3: Shell Hook | COMMENT |
| LOW | docs/guides/cursor.md | 86 | ### Step 4: SKILL.md | COMMENT |
| LOW | docs/guides/codex-cli.md | 32 | ### Step 1: MCP Server Registration | COMMENT |
| LOW | docs/guides/codex-cli.md | 46 | ### Step 2: Agent Rules | COMMENT |
| LOW | docs/guides/codex-cli.md | 84 | ### Step 3: Shell Hook | COMMENT |
| LOW⚡ | docs/guides/codex-cli.md | 272 | # Step 1: Analyze | COMMENT |
| LOW⚡ | docs/guides/codex-cli.md | 276 | # Step 2: Plan | COMMENT |
| LOW⚡ | docs/guides/codex-cli.md | 280 | # Step 3: Execute | COMMENT |
| LOW | docs/guides/aider.md | 122 | ### Step 1: Understand the Codebase | COMMENT |
| LOW⚡ | docs/guides/aider.md | 138 | ### Step 2: Analyze Impact | COMMENT |
| LOW⚡ | docs/guides/aider.md | 148 | ### Step 3: Add Files to Aider | COMMENT |
| LOW⚡ | docs/guides/aider.md | 156 | ### Step 4: Make Changes | COMMENT |
| LOW⚡ | docs/guides/aider.md | 160 | ### Step 5: Document | COMMENT |
| LOW | docs/guides/gemini-cli.md | 28 | ### Step 1: MCP Server Registration | COMMENT |
| LOW | docs/guides/gemini-cli.md | 47 | ### Step 2: Rules (GEMINI.md) | COMMENT |
| LOW | docs/guides/gemini-cli.md | 83 | ### Step 3: Shell Hook | COMMENT |
| LOW | docs/guides/opencode.md | 28 | ### Step 1: MCP Server Registration | COMMENT |
| LOW | docs/guides/opencode.md | 55 | ### Step 2: Rules (AGENTS.md) | COMMENT |
| LOW | docs/guides/opencode.md | 96 | ### Step 3: Shell Hook | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bench/agent-task/r2/lean-ctx.toml | 9 | # capability-safe-cheap on a phase-isolated harness. | COMMENT |
| MEDIUM | bench/lifecycle/lanes/beets.json | 30 | "prompt": "# Evaluation isolation contract\n\nThis is a treatment lane. Its profile was installed and configured b | CODE |
| MEDIUM | bench/lifecycle/lanes/fastify.json | 54 | "prompt": "# Evaluation isolation contract\n\nThis is a treatment lane. Its profile was installed and configured b | CODE |
| MEDIUM | bench/lifecycle/lanes/terraform.json | 34 | "prompt": "# Evaluation isolation contract\n\nThis is a treatment lane. Its profile was installed and configured b | CODE |
| MEDIUM | rust/Cargo.toml | 17 | # Standalone manual-verification harness the grammar-addon design proved | COMMENT |
| MEDIUM | rust/tests/suite/security_hardening.rs | 5 | /// so that the security-invariant checks below stay robust to internal module | COMMENT |
| MEDIUM | rust/tests/suite/hn_hardening_scenarios.rs | 10 | /// so that the invariant checks below stay robust to internal module structure. | COMMENT |
| MEDIUM | rust/tests/suite/hn_hardening_scenarios.rs | 28 | /// brace) so structural assertions stay robust to where the guard lives and to | COMMENT |
| MEDIUM | rust/tests/suite/lock_contention_hardening.rs | 289 | // instead of a fixed sleep so the test stays robust on slow/loaded CI | COMMENT |
| MEDIUM | rust/tests/suite/setup_symlink_596.rs | 128 | // Fake `codex` binary so detection is robust regardless of host PATH. | COMMENT |
| MEDIUM | rust/src/tools/ctx_shell.rs | 224 | // Preserve #989's escape hatch for harness-provided scratch paths. | COMMENT |
| MEDIUM | rust/src/tools/ctx_callgraph.rs | 116 | // widely-called AND cognitively complex is the highest-leverage refactor. | COMMENT |
| MEDIUM | rust/src/core/path_resolve.rs | 235 | // it. Asserts only the Ok case (robust against parallel env mutation): with | COMMENT |
| MEDIUM | rust/src/core/handle.rs | 18 | //! robust than a brittle line-only reference. | COMMENT |
| MEDIUM | rust/src/core/tabular_crush.rs | 17 | //! The compact form is serialized with `serde_json` (robust quoting, escapes and | COMMENT |
| MEDIUM | rust/src/core/ort_execution_providers.rs | 67 | /// scale batch size: small mini-batches under-utilize a GPU and pay | COMMENT |
| MEDIUM | rust/src/core/pgvector_store.rs | 11 | //! one JSON object per line (`json_build_object(...)::text`), which is robust | COMMENT |
| MEDIUM | rust/src/core/tool_profiles.rs | 289 | /// formatting, and unrelated keys (robust against substring/comment matches). | COMMENT |
| MEDIUM | rust/src/core/graph_provider.rs | 268 | /// its current [`SymbolInfo`], robust to line drift. Resolution order: | COMMENT |
| MEDIUM | rust/src/core/graph_provider.rs | 279 | /// `@Lline` is never a hard requirement, so this is strictly more robust | COMMENT |
| MEDIUM | rust/src/core/graph_provider.rs | 807 | // the current symbol at its real line (robust beyond line-only refs). | COMMENT |
| MEDIUM | rust/src/core/auto_mode_resolver.rs | 488 | // Structure-first cold-read floor (#361): on a phase-isolated harness a cold | COMMENT |
| MEDIUM | rust/src/core/code_health/annotate.rs | 43 | /// name (more robust than line numbers when attributes/decorators shift lines). | COMMENT |
| MEDIUM | rust/src/core/config/proxy_tests.rs | 385 | // assertion is robust without mutating process-global env vars. | COMMENT |
| MEDIUM | rust/src/core/config/render.rs | 189 | // through `toml::Value` (map equality is order-independent) so it is robust | COMMENT |
| MEDIUM | rust/src/server/call_tool/pipeline.rs | 822 | // which break a JSON contract. This guard is the robust catch-all: | COMMENT |
| MEDIUM | cookbook/package-lock.json | 2942 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | scripts/generate_ebench_report.py | 2 | """Generate the comprehensive E-Bench v2 report from all benchmark result files.""" | STRING |
| MEDIUM | .github/workflows/ci.yml | 374 | # a benchmark smoke that proves the harness runs offline (local fallback). | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 578 | # 3. Otherwise → skipped (the harness itself is still covered by the test job). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | clients/python/leanctx/client.py | 317 | except Exception: # pragma: no cover - defensive | CODE |
| LOW | clients/python/leanctx/conformance.py | 76 | except Exception as exc: # noqa: BLE001 - capture as a failed check | CODE |
| LOW | bench/compress/benchmark.py | 49 | except Exception: | CODE |
| LOW | bench/compress/benchmark.py | 105 | except Exception as exc: # noqa: BLE001 - any failure is reported, not raised | CODE |
| LOW | bench/lifecycle/harness/codex_runner.py | 228 | except Exception as exc: | CODE |
| LOW | bench/lifecycle/harness/run_lifecycle.py | 49 | except Exception as exc: | CODE |
| LOW | rust/tests/e2e_test.py | 114 | except Exception as e: | CODE |
| LOW | rust/tests/embedding_download_test.py | 105 | except Exception as e: | CODE |
| LOW | rust/tests/pre_release_check.sh | 71 | except Exception: | CODE |
| LOW | integrations/hermes-lean-ctx/transport.py | 40 | except Exception as exc: # pragma: no cover - depends on install | CODE |
| LOW | integrations/hermes-lean-ctx/transport.py | 56 | except Exception as exc: | CODE |
| LOW | integrations/hermes-lean-ctx/transport.py | 81 | except Exception as exc: | CODE |
| LOW | integrations/hermes-lean-ctx/transport.py | 103 | except Exception as exc: | CODE |
| LOW | integrations/hermes-lean-ctx/transport.py | 117 | except Exception as exc: | CODE |
| LOW | integrations/hermes-lean-ctx/transport.py | 128 | except Exception as exc: | CODE |
| LOW | integrations/hermes-lean-ctx/__init__.py | 31 | except Exception: | CODE |
| MEDIUM | integrations/hermes-lean-ctx/__init__.py | 26 | def _resolve_hermes_home() -> str: | CODE |
| LOW | integrations/hermes-lean-ctx/tokens.py | 30 | except Exception: # pragma: no cover - depends on optional dep | CODE |
| LOW | integrations/hermes-lean-ctx/tokens.py | 65 | except Exception: # pragma: no cover - encoder edge cases | CODE |
| LOW | integrations/hermes-lean-ctx/engine.py | 17 | except Exception: # pragma: no cover - exercised outside Hermes | CODE |
| LOW | integrations/hermes-lean-ctx/engine.py | 72 | except Exception: # pragma: no cover - exotic host base | CODE |
| LOW | integrations/hermes-lean-ctx/engine.py | 146 | except Exception as exc: # never break the agent loop | CODE |
| LOW | integrations/hermes-lean-ctx/tests/conftest.py | 53 | except Exception: | CODE |
| MEDIUM | integrations/hermes-lean-ctx/tests/conftest.py | 48 | def _ensure_agent_context_engine() -> None: | CODE |
| LOW | integrations/hermes-lean-ctx/benchmarks/engines.py | 56 | except Exception as exc: # noqa: BLE001 - any import failure → skip | CODE |
| LOW | integrations/hermes-lean-ctx/benchmarks/engines.py | 68 | except Exception: # noqa: BLE001 - try the next constructor shape | CODE |
| LOW | scripts/benchmark_shell.py | 66 | except Exception: | CODE |
| LOW | scripts/benchmark_shell.py | 111 | except Exception: | CODE |
| MEDIUM⚡ | scripts/benchmark_shell.py | 277 | print(f"Error: {PYTHON_BIN} not found.", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/benchmark_shell.py | 280 | print(f"Error: {LEAN_CTX_BIN} not found.", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/benchmark_shell.py | 285 | print(f"Error: {tasks_path} not found.", file=sys.stderr) | CODE |
| LOW | scripts/benchmark_codex.py | 146 | except Exception: | CODE |
| MEDIUM | scripts/benchmark_codex.py | 313 | print(f"Error: {HUMANEVAL_PATH} not found.", file=sys.stderr) | CODE |
| MEDIUM | scripts/benchmark_codex.py | 317 | print(f"Error: {PYTHON_BIN} not found. Install Python 3.11+.", file=sys.stderr) | CODE |
| LOW | scripts/benchmark_mbpp.py | 170 | except Exception: | CODE |
| LOW | scripts/benchmark_mbpp.py | 222 | except Exception: | CODE |
| MEDIUM | scripts/benchmark_mbpp.py | 409 | print(f"Error: {MBPP_PATH} not found.", file=sys.stderr) | CODE |
| MEDIUM | scripts/benchmark_mbpp.py | 412 | print(f"Error: {PYTHON_BIN} not found.", file=sys.stderr) | CODE |
| LOW | scripts/benchmark_codex_compressed.py | 175 | except Exception: | STRING |
| LOW | scripts/benchmark_codex_compressed.py | 215 | except Exception: | STRING |
| MEDIUM | scripts/benchmark_codex_compressed.py | 424 | print(f"Error: {HUMANEVAL_PATH} not found.", file=sys.stderr) | STRING |
| LOW | scripts/verify-test-deployment-evidence.py | 261 | except Exception: | CODE |
| LOW | scripts/benchmark_multifile.py | 55 | except Exception: | CODE |
| LOW | scripts/benchmark_multifile.py | 127 | except Exception: | CODE |
| MEDIUM | scripts/benchmark_multifile.py | 281 | print(f"Error: {PYTHON_BIN} not found.", file=sys.stderr) | CODE |
| LOW | scripts/benchmark_bigcode.py | 231 | except Exception: | STRING |
| LOW | scripts/benchmark_bigcode.py | 262 | except Exception: | STRING |
| MEDIUM | scripts/benchmark_bigcode.py | 471 | print(f"Error: {BIGCODE_PATH} not found.", file=sys.stderr) | STRING |
| MEDIUM | scripts/benchmark_bigcode.py | 474 | print(f"Error: {PYTHON_BIN} not found.", file=sys.stderr) | STRING |
| LOW | packages/chrome-lean-ctx/native-host/bridge.py | 22 | except Exception: | CODE |
| LOW | packages/chrome-lean-ctx/native-host/bridge.py | 116 | except Exception as e: | CODE |
| LOW | packages/chrome-lean-ctx/native-host/bridge.py | 120 | except Exception: | CODE |
| MEDIUM | packages/chrome-lean-ctx/native-host/bridge.py | 17 | def log(msg): | CODE |
| MEDIUM | packages/chrome-lean-ctx/native-host/bridge.py | 62 | def compress(text, binary_path): | CODE |
| LOW | packages/python-lean-ctx/lean_ctx/litellm.py | 60 | except Exception: # noqa: BLE001 - any litellm import failure means "not available" | CODE |
| LOW | packages/sublime-lean-ctx/lean_ctx.py | 38 | except Exception: | CODE |
| LOW | packages/sublime-lean-ctx/lean_ctx.py | 56 | except Exception as e: | CODE |
| LOW | packages/sublime-lean-ctx/lean_ctx.py | 74 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …t/kotlin/com/leanctx/plugin/EditorFocusReporterTest.kt | 47 | parentDisposable = com.intellij.openapi.util.Disposer.newDisposable(), | CODE |
| CRITICAL | …n/kotlin/com/leanctx/plugin/LeanCtxStatusBarFactory.kt | 81 | com.intellij.openapi.wm.ToolWindowManager.getInstance(project) | CODE |
| CRITICAL | …in/kotlin/com/leanctx/plugin/actions/LeanCtxActions.kt | 15 | com.intellij.openapi.ui.Messages.showInfoMessage(project, content, "lean-ctx") | CODE |
| CRITICAL | …in/kotlin/com/leanctx/plugin/actions/LeanCtxActions.kt | 24 | com.intellij.openapi.wm.ToolWindowManager.getInstance(project) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 58 | // Step 1: Consolidate | COMMENT |
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 78 | // Step 2: Apply to session cache | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 90 | // Step 3: Verify cache contains provider data | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 100 | // Step 4: Cross-source hints for the referenced file | COMMENT |
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 117 | // Step 5: Format hints (as ctx_read would append them) | COMMENT |
| LOW | rust/tests/suite/cortex_wiring_integration.rs | 267 | // Step 1: Provider query produces chunks and consolidates them | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 295 | // Step 2: Apply edges (these would be in the graph index) | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 300 | // Step 3: Simulate ctx_read — check cross-source hints for referenced files | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 331 | // Step 4: Verify format output matches what ctx_read appends | COMMENT |
| LOW⚡ | rust/tests/suite/cortex_wiring_integration.rs | 336 | // Step 5: Verify cache hit (session cache stores the provider results) | COMMENT |
| LOW | rust/src/core/context_compiler.rs | 270 | // Step 4: DEDUP — drop items whose CONTENT is >70% redundant with an | COMMENT |
| LOW | rust/src/core/context_compiler.rs | 304 | // Step 5: ORDER — Lost-in-the-Middle (LiTM) reorder. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 101 | // Step 3: Fidelity Check (structural only, no LLM) | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 161 | /// Step 1: Promote recent session decisions/findings into project knowledge. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 219 | /// Step 2: Remove edges whose endpoints no longer exist in the knowledge store. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 235 | /// Step 4: Connect related facts that share vocabulary but lack an explicit edge. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 275 | /// Step 5: Resolve contradictions — same category+key, different values. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 313 | /// Step 6: Strengthen edges between facts co-retrieved in the same session window. | COMMENT |
| LOW | rust/src/core/cognition_loop.rs | 350 | /// Step 7: Decay confidence on stale facts, and decay edge counts for unseen edges. | COMMENT |
| LOW | rust/src/core/attention_context.rs | 81 | // Step 1: Compute raw density scores | COMMENT |
| LOW | rust/src/core/attention_context.rs | 96 | // Step 2: Apply redundancy penalties (MMR-like) | COMMENT |
| LOW | rust/src/core/attention_context.rs | 109 | // Step 3: Normalize attention scores and allocate budget | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/benchmark_shell.py | 0 | call codex exec and return (code, elapsed_seconds). | STRING |
| HIGH | scripts/benchmark_multifile.py | 0 | call codex exec and return (code, elapsed_seconds). | STRING |
| HIGH | scripts/benchmark_bigcode.py | 0 | call codex exec and return (code, elapsed_seconds). | STRING |
| HIGH | …/test/kotlin/com/leanctx/plugin/psi/SymbolMoverTest.kt | 0 | class outer { fun target() {} } val shared = outer() fun a() { shared.target() } fun b() { shared.target() } | STRING |
| HIGH | …est/kotlin/com/leanctx/plugin/psi/SymbolDeleterTest.kt | 0 | class outer { fun target() {} } val shared = outer() fun a() { shared.target() } fun b() { shared.target() } | STRING |
| HIGH | …/kotlin/com/leanctx/plugin/psi/SymbolRefactorerTest.kt | 0 | class outer { fun target() {} } val shared = outer() fun a() { shared.target() } fun b() { shared.target() } | STRING |
| HIGH | …t/kotlin/com/leanctx/plugin/psi/ReferenceFinderTest.kt | 0 | class outer { fun target() {} } val shared = outer() fun a() { shared.target() } fun b() { shared.target() } | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | clients/python/tests/test_client.py | 27 | CODE | |
| LOW | clients/python/tests/test_conformance.py | 37 | CODE | |
| LOW | clients/python/tests/test_conformance.py | 50 | CODE | |
| LOW | clients/python/leanctx/client.py | 178 | CODE | |
| LOW | clients/python/leanctx/client.py | 308 | CODE | |
| LOW | clients/python/leanctx/tool_text.py | 13 | CODE | |
| LOW | bench/compress/benchmark.py | 53 | CODE | |
| LOW | bench/agent-task/swebench_harness/run_arm.py | 118 | CODE | |
| LOW | bench/agent-task/swebench_harness/select_tasks.py | 22 | CODE | |
| LOW | bench/lifecycle/harness/codex_runner.py | 138 | CODE | |
| LOW | python-sdk/lean_ctx/streaming.py | 11 | CODE | |
| LOW | rust/tests/e2e_test.py | 33 | CODE | |
| LOW | rust/tests/embedding_download_test.py | 119 | CODE | |
| LOW | rust/tests/embedding_download_test.py | 32 | CODE | |
| LOW | integrations/hermes-lean-ctx/tokens.py | 35 | CODE | |
| LOW | integrations/hermes-lean-ctx/compaction.py | 147 | CODE | |
| LOW | integrations/hermes-lean-ctx/compaction.py | 268 | CODE | |
| LOW | integrations/hermes-lean-ctx/tests/test_tools.py | 62 | CODE | |
| LOW | integrations/hermes-lean-ctx/benchmarks/engines.py | 50 | CODE | |
| LOW | scripts/gen-sdk-matrix.py | 34 | CODE | |
| LOW | scripts/check-addon-versions.py | 109 | CODE | |
| LOW | scripts/benchmark_codex.py | 73 | CODE | |
| LOW | scripts/history-policy-gate.py | 294 | CODE | |
| LOW | scripts/benchmark_codex_compressed.py | 272 | CODE | |
| LOW | packages/chrome-lean-ctx/native-host/bridge.py | 93 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/src/tools/ctx_transcript_compact.rs | 414 | "lorem ipsum dolor sit amet ".repeat(n) | CODE |
| LOW | rust/src/tools/ctx_transcript_compact.rs | 414 | "lorem ipsum dolor sit amet ".repeat(n) | CODE |
| LOW | rust/src/core/redaction.rs | 122 | "placeholder", | CODE |
| LOW | rust/src/core/graph_enricher.rs | 410 | assert_eq!(commits[0].author, "John Doe"); | CODE |
| LOW | rust/src/core/providers/jira.rs | 508 | crate::test_env::set_var("JIRA_EMAIL", "test@test.com"); | CODE |
| LOW | rust/src/core/eval_ab/conditions.rs | 301 | "Lorem ipsum dolor sit amet, totally unrelated filler content about cats and weather.", | CODE |
| LOW | rust/src/core/eval_ab/conditions.rs | 301 | "Lorem ipsum dolor sit amet, totally unrelated filler content about cats and weather.", | CODE |
| LOW | rust/src/proxy/cache_policy.rs | 183 | let big = "lorem ipsum dolor sit amet ".repeat(50); | CODE |
| LOW | rust/src/proxy/cache_policy.rs | 183 | let big = "lorem ipsum dolor sit amet ".repeat(50); | CODE |
| LOW | rust/src/proxy/compress.rs | 638 | .map(|i| format!("Line {i:04}: lorem ipsum dolor sit amet consectetur")) | CODE |
| LOW | rust/src/proxy/compress.rs | 638 | .map(|i| format!("Line {i:04}: lorem ipsum dolor sit amet consectetur")) | CODE |
| LOW | rust/src/proxy/compress.rs | 653 | .map(|i| format!("Line {i:04}: lorem ipsum dolor sit amet consectetur")) | CODE |
| LOW | rust/src/proxy/compress.rs | 653 | .map(|i| format!("Line {i:04}: lorem ipsum dolor sit amet consectetur")) | CODE |
| LOW | integrations/hermes-lean-ctx/tests/_helpers.py | 9 | return "lorem ipsum dolor sit amet " * n | CODE |
| LOW | integrations/hermes-lean-ctx/tests/_helpers.py | 9 | return "lorem ipsum dolor sit amet " * n | CODE |
| LOW | scripts/generate_multifile_benchmark_tasks.py | 748 | r = dispatch("user.created", {"email": "test@test.com"}) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/agent-task/tasks.lock.json | 1 | {"dataset":"princeton-nlp/SWE-bench_Verified","instances":[{"base_commit":"d16bfe05a744909de4b27f5875fe0d4ed41ce607","en | CODE |
| MEDIUM | rust/src/tools/ctx_response.rs | 399 | assert!(is_filler_line("Let me know if you need more")); | CODE |
| MEDIUM | rust/src/proxy/response_shaper.rs | 392 | let input = "The fix is applied.\n\nLet me know if you need anything else!"; | CODE |
| MEDIUM | rust/src/proxy/response_shaper.rs | 420 | let input = "Great, I'll fix that for you.\n\nChanged line 42 from `x` to `y`.\n\nLet me know if you need anythi | CODE |
| MEDIUM | rust/src/proxy/response_shaper.rs | 441 | "content": "Great, I'll check that.\n\nThe answer is 42.\n\nLet me know if you need more help!" | CODE |
| MEDIUM | rust/src/proxy/response_shaper.rs | 556 | let text = "Sure, I'll help.\n\nDone.\n\nLet me know if you need more!"; | CODE |
| MEDIUM | rust/src/proxy/shaping_hook.rs | 85 | "choices": [{"message": {"role": "assistant", "content": "Great, I'll do that.\n\nDone.\n\nLet me know if yo | CODE |
| MEDIUM | rust/src/proxy/shaping_hook.rs | 94 | "choices": [{"message": {"role": "assistant", "content": "Sure, let me check that.\n\nThe answer is 42.\n\nL | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | clients/python/leanctx/__init__.py | 42 | __all__ = [ | CODE |
| LOW | clients/python/leanctx/adapters/__init__.py | 23 | __all__ = [ | CODE |
| LOW | python-sdk/lean_ctx/__init__.py | 29 | __all__ = [ | CODE |
| LOW | py-sdk/leanctx/__init__.py | 15 | __all__ = [ | CODE |
| LOW | integrations/hermes-lean-ctx/transport.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | integrations/hermes-lean-ctx/__init__.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | integrations/hermes-lean-ctx/__init__.py | 74 | __all__ = ["register", "LeanCtxEngine", "__version__"] | CODE |
| LOW | integrations/hermes-lean-ctx/tokens.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | integrations/hermes-lean-ctx/_hermes_compat.py | 62 | def update_from_response(self, usage: Dict[str, Any]) -> None: | CODE |
| LOW | integrations/hermes-lean-ctx/engine.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | integrations/hermes-lean-ctx/engine.py | 93 | def update_from_response(self, usage: Dict[str, Any]) -> None: | CODE |
| LOW | packages/python-lean-ctx/lean_ctx/__init__.py | 17 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/demo-great-filter.sh | 25 | # Usage: | COMMENT |
| LOW | scripts/preflight.sh | 25 | # Usage: | COMMENT |
| LOW | scripts/demo-outcome-pricing.sh | 19 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/run_benchmark.sh | 104 | # Display results | COMMENT |
| LOW | rust/src/core/code_health/cognitive.rs | 10 | //! ## Increment rules | COMMENT |
| LOW | scripts/monitor-agents-tickets.sh | 37 | # Check if agent has committed on its branch | COMMENT |
| LOW | scripts/monitor-agents-tickets.sh | 40 | # Check if log contains error/panic | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rust/tests/neuro_physics_scenarios.rs | 719 | "// TODO: implement // TODO: implement // TODO: implement // placeholder // placeholder", | CODE |
| LOW | rust/eval/recording.json | 19 | "text": "```bash\n// file: solution.sh\n# TODO: implement add() so that `add a b` prints a+b\nadd() { echo \"$(( $ | CODE |
| LOW | rust/eval/accuracy/code/solution.sh | 1 | # TODO: implement factorial() so that `factorial n` prints n! (1 for n <= 1). | COMMENT |
| LOW | rust/eval/testbench/repos/code-fizz/solution.sh | 1 | # TODO: implement fizzbuzz(n). | COMMENT |
| LOW | rust/src/cli/eval_cmd.rs | 599 | "# TODO: implement add() so that `add a b` prints a+b\nadd() { echo 0; }\n", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ents/rust/lean-ctx-client/tests/dependency_boundary.rs | 33 | "# This file is automatically @generated by Cargo.\n\ | CODE |
| MEDIUM⚡ | rust/tests/suite/pattern_snapshots.rs | 664 | release # Create a release build\n\ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integrations/hermes-lean-ctx/benchmarks/run.py | 68 | CODE |