AI Slop Code RIsk Monitor

langchain-ai/deepagents

The batteries-included agent harness.

26.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for langchain-ai/deepagents, a Python project with 30,108 GitHub stars. SynthScan examined 702,544 lines of code across 1625 source files, recording 17035 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 26.0 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

26.0
Adjusted Signal
26.0
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
30.1K
Stars
Python
Language
702.5K
Lines of Code
1.6K
Files
17.0K
Pattern Hits
2026-10-12
Scan Date
0.35
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 60.5/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 11.5/100 · LOW

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

Agent Over-Engineering Ratio 62.5/100 · HIGH

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

PR Review Velocity Impact 78.2/100 · CRITICAL

Which changes need focused human review? 17035 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 3HIGH 573MEDIUM 747LOW 15712

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 17035 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers12892 hits · 10260 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/interfaces.py259 def top_level_conversation_id(self, conversation_id: str) -> str:CODE
LOWlibs/talon/deepagents_talon/media.py189def resolve_bounded_media_path(CODE
LOWlibs/talon/deepagents_talon/archive_saver.py138 async def aget_delta_channel_history(CODE
LOWlibs/talon/deepagents_talon/config.py219 def history_embedding_profile(self) -> EmbeddingProfile:CODE
LOW⚡libs/talon/deepagents_talon/host.py801 async def _reload_mcp_configuration(CODE
LOW⚡libs/talon/deepagents_talon/host.py892 async def _process_background_results(self) -> None:CODE
LOW⚡libs/talon/deepagents_talon/host.py900 async def _dispatch_background_results(self) -> None:CODE
LOW⚡libs/talon/deepagents_talon/host.py2390def _parse_tool_approval_reaction(emoji: str) -> ToolApprovalDecision | None:CODE
LOW⚡libs/talon/deepagents_talon/host.py2399def _normalize_reaction_emoji(emoji: str) -> str:CODE
LOW⚡libs/talon/deepagents_talon/host.py2407def _reaction_mismatch_resolution(CODE
LOWlibs/talon/deepagents_talon/host.py353 def _forget_idle_conversation(self, conversation_id: str) -> None:CODE
LOWlibs/talon/deepagents_talon/host.py551 async def _handle_conversation_command(CODE
LOWlibs/talon/deepagents_talon/host.py1141 def _requeue_background_results(self, result: AgentResult) -> None:CODE
LOWlibs/talon/deepagents_talon/host.py1368 def _roll_back_conversation_resets(self, previous: dict[str, int]) -> None:CODE
LOWlibs/talon/deepagents_talon/host.py1431 async def _cancel_conversation_tasks(self, conversation_id: str) -> _CancelOutcome:CODE
LOWlibs/talon/deepagents_talon/host.py1484 def _mark_cancellation_timeout(CODE
LOWlibs/talon/deepagents_talon/host.py1556 async def _handle_authorization_event( # noqa: PLR0913 # binds all channel identities.CODE
LOWlibs/talon/deepagents_talon/host.py1678 async def _await_authorization_callback(CODE
LOWlibs/talon/deepagents_talon/host.py1701 async def _intercept_authorization_message(CODE
LOWlibs/talon/deepagents_talon/host.py1763 async def _remind_device_authorization(CODE
LOWlibs/talon/deepagents_talon/host.py1786 def _register_authorization_flow(CODE
LOWlibs/talon/deepagents_talon/host.py1808 def _finish_authorization_flow(CODE
LOWlibs/talon/deepagents_talon/host.py1855 async def _send_tool_approval_prompt(CODE
LOWlibs/talon/deepagents_talon/host.py1870 async def _handle_tool_approval_reply(CODE
LOWlibs/talon/deepagents_talon/host.py1893 def _handle_tool_approval_reaction(CODE
LOWlibs/talon/deepagents_talon/host.py1982 def _complete_conversation_task(CODE
LOWlibs/talon/deepagents_talon/host.py2130def _outbound_media_from_refs(CODE
LOWlibs/talon/deepagents_talon/host.py2177def _with_failed_attachment_text(text: str, failed: list[str]) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py2210def _media_with_fallback_caption(CODE
LOWlibs/talon/deepagents_talon/host.py2263def _format_tool_approval_prompt(approval: ToolApprovalRequest) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py2290def _load_conversation_resets(path: Path) -> dict[str, int]:CODE
LOWlibs/talon/deepagents_talon/host.py2310def _load_smart_model_override(path: Path) -> dict[str, str | None] | None:CODE
LOWlibs/talon/deepagents_talon/host.py2353def _save_conversation_resets(path: Path, resets: Mapping[str, int]) -> None:CODE
LOWlibs/talon/deepagents_talon/host.py2375def _parse_tool_approval_reply(text: str, *, batch: bool = False) -> ToolApprovalDecision | None:CODE
LOWlibs/talon/deepagents_talon/host.py2432def _log_tool_approval_reaction(CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py88def _no_authorization_channel_error(server_name: str) -> MCPAuthorizationError:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py243 async def set_tokens_and_client_info(CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py335def _with_stored_refresh_token(CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py349def _mark_authorization_complete() -> None:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py368async def _authorize_discovered_device(CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py398async def _discover_device_metadata(CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py905 async def _discover_refresh_metadata(self) -> None:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py922 async def _discover_refresh_resource(self) -> None:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py1099def extract_oauth_callback_url(text: str, *, redirect_uri: str | None = None) -> str | None:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py1120def extract_loopback_oauth_callback_url(text: str) -> str | None:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py1172async def _preseed_slack_client_info(storage: FileTokenStorage) -> None:CODE
LOWlibs/talon/deepagents_talon/observability.py232def agent_activity_logging_enabled(env: Mapping[str, str]) -> bool:CODE
LOWlibs/talon/deepagents_talon/observability.py345def langsmith_tracing_enabled(env: Mapping[str, str]) -> bool:CODE
LOWlibs/talon/deepagents_talon/observability.py483def _redact_equals_assignment(match: re.Match[str]) -> str:CODE
LOWlibs/talon/deepagents_talon/runtime.py805 async def reload_subagent_configuration(self) -> None:CODE
LOWlibs/talon/deepagents_talon/runtime.py851 async def reload_subagent_configuration() -> dict[str, str]:CODE
LOWlibs/talon/deepagents_talon/runtime.py1021 async def _invoke_payload_with_retries(CODE
LOWlibs/talon/deepagents_talon/runtime.py1267def _action_requests_from_interrupt(interrupt: object) -> tuple[Mapping[str, object], ...]:CODE
LOWlibs/talon/deepagents_talon/runtime.py1372def _approval_handler_from_request(request: AgentRequest) -> ToolApprovalHandler | None:CODE
LOWlibs/talon/deepagents_talon/runtime.py1424def _is_allowed_backend_env_key(key: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py1428def _is_scrubbed_backend_env_key(key: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py1473def _recursion_limit_from_env(env: Mapping[str, str], fallback: int) -> int:CODE
LOWlibs/talon/deepagents_talon/runtime.py1517def _has_summarization_tool_middleware(CODE
LOWlibs/talon/deepagents_talon/runtime.py1549def _cron_origin_from_request(request: AgentRequest) -> CronOrigin:CODE
LOWlibs/talon/deepagents_talon/runtime.py1653def _subagent_from_frontmatter(CODE
12832 more matches not shown…
Decorative Section Separators543 hits · 1902 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/tests/evals/external_benchmarks.py191# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/external_benchmarks.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_followup_quality.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_followup_quality.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py206# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py251# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py406# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py408# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py432# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py434# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py102# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py150# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_memory_multiturn.py194# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_memory_multiturn.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py37# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_tool_selection.py110# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_tool_selection.py112# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_tool_selection.py193# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_tool_selection.py195# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_tool_selection.py277# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_tool_selection.py279# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/utils.py22# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/utils.py24# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/utils.py557# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/utils.py559# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py787# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py789# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py957# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py959# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1192# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1194# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1256# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1258# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1407# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1409# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py121 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py123 # ------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/llm_judge.py227# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/llm_judge.py229# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_memory.py355# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡libs/evals/tests/evals/test_memory.py357# ---------------------------------------------------------------------------COMMENT
483 more matches not shown…
Docstring Block Structure332 hits · 1660 pts
SeverityFileLineSnippetContext
HIGHlibs/DEVELOPMENT.md108Send an email to a recipient with specified priority. Any additional context about the function can go here. ASTRING
HIGHlibs/talon/deepagents_talon/media.py162Build an outbound channel media payload for a markdown media ref. Args: ref: Markdown media reference. STRING
HIGHlibs/talon/deepagents_talon/media.py195Resolve a local media path and enforce containment under a trusted root. Args: path: Candidate media path. STRING
HIGHlibs/talon/deepagents_talon/archive_saver.py261Delete selected past sessions owned by this chat. Failures may leave a partially deleted batch; retry the same STRING
HIGHlibs/talon/deepagents_talon/subagents.py252Resolve exact attachments, compiling fresh roles without inherited middleware. Frontmatter tool names are resolved STRING
HIGHlibs/talon/deepagents_talon/config.py64Build runtime configuration from environment variables. Args: env: Environment mapping to read. DefSTRING
HIGHlibs/talon/deepagents_talon/host.py1157Invoke the agent for one scheduled job. Args: job: Claimed cron job to run. Returns: STRING
HIGHlibs/talon/deepagents_talon/mcp_auth.py705Validate and resolve `url` off the event loop, under its own bound. `asyncio.to_thread` keeps a blocking `getaddrinSTRING
HIGHlibs/talon/deepagents_talon/clock.py23Describe the current instant in a timezone. Args: timezone: IANA timezone name. Defaults to the host's locaSTRING
HIGHlibs/talon/deepagents_talon/model_selection.py212Return the chat model for `spec`, building it on first use. Blocking: discovery reads provider profile data andSTRING
HIGHlibs/talon/deepagents_talon/runtime.py530Report estimated context costs without running the agent. Args: conversation_id: Host-resolved agenSTRING
HIGHlibs/talon/deepagents_talon/runtime.py658Invoke the Deep Agents graph for one Talon request. Args: request: Agent request supplied by the TaSTRING
HIGHlibs/talon/deepagents_talon/sandbox.py67Start the configured sandbox for the host lifetime. Yields `None` when `DEEPAGENTS_TALON_SANDBOX` is unset. An owneSTRING
HIGHlibs/talon/deepagents_talon/mcp_config.py271Hold an exclusive lock for `path` while the block runs. The lock is a sidecar `.lock` file beside `path`, so readerSTRING
HIGHlibs/talon/deepagents_talon/async_subagents.py20Load async subagent definitions from `config.toml`. Reads the `[async_subagents]` section where each sub-table defiSTRING
HIGHlibs/talon/deepagents_talon/pairing.py625Build a channel's pairing policy from env, or `None` when disabled. Args: env: Environment variable mappingSTRING
HIGHlibs/talon/deepagents_talon/timezones.py33Look up an IANA timezone by name. Legacy POSIX aliases such as `EST5EDT` and bare UTC offsets are rejected: theSTRING
HIGHlibs/talon/deepagents_talon/fleet_import.py53Materialize a Fleet zip export into a Talon local agent directory. Args: zip_path: Fleet export zip file toSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py240Deserialize a cron origin from disk. Args: data: JSON origin dictionary. Returns: STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py374Parse a supported schedule string. Recognized forms are `in 30m`, `every 15m`, `at YYYY-MM-DD HH:MM <tzSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py561Deserialize a cron schedule from disk. Every field is type-checked before use: the file is a trust boundary, STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py634Deserialize repeat state from disk. Args: data: JSON repeat dictionary. Returns: STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py778Deserialize a cron job from disk. Args: data: JSON job dictionary. Returns: PaSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py867Create and persist a cron job. Args: prompt: Prompt passed to the agent when the job fires. STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py976Edit a job within the current conversation scope. Args: job_id: Job identifier. origin:STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1042Remove a job within the current conversation scope. Args: job_id: Job identifier. origiSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1188Delete completed jobs older than the retention window. Args: retain_for: Duration to keep disabled STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1374Parse an `until` bound written as `YYYY-MM-DD HH:MM <IANA tz>`. Uses the same local-time rules as the `at` scheduleSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1403Resolve a schedule's first run, rejecting a one-shot that already passed. Args: schedule: Schedule being inSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1427Look up an IANA timezone, reporting failures as a cron job error. Cached because every schedule validates its zone STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1468Attach `zone` to a naive local wall-clock time. A time skipped by a spring-forward transition is snapped forward toSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1495Return the next local `hour:minute` in `zone` strictly after `now`. Each candidate is rebuilt from a local date ratSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1524Return the first instant strictly after `now` that `expression` matches in `zone`. Candidates are local wall-clock STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1553Parse a 24-hour local `HH:MM` time. Args: value: Time text. Returns: Hour and minute. RaiSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1580Parse a local `YYYY-MM-DD` date. Args: value: Date text. Returns: Parsed date. Raises: STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1741Confirm a decoded JSON value is an object before reading fields from it. Called once per record rather than once peSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py1834Rebuild a local date from its integer components. Args: record: Schedule dictionary. Returns: STRING
HIGHlibs/talon/deepagents_talon/cron/expression.py130Parse a five-field cron expression or an `@` macro. Args: text: Expression such as `*/15 9-17 * * mon-fri` STRING
HIGHlibs/talon/deepagents_talon/cron/expression.py200Expand one `*`, `N`, `A-B`, or stepped term into its values. A step on a single value, `A/S`, runs from `A` to the STRING
HIGHlibs/talon/deepagents_talon/channels/whatsapp.py131Build WhatsApp channel configuration from Talon environment values. Args: config: Talon process conSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py135Build Telegram channel configuration from Talon environment values. Args: config: Talon process conSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py227Call a Bot API method and return the decoded response. Args: method: Bot API method name (e.g. `getSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py258Call a Bot API method with one local file as multipart form data. Args: method: Bot API method nameSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py459Send validated image, video, or document media to a Telegram chat. Args: conversation_id: Telegram STRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py999Validate a Bot API response envelope and return the raw ``result`` value. Args: payload: Full Bot API respoSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py1024Extract a dict result from a validated Bot API response. Args: result: Validated ``result`` field from a BoSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py1051Extract the list of updates from a getUpdates response result. Args: result: Validated ``result`` field froSTRING
HIGHlibs/talon/deepagents_talon/channels/discord.py116Build Discord channel configuration from Talon environment values. Args: config: Talon process confSTRING
HIGHlibs/talon/deepagents_talon/channels/discord.py1186Parse a boolean environment value. Args: value: Raw environment value, or `None` when unset. defaulSTRING
HIGHlibs/talon/deepagents_talon/channels/discord.py1210Parse an optional Discord guild id. Args: value: Raw environment value, or `None` when unset. Returns:STRING
HIGHlibs/talon/deepagents_talon/channels/base.py149Split outbound text into channel-sized chunks. Args: text: Text to split. limit: Maximum charactersSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py181Build shared channel exposure policy from provider-specific env prefix. Args: env: Environment variable mapSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py243Validate outbound media path, type, and size. Args: media: Media payload to validate. root: OptionaSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py393Return the configured global media cap. Args: env: Environment variable mapping. Returns: MaxiSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py418Parse an optional float value with a default. Args: value: Raw environment value. default: Value reSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py434Parse an optional integer value with a default. Args: value: Raw environment value. default: Value STRING
HIGHlibs/talon/deepagents_talon/channels/slack.py160Build Slack channel configuration from Talon environment values. Args: config: Talon process configSTRING
HIGHlibs/talon/deepagents_talon/channels/slack.py1276Split a Talon conversation id into a Slack channel and thread. Args: conversation_id: DM channel id, or `chSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py32Parse a `cb-<suite>-<i>` task id. Args: task_id: Identifier of the form `cb-<suite>-<i>`, where `<i>` is thSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py52Look up the Context-Bench record identified by a `cb-<suite>-<i>` task id. Args: task_id: Identifier of theSTRING
272 more matches not shown…
Unused Imports1164 hits · 1044 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/interfaces.py6CODE
LOWlibs/talon/deepagents_talon/media.py6CODE
LOWlibs/talon/deepagents_talon/archive_saver.py7CODE
LOWlibs/talon/deepagents_talon/archive_saver.py22CODE
LOWlibs/talon/deepagents_talon/subagents.py3CODE
LOWlibs/talon/deepagents_talon/history_profiles.py3CODE
LOWlibs/talon/deepagents_talon/config.py6CODE
LOWlibs/talon/deepagents_talon/history_adapters.py3CODE
LOWlibs/talon/deepagents_talon/history_adapters.py13CODE
LOWlibs/talon/deepagents_talon/history_vector_backends.py3CODE
LOWlibs/talon/deepagents_talon/history_vector_backends.py21CODE
LOWlibs/talon/deepagents_talon/history_vector_backends.py22CODE
LOWlibs/talon/deepagents_talon/history_backends.py3CODE
LOWlibs/talon/deepagents_talon/mcp_oauth.py3CODE
LOWlibs/talon/deepagents_talon/host.py6CODE
LOWlibs/talon/deepagents_talon/mcp_middleware.py3CODE
LOWlibs/talon/deepagents_talon/history_vectors.py3CODE
LOWlibs/talon/deepagents_talon/history_vectors.py16CODE
LOWlibs/talon/deepagents_talon/checkpoint_backends.py3CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py3CODE
LOWlibs/talon/deepagents_talon/clock.py6CODE
LOWlibs/talon/deepagents_talon/store_records.py3CODE
LOWlibs/talon/deepagents_talon/history_embeddings.py3CODE
LOWlibs/talon/deepagents_talon/model_selection.py23CODE
LOWlibs/talon/deepagents_talon/background.py3CODE
LOWlibs/talon/deepagents_talon/background.py25CODE
LOWlibs/talon/deepagents_talon/background.py32CODE
LOWlibs/talon/deepagents_talon/history_drivers.py3CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py9CODE
LOWlibs/talon/deepagents_talon/__init__.py10CODE
LOWlibs/talon/deepagents_talon/__init__.py10CODE
LOWlibs/talon/deepagents_talon/__init__.py10CODE
LOWlibs/talon/deepagents_talon/__init__.py10CODE
LOWlibs/talon/deepagents_talon/__init__.py10CODE
LOWlibs/talon/deepagents_talon/__init__.py10CODE
LOWlibs/talon/deepagents_talon/__init__.py10CODE
LOWlibs/talon/deepagents_talon/__init__.py19CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py20CODE
LOWlibs/talon/deepagents_talon/__init__.py37CODE
LOWlibs/talon/deepagents_talon/__init__.py37CODE
LOWlibs/talon/deepagents_talon/__init__.py37CODE
LOWlibs/talon/deepagents_talon/__init__.py37CODE
LOWlibs/talon/deepagents_talon/__init__.py45CODE
LOWlibs/talon/deepagents_talon/__init__.py45CODE
LOWlibs/talon/deepagents_talon/observability.py6CODE
1104 more matches not shown…
Cross-Language Confusion108 hits · 626 pts
SeverityFileLineSnippetContext
HIGHlibs/talon/tests/unit_tests/test_tool_approvals.py29 b'{"tool": null}',CODE
HIGH⚡libs/talon/tests/channels/test_slack.py888 ("a &lt; b &amp;&amp; c &gt; d", "a < b && c > d"),CODE
HIGHlibs/evals/harbor_adapters/drbench/adapter.py1198# password null) keep each app's built-in login.COMMENT
HIGHlibs/evals/tests/evals/test_auto_mode_authorization.py257 arguments={"command": "source .env && python -m project.cli diagnose"},CODE
HIGHlibs/code/tests/unit_tests/test_server_manager.py69 '["ls", null]', # list with a null elementCODE
HIGHlibs/code/tests/unit_tests/test_uninstall_command.py683 `dcode uninstall openai && echo removed` printing "removed" would tell aSTRING
HIGHlibs/code/tests/unit_tests/test_install_script.py3180 f"rc=0\nwget_download - {url!r} '' true || rc=$?\n"CODE
HIGHlibs/code/tests/unit_tests/test_auto_mode.py4031 ("Run git status", "git status && git push origin feature"),CODE
HIGHlibs/code/tests/unit_tests/test_extras_info.py485 '{"dir_info": null}', # valid JSON, dir_info not an objectCODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py159 ("ls && cat file", True),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py160 ("ls && rm file", False),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py161 ("ls -la && grep pattern file && cat output.txt", True),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py162 ("ls && cat file && grep test", True),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py163 ("cat a.txt && cat b.txt && cat c.txt", True),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py164 ("ls && rm -rf /", False),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py177 ("ls || cat file", True),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py178 ("ls || rm file", False),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py549 ("ls && cat file", True),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py550 ("ls && grep test file", True),CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py639 assert not contains_dangerous_patterns("ls && cat file")CODE
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py170 """Test commands with && operator (commonly used by Claude for chaining)."""STRING
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py184 """Test commands with || operator."""STRING
HIGH⚡libs/code/tests/unit_tests/test_shell_allow_list.py638 """Double && should not be flagged as dangerous (it's a safe operator)."""STRING
HIGHlibs/code/tests/unit_tests/test_update_check.py1251 == f"export PATH={quoted_bin_dir}:$PATH\nhash -r 2>/dev/null || true"CODE
HIGH…ode/tests/integration_tests/test_sandbox_operations.py41 "rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops"CODE
HIGHlibs/code/deepagents_code/update_check.py1992 return f"export PATH={quoted}:$PATH\nhash -r 2>/dev/null || true"CODE
HIGH⚡libs/code/deepagents_code/local_context.py413 BRANCH="$(git rev-parse --abbrev-ref HEAD 2>/dev/null)"CODE
HIGH⚡libs/code/deepagents_code/local_context.py415 COMMIT="$(git rev-parse --short HEAD 2>/dev/null)"CODE
HIGH⚡libs/code/deepagents_code/local_context.py423 refs/heads/main refs/heads/master 2>/dev/null); doCODE
HIGHlibs/code/deepagents_code/local_context.py283 GIT_INFO="$(git rev-parse --is-inside-work-tree --show-toplevel 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py326 $MONOREPO && echo "- Monorepo: yes"CODE
HIGHlibs/code/deepagents_code/local_context.py344 if grep -q '\[tool\.uv\]' pyproject.toml 2>/dev/null; then PKG="Python: uv"CODE
HIGHlibs/code/deepagents_code/local_context.py345 elif grep -q '\[tool\.poetry\]' pyproject.toml 2>/dev/null; then PKG="Python: poetry"CODE
HIGHlibs/code/deepagents_code/local_context.py400$_RT_CLEANUP && rm -rf "$_RT_TMP"CODE
HIGHlibs/code/deepagents_code/local_context.py485 $_GH_CLEANUP && rm -rf "$_GH_TMP"CODE
HIGHlibs/code/deepagents_code/local_context.py510 _STACK_GIT_DIR="$(git rev-parse --git-dir 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py529if [ -f Makefile ] && grep -qE '^tests?:' Makefile 2>/dev/null; then TC="make test"CODE
HIGHlibs/code/deepagents_code/local_context.py536 && grep -q '"test"' package.json 2>/dev/null; thenCODE
HIGHlibs/code/deepagents_code/local_context.py551 { ls -1 2>/dev/null; [ -e .deepagents ] && echo .deepagents; } |CODE
HIGHlibs/code/deepagents_code/local_context.py616 $TREE_TRUNCATED && echo "... (more lines truncated)"CODE
HIGHlibs/code/deepagents_code/offload_api.py610 msg = f"context.{key} must be a string or null, got {type(value).__name__}."CODE
HIGHlibs/code/deepagents_code/offload_api.py622 "context.model_context_limit must be an integer or null, "CODE
HIGHlibs/code/deepagents_code/offload_api.py629 f"context.auto_approve must be a boolean or null, "CODE
HIGHlibs/partners/quickjs/tests/unit_tests/test_ptc.py394 undefined = await repl.eval_async("await tools.myTool({ name: undefined })")CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1302 "mustThrow('assign', () => { globalThis.task = null; });"CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1305 "if (!Object.isFrozen(task) || task.extra !== undefined) {"CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1557 " calls.push(task({"CODE
HIGH⚡…s/partners/quickjs/tests/unit_tests/test_end_to_end.py302 code = "const r = await tools.getUserEmailOrNone({user_id: -1});\n`${r === null}`;"CODE
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py26 " values.push(await tools.echoPayload({value: `value-${i}`}));"CODE
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py35 " values.push(value);"CODE
HIGHlibs/partners/quickjs/langchain_quickjs/_prompt.py115 reviewed.push(...(await Promise.all(batch.map(async (file) => {CODE
HIGH⚡libs/deepagents/tests/unit_tests/test_version.py250 pytest.param('{"dir_info": null}', id="null-dir-info"),CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py267 sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py1653 sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py1924 assert sandbox.execute(f"test -e {off_path} && echo Y || echo N").output.strip() == "N"CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py1941 self.sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py1358{ ( eval "$__da_cmd" ); echo "$?" > "$__da_ecf"; } 2>&1 | { head -c __MAXBYTES__ > "$__da_f"; cat > /dev/null; }CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py1359__da_ec=$(cat "$__da_ecf" 2>/dev/null)CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py1963 Runs `test -e || test -L` first: a path that does not exist (and is notSTRING
HIGH⚡libs/acp/tests/test_dangerous_patterns.py65 assert not contains_dangerous_patterns("cd dir && ls")CODE
48 more matches not shown…
Excessive Try-Catch Wrapping579 hits · 518 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/history_adapters.py55 except Exception: # noqa: BLE001 # Provider validation can include API keys.CODE
LOWlibs/talon/deepagents_talon/history_vector_backends.py185 except Exception: # noqa: BLE001 # Plugin errors may contain URI credentials.CODE
LOWlibs/talon/deepagents_talon/history_backends.py66 except Exception: # noqa: BLE001 # Metadata errors may include URI credentials.CODE
LOWlibs/talon/deepagents_talon/history_backends.py88 except Exception: # noqa: BLE001 # Driver errors may contain credentials.CODE
LOWlibs/talon/deepagents_talon/history_backends.py114 except Exception: # noqa: BLE001 # Plugin errors may contain URI credentials.CODE
LOWlibs/talon/deepagents_talon/history_backends.py145 except Exception: # noqa: BLE001 # SQLite errors may contain sensitive connection details.CODE
LOWlibs/talon/deepagents_talon/history_backends.py175 except Exception: # noqa: BLE001 # Driver startup errors may contain URI credentials.CODE
LOWlibs/talon/deepagents_talon/history_backends.py240 except Exception: # noqa: BLE001 # Driver startup errors may contain URI credentials.CODE
LOW⚡libs/talon/deepagents_talon/host.py781 except Exception: # noqa: BLE001CODE
LOW⚡libs/talon/deepagents_talon/host.py791 except Exception: # noqa: BLE001CODE
LOW⚡libs/talon/deepagents_talon/host.py811 except Exception: # noqa: BLE001 # Do not disclose config or transport errors.CODE
LOW⚡libs/talon/deepagents_talon/host.py897 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py397 except Exception: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/host.py477 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py699 except Exception: # noqa: BLE001 # Diagnostics must not disclose runtime errors.CODE
LOWlibs/talon/deepagents_talon/host.py712 except Exception: # noqa: BLE001 # Do not disclose provider discovery errors.CODE
LOWlibs/talon/deepagents_talon/host.py729 except Exception: # noqa: BLE001 # Do not disclose provider or credential errors.CODE
LOWlibs/talon/deepagents_talon/host.py1057 except Exception: # noqa: BLE001 # _invoke_agent logged the traceback for operatorsCODE
LOWlibs/talon/deepagents_talon/host.py1268 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py1310 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py1357 except Exception: # noqa: BLE001 # Report failure without disclosing stored history.CODE
LOWlibs/talon/deepagents_talon/host.py1382 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py1471 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py2224 except Exception: # noqa: BLE001 # typing indicators are best-effort adapter calls.CODE
LOWlibs/talon/deepagents_talon/host.py2254 except Exception: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/host.py2367 except Exception:CODE
LOWlibs/talon/deepagents_talon/history_vectors.py241 except Exception as error: # noqa: BLE001 # Optional indexing must not stop conversation writes.CODE
LOWlibs/talon/deepagents_talon/history_vectors.py371 except Exception: # noqa: BLE001 # Search remains usable without the optional backend.CODE
LOWlibs/talon/deepagents_talon/checkpoint_backends.py39 except Exception: # noqa: BLE001 # Driver errors can contain URI credentials.CODE
LOWlibs/talon/deepagents_talon/clock.py83 except Exception as exc: # noqa: BLE001 # tool errors are returned to the agentCODE
LOWlibs/talon/deepagents_talon/background.py279 except Exception:CODE
LOWlibs/talon/deepagents_talon/background.py326 except Exception:CODE
MEDIUMlibs/talon/deepagents_talon/runtime.py851def reload_subagent_configuration() -> dict[str, str]:CODE
LOWlibs/talon/deepagents_talon/runtime.py594 except Exception: # noqa: BLE001 # a stale selection must not fail the turnCODE
LOWlibs/talon/deepagents_talon/runtime.py779 except Exception: # noqa: BLE001 # keep the previous graph usable after an invalid editCODE
LOWlibs/talon/deepagents_talon/runtime.py791 except Exception:CODE
LOWlibs/talon/deepagents_talon/runtime.py827 except Exception: # noqa: BLE001 # never return configuration contentsCODE
LOWlibs/talon/deepagents_talon/runtime.py854 except Exception: # noqa: BLE001 # report reload failure without leaking config valuesCODE
LOWlibs/talon/deepagents_talon/runtime.py895 except Exception:CODE
LOWlibs/talon/deepagents_talon/runtime.py1045 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/sandbox.py173 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/mcp.py374 except Exception:CODE
LOWlibs/talon/deepagents_talon/mcp.py628 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/mcp.py661 except Exception: # noqa: BLE001 # status delivery cannot expose or undo OAuth state.CODE
LOWlibs/talon/deepagents_talon/speech.py176 except Exception:CODE
LOWlibs/talon/deepagents_talon/pairing.py688 except Exception: # noqa: BLE001 # A failed courtesy reply must not break inbound handling.CODE
LOWlibs/talon/deepagents_talon/messaging.py69 except Exception: # noqa: BLE001 # Keep transport failures out of model context.CODE
LOWlibs/talon/deepagents_talon/cron/tools.py248 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py260 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py286 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py301 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py107 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py148 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py185 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py346 except Exception:CODE
LOWlibs/talon/deepagents_talon/channels/discord.py461 except Exception: # noqa: BLE001 # A failed registration must not stop the channel.CODE
LOWlibs/talon/deepagents_talon/channels/discord.py541 except Exception as error:CODE
LOWlibs/talon/deepagents_talon/channels/discord.py762 except Exception as error: # noqa: BLE001 # transport errors must not crash the host loopCODE
LOWlibs/talon/deepagents_talon/channels/discord.py861 except Exception: # noqa: BLE001 # Report the failure through the interaction.CODE
LOWlibs/talon/deepagents_talon/channels/base.py641 except Exception as exc: # noqa: BLE001 # transport errors must not crash the host loopCODE
519 more matches not shown…
Cross-File Repetition101 hits · 505 pts
SeverityFileLineSnippetContext
HIGHlibs/talon/deepagents_talon/interfaces.py0register the host callback for inbound messages. args: handler: coroutine callback invoked for each inbound channel messSTRING
HIGHlibs/talon/deepagents_talon/channels/discord.py0register the host callback for inbound messages. args: handler: coroutine callback invoked for each inbound channel messSTRING
HIGHlibs/talon/deepagents_talon/channels/slack.py0register the host callback for inbound messages. args: handler: coroutine callback invoked for each inbound channel messSTRING
HIGHlibs/talon/deepagents_talon/interfaces.py0register the host callback for inbound reactions. args: handler: coroutine callback invoked for each inbound channel reaSTRING
HIGHlibs/talon/deepagents_talon/channels/discord.py0register the host callback for inbound reactions. args: handler: coroutine callback invoked for each inbound channel reaSTRING
HIGHlibs/talon/deepagents_talon/channels/slack.py0register the host callback for inbound reactions. args: handler: coroutine callback invoked for each inbound channel reaSTRING
HIGHlibs/evals/tests/evals/test_followup_quality.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGH…bs/evals/tests/evals/tau2_airline/test_tau2_airline.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_tool_usage_relational.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_tool_selection.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_todos.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_summarization.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_memory_multiturn.py0apply memory category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_memory.py0apply memory category and baseline tier to all tests in this module.STRING
HIGH…ts/evals/memory_agent_bench/test_memory_agent_bench.py0apply memory category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_system_prompt.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_subagents.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_skills.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/code/tests/unit_tests/test_configuration.py0resolve `option` through production code as `(value, source)`. thin alias for the shared `resolve_option_for_test`; see STRING
HIGH…code/tests/unit_tests/test_configuration_resolution.py0resolve `option` through production code as `(value, source)`. thin alias for the shared `resolve_option_for_test`; see STRING
HIGHlibs/code/tests/unit_tests/test_config_manifest.py0resolve `option` through production code as `(value, source)`. thin alias for the shared `resolve_option_for_test`; see STRING
HIGHlibs/code/tests/unit_tests/test_config.py0redirect the credential store into a temp directory.STRING
HIGHlibs/code/tests/unit_tests/test_model_config.py0redirect the credential store into a temp directory.STRING
HIGH…code/tests/unit_tests/tui/widgets/test_auth_widgets.py0redirect the credential store into a temp directory.STRING
HIGH…e/tests/unit_tests/tui/widgets/test_thread_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…de/tests/unit_tests/tui/widgets/test_model_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…de/tests/unit_tests/tui/widgets/test_agent_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…s/code/tests/integration_tests/test_sandbox_factory.py0test async upload followed by download for data integrity.STRING
HIGH…s/tests/unit_tests/backends/test_filesystem_backend.py0test async upload followed by download for data integrity.STRING
HIGH…s/unit_tests/backends/test_filesystem_backend_async.py0test async upload followed by download for data integrity.STRING
HIGHlibs/code/deepagents_code/goal_rubric.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/_glm_5p2_profile.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/resume_state.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/configurable_model.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/cost_tracking.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/ask_user.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/auto_mode.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/goal_tools.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/agent.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/local_context.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/memory_guard.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/hooks/server_middleware.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/rubric.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/subagents.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/skills.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/memory.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/filesystem.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGH…s/deepagents/deepagents/middleware/patch_tool_calls.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/deepagents/deepagents/middleware/summarization.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGH…bs/deepagents/deepagents/middleware/async_subagents.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGH…eepagents/deepagents/middleware/unsupported_content.py0omit hook inputs from traces by default; set a `tracepolicy` to override.STRING
HIGHlibs/code/deepagents_code/subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGHlibs/deepagents/deepagents/middleware/subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGH…bs/deepagents/deepagents/middleware/async_subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGHlibs/code/deepagents_code/tui/modals/model_switch.py0focus the modal so its bindings receive keyboard input.STRING
HIGHlibs/code/deepagents_code/tui/modals/resume_compact.py0focus the modal so its bindings receive keyboard input.STRING
HIGH…ode/deepagents_code/tui/widgets/thread_agent_switch.py0focus the modal so its bindings receive keyboard input.STRING
HIGHlibs/code/deepagents_code/tui/widgets/cwd_switch.py0focus the modal so its bindings receive keyboard input.STRING
HIGHlibs/code/deepagents_code/tui/modals/cold_cache.py0toggle selection styling. args: selected: whether this row is currently under the cursor.STRING
HIGH…ode/deepagents_code/tui/widgets/notification_center.py0toggle selection styling. args: selected: whether this row is currently under the cursor.STRING
41 more matches not shown…
Modern Structural Boilerplate418 hits · 407 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/interfaces.py203 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/interfaces.py275 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/history_adapters.py40logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/history_vector_backends.py30logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/host.py99logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/mcp_middleware.py54__all__ = ["MCP_TOOL_METADATA_KEY", "talon_mcp_middleware"]CODE
LOWlibs/talon/deepagents_talon/history_vectors.py35logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py228 async def set_tokens(self, tokens: OAuthToken) -> None:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py272 async def set_client_info(self, client_info: OAuthClientInformationFull) -> None:CODE
LOWlibs/talon/deepagents_talon/mcp_auth.py1225__all__ = [CODE
LOWlibs/talon/deepagents_talon/background.py34logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/__init__.py58__all__ = [CODE
LOWlibs/talon/deepagents_talon/runtime.py102logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/sandbox.py24logger = logging.getLogger(__name__)CODE
LOW⚡libs/talon/deepagents_talon/authorization.py164__all__ = [CODE
LOWlibs/talon/deepagents_talon/mcp.py68logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/mcp_config.py28logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/async_subagents.py16logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/speech.py23logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/pairing.py43logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/data_lifecycle.py22logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/timezones.py23logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/__main__.py57logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/messaging.py41logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py21__all__ = [CODE
LOWlibs/talon/deepagents_talon/cron/jobs.py28logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py17logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py59logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py300 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py308 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py56logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py373 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py381 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/discord.py58logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/discord.py633 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/discord.py641 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py20__all__ = [CODE
LOWlibs/talon/deepagents_talon/channels/base.py41logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/slack.py73logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/slack.py408 async def update_message(self, channel_id: str, ts: str, text: str) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/slack.py633 async def update_message(self, channel_id: str, ts: str, text: str) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/slack.py674 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/slack.py682 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/tests/conftest.py51 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/talon/tests/test_observability.py51 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/talon/tests/integration_tests/test_core_flows.py34 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/evals/deepagents_clbench/system/__init__.py5__all__ = ["DeepAgentsSystem"]CODE
LOWlibs/evals/tests/evals/pytest_reporter.py20logger = logging.getLogger(__name__)CODE
LOW⚡libs/evals/tests/evals/utils.py19logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/tau2_airline/runner.py29logger = logging.getLogger(__name__)CODE
LOW⚡libs/evals/tests/evals/tau2_airline/evaluation.py36logger = logging.getLogger(__name__)CODE
LOW…bs/evals/tests/evals/tau2_airline/test_tau2_airline.py45logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/memory_agent_bench/data_utils.py14logger = logging.getLogger(__name__)CODE
LOW…ts/evals/memory_agent_bench/test_memory_agent_bench.py49logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py221 def _set_card_balance(self, card_id: str, balance: float) -> None:CODE
LOWlibs/evals/deepagents_harbor/__init__.py12__all__ = [CODE
LOWlibs/evals/deepagents_harbor/failure.py15logger = logging.getLogger(__name__)CODE
LOW…deepagents_harbor/langgraph_project/langgraph_agent.py30logger = logging.getLogger(__name__)CODE
LOWlibs/code/tests/unit_tests/test_text_encoding.py18def _set_text_encoding(monkeypatch: pytest.MonkeyPatch, code_page: str) -> None:CODE
LOWlibs/code/tests/unit_tests/test_mcp_auth.py931 async def set_tokens(self, tokens: OAuthToken) -> None:CODE
358 more matches not shown…
Self-Referential Comments108 hits · 352 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/tests/evals/data/bfcl_apis/trading_bot.py200 # Define the start and end dates for the rangeCOMMENT
MEDIUMlibs/evals/scripts/analyze.py632 # Create the deep agent for trajectory analysisSTRING
MEDIUMlibs/evals/scripts/analyze.py658 # Create the user message with the trajectory and explicit statusSTRING
MEDIUM⚡libs/code/tests/unit_tests/test_agent.py1875 # Create the default agent directory with AGENTS.mdCOMMENT
MEDIUM⚡libs/code/tests/unit_tests/test_agent.py1880 # Create a non-default agentCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py146 # Create a fake model that returns predefined messagesCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py168 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py207 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py274 # Create a fake model that calls sample_toolCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py296 # Create a CLI agent with the fake model and sample_toolCOMMENT
MEDIUM⚡libs/code/tests/unit_tests/test_end_to_end.py329 # Create a test file to listCOMMENT
MEDIUM⚡libs/code/tests/unit_tests/test_end_to_end.py333 # Create a fake model that uses filesystem toolsCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py355 # Create a CLI agent with the fake modelCOMMENT
MEDIUM⚡libs/code/tests/unit_tests/test_end_to_end.py383 # Create a simple fake modelCOMMENT
MEDIUM⚡libs/code/tests/unit_tests/test_end_to_end.py392 # Create a CLI agentCOMMENT
MEDIUMlibs/code/tests/unit_tests/skills/test_load.py83 # Create a healthy user skills directoryCOMMENT
MEDIUM…ode/tests/integration_tests/test_sandbox_operations.py285 # Create a line with 3000 charactersCOMMENT
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py214 # Create a directoryCOMMENT
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py284 # Create a directoryCOMMENT
MEDIUMlibs/code/deepagents_code/media_utils.py482 # Create a temp file for the imageCOMMENT
MEDIUMlibs/code/deepagents_code/agent.py3589 # Create the agentCOMMENT
MEDIUMlibs/code/deepagents_code/plugins/adapters/mcp.py238 # Create the writable data dir when MCP configs need it. Discovery itselfCOMMENT
MEDIUMlibs/code/scripts/install.sh3327 # Create the file (and parents) if missing. Keep the real error text —COMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_middleware.py3813 # Create a list that exceeds the token limit (20000 tokens * 4 chars = 80000 chars)COMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_middleware.py3863 # Create a large tool resultCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_middleware.py3871 # Create a request for a tool in TOOLS_EXCLUDED_FROM_EVICTIONCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_middleware.py3893 # Create a large tool resultCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_middleware.py3901 # Create a request for a tool NOT in TOOLS_EXCLUDED_FROM_EVICTIONCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_middleware.py3927 # Create a ToolMessage with the large execute outputCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_middleware.py3934 # Create a request for the execute toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py558 # Create a large number of files that will exceed TOOL_RESULT_TOKEN_LIMITCOMMENT
MEDIUM…/deepagents/tests/unit_tests/test_file_system_tools.py51 # Create a deep agent with the fake model and a memory saverCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py981 # Create a file with content that exceeds the truncation thresholdCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py990 # Create a fake model that calls read_fileCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py1039 # Create a small file that doesn't exceed the truncation thresholdCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py1047 # Create a fake model that calls read_fileCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py1093 # Create a large file with many lines (each line is 500 chars + newline)COMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py1103 # Create a fake model that calls read_file with a non-zero offsetCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py1149 # Create a large fileCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_end_to_end.py1157 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py231 # Create a fake model that returns predefined messagesCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py253 # Create a deep agent with the fake modelCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py363 # Create a fake model that calls sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py385 # Create a deep agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py407 # Create a fake model that uses filesystem toolsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py429 # Create a deep agent with the fake modelCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py448 # Create a fake model that makes multiple tool callsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py481 # Create a deep agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py595 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py690 # Create a model that handles both turnsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py769 # Create a model that writes then globsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py838 # Create a model that handles both turnsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py916 # Create a model that writes then globsCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_subagents.py170 # Create the subagent's chat model that will handle the calculationCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_subagents.py179 # Create the compiled subagentCOMMENT
MEDIUM⚡libs/deepagents/tests/unit_tests/test_subagents.py182 # Create the parent agent with subagent supportCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_subagents.py145 # Create the parent agent's chat model that will call the subagentCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_subagents.py228 # Create the parent agent's chat model that will call both subagents in parallelCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_subagents.py283 # Create the parent agent with BOTH specialized subagentsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_subagents.py314 # Create a lookup map from tool_call_id to ToolMessage for precise verificationCOMMENT
48 more matches not shown…
Over-Commented Block270 hits · 220 pts
SeverityFileLineSnippetContext
LOWaction.yml481 set +eCOMMENT
LOWlibs/evals/pyproject.toml121 "python-multipart>=0.0.32",COMMENT
LOWlibs/evals/harbor_adapters/drbench/adapter.py1201external_insight_count = {external}COMMENT
LOWlibs/evals/harbor_adapters/drbench/adapter.py1241COMMENT
LOW…deepagents_harbor/langgraph_project/langgraph_agent.py301 assistant_id = _harbor_assistant_id(os.environ.get("HARBOR_SESSION_ID"))COMMENT
LOWlibs/code/pyproject.toml361 # uses `stacklevel=2`, so it is attributed to this package, not to theCOMMENT
LOWlibs/code/tests/unit_tests/test_server_config.py21# ------------------------------------------------------------------COMMENT
LOWlibs/code/tests/unit_tests/test_install_script.py2961 # wget implements. Answer those probes *before* any counting or output, soCOMMENT
LOWlibs/code/tests/unit_tests/test_config_manifest.py201COMMENT
LOW…ntegration_tests/benchmarks/test_startup_benchmarks.py121COMMENT
LOWlibs/code/deepagents_code/config_manifest.py3281# signaling flags the app sets for itself rather than reading as user config.COMMENT
LOWlibs/code/deepagents_code/model_retry.py481 # sets `__context__` on anything raised inside an `except` block, soCOMMENT
LOWlibs/code/deepagents_code/config.py4781 # the fail-closed boundary: if there is no upload target, there is nothingCOMMENT
LOWlibs/code/deepagents_code/config.py6901COMMENT
LOWlibs/code/deepagents_code/theme.py161"""Incognito shell accent (darkened for light bg contrast)."""COMMENT
LOWlibs/code/deepagents_code/model_config.py1041exposed under `openai_codex`. The Codex backend serves a narrower lineup thanCOMMENT
LOWlibs/code/deepagents_code/model_config.py1061 # fireworks SDK reads FIREWORKS_BASE_URL.COMMENT
LOWlibs/code/deepagents_code/model_config.py1081 # sit on the openai SDK, whose only base-URL env var is the sharedCOMMENT
LOWlibs/code/deepagents_code/update_check.py181showing a user the `upgrade` form would hand them a command that silentlyCOMMENT
LOWlibs/code/deepagents_code/update_check.py1861 for name in ("dcode", "deepagents-code"):COMMENT
LOWlibs/code/deepagents_code/_ask_user_types.py141 """COMMENT
LOWlibs/code/deepagents_code/media_utils.py601 images: List of ImageData objectsCOMMENT
LOWlibs/code/deepagents_code/configurable_model.py801 # the original model while `ctx.model` still names the rejected override.COMMENT
LOWlibs/code/deepagents_code/mcp_auth.py1721 # A peer may have rotated the token while we waited for theCOMMENT
LOWlibs/code/deepagents_code/mcp_auth.py1741 # through to re-auth instead of replaying the refreshCOMMENT
LOWlibs/code/deepagents_code/cost_tracking.py1821 # returns the generic slot as mutually exclusive with the TTL slots; wereCOMMENT
LOWlibs/code/deepagents_code/file_ops.py621 )COMMENT
LOWlibs/code/deepagents_code/file_ops.py741 record.before_content = ""COMMENT
LOWlibs/code/deepagents_code/file_ops.py761 # `ValueError`) and the LangSmith backend catches only itsCOMMENT
LOWlibs/code/deepagents_code/file_ops.py781 # raised must count as a lost pre-image too, or the diffCOMMENT
LOWlibs/code/deepagents_code/file_ops.py861 # diff the removed content against; there is nothing to readCOMMENT
LOWlibs/code/deepagents_code/file_ops.py921 # not an invariant.COMMENT
LOWlibs/code/deepagents_code/ask_user.py301 # `"success"` default:COMMENT
LOWlibs/code/deepagents_code/ask_user.py381COMMENT
LOWlibs/code/deepagents_code/ask_user.py401 # `ToolInvocationError` is built from the pre-injectionCOMMENT
LOWlibs/code/deepagents_code/cold_cache.py861 hostCOMMENT
LOWlibs/code/deepagents_code/cold_cache.py1101 case "5m":COMMENT
LOWlibs/code/deepagents_code/agent.py3021 # Resume state: declares private checkpoint channels used on resume.COMMENT
LOWlibs/code/deepagents_code/agent.py3361 composite_backend,COMMENT
LOWlibs/code/deepagents_code/_session_stats.py1161 if not _names_a_model(message):COMMENT
LOWlibs/code/deepagents_code/offload_middleware.py1401 try:COMMENT
LOWlibs/code/deepagents_code/offload_middleware.py1481 )COMMENT
LOWlibs/code/deepagents_code/main.py821 # dir), so this same failing upgrade would otherwise be retried onCOMMENT
LOWlibs/code/deepagents_code/main.py3821COMMENT
LOWlibs/code/deepagents_code/main.py5301 KeyboardInterrupt: Re-raised out of the TUI teardown block so theCOMMENT
LOWlibs/code/deepagents_code/main.py5681COMMENT
LOWlibs/code/deepagents_code/_tool_stream.py561 # Some providers deliver the new call's name/args before its replacementCOMMENT
LOWlibs/code/deepagents_code/_tool_stream.py681 # chunk boundary landing right after an inner `}` (e.g.COMMENT
LOWlibs/code/deepagents_code/_tool_stream.py701 return NoneCOMMENT
LOWlibs/code/deepagents_code/mcp_tools.py2081COMMENT
LOWlibs/code/deepagents_code/mcp_tools.py2741 # or the interactive approval prompt's decision). Without it, serversCOMMENT
LOWlibs/code/deepagents_code/_textual_patches.py161COMMENT
LOWlibs/code/deepagents_code/configuration/service.py601 "refresh_failure",COMMENT
LOWlibs/code/deepagents_code/configuration/provider.py201 parsed = parse_interpreter_tools(raw)COMMENT
LOWlibs/code/deepagents_code/configuration/providers.py1301 # class name -- and append the "verify that the source isCOMMENT
LOWlibs/code/deepagents_code/configuration/resolver.py1141 # Keeping the table lets a shape collision defeat the higher value.COMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1881 thread_id = session_state.thread_idCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1961 # streaming — log and keep going (mirrors `_on_tool_complete`).COMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1981 # the teardown sweeps close the row out, reading the outcome `defer_success`COMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py2621 # tool.use to orphan if the turnCOMMENT
210 more matches not shown…
Deep Nesting262 hits · 207 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/media.py63CODE
LOWlibs/talon/deepagents_talon/archive_saver.py210CODE
LOWlibs/talon/deepagents_talon/history_vector_backends.py85CODE
LOWlibs/talon/deepagents_talon/host.py551CODE
LOWlibs/talon/deepagents_talon/observability.py269CODE
LOWlibs/talon/deepagents_talon/runtime.py418CODE
LOWlibs/talon/deepagents_talon/history_voyage.py35CODE
LOWlibs/talon/deepagents_talon/mcp_config.py270CODE
LOWlibs/talon/deepagents_talon/cron/jobs.py961CODE
LOWlibs/talon/deepagents_talon/cron/jobs.py1146CODE
LOWlibs/talon/deepagents_talon/cron/expression.py106CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py600CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py658CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py1358CODE
LOWlibs/talon/deepagents_talon/channels/discord.py1260CODE
LOWlibs/talon/deepagents_talon/channels/slack.py527CODE
LOW…talon/tests/integration_tests/test_history_postgres.py22CODE
LOWlibs/talon/tests/channels/test_telegram.py60CODE
LOWlibs/evals/harbor_adapters/drbench/adapter.py476CODE
LOW…vals/harbor_adapters/drbench/templates/extract_text.py121CODE
LOWlibs/evals/harbor_adapters/drbench/templates/judge.py467CODE
LOWlibs/evals/tests/evals/pytest_reporter.py120CODE
LOWlibs/evals/tests/evals/pytest_reporter.py293CODE
LOWlibs/evals/tests/evals/pytest_reporter.py342CODE
LOWlibs/evals/tests/evals/utils.py1261CODE
LOWlibs/evals/tests/evals/llm_judge.py141CODE
LOW…/tests/evals/test_iterative_constraint_satisfaction.py84CODE
LOWlibs/evals/tests/evals/tau2_airline/domain.py427CODE
LOWlibs/evals/tests/evals/tau2_airline/domain.py512CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py156CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py162CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py331CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py553CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py618CODE
LOWlibs/evals/tests/unit_tests/test_category_tagging.py92CODE
LOWlibs/evals/deepagents_harbor/langsmith.py643CODE
LOWlibs/evals/deepagents_harbor/failure.py95CODE
LOWlibs/evals/scripts/generate_radar.py119CODE
LOWlibs/evals/scripts/generate_eval_catalog.py58CODE
LOWlibs/evals/scripts/harbor_langsmith.py26CODE
LOWlibs/evals/scripts/analyze.py254CODE
LOWlibs/evals/scripts/analyze.py779CODE
LOWlibs/code/tests/unit_tests/test_mcp_lifecycle.py306CODE
LOW…bs/code/tests/unit_tests/test_coding_agent_metadata.py56CODE
LOWlibs/code/tests/unit_tests/test_btw_api.py59CODE
LOWlibs/code/tests/unit_tests/test_goal_rubric.py328CODE
LOWlibs/code/tests/unit_tests/test_mcp_tools.py431CODE
LOWlibs/code/tests/unit_tests/test_remote_client.py1770CODE
LOWlibs/code/tests/unit_tests/test_install_script.py2171CODE
LOWlibs/code/tests/unit_tests/test_auto_mode.py3756CODE
LOWlibs/code/tests/unit_tests/test_model_config.py1924CODE
LOW…ode/tests/unit_tests/smoke_tests/test_system_prompt.py187CODE
LOW…s/code/tests/unit_tests/tui/widgets/test_chat_input.py750CODE
LOWlibs/code/tests/unit_tests/tui/widgets/test_diff.py149CODE
LOWlibs/code/deepagents_code/reasoning_effort.py259CODE
LOWlibs/code/deepagents_code/reasoning_effort.py315CODE
LOWlibs/code/deepagents_code/goal_rubric.py1142CODE
LOWlibs/code/deepagents_code/goal_rubric.py1170CODE
LOWlibs/code/deepagents_code/goal_rubric.py1286CODE
LOWlibs/code/deepagents_code/config_manifest.py169CODE
202 more matches not shown…
Empty Error Handlers32 hits · 160 pts
SeverityFileLineSnippetContext
HIGHlibs/talon/deepagents_talon/history_profiles.py183except ValueError:CODE
HIGHlibs/talon/deepagents_talon/history_profiles.py226except ValueError:CODE
HIGHlibs/talon/deepagents_talon/config.py343except ValueError:CODE
HIGHlibs/talon/deepagents_talon/mcp.py503except DeviceAuthorizationCompletedError:CODE
HIGHlibs/talon/deepagents_talon/channels/whatsapp.py937except FileNotFoundError:CODE
HIGHlibs/talon/tests/unit_tests/test_model_selection.py648except Exception: # noqa: BLE001, S110 # rejecting before the call is also correctCODE
HIGHlibs/code/tests/unit_tests/test_install_script.py525except OSError:CODE
HIGHlibs/code/deepagents_code/approval_mode.py193except ValueError:CODE
HIGHlibs/code/deepagents_code/update_check.py2130except ProcessLookupError:CODE
HIGHlibs/code/deepagents_code/auto_mode.py2661except (OSError, ValueError):CODE
HIGHlibs/code/deepagents_code/event_bus.py325except (BrokenPipeError, ConnectionResetError):CODE
HIGHlibs/code/deepagents_code/event_bus.py209except FileNotFoundError:CODE
HIGHlibs/code/deepagents_code/iterm_cursor_guide.py46except OSError:CODE
HIGHlibs/code/deepagents_code/clipboard.py75except ImportError:CODE
HIGHlibs/code/deepagents_code/_git.py460except FileNotFoundError:CODE
HIGHlibs/code/deepagents_code/_git.py533except FileNotFoundError:CODE
HIGHlibs/code/deepagents_code/_git.py591except FileNotFoundError:CODE
HIGHlibs/code/deepagents_code/_git.py662except FileNotFoundError:CODE
HIGHlibs/code/deepagents_code/main.py3693except KeyboardInterrupt:CODE
HIGHlibs/code/deepagents_code/tui/widgets/messages.py3282except (ValueError, SyntaxError):CODE
HIGHlibs/code/deepagents_code/tui/widgets/welcome.py160except (ValueError, RuntimeError):CODE
HIGHlibs/code/deepagents_code/tui/widgets/status.py367except (ValueError, RuntimeError):CODE
HIGHlibs/code/deepagents_code/plugins/store.py524except OSError:CODE
HIGH…s/code/deepagents_code/integrations/sandbox_factory.py378except Exception: # noqa: S110, BLE001 # Sandbox not ready yet, continue pollingCODE
HIGHlibs/code/deepagents_code/hooks/runner.py273except ProcessLookupError:CODE
HIGHlibs/code/deepagents_code/skills/commands.py626except Exception: # noqa: BLE001, S110 # Shadow detection is cosmetic, safe to swallowCODE
HIGHlibs/code/deepagents_code/client/non_interactive.py359except ProcessLookupError:CODE
HIGHlibs/code/deepagents_code/client/non_interactive.py351except ProcessLookupError:CODE
HIGHlibs/code/deepagents_code/client/remote_client.py651except NotFoundError:CODE
HIGHlibs/code/deepagents_code/client/launch/server.py570except PermissionError:CODE
HIGHlibs/acp/deepagents_acp/server.py667except json.JSONDecodeError:CODE
HIGH.github/scripts/release/check_release_deps.py243except ValueError:CODE
AI Slop Vocabulary41 hits · 116 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/pyproject.toml104 # the eval harness itself has to install there. Without this, `uv sync --locked`COMMENT
MEDIUMlibs/evals/pyproject.toml132 # eval harness, where harbor imports filelock eagerly in a plain process with noCOMMENT
MEDIUMlibs/evals/harbor_adapters/contextbench/adapter.py298 # from the verifier environment the harness injects (`JUDGE_MODELS`,COMMENT
MEDIUMlibs/evals/harbor_adapters/drbench/templates/judge.py609 # Recorded so a score is never silently attributed to the judge the harness asked forCOMMENT
MEDIUM⚡libs/evals/harbor_adapters/drbench/templates/judge.py746 # broken harness, so it is scored zero like any other unearned metric.COMMENT
MEDIUM⚡libs/evals/harbor_adapters/drbench/templates/judge.py755 # the harness then counts the trial as errored rather than scored.COMMENT
MEDIUMlibs/evals/tests/evals/test_auto_mode_authorization.py369 # Shape violations are harness or schema-compliance failures, not policyCOMMENT
MEDIUM…/evals/tests/unit_tests/test_harbor_langgraph_agent.py330 # harness eval is supposed to evaluate. Passing an override would bypass it.COMMENT
MEDIUM…/evals/tests/unit_tests/test_harbor_langgraph_agent.py747 # The bare path must not inject a harness system prompt, preserving theCOMMENT
MEDIUM…/evals/tests/unit_tests/test_harbor_langgraph_agent.py796 # a harness system prompt.COMMENT
MEDIUM⚡libs/evals/tests/unit_tests/test_drbench_judge.py256 # The harness uses this variable to publish DRBench's resolved fallback withoutCOMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py306 # the CLI-harness eval never exercises the dcode system prompt we ship. TheCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_goal_rubric.py918 """Parsing helpers stay robust to messy nested criteria output."""STRING
MEDIUM⚡libs/code/tests/unit_tests/test_install_script.py3404 # The harness must define every helper cleanup_on_signal calls; a missingCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_install_script.py3347 # implementations so the harness exercises shipped code without emittingCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_install_script.py3363 # so the harness exercises the real 128+signo exit path.COMMENT
MEDIUMlibs/code/deepagents_code/_glm_5p2_profile.py301 # Private imports: the harness registry and its lazy-load hook expose noCOMMENT
MEDIUMlibs/code/deepagents_code/agent.py3371 # main agent. Preserve the SDK harness's model-specific tool metadataCOMMENT
LOWlibs/partners/quickjs/langchain_quickjs/_format.py210 # stdout path -- we've already truncated the result, so we just add the markerCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_graph.py2115 # A harness profile is registered under bare "openai".COMMENT
MEDIUMlibs/deepagents/deepagents/graph.py645 # Copy of `tools` with any harness-specific description rewrites.STRING
MEDIUMlibs/deepagents/deepagents/graph.py817 # Auto-add the default general-purpose subagent unless the harness profileSTRING
MEDIUMlibs/deepagents/deepagents/graph.py834 # Add harness-profile middleware, if anySTRING
MEDIUMlibs/deepagents/deepagents/backends/utils.py405 # (profiles/harness/_nvidia_nemotron_3_ultra.py) counts source rows toCOMMENT
MEDIUMlibs/deepagents/deepagents/profiles/__init__.py51# Built-in provider/harness profiles are registered lazily on firstCOMMENT
LOWlibs/acp/deepagents_acp/utils.py311 # Use specific handler if available, otherwise just use base commandCOMMENT
LOWlibs/acp/deepagents_acp/utils.py316 # Non-sensitive commands - just use the base commandCOMMENT
MEDIUMexamples/nvidia_deep_agent/src/prompts.py12RESEARCHER_INSTRUCTIONS = """Gather and synthesize comprehensive information on the provided query, carefully addressingSTRING
MEDIUMexamples/better-harness/tests/__init__.py1# Tests package for better-harness.COMMENT
MEDIUM…amples/better-harness/examples/deepagents_example.toml1# Worked example for optimizing a Deep Agents-based harness.COMMENT
MEDIUMexamples/better-harness/better_harness/core.py345 "# better-harness report",CODE
MEDIUM.github/workflows/unified_evals.yml260 # than imply a harness was used. An empty RESOLVED_CATEGORIES meansCOMMENT
MEDIUM.github/workflows/_harbor_run.yml559 # Overlay the compared branch's agent source AFTER the harness's lockedCOMMENT
MEDIUM.github/workflows/_harbor_run.yml562 # harness runs at the workflow ref; only the agent under test is theCOMMENT
MEDIUM.github/workflows/_harbor_run.yml577 # Overlay ONLY the agent-under-test libraries. The harness (harbor +COMMENT
MEDIUM.github/workflows/_harbor_run.yml580 # build expects, and a compared branch's harness could diverge from them.COMMENT
MEDIUM.github/scripts/evals/unified_prep.py156# to a nonexistent harness. Validate at import; raise (not assert) so `python -O`COMMENT
MEDIUM.github/scripts/evals/unified_prep.py558 # harness. Conversation is always tau3 and is never taken from this input.COMMENT
MEDIUM⚡.github/scripts/tests/evals/test_unified_workflow.py689 # Only the agent-under-test libraries are overlaid; the harness graph factoryCOMMENT
MEDIUM.github/scripts/tests/evals/test_unified_workflow.py95 # The deep-agents harness list for autonomous/context defaults to bare.COMMENT
MEDIUM⚡…thub/scripts/tests/release/test_build_release_notes.py224# ── Test harness ─────────────────────────────────────────────────────────────COMMENT
Structural Annotation Overuse38 hits · 67 pts
SeverityFileLineSnippetContext
LOW⚡libs/evals/tests/evals/test_skills.py54 # Step 1: read_file to get the skill content.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py55 # Step 2: answer with the magic number.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py97 # Step 1: read_file for code-review only.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py98 # Step 2: answer with the code.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py143 # Step 1: read_file for both skills in parallel.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py144 # Step 2: answer combining both ports.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py230 # Step 1: read_file to discover the typo.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py231 # Step 2: edit_file to fix it.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py232 # Step 3: confirm.COMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md225### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md242### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md266### Step 3: Initializing the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md317### Step 4: Edit the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md358### Step 5: Validate the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md376### Step 6: IterateCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md10### Step 1: Create and Save Research PlanCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md33### Step 2: Delegate to Research SubagentsCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md52### Step 3: Synthesize FindingsCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md228### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md245### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md269### Step 3: Initializing the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md320### Step 4: Edit the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md356### Step 5: Validate the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md374### Step 6: IterateCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md10## Step 1: Identify Best Practices and Key LearningsCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md27## Step 2: Decide Where to Store Each LearningCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md49## Step 3: Create Skills for Significant Best PracticesCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md102## Step 4: Update Memory for Simpler LearningsCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md114## Step 5: Summarize ChangesCOMMENT
LOW⚡libs/code/scripts/install.sh3076 # Step 1: try symlinking into a dir already in PATH (no profile change).COMMENT
LOW⚡libs/code/scripts/install.sh3084 # Step 2: create ~/.local/bin, symlink there, then add to shell profiles.COMMENT
LOWlibs/code/scripts/install.sh3112 # Step 3: detect the current shell, then write the PATH entry into everyCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1530 # Step 1: Truncate args if configuredCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1536 # Step 2: Check if summarization should happenCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1552 # Step 3: Perform summarizationCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1668 # Step 1: Truncate args if configuredCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1674 # Step 2: Check if summarization should happenCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1690 # Step 3: Perform summarizationCOMMENT
Modern AI Meta-Vocabulary22 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUM⚡…ts/evals/memory_agent_bench/test_memory_agent_bench.py433# CI-friendly subset — file-seeded (agentic retrieval) strategyCOMMENT
MEDIUM…ts/evals/memory_agent_bench/test_memory_agent_bench.py103# -- File-seeded (agentic retrieval) configuration ---------------------------COMMENT
MEDIUM⚡libs/evals/tests/unit_tests/test_drbench_judge.py234# --- judge/embedding model selection --------------------------------------------------COMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py237 # Mirror create_model: pull context window + unsupported input modalitiesCOMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py241 # No usable profile: the identity section renders with no context windowCOMMENT
MEDIUM…deepagents_harbor/langgraph_project/langgraph_agent.py257 # A profile that is present but lacks a usable context window is anCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_server.py783 # Config present on boot: the scaffold hook must not have fired yet.COMMENT
MEDIUM…de/tests/integration_tests/test_offload_server_side.py593 # No scaffold: the workspace is fully prepared above, and a missingSTRING
MEDIUMlibs/code/deepagents_code/config.py7214 if max_input_tokens and max_input_tokens < 8000: # noqa: PLR2004 # Model context window defaultCODE
MEDIUM⚡libs/code/deepagents_code/local_context.py263# see build_detect_script() for the orchestration logic.COMMENT
MEDIUM⚡…s/code/deepagents_code/client/launch/server_manager.py90# Workspace scaffoldingCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py4381 # through FilesystemMiddleware so multi-agent handoffs reach the sibling node.COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_graph.py1654 # and the loop variable is a specific scaffolding class — theCOMMENT
MEDIUMlibs/deepagents/deepagents/graph.py632 # Validate profile-level invariants (required scaffolding, private names)STRING
MEDIUMlibs/deepagents/deepagents/middleware/summarization.py603 # Truncate when 50% of context window reached, ignoring messages in last 10% of windowSTRING
MEDIUM…eepagents/profiles/harness/_nvidia_nemotron_3_ultra.py371# not treat framework scaffolding as application/domain tools.COMMENT
MEDIUM⚡libs/acp/examples/local_context.py60# see build_detect_script() for the orchestration logic.COMMENT
MEDIUM.github/RELEASING.md318### CI guardrails around releasesCOMMENT
MEDIUM.github/RELEASING.md512A regular release has a review point before publication: release-please generates the package changelog in a release PR,CODE
MEDIUM.github/LAYOUT.md43The two PR labelers also appear in [`RELEASING.md`](./RELEASING.md#ci-guardrails-around-releases) because the release guCODE
MEDIUMopenwiki/architecture/source-map.md98## dcode: app orchestration versus durable local stateCOMMENT
MEDIUMopenwiki/architecture/middleware-stack.md96## Profile exclusions and required scaffoldingCOMMENT
Verbosity Indicators21 hits · 43 pts
SeverityFileLineSnippetContext
LOW⚡libs/evals/tests/evals/test_skills.py54 # Step 1: read_file to get the skill content.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py55 # Step 2: answer with the magic number.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py97 # Step 1: read_file for code-review only.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py98 # Step 2: answer with the code.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py143 # Step 1: read_file for both skills in parallel.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py144 # Step 2: answer combining both ports.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py230 # Step 1: read_file to discover the typo.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py231 # Step 2: edit_file to fix it.COMMENT
LOW⚡libs/evals/tests/evals/test_skills.py232 # Step 3: confirm.COMMENT
LOW⚡libs/code/deepagents_code/skills/commands.py376### Step 1: [First Action]COMMENT
LOW⚡libs/code/deepagents_code/skills/commands.py379### Step 2: [Second Action]COMMENT
LOW⚡libs/code/deepagents_code/skills/commands.py382### Step 3: [Final Action]COMMENT
LOW⚡libs/code/scripts/install.sh3076 # Step 1: try symlinking into a dir already in PATH (no profile change).COMMENT
LOW⚡libs/code/scripts/install.sh3084 # Step 2: create ~/.local/bin, symlink there, then add to shell profiles.COMMENT
LOWlibs/code/scripts/install.sh3112 # Step 3: detect the current shell, then write the PATH entry into everyCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1530 # Step 1: Truncate args if configuredCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1536 # Step 2: Check if summarization should happenCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1552 # Step 3: Perform summarizationCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1668 # Step 1: Truncate args if configuredCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1674 # Step 2: Check if summarization should happenCOMMENT
LOW⚡libs/deepagents/deepagents/middleware/summarization.py1690 # Step 3: Perform summarizationCOMMENT
Redundant / Tautological Comments32 hits · 42 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/data/bfcl_apis/message_api.py181 # Check if there is a current user logged inCOMMENT
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py783 # Check if the traveler is at least 18 years oldCOMMENT
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py790 # Check if the passport number starts with 'US' (assuming this indicates a US passport)COMMENT
LOWlibs/evals/scripts/analyze.py52 # Check if this is a valid task directory (has solution/solve.sh)COMMENT
LOW⚡…de/examples/skills/skill-creator/scripts/init_skill.py212 # Check if directory already existsSTRING
LOWlibs/code/deepagents_code/config.py4355 # Check if this command is in the allow setCOMMENT
LOWlibs/code/deepagents_code/config.py7028 # Check if this provider uses a custom BaseChatModel classCOMMENT
LOWlibs/code/deepagents_code/media_utils.py535 # Check if file was created and has contentSTRING
LOWlibs/code/deepagents_code/tui/textual_adapter.py3165 # Check if this is an AIMessageChunk with contentCOMMENT
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py3533 # Check if it looked like media but failed validationCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py105 # Check if skill_dir is within base_dirCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py612 # Check if this project skill shadows a user skill with the same name.STRING
LOW⚡…de/built_in_skills/skill-creator/scripts/init_skill.py256 # Check if directory already existsSTRING
LOWlibs/code/scripts/install.sh2623# Check if a directory was in PATH before the installer sourced any env files.COMMENT
LOWlibs/code/scripts/install.sh2746# Check if ~/.local/bin is already referenced in the shell profile's PATHCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py458 # Write files to both backendsCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py861 # Write files to memoriesCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py1100 # Write files to memoriesCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py694 # Write files to both backendsCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py1104 # Write files to memoriesCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py1285 # Write files to memoriesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py227 # Write file with multiple occurrencesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py260 # Write file with multiple linesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py304 # Write files in nested directoriesCOMMENT
LOW…/tests/unit_tests/backends/test_local_shell_backend.py151 # Read the fileCOMMENT
LOWlibs/deepagents/deepagents/middleware/filesystem.py3391 # Check if content exceeds eviction thresholdCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1066 # Check if this AIMessage has tool calls we need to truncateCOMMENT
LOWlibs/deepagents/deepagents/backends/store.py331 # Check if file is in the specified directory or a subdirectoryCOMMENT
LOWlibs/deepagents/deepagents/backends/utils.py964 # Check if path matches an exact fileSTRING
LOWlibs/deepagents/deepagents/backends/state.py144 # Check if file is in the specified directory or a subdirectoryCOMMENT
LOWlibs/acp/deepagents_acp/server.py1168 # Check if this is write_todos - auto-approve updates to existing planCOMMENT
LOWlibs/acp/deepagents_acp/server.py1197 # Check if ALL command types are already allowedCOMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALlibs/code/tests/unit_tests/test_remote_client.py599 agent._graph.client.http.get.reset_mock()CODE
CRITICALlibs/code/tests/unit_tests/test_remote_client.py601 agent._graph.client.http.get.assert_not_awaited()CODE
CRITICALlibs/code/tests/unit_tests/test_offload_api.py1270 operation.execute.return_value.archive.write.assert_not_awaited()CODE
AI Structural Patterns39 hits · 27 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/runtime.py322CODE
LOWlibs/talon/deepagents_talon/cron/jobs.py961CODE
LOWlibs/talon/tests/channels/test_telegram.py120CODE
LOWlibs/talon/tests/channels/test_telegram.py170CODE
LOWlibs/code/tests/unit_tests/test_agent.py161CODE
LOWlibs/code/tests/unit_tests/test_install_script.py110CODE
LOWlibs/code/tests/unit_tests/test_install_script.py272CODE
LOWlibs/code/tests/unit_tests/test_install_script.py307CODE
LOWlibs/code/tests/unit_tests/test_install_script.py2886CODE
LOWlibs/code/tests/unit_tests/test_main_args.py1102CODE
LOWlibs/code/tests/unit_tests/test_main_args.py1383CODE
LOWlibs/code/tests/unit_tests/test_auto_mode.py1173CODE
LOWlibs/code/tests/unit_tests/test_main.py1428CODE
LOWlibs/code/tests/unit_tests/tui/widgets/test_welcome.py73CODE
LOWlibs/code/deepagents_code/reliable_rubric.py126CODE
LOWlibs/code/deepagents_code/sessions.py2012CODE
LOWlibs/code/deepagents_code/auto_mode.py2383CODE
LOWlibs/code/deepagents_code/agent.py2524CODE
LOWlibs/code/deepagents_code/_server_config.py937CODE
LOWlibs/code/deepagents_code/main.py3127CODE
LOWlibs/code/deepagents_code/main.py3474CODE
LOWlibs/code/deepagents_code/tui/textual_adapter.py1753CODE
LOWlibs/code/deepagents_code/tui/textual_adapter.py811CODE
LOWlibs/code/deepagents_code/tui/widgets/messages.py5518CODE
LOWlibs/code/deepagents_code/tui/widgets/welcome.py198CODE
LOWlibs/code/deepagents_code/tui/widgets/model_selector.py525CODE
LOWlibs/code/deepagents_code/skills/load.py48CODE
LOWlibs/code/deepagents_code/client/non_interactive.py2068CODE
LOWlibs/code/deepagents_code/client/non_interactive.py2569CODE
LOW…s/code/deepagents_code/client/launch/server_manager.py296CODE
LOW…s/code/deepagents_code/client/launch/server_manager.py497CODE
LOWlibs/partners/quickjs/langchain_quickjs/middleware.py228CODE
LOW…bs/deepagents/tests/unit_tests/test_async_subagents.py44CODE
LOWlibs/deepagents/deepagents/graph.py277CODE
LOWlibs/deepagents/deepagents/middleware/rubric.py556CODE
LOWlibs/deepagents/deepagents/middleware/filesystem.py1765CODE
LOWlibs/deepagents/deepagents/_api/deprecation.py39CODE
LOWexamples/nvidia_deep_agent/src/tools.py84CODE
LOWexamples/deep_research/research_agent/tools.py88CODE
Fake / Example Data14 hits · 16 pts
SeverityFileLineSnippetContext
LOWlibs/talon/tests/unit_tests/test_history_profiles.py55 {"BASE_URL": "https://key:password@example.org"},CODE
LOW…s/talon/tests/unit_tests/test_tool_approval_runtime.py102 model = ToolModel(responses=[AIMessage(content="placeholder")])CODE
LOW…s/talon/tests/unit_tests/test_tool_approval_runtime.py449 model = ToolModel(responses=[AIMessage(content="placeholder")])CODE
LOW⚡libs/evals/tests/evals/test_tool_usage_relational.py598 # 2nd step: call get_user_email(user_id=42) -> "eve@example.org".COMMENT
LOW⚡libs/evals/tests/evals/test_tool_usage_relational.py603 final_text_contains("eve@example.org"),CODE
LOWlibs/evals/tests/evals/test_tool_usage_relational.py112 "email": "eve@example.org",CODE
LOWlibs/evals/tests/evals/test_tool_usage_relational.py1156 final_text_contains("eve@example.org"),CODE
LOW⚡libs/code/tests/unit_tests/hooks/test_execution.py123 "OPENAI_API_KEY": "placeholder",CODE
LOW⚡libs/code/tests/unit_tests/hooks/test_execution.py125 "MY_TOKEN": "placeholder",CODE
LOW⚡libs/code/tests/unit_tests/hooks/test_execution.py126 "mixed_case_secret": "placeholder",CODE
LOWlibs/code/tests/unit_tests/hooks/test_transcript.py52 assert "placeholder" not in first["content"]CODE
LOWlibs/code/tests/unit_tests/hooks/test_transcript.py75 redacted = redact_transcript_value({"token": "placeholder"})CODE
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py618 kwargs.pop("placeholder", None)CODE
LOW…agents/tests/unit_tests/backends/test_store_backend.py520 ("user@example.com",),CODE
Dead Code8 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMlibs/talon/tests/unit_tests/test_checkpoint_backends.py79CODE
MEDIUMlibs/talon/tests/unit_tests/test_sandbox.py190CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1550CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py2376CODE
MEDIUMlibs/code/tests/unit_tests/test_acp.py24CODE
MEDIUMlibs/code/tests/unit_tests/test_extras_info.py538CODE
MEDIUMlibs/code/tests/unit_tests/tui/test_textual_adapter.py5070CODE
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py5027CODE
Overly Generic Function Names6 hits · 6 pts
SeverityFileLineSnippetContext
LOWlibs/code/tests/unit_tests/test_process_cwd_check.py46 "from pathlib import Path as P\n\ndef handle_request():\n return P.cwd()\n",CODE
LOWlibs/code/tests/unit_tests/test_process_cwd_check.py66 "def handle_request(start_path=None):\n"CODE
LOW…code/tests/unit_tests/test_openai_codex_integration.py493 def handle_request(self) -> None:CODE
LOW…/deepagents/tests/unit_tests/test_file_system_tools.py307 "content": "def helper():\n return 42",CODE
LOW⚡…/tests/unit_tests/middleware/test_skills_middleware.py833 helper_content = "def helper(): pass"CODE
LOW…s/deepagents/tests/unit_tests/_api/test_deprecation.py45 def helper() -> None:CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/release/check_release_deps.py277 PyPIRequestError: If PyPI cannot provide a usable response.STRING
Example Usage Blocks1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlibs/code/scripts/install.sh4# Usage:COMMENT