Repository Analysis

microsoft/apm

Agent Package Manager

75.0 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/apm, a Python project with 3,234 GitHub stars. SynthScan v2.0 examined 755,593 lines of code across 2284 source files, recording 37546 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 75.0 places this repository in the Strong AI signal band.

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

75.0
Adjusted Score
75.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.2K
Stars
Python
Language
755.6K
Lines of Code
2.3K
Files
37.5K
Pattern Hits
2026-07-14
Scan Date
0.09
HC Hit Rate

What These Metrics Mean

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

Score History

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

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

Severity Breakdown

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

CRITICAL 6HIGH 206MEDIUM 9089LOW 28245

Directory Score Breakdown

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

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators8740 hits · 31175 pts
SeverityFileLineSnippetContext
MEDIUM…tch-docs_src_content_docs_enterprise_apm-policy_md.txt413 "snippet": "# ── Result data classes ───────────────────────────────────────────",CODE
MEDIUM…docs_src_content_docs_enterprise_apm-policy_md_c4.json1{"claim_id":"c4","claim_text":"MCP transport policy accepts http and stdio but blocks sse and streamable-http by defaultCODE
MEDIUMtests/test_gitlab_git_transport.py68# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py495# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py497# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_apm_resolver.py477# ===========================================================================COMMENT
MEDIUMtests/test_apm_resolver.py479# ===========================================================================COMMENT
MEDIUMtests/test_lockfile.py543# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_lockfile.py545# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_github_downloader.py2229# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_github_downloader.py2231# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_apm_package_models.py681 # ------------------------------------------------------------------COMMENT
MEDIUMtests/test_apm_package_models.py684 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_plugin_parser.py1178# ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_plugin_parser.py1182# ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py431# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py433# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py573# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py575# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py678# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py680# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py804# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py806# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py14# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py99# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py377# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py379# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py460# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py462# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py512# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py514# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py572# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py574# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py640# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py642# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py659# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py661# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py689# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py691# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py809# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py811# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py936# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py938# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1010# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1012# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1081# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1083# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1112# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1114# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1288# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py1290# ---------------------------------------------------------------------------COMMENT
8680 more matches not shown…
Hyper-Verbose Identifiers24946 hits · 20368 pts
SeverityFileLineSnippetContext
LOW…tch-docs_src_content_docs_reference_cli_install_md.txt176 "snippet": " def _add_dependency_to_config(self, package_ref: str) -> None:",CODE
LOW…docs_src_content_docs_reference_cli_install_md_c3.json1{"claim_id":"c3","claim_text":"With no arguments installs everything from apm.yml; with PACKAGE_REF arguments adds thoseCODE
LOW…e-batch-docs_src_content_docs_guides_registries_md.txt806 "snippet": "def get_config_json_default_registry() -> str | None:",CODE
LOW…e-batch-docs_src_content_docs_guides_registries_md.txt812 "snippet": "def _route_unscoped_to_default_registry(",CODE
LOW…nce/docs_src_content_docs_guides_registries_md_c9.json1{"claim_id":"c9","claim_text":"When a default registry is configured, plain owner/repo#<ref> shorthand entries route thrCODE
LOW…h-docs_src_content_docs_reference_package-types_md.txt509 "snippet": "def merge_structured_entry_into_current_deps(",CODE
LOW…cs_src_content_docs_reference_package-types_md_c4.json1{"claim_id":"c4","claim_text":"In HYBRID packages, apm.yml.description and SKILL.md description are independent fields tCODE
LOW…tch-docs_src_content_docs_enterprise_apm-policy_md.txt851 "snippet": "def _coerce_unmanaged_directories_for_union(value: tuple[str, ...] | None) -> tuple[str, ...]:",CODE
LOW…docs_src_content_docs_enterprise_apm-policy_md_c8.json1{"claim_id":"c8","claim_text":"Deny list merge rule: child adds to parent's deny list (union).","evidence":[{"file":"srcCODE
LOWtests/test_collision_integration.py34 def test_collision_detection_with_helpful_error(self, tmp_path):CODE
LOWtests/test_collision_integration.py71 def test_qualified_path_resolves_collision(self, tmp_path):CODE
LOWtests/test_collision_integration.py107 def test_no_collision_with_single_dependency(self, tmp_path):CODE
LOWtests/test_collision_integration.py124 def test_local_overrides_all_dependencies_no_collision(self, tmp_path):CODE
LOWtests/test_token_manager.py63 def test_scheme_allowlist_is_case_insensitive(self):CODE
LOWtests/test_token_manager.py72 def test_gh_token_used_when_no_other_tokens(self):CODE
LOWtests/test_token_manager.py79 def test_github_apm_pat_takes_precedence_over_gh_token(self):CODE
LOWtests/test_token_manager.py122 def test_modules_precedence_order(self):CODE
LOWtests/test_token_manager.py130 def test_no_tokens_returns_none(self):CODE
LOWtests/test_token_manager.py140 def test_success_returns_password(self):CODE
LOWtests/test_token_manager.py150 def test_no_password_line_returns_none(self):CODE
LOWtests/test_token_manager.py159 def test_empty_password_returns_none(self):CODE
LOWtests/test_token_manager.py168 def test_nonzero_exit_code_returns_none(self):CODE
LOWtests/test_token_manager.py174 def test_timeout_returns_none(self):CODE
LOWtests/test_token_manager.py179 def test_file_not_found_returns_none(self):CODE
LOWtests/test_token_manager.py184 def test_os_error_returns_none(self):CODE
LOWtests/test_token_manager.py197 def test_path_appended_to_stdin(self):CODE
LOWtests/test_token_manager.py207 def test_path_leading_slash_stripped(self):CODE
LOWtests/test_token_manager.py215 def test_path_none_preserves_legacy_stdin(self):CODE
LOWtests/test_token_manager.py222 def test_path_with_newline_is_rejected(self):CODE
LOWtests/test_token_manager.py266 def test_git_terminal_prompt_disabled(self):CODE
LOWtests/test_token_manager.py274 def test_git_askpass_set_to_empty(self):CODE
LOWtests/test_token_manager.py283 def test_rejects_password_prompt_as_token(self):CODE
LOWtests/test_token_manager.py292 def test_rejects_username_prompt_as_token(self):CODE
LOWtests/test_token_manager.py301 def test_rejects_token_with_spaces(self):CODE
LOWtests/test_token_manager.py310 def test_rejects_token_with_tabs(self):CODE
LOWtests/test_token_manager.py319 def test_rejects_excessively_long_token(self):CODE
LOWtests/test_token_manager.py328 def test_accepts_valid_ghp_token(self):CODE
LOWtests/test_token_manager.py338 def test_accepts_valid_gho_token(self):CODE
LOWtests/test_token_manager.py363 def test_ineligible_host_skips_subprocess(self):CODE
LOWtests/test_token_manager.py371 def test_nonzero_exit_returns_none(self):CODE
LOWtests/test_token_manager.py376 def test_invalid_output_returns_none(self):CODE
LOWtests/test_token_manager.py381 def test_timeout_returns_none(self):CODE
LOWtests/test_token_manager.py389 def test_none_and_empty_unsupported(self):CODE
LOWtests/test_token_manager.py396 def test_github_com_supported(self):CODE
LOWtests/test_token_manager.py402 def test_ghes_supported_when_matches_default_host(self):CODE
LOWtests/test_token_manager.py406 def test_ghes_unsupported_when_mismatches_default_host(self):CODE
LOWtests/test_token_manager.py410 def test_ghes_unsupported_when_no_default_host(self):CODE
LOWtests/test_token_manager.py452 def test_empty_string_invalid(self):CODE
LOWtests/test_token_manager.py455 def test_none_coerced_invalid(self):CODE
LOWtests/test_token_manager.py459 def test_whitespace_only_invalid(self):CODE
LOWtests/test_token_manager.py471 def test_password_for_prompt_invalid(self):CODE
LOWtests/test_token_manager.py476 def test_username_for_prompt_invalid(self):CODE
LOWtests/test_token_manager.py481 def test_newline_in_token_invalid(self):CODE
LOWtests/test_token_manager.py484 def test_tab_in_token_invalid(self):CODE
LOWtests/test_token_manager.py491 def test_returns_env_token_without_credential_fill(self):CODE
LOWtests/test_token_manager.py93 def test_github_token_takes_precedence_over_gh_token(self):CODE
LOWtests/test_token_manager.py107 def test_all_three_tokens_apm_pat_wins(self):CODE
LOWtests/test_token_manager.py234 def test_path_with_carriage_return_is_rejected(self):CODE
LOWtests/test_token_manager.py245 def test_path_with_whitespace_is_rejected(self):CODE
LOWtests/test_token_manager.py253 def test_path_with_full_url_is_extracted_via_urlparse(self):CODE
24886 more matches not shown…
Unused Imports1662 hits · 1330 pts
SeverityFileLineSnippetContext
LOWtests/test_gitlab_git_transport.py13CODE
LOWtests/test_apm_resolver.py11CODE
LOWtests/test_enhanced_discovery.py17CODE
LOWtests/test_enhanced_discovery.py17CODE
LOWtests/test_enhanced_discovery.py25CODE
LOWtests/test_codex_docker_args_fix.py12CODE
LOWtests/basic_workflow_test.py15CODE
LOWtests/test_codex_empty_string_and_defaults.py14CODE
LOWtests/test_runnable_prompts.py4CODE
LOWtests/test_runnable_prompts.py5CODE
LOWtests/test_runnable_prompts.py7CODE
LOWtests/test_runnable_prompts.py7CODE
LOWtests/test_console.py3CODE
LOWtests/test_console.py6CODE
LOWtests/test_console.py8CODE
LOWtests/manual_workflow_script.py11CODE
LOWtests/test_lockfile.py3CODE
LOWtests/test_github_downloader_token_precedence.py6CODE
LOWtests/test_runtime_manager_token_precedence.py4CODE
LOWtests/test_runtime_manager_token_precedence.py7CODE
LOWtests/test_apm_package_models.py6CODE
LOWtests/test_apm_package_models.py6CODE
LOWtests/test_apm_package_models.py12CODE
LOWtests/test_virtual_package_multi_install.py3CODE
LOWtests/test_distributed_compilation.py3CODE
LOWtests/test_empty_string_and_defaults.py13CODE
LOWtests/unit/test_plugin_parser.py4CODE
LOWtests/unit/test_mcp_overlays.py4CODE
LOWtests/unit/test_kiro_mcp.py3CODE
LOWtests/unit/test_copilot_adapter_phase3.py24CODE
LOWtests/unit/test_package_manager_base.py10CODE
LOWtests/unit/test_target_filter.py3CODE
LOWtests/unit/test_path_security.py9CODE
LOWtests/unit/test_init_command.py3CODE
LOWtests/unit/test_init_command.py11CODE
LOWtests/unit/test_workflow_runner_phase3w4.py6CODE
LOWtests/unit/test_diagnostics.py5CODE
LOWtests/unit/test_content_hash.py3CODE
LOWtests/unit/test_content_hash.py4CODE
LOWtests/unit/test_version.py12CODE
LOWtests/unit/test_bootstrap_mirror.py3CODE
LOWtests/unit/test_external_scanners.py12CODE
LOWtests/unit/test_mcp_integrator_coverage.py4CODE
LOWtests/unit/test_lockfile_v2_bump.py8CODE
LOWtests/unit/test_runtime_factory.py3CODE
LOWtests/unit/test_runtime_factory.py3CODE
LOWtests/unit/test_reflink_phase3w5.py14CODE
LOWtests/unit/test_mcp_integrator_overlay.py6CODE
LOWtests/unit/test_compile_rich_output.py1CODE
LOWtests/unit/test_compile_rich_output.py5CODE
LOWtests/unit/test_path_home_override.py11CODE
LOWtests/unit/test_tls_docs_scope.py10CODE
LOWtests/unit/test_git_cache_phase3w4.py6CODE
LOWtests/unit/test_deps_clean_command.py8CODE
LOWtests/unit/test_lifecycle_executor_paths.py14CODE
LOWtests/unit/test_dev_dependencies.py9CODE
LOWtests/unit/test_deps.py9CODE
LOWtests/unit/test_dep_targets_persistence.py3CODE
LOWtests/unit/test_mcp_integrator_install_hermetic.py6CODE
LOWtests/unit/test_deps_utils.py8CODE
1602 more matches not shown…
Self-Referential Comments227 hits · 711 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh225 echo " apm init my-app # Create a new APM project"CODE
MEDIUMinstall.sh777echo " apm init my-app # Create a new APM project"CODE
MEDIUM.apm/docs-index.yml3# This file is the LOAD-BEARING ARTIFACT for the docs-sync agenticCOMMENT
MEDIUMtests/test_gitlab_git_transport.py186 # Create a file outside the work dir.COMMENT
MEDIUMtests/test_gitlab_git_transport.py190 # Create a symlink inside the work dir pointing outside.COMMENT
MEDIUMtests/test_apm_resolver.py301 # Create a mock dependency graphCOMMENT
MEDIUMtests/test_apm_resolver.py171 # Create a simple tree without cyclesCOMMENT
MEDIUMtests/test_apm_resolver.py197 # Create a circular dependency: A -> B -> ACOMMENT
MEDIUMtests/test_apm_resolver.py211 # Create the cycle by making B depend back on A (existing node)COMMENT
MEDIUMtests/manual_workflow_script.py24 # Create a temporary directory for testingCOMMENT
MEDIUMtests/noninteractive_workflow_test.py20 # Create a temporary directory for testingCOMMENT
MEDIUMtests/test_github_downloader.py1072 # Create the subdirectory structure that download_subdirectory_package expectsCOMMENT
MEDIUMtests/test_distributed_compilation.py150 # Create a primitive collectionCOMMENT
MEDIUMtests/test_distributed_compilation.py172 # Create a primitive collectionCOMMENT
MEDIUMtests/unit/test_plugin_parser.py197 # Create a symlink inside agents/COMMENT
MEDIUMtests/unit/test_copilot_adapter_phase3.py478 # Create an adapter with runtime substitution disabled by monkeypatchingCOMMENT
MEDIUMtests/unit/test_prune_command.py403 # Create the deployed fileSTRING
MEDIUMtests/unit/test_content_hash.py149 # Create a symlinkCOMMENT
MEDIUMtests/unit/test_git_cache_phase3w4.py337 # Create a fake shard directory in db_rootCOMMENT
MEDIUMtests/unit/test_symlink_containment.py33 # Create a file outside the projectCOMMENT
MEDIUMtests/unit/test_deps.py86 # Create a test configuration fileCOMMENT
MEDIUMtests/unit/test_init_phase3w5.py489 # Create a dir with invalid plugin name (contains uppercase)COMMENT
MEDIUMtests/unit/test_git_cache_branch_coverage.py337 # Create a fake shard directory in db_rootCOMMENT
MEDIUMtests/unit/test_install_scanning.py170 # Create a directory outside the package with a critical fileCOMMENT
MEDIUMtests/unit/test_install_command.py768 # Create a minimal apm.yml with a direct depCOMMENT
MEDIUMtests/unit/test_install_command.py306 # Create a directory with a specific name to test project name detectionCOMMENT
MEDIUMtests/unit/test_install_command.py999 # Create a fake home with no manifest so the command errors earlyCOMMENT
MEDIUMtests/unit/test_init_command_selection.py489 # Create a dir with invalid plugin name (contains uppercase)COMMENT
MEDIUMtests/unit/test_runtime_manager.py304 # Create a fake script where the code looks for itCOMMENT
MEDIUMtests/unit/test_vscode_adapter.py150 # Create a config with an existing serverCOMMENT
MEDIUMtests/unit/test_skill_bundle.py252 # Create a dir named ".."; on most filesystems this isn't creatableCOMMENT
MEDIUMtests/unit/test_env_variables.py23 # Create a temporary MCP configuration fileCOMMENT
MEDIUMtests/unit/test_env_variables.py69 # Create the adapter and configure the serverCOMMENT
MEDIUMtests/unit/test_conflict_detection.py15 # Create a mock adapterCOMMENT
MEDIUMtests/unit/test_local_content_install.py165 # Create a root-level SKILL.md that must be ignoredCOMMENT
MEDIUMtests/unit/test_local_deps.py457 # Create a local packageCOMMENT
MEDIUMtests/unit/test_local_deps.py403 # Create a lockfile so pack_bundle doesn't fail on missing lockfileCOMMENT
MEDIUMtests/unit/test_local_deps.py434 # Create an empty lockfileCOMMENT
MEDIUMtests/unit/test_local_deps.py508 # Create a Claude Skill package (SKILL.md but no apm.yml)COMMENT
MEDIUMtests/unit/test_local_deps.py537 # Create a directory without apm.yml or SKILL.mdCOMMENT
MEDIUMtests/unit/test_local_deps.py554 # Create a local packageCOMMENT
MEDIUMtests/unit/test_local_deps.py599 # Create a secret file outside the packageCOMMENT
MEDIUMtests/unit/test_local_deps.py604 # Create a local package with a symlink pointing outsideCOMMENT
MEDIUMtests/unit/test_copilot_adapter_compatibility.py478 # Create an adapter with runtime substitution disabled by monkeypatchingCOMMENT
MEDIUMtests/unit/test_unpack_security.py131 # Create a symlink inside the bundle pointing to a file with critical contentCOMMENT
MEDIUMtests/unit/test_packer.py497 # Create a file with hidden chars inside the project treeCOMMENT
MEDIUMtests/unit/install/test_install_local_bundle.py447 # Create a tarball that contains junk -- no plugin.json.COMMENT
MEDIUMtests/unit/install/test_skill_path_migration.py460 # Create a file outside the project root to serve as the "escape" target.COMMENT
MEDIUMtests/unit/install/test_sources_phase3.py264 # Create a minimal apm.yml in the install pathCOMMENT
MEDIUMtests/unit/install/test_services_phase3.py145 # Create a regular cowork target that will fail the first relative_to check,COMMENT
MEDIUMtests/unit/install/test_local_content_symlink_deref.py365 # Create a symlink from dir_a/link_to_b -> dir_b (in-package, not escaping)COMMENT
MEDIUMtests/unit/install/test_validation_proxy.py244 # Create a virtual dep_ref mock (simulating a virtual package).COMMENT
MEDIUMtests/unit/install/test_validation_proxy.py288 # Create a virtual dep_ref mock (simulating a virtual package).COMMENT
MEDIUMtests/unit/install/test_sources_materialisation.py264 # Create a minimal apm.yml in the install pathCOMMENT
MEDIUMtests/unit/install/test_services_branches.py145 # Create a regular cowork target that will fail the first relative_to check,COMMENT
MEDIUMtests/unit/install/test_drift.py510 # Create the local package dir so path resolution succeeds.COMMENT
MEDIUMtests/unit/core/test_plugin_manifest.py588 # Create a malformed plugin.json at the rootCOMMENT
MEDIUMtests/unit/cache/test_git_cache.py185 # Create a checkout with old mtimeCOMMENT
MEDIUMtests/unit/cache/test_git_cache.py193 # Create a recent checkoutCOMMENT
MEDIUMtests/unit/cache/test_locking.py135 # Create a valid shard (should NOT be removed)COMMENT
167 more matches not shown…
Cross-File Repetition115 hits · 575 pts
SeverityFileLineSnippetContext
HIGHtests/test_enhanced_discovery.py0create an apm.yml file with the specified dependencies.STRING
HIGHtests/integration/test_apm_dependencies.py0create an apm.yml file with the specified dependencies.STRING
HIGHtests/unit/test_ado_path_structure.py0create an apm.yml file with the specified dependencies.STRING
HIGHtests/basic_workflow_test.py0safely remove a directory with retry logic for windows. args: path (str): path to directory to removeSTRING
HIGHtests/integration/test_registry.py0safely remove a directory with retry logic for windows. args: path (str): path to directory to removeSTRING
HIGHtests/integration/test_integration.py0safely remove a directory with retry logic for windows. args: path (str): path to directory to removeSTRING
HIGHtests/unit/test_prune_command.py0create a temp dir, chdir into it, restore cwd on exit.STRING
HIGHtests/unit/test_deps_clean_command.py0create a temp dir, chdir into it, restore cwd on exit.STRING
HIGHtests/unit/test_outdated_command.py0create a temp dir, chdir into it, restore cwd on exit.STRING
HIGHtests/unit/test_deps_update_command.py0create a temp dir, chdir into it, restore cwd on exit.STRING
HIGHtests/unit/install/test_install_pkg_policy_rollback.py0create a temp dir, chdir into it, restore cwd on exit.STRING
HIGHtests/unit/install/test_no_policy_flag.py0create a temp dir, chdir into it, restore cwd on exit.STRING
HIGHtests/unit/test_audit_policy_command.py0\ name: test-project version: '1.0.0' dependencies: apm: - owner/repo#v1.0.0STRING
HIGHtests/unit/test_audit_ci_auto_discovery.py0\ name: test-project version: '1.0.0' dependencies: apm: - owner/repo#v1.0.0STRING
HIGHtests/unit/test_audit_ci_command.py0\ name: test-project version: '1.0.0' dependencies: apm: - owner/repo#v1.0.0STRING
HIGHtests/integration/test_install_silent_skip_e2e.py0\ name: test-project version: '1.0.0' dependencies: apm: - owner/repo#v1.0.0STRING
HIGHtests/unit/test_audit_policy_command.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00z' dependencies: - repo_url: owner/repo resolved_ref: v1.0.0 dSTRING
HIGHtests/unit/test_audit_ci_command.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00z' dependencies: - repo_url: owner/repo resolved_ref: v1.0.0 dSTRING
HIGHtests/unit/policy/test_ci_checks.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00z' dependencies: - repo_url: owner/repo resolved_ref: v1.0.0 dSTRING
HIGHtests/integration/test_audit_silent_skip_e2e.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00z' dependencies: - repo_url: owner/repo resolved_ref: v1.0.0 dSTRING
HIGHtests/unit/test_audit_ci_auto_discovery.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00z' dependencies: - repo_url: owner/repo resolved_ref: v1.0.0 dSTRING
HIGHtests/unit/install/test_services_rendering.py0convert a dict of old-style integrator kwargs to an integratorbundle.STRING
HIGHtests/unit/install/test_services_phase3.py0convert a dict of old-style integrator kwargs to an integratorbundle.STRING
HIGHtests/unit/install/test_services_branches.py0convert a dict of old-style integrator kwargs to an integratorbundle.STRING
HIGHtests/unit/install/test_services_rendering.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/install/test_services.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/install/phases/test_integrate_phase.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/install/phases/test_targets_phase.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/core/test_experimental.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/integration/test_copilot_cowork_target.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/commands/test_experimental_command.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/commands/test_helpers_version.py0reset the in-process config cache before and after every test.STRING
HIGHtests/unit/install/test_services.py0directly inject a dict into the config cache -- no disk i/o.STRING
HIGHtests/unit/install/phases/test_targets_phase.py0directly inject a dict into the config cache -- no disk i/o.STRING
HIGHtests/unit/core/test_experimental.py0directly inject a dict into the config cache -- no disk i/o.STRING
HIGHtests/unit/integration/test_copilot_cowork_target.py0directly inject a dict into the config cache -- no disk i/o.STRING
HIGHtests/unit/install/test_services.py0return a frozen targetprofile with resolved_deploy_root set for cowork. args: cowork_root: the resolved cowork skills roSTRING
HIGHtests/unit/install/phases/test_integrate_phase.py0return a frozen targetprofile with resolved_deploy_root set for cowork. args: cowork_root: the resolved cowork skills roSTRING
HIGHtests/unit/install/phases/test_targets_phase.py0return a frozen targetprofile with resolved_deploy_root set for cowork. args: cowork_root: the resolved cowork skills roSTRING
HIGHtests/unit/integration/test_skill_integrator.py0return a frozen targetprofile with resolved_deploy_root set for cowork. args: cowork_root: the resolved cowork skills roSTRING
HIGHtests/unit/marketplace/test_drift_check.py0\ name: my-project description: a project. version: 1.0.0 marketplace: owner: name: acme packages: - name: local-tool soSTRING
HIGHtests/unit/commands/test_marketplace_doctor.py0\ name: my-project description: a project. version: 1.0.0 marketplace: owner: name: acme packages: - name: local-tool soSTRING
HIGHtests/unit/commands/test_pack.py0\ name: my-project description: a project. version: 1.0.0 marketplace: owner: name: acme packages: - name: local-tool soSTRING
HIGHtests/unit/commands/test_pack_cli_flags.py0\ name: my-project description: a project. version: 1.0.0 marketplace: owner: name: acme packages: - name: local-tool soSTRING
HIGHtests/unit/marketplace/test_builder_logging.py0\ name: test description: x version: 1.0.0 marketplace: owner: name: acme packages: - name: remote-tool source: acme/remSTRING
HIGHtests/unit/marketplace/test_builder_security.py0\ name: test description: x version: 1.0.0 marketplace: owner: name: acme packages: - name: remote-tool source: acme/remSTRING
HIGHtests/unit/marketplace/test_builder.py0\ name: test description: x version: 1.0.0 marketplace: owner: name: acme packages: - name: remote-tool source: acme/remSTRING
HIGHtests/unit/commands/test_marketplace_doctor.py0\ name: test-marketplace description: test marketplace version: 1.0.0 owner: name: test owner packages: - name: solo souSTRING
HIGHtests/unit/commands/test_marketplace_check.py0\ name: test-marketplace description: test marketplace version: 1.0.0 owner: name: test owner packages: - name: solo souSTRING
HIGHtests/unit/commands/test_marketplace_outdated.py0\ name: test-marketplace description: test marketplace version: 1.0.0 owner: name: test owner packages: - name: solo souSTRING
HIGHtests/unit/commands/test_pack_cli_flags.py0--marketplace-output was removed in v0.16 (breaking change, #1318).STRING
HIGHtests/unit/commands/test_pack_cli_surface.py0--marketplace-output was removed in v0.16 (breaking change, #1318).STRING
HIGHtests/unit/commands/test_pack_phase3.py0--marketplace-output was removed in v0.16 (breaking change, #1318).STRING
HIGHtests/unit/policy/test_discovery_phase3w4.py0unsupported algorithm raises projectpolicyconfigerror.STRING
HIGHtests/unit/policy/test_discovery_policy_resolution.py0unsupported algorithm raises projectpolicyconfigerror.STRING
HIGHtests/integration/test_uninstall_policy_pack_phase3.py0unsupported algorithm raises projectpolicyconfigerror.STRING
HIGHtests/integration/test_uninstall_policy_pack_flow.py0unsupported algorithm raises projectpolicyconfigerror.STRING
HIGHtests/integration/test_commands_auth_flow.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00+00:00' dependencies: []STRING
HIGHtests/integration/test_commands_mcp_phase3c.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00+00:00' dependencies: []STRING
HIGHtests/integration/test_uninstall_policy_pack_phase3.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00+00:00' dependencies: []STRING
55 more matches not shown…
Excessive Try-Catch Wrapping535 hits · 560 pts
SeverityFileLineSnippetContext
LOW.apm/instructions/cli.instructions.md83 except Exception as e:CODE
MEDIUMtests/manual_workflow_script.py49 print(f"Error: {result}")CODE
MEDIUMtests/manual_workflow_script.py66 print(f"Error: {result}")CODE
LOWtests/manual_workflow_script.py67 except Exception as e:CODE
MEDIUMtests/manual_workflow_script.py68 print(f"Error: {e}")CODE
LOWtests/test_apm_package_models.py1990 except Exception:CODE
MEDIUMtests/unit/test_diagnostics.py649def add():CODE
LOWtests/unit/test_diagnostics.py652 except Exception as e:CODE
LOWtests/unit/test_thread_safety.py107 except Exception as exc:CODE
MEDIUMtests/unit/test_thread_safety.py101def _worker() -> None:CODE
LOWtests/unit/install/test_install_local_bundle.py271 except Exception as exc:CODE
LOWtests/unit/install/test_validation_rate_limit.py90 except Exception:CODE
MEDIUMtests/unit/install/test_validation_rate_limit.py87def _throttled_fallback(host, op, **kwargs):CODE
LOWtests/unit/install/test_install_cmd_auth_rendering.py74 except Exception:CODE
LOWtests/unit/install/test_validation_tls.py144 except Exception:CODE
LOWtests/unit/install/test_validation_tls.py147 except Exception:CODE
MEDIUMtests/unit/install/test_validation_tls.py141def _retrying_fallback(host, op, **kwargs):CODE
LOWtests/unit/install/test_drift.py418 except Exception as exc: # pragma: no cover -- only inspecting messageCODE
MEDIUMtests/unit/core/test_auth_validation.py913def _resolve():CODE
LOWtests/unit/core/test_auth_validation.py916 except Exception as exc:CODE
MEDIUMtests/unit/core/test_auth_phase3.py922def _resolve():CODE
LOWtests/unit/core/test_auth_phase3.py925 except Exception as exc:CODE
MEDIUMtests/unit/deps/test_shared_clone_cache.py125def worker() -> None:CODE
MEDIUMtests/unit/deps/test_shared_clone_cache.py309def thread_a() -> None:CODE
MEDIUMtests/unit/deps/test_shared_clone_cache.py340def thread_b() -> None:CODE
LOWtests/unit/deps/test_shared_clone_cache.py129 except Exception as e:CODE
LOWtests/unit/deps/test_shared_clone_cache.py337 except Exception as e:CODE
LOWtests/unit/deps/test_shared_clone_cache.py367 except Exception as e:CODE
LOWtests/unit/compilation/test_watcher_phase3.py484 except Exception:CODE
LOWtests/unit/compilation/test_watcher_events.py484 except Exception:CODE
LOWtests/unit/compilation/test_compilation.py426 except Exception as e:CODE
LOWtests/integration/test_registry.py134 except Exception as exc:CODE
LOWtests/integration/test_tls_r3_verify.py151 except Exception: # pragma: no cover - environment guardCODE
LOWtests/integration/test_wave2_adapters_coverage.py1497 except Exception as exc:CODE
LOWtests/integration/test_policy_coverage.py550 except Exception:CODE
LOWtests/integration/test_ado_bearer_e2e.py63 except Exception:CODE
LOWtests/integration/test_guardrailing_hero_e2e.py272 except Exception as e:CODE
LOWtests/integration/test_tls_frozen_hook.py121 except Exception:CODE
LOWtests/integration/_tls_ca_server.py40 except Exception:CODE
LOWtests/integration/test_tls_custom_ca.py155 except Exception:CODE
LOWtests/integration/test_tls_custom_ca.py192 except Exception:CODE
LOWtests/integration/test_compilation_coverage.py471 except Exception:CODE
LOWtests/integration/test_wave3_integrators_coverage.py624 except Exception:CODE
LOW…ts/integration/test_transport_selection_integration.py119 except Exception:CODE
LOWtests/integration/test_mcp_registry_e2e.py725 except Exception:CODE
LOWtests/integration/test_mcp_registry_e2e.py742 except Exception:CODE
LOWtests/integration/test_mcp_registry_e2e.py756 except Exception:CODE
LOWtests/integration/test_mcp_registry_e2e.py63 except Exception:CODE
LOWtests/integration/test_mcp_registry_e2e.py361 except Exception as e:CODE
LOWtests/red_team/install/test_failure_isolation.py46 except Exception:CODE
LOWtests/red_team/parser/test_timeout_subprocess.py73 except Exception as exc:CODE
LOWtests/red_team/parser/test_toplevel_shape.py66 except Exception as exc:CODE
LOWtests/red_team/parser/test_toplevel_shape.py84 except Exception as exc:CODE
LOWtests/red_team/parser/test_toplevel_shape.py121 except Exception as exc:CODE
LOWtests/red_team/parser/test_nonascii_control.py40 except Exception as exc:CODE
MEDIUMtests/benchmarks/test_audit_benchmarks.py334def worker():CODE
LOWtests/benchmarks/test_audit_benchmarks.py337 except Exception as e:CODE
LOWscripts/generate-notice.py390 except Exception as e: # pragma: no cover -- defensiveCODE
LOW.github/instructions/cli.instructions.md83 except Exception as e:CODE
LOW.github/workflows/cli-consistency-checker.lock.yml788 except Exception as e:CODE
475 more matches not shown…
Deep Nesting433 hits · 340 pts
SeverityFileLineSnippetContext
LOWtests/test_github_downloader.py840CODE
LOWtests/test_runtime_manager_token_precedence.py45CODE
LOWtests/test_runtime_manager_token_precedence.py63CODE
LOWtests/test_runtime_manager_token_precedence.py112CODE
LOWtests/test_empty_string_and_defaults.py132CODE
LOWtests/test_empty_string_and_defaults.py211CODE
LOWtests/test_empty_string_and_defaults.py283CODE
LOWtests/unit/test_version.py73CODE
LOWtests/unit/test_version.py126CODE
LOWtests/unit/test_version.py142CODE
LOWtests/unit/test_version.py158CODE
LOWtests/unit/test_version.py175CODE
LOWtests/unit/test_version.py204CODE
LOWtests/unit/test_version.py295CODE
LOWtests/unit/test_install_update_refs.py236CODE
LOWtests/unit/test_auth.py1018CODE
LOWtests/unit/test_auth.py1394CODE
LOWtests/unit/test_auth.py1616CODE
LOWtests/unit/test_command_helpers.py579CODE
LOWtests/unit/test_command_helpers.py589CODE
LOWtests/unit/test_install_update.py689CODE
LOWtests/unit/test_package_identity.py275CODE
LOWtests/unit/test_install_tui.py125CODE
LOWtests/unit/test_build_spec.py123CODE
LOWtests/unit/test_global_mcp_scope.py304CODE
LOWtests/unit/install/test_install_exit_owner_invariant.py37CODE
LOWtests/unit/core/test_deployment_owner_invariant.py29CODE
LOWtests/unit/integration/test_data_driven_dispatch.py148CODE
LOWtests/unit/integration/test_data_driven_dispatch.py172CODE
LOWtests/unit/integration/test_data_driven_dispatch.py195CODE
LOWtests/unit/integration/test_mcp_integrator.py860CODE
LOWtests/unit/commands/test_audit_error_handling.py471CODE
LOWtests/unit/commands/test_audit_error_handling.py521CODE
LOWtests/unit/commands/test_install_phase3.py271CODE
LOWtests/unit/commands/test_install_phase3.py368CODE
LOWtests/unit/commands/test_install_phase3.py407CODE
LOWtests/unit/commands/test_install_phase3.py425CODE
LOWtests/unit/commands/test_pack_cli_surface.py285CODE
LOWtests/unit/commands/test_audit_phase3.py471CODE
LOWtests/unit/commands/test_audit_phase3.py521CODE
LOWtests/unit/commands/test_pack_phase3.py270CODE
LOW…s/unit/commands/test_install_context_and_resolution.py270CODE
LOW…s/unit/commands/test_install_context_and_resolution.py409CODE
LOW…s/unit/commands/test_install_context_and_resolution.py448CODE
LOW…s/unit/commands/test_install_context_and_resolution.py466CODE
LOWtests/unit/compilation/test_context_optimizer.py229CODE
LOW…ts/unit/compilation/test_sibling_directory_coverage.py46CODE
LOW…ts/unit/compilation/test_sibling_directory_coverage.py101CODE
LOWtests/unit/compilation/test_coverage_guarantees.py99CODE
LOWtests/unit/compilation/test_coverage_guarantees.py175CODE
LOWtests/unit/compilation/test_coverage_guarantees.py223CODE
LOWtests/unit/compilation/test_coverage_guarantees.py291CODE
LOWtests/unit/compilation/test_coverage_guarantees.py347CODE
LOWtests/unit/compilation/test_coverage_guarantees.py325CODE
LOWtests/unit/policy/test_ci_checks.py34CODE
LOWtests/unit/policy/test_cache_atomicity.py45CODE
LOWtests/unit/policy/test_cache_atomicity.py87CODE
LOWtests/integration/test_cache_coverage.py360CODE
LOWtests/integration/test_cache_coverage.py402CODE
LOWtests/integration/test_cache_coverage.py523CODE
373 more matches not shown…
Docstring Block Structure63 hits · 315 pts
SeverityFileLineSnippetContext
HIGHsrc/apm_cli/config.py193Persist a default install target after validation. Args: target: Target token or comma-separated target lisSTRING
HIGHsrc/apm_cli/config.py219Normalize and validate a self-update channel name. Args: channel: Channel token supplied by the user or envSTRING
HIGHsrc/apm_cli/factory.py50Create a client adapter based on the specified type. Args: client_type (str): Type of client adapteSTRING
HIGHsrc/apm_cli/factory.py90Create a package manager adapter based on the specified type. Args: manager_type (str, optional): TSTRING
HIGHsrc/apm_cli/install/mcp/integration.py39Run MCP server integration after APM package installation. Mirrors the LSP integration pattern: 1. Collect direSTRING
HIGHsrc/apm_cli/install/phases/local_content.py185Copy a local package to apm_modules/. Args: dep_ref: DependencyReference with is_local=True. instalSTRING
HIGHsrc/apm_cli/core/install_audit.py91Collapse the ``--audit``/``--no-audit`` CLI flags into one override. Args: no_audit: ``True`` when ``--no-aSTRING
HIGHsrc/apm_cli/core/experimental.py186Check whether an experimental flag is currently enabled. Derives directly from ``get_config()`` (already cached in STRING
HIGHsrc/apm_cli/core/target_detection.py570Parse, validate, and normalize a target value from any entry point. Single source of truth for the ``target`` fieldSTRING
HIGHsrc/apm_cli/core/script_runner.py574Discover prompt files by name across local and dependencies. Supports both simple names and qualified paths: STRING
HIGHsrc/apm_cli/core/script_runner.py1002Resolve prompt file path, checking local directory first, then common directories, then dependencies. Symlinks STRING
HIGHsrc/apm_cli/cache/git_cache.py224Resolve a ref to SHA via git ls-remote. Args: url: Repository URL. ref: Ref to resolve STRING
HIGHsrc/apm_cli/cache/paths.py45Resolve the cache root directory. Args: no_cache: If True, returns a temporary directory that will be STRING
HIGHsrc/apm_cli/cache/locking.py82Atomically move *staged* to *final* under *lock*. Protocol: 1. Acquire the file lock. 2. Re-check that *finSTRING
HIGHsrc/apm_cli/cache/url_normalize.py46Normalize a Git repository URL for cache key derivation. The result is a canonical string suitable for hashing. It STRING
HIGHsrc/apm_cli/security/executables.py517Run the interactive approval flow for packages with executables. Args: declarations: Executable declarationSTRING
HIGHsrc/apm_cli/security/external/options.py134Validate passthrough *args* against an adapter allowlist (fail-closed). A token is rejected when it (a) names or caSTRING
HIGHsrc/apm_cli/security/external/runner.py51Resolve, validate, run, and merge external scanners. Args: external: Scanner names to run (e.g. ``("skillspSTRING
HIGHsrc/apm_cli/security/external/sarif_ingest.py97Convert a parsed SARIF 2.1.0 document into findings grouped by file. Args: document: A parsed SARIF documenSTRING
HIGHsrc/apm_cli/security/external/base.py61Run the scanner over *paths* and return findings grouped by file. Args: paths: Files or directoriesSTRING
HIGHsrc/apm_cli/integration/copilot_cowork_paths.py176Encode an absolute cowork path as a ``cowork://`` lockfile entry. Args: absolute: Absolute path to a deploySTRING
HIGHsrc/apm_cli/integration/copilot_cowork_paths.py199Decode a ``cowork://`` lockfile entry to an absolute ``Path``. Args: lockfile_path: A string like ``cowork:STRING
HIGHsrc/apm_cli/integration/utils.py5Normalize a repo URL to owner/repo format. Handles various URL formats: - Full URLs: https://github.com/owner/rSTRING
HIGHsrc/apm_cli/marketplace/client.py1096Fetch and parse a marketplace manifest. Uses the JSON sidecar cache for ``kind in ("github", "gitlab", "ado", "STRING
HIGHsrc/apm_cli/marketplace/version_resolver.py60Resolve a semver range to the highest matching git tag. Lists tags on *owner_repo*, filters to those matching *tag_STRING
HIGHsrc/apm_cli/marketplace/resolver.py666Resolve a plugin's source to a canonical ``owner/repo[#ref]`` string. Handles 4 source types: relative, github, urlSTRING
HIGHsrc/apm_cli/marketplace/resolver.py747Resolve a marketplace plugin reference to a canonical string and plugin row. For non-GitHub, non-ADO marketplace hoSTRING
HIGHsrc/apm_cli/runtime/factory.py56Get a runtime adapter by name. Args: runtime_name: Name of the runtime to get ('llm', 'codex') STRING
HIGHsrc/apm_cli/runtime/factory.py82Get the best available runtime based on preference order. Args: model_name: Optional model name forSTRING
HIGHsrc/apm_cli/bundle/packer.py42Create a self-contained bundle from installed APM dependencies. Args: project_root: Root of the project conSTRING
HIGHsrc/apm_cli/bundle/unpacker.py44Extract and apply an APM bundle to a project directory. Additive-only semantics (v1): only writes files listed in tSTRING
HIGHsrc/apm_cli/utils/exclude.py21Validate and normalize exclude patterns, rejecting dangerous ones. Args: patterns: Raw patterns from apm.ymSTRING
HIGHsrc/apm_cli/models/apm_package.py406Load APM package from apm.yml file. Results are cached by ``(resolved apm.yml path, resolved source_path)`` STRING
HIGHsrc/apm_cli/models/plugin.py91Load a plugin from its installation directory. Plugin structure: plugin.json can be in root, .github/plugin/, oSTRING
HIGHsrc/apm_cli/models/validation.py51Parse a string value into a PackageContentType enum. Args: value: String value to parse (e.g., "insSTRING
HIGHsrc/apm_cli/models/dependency/reference.py445Get the canonical filesystem path where this package should be installed. This is the single source of truth foSTRING
HIGHsrc/apm_cli/models/dependency/reference.py738Parse an object-style dependency entry from apm.yml. Supports the Cargo-inspired object format: - STRING
HIGHsrc/apm_cli/models/dependency/reference.py1848Parse a dependency string into a DependencyReference. Supports formats: - user/repo - user/repoSTRING
HIGHsrc/apm_cli/primitives/parser.py11Parse a SKILL.md file. SKILL.md files are package meta-guides that describe how to use the package. They have aSTRING
HIGHsrc/apm_cli/primitives/parser.py52Parse a primitive file. Determines the primitive type based on file extension and parses accordingly. Args: STRING
HIGHsrc/apm_cli/adapters/client/vscode.py135Configure an MCP server in VS Code mcp.json file. This method updates the .vscode/mcp.json file to add or updatSTRING
HIGHsrc/apm_cli/registry/client.py325List all available servers in the registry. Calls ``GET /v0.1/servers`` per the MCP Registry spec. ArgSTRING
HIGHsrc/apm_cli/registry/client.py359Search for servers in the registry using the spec ``?search=`` query param. Calls ``GET /v0.1/servers?search=<qSTRING
HIGHsrc/apm_cli/registry/client.py456Get detailed information about a specific server version. Calls ``GET /v0.1/servers/{urlencoded-serverName}/verSTRING
HIGHsrc/apm_cli/registry/client.py532Find a server by its name using the search API. Args: name (str): Name of the server to find. STRING
HIGHsrc/apm_cli/registry/client.py557Find a server by exact name match. The legacy UUID strategy was removed because the MCP Registry v0.1 sSTRING
HIGHsrc/apm_cli/registry/client.py598Extract the repository name from various identifier formats. This method handles various naming patterns by extSTRING
HIGHsrc/apm_cli/registry/integration.py45Get detailed information about a specific package. Args: name (str): Name of the package. STRING
HIGHsrc/apm_cli/registry/integration.py67Get the latest version of a package. Args: name (str): Name of the package. Returns: STRING
HIGHsrc/apm_cli/deps/github_downloader.py730Download a single file from repository (GitHub or Azure DevOps). Args: dep_ref: Parsed dependency rSTRING
HIGHsrc/apm_cli/deps/github_downloader.py893Download a single file as a virtual APM package. Creates a minimal APM package structure with the file placed iSTRING
HIGHsrc/apm_cli/deps/github_downloader.py1114Download a subdirectory from a repo as an APM package. Used for Claude Skills or APM packages nested in monorepSTRING
HIGHsrc/apm_cli/deps/github_downloader.py1552Download a GitHub repository and validate it as an APM package. For virtual packages (individual files or colleSTRING
HIGHsrc/apm_cli/deps/plugin_parser.py138Parse a plugin.json manifest file. Args: plugin_json_path: Path to the plugin.json file Returns: STRING
HIGHsrc/apm_cli/deps/plugin_parser.py1001Create a minimal ``plugin.json`` dict from ``apm.yml`` identity fields. Reads ``apm.yml`` and extracts ``name``, ``STRING
HIGHsrc/apm_cli/deps/shared_clone_cache.py77Return a path to a shared clone, cloning on first access. Args: host: Git host (e.g. "github.com").STRING
HIGHsrc/apm_cli/deps/_shared.py9Check *validation_result*, clean up *target_path* on failure, and return the package. Args: validation_resuSTRING
HIGHsrc/apm_cli/deps/download_strategies.py131HTTP GET with retry on 429/503 and rate-limit header awareness. Args: url: Request URL STRING
HIGHsrc/apm_cli/deps/git_file_transport.py210Fetch a single file from a git repo via sparse/partial checkout. Performs a depth-1, blob:none sparse checkout to eSTRING
HIGHsrc/apm_cli/deps/apm_resolver.py464Resolve a marketplace dependency to a concrete DependencyReference. Uses :func:`resolve_marketplace_plugin` to STRING
3 more matches not shown…
Over-Commented Block220 hits · 197 pts
SeverityFileLineSnippetContext
LOWapm.yml1name: apmCOMMENT
LOWinstall.sh1#!/bin/bashCOMMENT
LOW.apm/docs-index.yml1# docs-index.yml -- corpus map for the docs-sync skillCOMMENT
LOW…s/docs-corpus-audit/scripts/scan-cross-corpus-drift.sh1#!/usr/bin/env bashCOMMENT
LOW.apm/skills/docs-grounding-verifier/evals/run-evals.sh1#!/usr/bin/env bashCOMMENT
LOW…/skills/docs-grounding-verifier/scripts/verify-page.sh1#!/usr/bin/env bashCOMMENT
LOW…s/docs-grounding-verifier/scripts/retrieve-evidence.sh1#!/usr/bin/env bashCOMMENT
LOW.apm/skills/cut-release/scripts/bump-version.sh1#!/usr/bin/env bashCOMMENT
LOW…m/skills/cut-release/scripts/list-changes-since-tag.sh1#!/usr/bin/env bashCOMMENT
LOW.apm/skills/cut-release/scripts/verify-lint-mirror.sh1#!/usr/bin/env bashCOMMENT
LOWtests/conftest.py1# Root conftest.py -- shared pytest configurationCOMMENT
LOWtests/unit/test_self_entry_caller_guards.py121 # Self-entry's owner string would have been '<self>' if not skipped.COMMENT
LOWtests/unit/install/test_install_local_bundle.py121COMMENT
LOWtests/unit/install/phases/test_targets_phase_v2.py1"""Unit tests for the v2 targets phase three-guard collapse (#1154).COMMENT
LOWtests/unit/core/test_error_renderer.py1"""Unit tests for the unified error renderer (#1154).COMMENT
LOWtests/unit/core/test_target_resolution_v2.py1"""Unit tests for the target resolution v2 algorithm (#1154).COMMENT
LOWtests/unit/core/test_target_resolution_v2.py21# Priority: flag > yaml_targets > auto-detect signals.COMMENT
LOWtests/unit/core/test_target_resolution_v2.py41# Resolves --target all to (signals U yaml_targets), NOT all 7COMMENT
LOWtests/unit/integration/test_mcp_integrator.py1241 # canonical `Targets: X (source: Y)`. Without this, a futureCOMMENT
LOWtests/unit/integration/test_copilot_app_ws.py361 client._connect()COMMENT
LOWtests/unit/marketplace/test_schema_conformance.py201 assert src["path"] == "tools/claude-plugin"COMMENT
LOWtests/integration/test_diff_aware_install_e2e.py341# (single .agent.md + skill, declared via ``path: virtual-pkg``)COMMENT
LOWtests/integration/test_target_resolution_e2e.py1"""E2E integration tests for target resolution overhaul (#1154).COMMENT
LOWtests/integration/marketplace/__init__.py1# Integration tests for apm marketplace commands.COMMENT
LOWtests/spec_conformance/test_resolution_reqs.py241COMMENT
LOWtests/spec_conformance/critical_paths.txt1# Critical paths for the OpenAPM Mode B (silent-extension) detector.COMMENT
LOWtests/spec_conformance/mode_b_detector.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/shepherd-driver/apm.yml1name: shepherd-driverCOMMENT
LOW…s/docs-corpus-audit/scripts/scan-cross-corpus-drift.sh1#!/usr/bin/env bashCOMMENT
LOW…ents/skills/docs-grounding-verifier/evals/run-evals.sh1#!/usr/bin/env bashCOMMENT
LOW…/skills/docs-grounding-verifier/scripts/verify-page.sh1#!/usr/bin/env bashCOMMENT
LOW…s/docs-grounding-verifier/scripts/retrieve-evidence.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/cut-release/scripts/bump-version.sh1#!/usr/bin/env bashCOMMENT
LOW…s/skills/cut-release/scripts/list-changes-since-tag.sh1#!/usr/bin/env bashCOMMENT
LOW…gents/skills/cut-release/scripts/verify-lint-mirror.sh1#!/usr/bin/env bashCOMMENT
LOW…s/public/specs/manifests/openapm-v0.1.requirements.yml1# OpenAPM v0.1 -- machine-readable requirements manifest.COMMENT
LOWdocs/src/content/docs/specs/openapm-v0.1.md1701# tag in [1.5.0, 2.0.0) per req-rs-001 clause (1).COMMENT
LOWscripts/test-auth-acceptance.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/test-auth-acceptance.sh21# A7 ADO_APM_PAT Azure DevOps PATCOMMENT
LOWscripts/test-auth-acceptance.sh41# =============================================================================COMMENT
LOWscripts/test-auth-acceptance.sh61# 17 | Fine-grained wrong owner | A2 | H1 | V3 | Fails, no crashCOMMENT
LOWscripts/test-auth-acceptance.sh81# export AUTH_TEST_EMU_REPO="emu-org/internal-repo" # optionalCOMMENT
LOWscripts/test-auth-acceptance.sh101# =============================================================================COMMENT
LOWscripts/test-auth-acceptance.sh821 $SCENARIO_OK && record_pass "$name" || record_fail "$name"COMMENT
LOWscripts/test-auth-acceptance.sh841# The resolver must:COMMENT
LOWscripts/test-auth-acceptance.sh981 # If private deps were included, verify token sources appear in verboseCOMMENT
LOWscripts/lint-auth-signals.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/lint-auth-signals.sh41# Exempt sites (tracked here, not via inline annotations, so the boundary isCOMMENT
LOWscripts/bootstrap_requirements.py81HEADER = """\COMMENT
LOWscripts/github-token-helper.sh1#!/bin/bashCOMMENT
LOWscripts/test-integration.sh1#!/bin/bashCOMMENT
LOWscripts/test-integration.sh21# - invoke pytest tests/integration/ exactly onceCOMMENT
LOWscripts/test-release-validation.sh1#!/bin/bashCOMMENT
LOWscripts/e2e/marketplace_local_e2e.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/apm-issue-autopilot/apm.yml1name: apm-issue-autopilotCOMMENT
LOWpackages/shepherd-driver/apm.yml1name: shepherd-driverCOMMENT
LOWpackages/batch-bug-shepherd/apm.yml1name: batch-bug-shepherdCOMMENT
LOW.github/workflows/cli-consistency-checker.lock.yml1# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"5a9d052a38597a88a66140c25dc36adf95f169ba6aede00fd0fc1607bd4COMMENT
LOW.github/workflows/cli-consistency-checker.lock.yml21# gh aw compileCOMMENT
LOW.github/workflows/cli-consistency-checker.lock.yml41# - actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0COMMENT
160 more matches not shown…
Structural Annotation Overuse110 hits · 165 pts
SeverityFileLineSnippetContext
LOW.apm/skills/docs-impact-architect/SKILL.md39## Step 1: read the corpus map, not the corpusCOMMENT
LOW.apm/skills/docs-impact-architect/SKILL.md45## Step 2: classify the structural shapeCOMMENT
LOW.apm/skills/docs-impact-architect/SKILL.md60## Step 3: design the TOC deltaCOMMENT
LOW.apm/skills/docs-impact-architect/SKILL.md101## Step 4: validate against the 3-promise narrativeCOMMENT
LOW.apm/skills/docs-impact-architect/SKILL.md111## Step 5: emit the architect reportCOMMENT
LOW.apm/skills/docs-impact-localizer/SKILL.md36## Step 1: load page contentsCOMMENT
LOW.apm/skills/docs-impact-localizer/SKILL.md42## Step 2: narrow scope inside each pageCOMMENT
LOW.apm/skills/docs-impact-localizer/SKILL.md63## Step 3: detect cross-page conflictsCOMMENT
LOW.apm/skills/docs-impact-localizer/SKILL.md77## Step 4: emit the per-page task briefCOMMENT
LOW.apm/skills/docs-impact-classifier/SKILL.md31## Step 1: L0 deterministic path gate (no LLM)COMMENT
LOW.apm/skills/docs-impact-classifier/SKILL.md51## Step 2: L1 symbol extraction + corpus grep (no LLM)COMMENT
LOW.apm/skills/docs-impact-classifier/SKILL.md67## Step 3: L2 LLM verdict (1 call, bounded context)COMMENT
LOWtests/integration/test_deps_update_e2e.py128 # Step 1: install pinned to an older commit SHA.COMMENT
LOWtests/integration/test_deps_update_e2e.py142 # Step 2: bump apm.yml to point at main.COMMENT
LOWtests/integration/test_deps_update_e2e.py145 # Step 3: run `apm deps update` with no positional args.COMMENT
LOWtests/integration/test_deps_update_e2e.py151 # Step 4: lockfile SHA must differ from old.COMMENT
LOWtests/integration/test_deps_update_e2e.py161 # Step 5: deployed files must still exist (re-integrated).COMMENT
LOWtests/integration/test_deps_update_e2e.py276 # Step 2: bump the user manifest to main.COMMENT
LOWtests/integration/test_deps_update_e2e.py279 # Step 3: run `apm deps update -g` from a directory with no project.COMMENT
LOWtests/integration/test_deps_update_e2e.py295 # Step 5: scope was respected -- no project lockfile in cwd.COMMENT
LOWtests/integration/test_deps_update_e2e.py264 # Step 1: install -g to populate ~/.apm/apm.lock.yaml.COMMENT
LOWtests/integration/test_producer_journey.py101 # Step 1: consumer initCOMMENT
LOWtests/integration/test_producer_journey.py106 # Step 2: bolt on a marketplaceCOMMENT
LOWtests/integration/test_golden_scenario_e2e.py193 # Step 1: Setup Copilot runtime (equivalent to: apm runtime setup copilot)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py225 # Step 2: Initialize project (equivalent to: apm init my-ai-native-project)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py595 # Step 1: Setup LLM runtime (equivalent to: apm runtime setup llm)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py611 # Step 2: Use existing project or create new oneCOMMENT
LOWtests/integration/test_golden_scenario_e2e.py338 # Step 6: Execute agentic workflows (equivalent to: apm run start --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py439 # Step 1: Setup Codex runtimeSTRING
LOWtests/integration/test_golden_scenario_e2e.py518 # Step 3: Compile Agent PrimitivesSTRING
LOWtests/integration/test_golden_scenario_e2e.py523 # Step 4: Install dependenciesSTRING
LOWtests/integration/test_golden_scenario_e2e.py669 # Step 3: Compile Agent PrimitivesSTRING
LOWtests/integration/test_golden_scenario_e2e.py674 # Step 4: Install dependenciesSTRING
LOWtests/integration/test_golden_scenario_e2e.py743 # Step 1: Setup Gemini runtime (npm install -g @google/gemini-cli)STRING
LOWtests/integration/test_golden_scenario_e2e.py827 # Step 3: Compile Agent PrimitivesSTRING
LOWtests/integration/test_golden_scenario_e2e.py832 # Step 4: Install dependencies (targets gemini since .gemini/ exists)STRING
LOWtests/integration/test_golden_scenario_e2e.py840 # Step 5: Run with Gemini CLISTRING
LOWtests/integration/test_golden_scenario_e2e.py308 # Step 4: Compile Agent Primitives for any coding agent (equivalent to: apm compile)STRING
LOWtests/integration/test_golden_scenario_e2e.py322 # Step 5: Install MCP dependencies (equivalent to: apm install)STRING
LOWtests/integration/test_golden_scenario_e2e.py460 # Step 2: Use existing project or create new oneSTRING
LOWtests/integration/test_golden_scenario_e2e.py534 # Step 5: Run with Codex CLI (equivalent to: apm run debug --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py685 # Step 5: Run with LLM runtime (equivalent to: apm run llm --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py768 # Step 2: Create test projectSTRING
LOWtests/integration/test_guardrailing_hero_e2e.py126 # Step 1: apm init my-projectCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py141 # Step 2: apm install microsoft/apm-sample-packageCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py159 # Step 3: apm install github/awesome-copilot/instructions/code-review-generic.instructions.mdCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py185 # Step 4: apm compileCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py223 # Step 5: apm run design-reviewCOMMENT
LOWtests/integration/test_agent_skills_target.py826 # Step 1: Legacy install so the lockfile records .github/skills/.COMMENT
LOWtests/integration/test_agent_skills_target.py833 # Step 2: Hand-edit the legacy file so its content diverges from whatCOMMENT
LOWtests/integration/test_agent_skills_target.py837 # Step 3: Converged install — integrate writes the canonical contentCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py238 # Step 1: Set up Codex runtimeCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py247 # Step 2: Create test project with MCP dependenciesCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py291 # Step 3: Test installation with environment variable promptingCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py307 # Step 4: Verify Codex configuration was updatedCOMMENT
LOW.agents/skills/docs-impact-architect/SKILL.md39## Step 1: read the corpus map, not the corpusCOMMENT
LOW.agents/skills/docs-impact-architect/SKILL.md45## Step 2: classify the structural shapeCOMMENT
LOW.agents/skills/docs-impact-architect/SKILL.md60## Step 3: design the TOC deltaCOMMENT
LOW.agents/skills/docs-impact-architect/SKILL.md101## Step 4: validate against the 3-promise narrativeCOMMENT
LOW.agents/skills/docs-impact-architect/SKILL.md111## Step 5: emit the architect reportCOMMENT
50 more matches not shown…
Redundant / Tautological Comments101 hits · 154 pts
SeverityFileLineSnippetContext
LOWinstall.sh154 # Check if Python is availableCOMMENT
LOWinstall.sh210 # Check if apm is now availableCOMMENT
LOWinstall.sh253 # Check if Python/pip are availableCOMMENT
LOWinstall.sh286# Check if we have permission to install to the configured directory.COMMENT
LOWinstall.sh344# Check if the response indicates authentication is required (private repo)COMMENT
LOWinstall.sh351 # Check if we have GitHub token for private repo accessCOMMENT
LOWinstall.sh380# Check if we got a valid response (should contain tag_name)COMMENT
LOWinstall.sh390 # Check if the response contains an error messageCOMMENT
LOWtests/unit/test_selective_install.py35 # Check if dep_str ends with "/<pkg>" to ensure path boundary matchingCOMMENT
LOWtests/unit/test_artifactory_support.py1277 # Set limit to 0 MB so any archive is too largeCOMMENT
LOWtests/unit/test_env_variables.py99 # Check if the input variable for the API key is presentCOMMENT
LOWtests/unit/test_unpacker.py652 # Set external_attr to Unix symlink mode (S_IFLNK = 0o120000)COMMENT
LOWtests/unit/cache/test_git_cache.py189 # Set mtime to 60 days agoCOMMENT
LOWtests/unit/primitives/test_primitives.py611 # Write filesSTRING
LOWtests/unit/compilation/test_coverage_guarantees.py159 # Check if instruction applies to this fileCOMMENT
LOWtests/unit/compilation/test_coverage_guarantees.py375 # Check if this directory has any files that match instruction patternsCOMMENT
LOWtests/integration/test_golden_scenario_e2e.py217 # Check if copilot is in PATHCOMMENT
LOWtests/integration/test_audit_phase3w4.py267 # Write file with strippable contentCOMMENT
LOWtests/integration/test_audit_scan_hermetic.py267 # Write file with strippable contentCOMMENT
LOWtests/integration/test_wave2_commands_coverage.py807 # Set last_compile to now so the first event also triggers debounceCOMMENT
LOW…s/integration/test_virtual_package_orphan_detection.py81 # Check if level2 has apm.yml or .apm (GitHub 2-level structure)COMMENT
LOWtests/integration/test_mcp_registry_e2e.py52 # Check if server has packages (healthy) vs remote-only (unhealthy)COMMENT
LOWtests/integration/test_mcp_registry_e2e.py427 # Check if Copilot configuration was createdCOMMENT
LOWtests/integration/marketplace/test_init_integration.py31 # Write files into the isolated filesystem's CWDCOMMENT
LOWscripts/test-auth-acceptance.sh302# Check if a required env var is set; skip scenario if notCOMMENT
LOWscripts/common.sh14# Check if current branch is a feature branchCOMMENT
LOWscripts/common.sh53# Check if a file exists and reportCOMMENT
LOWscripts/common.sh66# Check if a directory exists and has filesCOMMENT
LOWscripts/build-binary.sh52# Check if PyInstaller is available via uvCOMMENT
LOWscripts/build-binary.sh58# Check if UPX is available (optional, for compression)COMMENT
LOWscripts/build-binary.sh79# Check if build was successful (onedir mode creates dist/apm/apm)COMMENT
LOWscripts/setup-plan.sh23# Check if on feature branchCOMMENT
LOWscripts/check-task-prerequisites.sh22# Check if on feature branchCOMMENT
LOWscripts/check-task-prerequisites.sh25# Check if feature directory existsCOMMENT
LOWscripts/update-agent-context.sh49 # Check if this is the SDD repo itselfCOMMENT
LOWscripts/update-agent-context.sh109# Check if new tech already existsCOMMENT
LOWscripts/get-feature-paths.sh14# Check if on feature branchCOMMENT
LOWscripts/test-integration.sh131 # Check if we're in CI with pre-built artifacts (binary exists in ./dist/)COMMENT
LOWscripts/test-integration.sh286 # Check if uv is available, otherwise use pipCOMMENT
LOWscripts/test-integration.sh290 # Check if .venv already exists (CI mode where workflow already ran uv sync)COMMENT
LOWscripts/create-new-feature.sh92 # Output results for the LLM to use (legacy key: value format)COMMENT
LOWscripts/runtime/setup-llm.sh38 # Check if Python is availableCOMMENT
LOWscripts/runtime/setup-common.sh113 # Check if shell RC already contains the runtime directoryCOMMENT
LOW.github/workflows/build-release.yml624 # Check if tag matches stable semver pattern (e.g., v1.2.3, v0.2.0)COMMENT
LOWsrc/apm_cli/core/script_runner.py53 # Check if this is a virtual package (before loading config)COMMENT
LOWsrc/apm_cli/core/script_runner.py182 # Check if this command needs subprocess execution (has compiled content)COMMENT
LOWsrc/apm_cli/core/script_runner.py256 # Check if this is a runtime command before transformationCOMMENT
LOWsrc/apm_cli/core/script_runner.py596 # Check if this is a qualified path (contains /)COMMENT
LOWsrc/apm_cli/core/script_runner.py672 # Check if owner directory existsCOMMENT
LOWsrc/apm_cli/core/script_runner.py714 # Check if owner is in the pathCOMMENT
LOWsrc/apm_cli/core/script_runner.py718 # Check if prompt name matchesCOMMENT
LOWsrc/apm_cli/core/script_runner.py827 # Check if already installedCOMMENT
LOWsrc/apm_cli/core/conflict_detector.py36 # Check if any existing server has the same UUIDCOMMENT
LOWsrc/apm_cli/core/conflict_detector.py51 # Check if any existing server resolves to the same canonical nameCOMMENT
LOWsrc/apm_cli/core/conflict_detector.py150 # Check if any existing server resolves to the same canonical nameCOMMENT
LOWsrc/apm_cli/integration/cleanup.py122 # Check if directory is empty -- safe to rmdir.COMMENT
LOWsrc/apm_cli/integration/cleanup.py170 # Check if it was in the stale set (already processedCOMMENT
LOWsrc/apm_cli/integration/skill_integrator.py218 # Check if package has SKILL.md (via package_type field)COMMENT
LOWsrc/apm_cli/integration/skill_integrator.py335 # Check if package type allows skill installation (T4 routing)COMMENT
LOWsrc/apm_cli/integration/skill_integrator.py700 # Check if this is a user-authored skill (not managed by APM)COMMENT
41 more matches not shown…
Modern AI Meta-Vocabulary45 hits · 138 pts
SeverityFileLineSnippetContext
MEDIUM.apm/docs-index.yml3# This file is the LOAD-BEARING ARTIFACT for the docs-sync agenticCOMMENT
MEDIUM.apm/agents/agentic-workflows.agent.md33- Configuration: https://github.com/github/gh-aw/blob/main/.github/aw/github-agentic-workflows.mdCODE
MEDIUM.apm/agents/agentic-workflows.agent.md55**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/create-agentic-workflow.mdCODE
MEDIUM.apm/agents/agentic-workflows.agent.md65**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/update-agentic-workflow.mdCODE
MEDIUM.apm/agents/agentic-workflows.agent.md75**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/debug-agentic-workflow.mdCODE
MEDIUM.apm/agents/agentic-workflows.agent.md85**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/upgrade-agentic-workflows.mdCODE
MEDIUM.apm/agents/agentic-workflows.agent.md105**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/create-shared-agentic-workflow.mdCODE
MEDIUM.apm/agents/agentic-workflows.agent.md144# Initialize repository for agentic workflowsCOMMENT
MEDIUM.apm/agents/agentic-workflows.agent.md172- Always reference the instructions file at https://github.com/github/gh-aw/blob/main/.github/aw/github-agentic-workflowCODE
MEDIUMtests/unit/test_plugin_exporter_schema.py26# don't duplicate the apm.yml + lockfile + .apm/ scaffolding.COMMENT
MEDIUMtests/unit/install/test_architecture_invariants.py150 PR #999 (Ruff guardrails) raised 1980 -> 2100 for noqa directivesSTRING
MEDIUMtests/unit/install/test_lsp_integration.py47# Basic orchestrationCOMMENT
MEDIUMtests/unit/marketplace/test_init_template.py83# render_marketplace_block (apm.yml marketplace: block scaffold)COMMENT
MEDIUMtests/unit/registry/test_resolver_e2e_http.py39# Test HTTP server scaffoldingCOMMENT
MEDIUMtests/unit/commands/test_marketplace_init.py74 # Single collapsed success line for scaffold-and-inject path.COMMENT
MEDIUM…s/integration/test_install_compile_claude_dedup_e2e.py122 # CLAUDE.md to keep Claude's context window lean.STRING
MEDIUMtests/integration/test_marketplace_adapters_coverage.py292# 2. marketplace/audit.py -- pure classification + orchestrationCOMMENT
MEDIUMtests/integration/test_golden_scenario_e2e.py338 # Step 6: Execute agentic workflows (equivalent to: apm run start --param name="<YourGitHubHandle>")STRING
MEDIUMtests/integration/test_golden_scenario_e2e.py16# 5. Install MCP dependencies and execute agentic workflows (*.prompt.md files)STRING
MEDIUM.agents/skills/apm-issue-autopilot/scripts/run_evals.py249# orchestrationCOMMENT
MEDIUM…gents/skills/pr-description-skill/scripts/run_evals.py244# orchestrationCOMMENT
MEDIUM.agents/skills/batch-bug-shepherd/scripts/run_evals.py249# orchestrationCOMMENT
MEDIUMdocs/src/content/docs/enterprise/lifecycle-scripts.md307apm lifecycle init # scaffold lifecycle: block in apm.ymlCODE
MEDIUM…src/content/docs/integrations/runtime-compatibility.md19| [**Google Gemini CLI**](https://github.com/google-gemini/gemini-cli) | Google's Gemini CLI | Gemini models, sandboxed CODE
MEDIUMscripts/test-release-validation.sh291 # surface Copilot reads directly). Validate that compiled guardrailsCOMMENT
MEDIUM…t/.apm/skills/apm-issue-autopilot/scripts/run_evals.py249# orchestrationCOMMENT
MEDIUMpackages/pr-description-skill/scripts/run_evals.py244# orchestrationCOMMENT
MEDIUM…rd/.apm/skills/batch-bug-shepherd/scripts/run_evals.py249# orchestrationCOMMENT
MEDIUM.github/workflows/triage-panel.md34# ~24h agentic latency is a strict improvement and matches OSSCOMMENT
MEDIUM.github/workflows/triage-panel.lock.yml26# Auto-invoke the apm-triage-panel skill on a daily sweep of untriaged issues plus an opt-in fast path for explicit re-tCOMMENT
MEDIUM.github/workflows/agentics-maintenance.yml24# This file defines the generated agentic maintenance workflow for this repository.COMMENT
MEDIUM.github/workflows/shared/apm.md3# Install Microsoft APM packages in your agentic workflow.COMMENT
MEDIUM.github/agents/agentic-workflows.agent.md33- Configuration: https://github.com/github/gh-aw/blob/main/.github/aw/github-agentic-workflows.mdCODE
MEDIUM.github/agents/agentic-workflows.agent.md55**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/create-agentic-workflow.mdCODE
MEDIUM.github/agents/agentic-workflows.agent.md65**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/update-agentic-workflow.mdCODE
MEDIUM.github/agents/agentic-workflows.agent.md75**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/debug-agentic-workflow.mdCODE
MEDIUM.github/agents/agentic-workflows.agent.md85**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/upgrade-agentic-workflows.mdCODE
MEDIUM.github/agents/agentic-workflows.agent.md105**Prompt file**: https://github.com/github/gh-aw/blob/main/.github/aw/create-shared-agentic-workflow.mdCODE
MEDIUM.github/agents/agentic-workflows.agent.md144# Initialize repository for agentic workflowsCOMMENT
MEDIUM.github/agents/agentic-workflows.agent.md172- Always reference the instructions file at https://github.com/github/gh-aw/blob/main/.github/aw/github-agentic-workflowCODE
MEDIUMsrc/apm_cli/integration/targets.py666 # Antigravity CLI (agy) -- Google's Gemini-derived agentic CLI.COMMENT
MEDIUMsrc/apm_cli/marketplace/audit.py212# Fetchers and orchestrationCOMMENT
MEDIUMsrc/apm_cli/deps/github_downloader.py239 # Artifactory orchestration is encapsulated in a dedicated facadeCOMMENT
MEDIUMsrc/apm_cli/deps/artifactory_orchestrator.py135# Download orchestrationCOMMENT
MEDIUMsrc/apm_cli/commands/_helpers.py686 # Issue #887: scaffold with explicit consent for local contentCOMMENT
AI Slop Vocabulary44 hits · 124 pts
SeverityFileLineSnippetContext
MEDIUM…docs_src_content_docs_reference_cli_install_md_c7.json1{"claim_id":"c7","claim_text":"--target accepts: copilot, claude, cursor, opencode, codex, gemini, windsurf, agent-skillCODE
MEDIUMtests/unit/test_install_command.py778 # v2 target resolution requires a harness signal (#1154).COMMENT
MEDIUMtests/unit/test_install_command.py838 # v2 target resolution requires a harness signal (#1154).COMMENT
MEDIUMtests/unit/test_view_command.py727 # More robust: "info" should not be in the commands listingCOMMENT
LOWtests/unit/test_registry_operations_state.py202 # Should not raise, just return emptyCOMMENT
LOWtests/unit/test_registry_operations_phase3.py202 # Should not raise, just return emptyCOMMENT
MEDIUMtests/unit/test_generic_git_urls.py708 """Dict format remains the robust choice for ambiguous nested + virtual.STRING
MEDIUMtests/unit/core/test_error_renderer.py13# (a) "what APM saw" headline (e.g. 'no harness detected', 'multipleSTRING
MEDIUMtests/unit/integration/test_copilot_app_ws.py27# Server harnessCOMMENT
LOWtests/unit/deps/test_apm_resolver_parallel.py57 # All packages are pre-laid-out; just return the install path.COMMENT
MEDIUMtests/unit/deps/test_shared_clone_cache.py195 # New paradigm: SharedCloneCache holds bare clones; consumersCOMMENT
MEDIUMtests/unit/compilation/test_context_optimizer.py528 # With coverage-first optimization, efficiency comparison is more nuancedCOMMENT
LOWtests/integration/test_integrators_validation_rules.py1344 # Should not raise, just return silentlyCOMMENT
MEDIUMtests/integration/test_plugin_skill_subset_pack_e2e.py314 # so the assertion is robust against terminal-width line breaks.COMMENT
LOW…sts/integration/test_integrators_validation_phase3b.py1344 # Should not raise, just return silentlyCOMMENT
MEDIUMtests/integration/test_integrators_phase3.py1419 # Without any harness signals, gate fails closed → empty listCOMMENT
LOWtests/integration/test_copilot_app_targets_coverage.py774 # some form of user support. Use an unknown name: should just return [].COMMENT
MEDIUMtests/integration/test_global_scope_e2e.py55 # Mark the home dir as a copilot harness so install --global passesCOMMENT
MEDIUMtests/integration/test_install_root_redirect_e2e.py72 # integrated harness file all live in ``deploy``.COMMENT
MEDIUMtests/integration/test_selective_install_mcp.py129 # Mark project as a copilot harness so target detection succeedsCOMMENT
MEDIUMtests/integration/test_integrators_end_to_end.py1419 # Without any harness signals, gate fails closed → empty listCOMMENT
MEDIUMtests/integration/test_target_resolution_e2e.py15# - Exit code 2 for every target-resolution user error (no harness,STRING
MEDIUMtests/integration/test_compilation_coverage.py512 # Create comprehensive .apm structureCOMMENT
MEDIUMtests/red_team/parser/test_toplevel_shape.py41# Top-levels that already degrade safely (control group -- must stay robust).COMMENT
MEDIUM…docs_src_content_docs_reference_cli_install_md_c7.json1{"claim_id":"c7","claim_text":"--target accepts: copilot, claude, cursor, opencode, codex, gemini, windsurf, agent-skillCODE
MEDIUMdocs/package-lock.json6780 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMscripts/test-dependency-integration.sh4# Used in CI pipeline for comprehensive dependency validationCOMMENT
MEDIUMsrc/apm_cli/core/script_runner.py291 # More robust approach: split by runtime commands to separate env vars from commandCOMMENT
MEDIUMsrc/apm_cli/core/errors.py87 " apm install <pkg> --target claude # deploy to a specific harness\n"CODE
MEDIUMsrc/apm_cli/integration/mcp_integrator.py307 # Pass through harness-specific extra keys for adapters to mergeCOMMENT
MEDIUMsrc/apm_cli/integration/mcp_integrator.py372 # Pass through harness-specific extra keys for adapters to mergeCOMMENT
MEDIUMsrc/apm_cli/marketplace/resolver.py358 # too, so the guard is robust even if a future upstream refactor letsCOMMENT
MEDIUMsrc/apm_cli/runtime/manager.py170 # Set up comprehensive GitHub token environment for all runtimesCOMMENT
LOWsrc/apm_cli/primitives/models.py201 # No conflict, just add the primitiveCOMMENT
MEDIUMsrc/apm_cli/adapters/client/copilot.py422 # so secrets are not baked into the persisted config when the harnessCOMMENT
MEDIUMsrc/apm_cli/adapters/client/base.py32# Config keys that ``_extra`` passthrough must NEVER set on a rendered harnessCOMMENT
MEDIUMsrc/apm_cli/adapters/client/base.py34# plus harness-specific aliases that mirror a modeled field under a differentCOMMENT
MEDIUMsrc/apm_cli/deps/host_backends.py211 # is safe and makes URL construction robust against partiallyCOMMENT
LOWsrc/apm_cli/deps/dependency_graph.py149 # If this is the first occurrence, just add itCOMMENT
MEDIUMsrc/apm_cli/commands/targets.py61 # agent-skills is a meta-target (multi-harness fan-out), not aCOMMENT
MEDIUMsrc/apm_cli/commands/targets.py62 # harness in itself. Excluded from the apm targets table; visibleCOMMENT
MEDIUMsrc/apm_cli/commands/targets.py66 # On ambiguous-harness, show all detected signals (the user ranCOMMENT
MEDIUMsrc/apm_cli/commands/targets.py68 # On no-harness error, report empty active list.COMMENT
MEDIUMsrc/apm_cli/compilation/context_optimizer.py361 """Generate comprehensive compilation results for output formatting.STRING
Modern Structural Boilerplate112 hits · 108 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_audit_policy_command.py33def _setup_clean_project(project: Path) -> None:CODE
LOWtests/unit/test_audit_ci_auto_discovery.py41def _setup_project_with_unmanaged_file(project: Path) -> None:CODE
LOWtests/unit/test_audit_ci_command.py32def _setup_clean_project(project: Path) -> None:CODE
LOWtests/unit/test_audit_ci_command.py63def _setup_failing_project(project: Path) -> None:STRING
LOWtests/unit/integration/test_skill_integrator.py31def _setup_agents_orphan_cleanup(project_root: Path, skill_names: list[str]) -> None:CODE
LOWtests/unit/integration/test_scope_install_uninstall.py28def _set_home(monkeypatch, home: Path) -> None:CODE
LOWtests/unit/integration/test_scope_integration.py25def _set_home(monkeypatch, home: Path) -> None:CODE
LOWtests/unit/deps/test_download_strategies_phase3.py1141 def _setup_host_info(self, host_mock: MagicMock) -> None:CODE
LOWtests/unit/deps/test_download_strategies_selection.py988 def _setup_host_info(self, host_mock: MagicMock) -> None:CODE
LOWtests/unit/compilation/test_compile_cli_surface.py597 def _setup_project_dir(self) -> None:CODE
LOWtests/unit/compilation/test_compile_cli_phase3.py600 def _setup_project_dir(self) -> None:CODE
LOWtests/integration/test_remaining_modules_phase3.py1643 def _setup_project(self, root: Path) -> None:CODE
LOWtests/integration/test_audit_silent_skip_e2e.py64def _setup_clean_project(project: Path, *, fetch_failure_default: str | None = None) -> None:CODE
LOWtests/integration/release_homebrew_update_harness.py44def update_tap(workflow_path: Path, release_path: Path, tap_repo: Path) -> None:CODE
LOWtests/integration/test_remaining_modules_coverage.py1643 def _setup_project(self, root: Path) -> None:CODE
LOWsrc/apm_cli/config.py311def set_allow_protocol_fallback(enabled: bool) -> None:CODE
LOWsrc/apm_cli/config.py436def set_copilot_cowork_skills_dir(path: str) -> None:CODE
LOWsrc/apm_cli/config.py110def set_auto_integrate(enabled: bool) -> None:CODE
LOWsrc/apm_cli/config.py128def set_temp_dir(path: str) -> None:CODE
LOWsrc/apm_cli/config.py329def set_prefer_ssh(enabled: bool) -> None:CODE
LOWsrc/apm_cli/config.py478def set_registry_url(name: str, url: str) -> None:CODE
LOWsrc/apm_cli/config.py487def set_registry_token(name: str, token: str) -> None:CODE
LOWsrc/apm_cli/config.py541def set_registry_default(name: str, is_default: bool) -> None:CODE
LOWsrc/apm_cli/config.py617def set_audit_on_install(mode: str) -> None:CODE
LOWsrc/apm_cli/config.py673def set_scanner_llm(name: str, llm: bool) -> None:CODE
LOWsrc/apm_cli/config.py682def set_scanner_args(name: str, args: "list[str]") -> None:CODE
LOWsrc/apm_cli/config.py794def set_mcp_registry_url(url: str) -> None:CODE
LOWsrc/apm_cli/install/plan.py465__all__ = [CODE
LOWsrc/apm_cli/install/cache_pin.py232__all__ = [CODE
LOWsrc/apm_cli/install/lsp/__init__.py5__all__ = ["run_lsp_integration"]CODE
LOWsrc/apm_cli/install/mcp/ownership.py8logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/install/mcp/__init__.py23__all__ = ["run_mcp_integration"]CODE
LOWsrc/apm_cli/install/heals/__init__.py27__all__ = [CODE
LOWsrc/apm_cli/install/phases/resolve.py282def _setup_downloader(ctx: InstallContext) -> None:CODE
LOWsrc/apm_cli/install/phases/policy_gate.py29__all__ = ["PolicyViolationError", "run"]CODE
LOWsrc/apm_cli/core/auth.py57logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/core/auth.py237 def set_logger(self, logger: object) -> None:CODE
LOWsrc/apm_cli/core/token_manager.py36logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/core/tls_trust.py39logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/core/__init__.py5__all__ = ["AuthContext", "AuthResolver", "HostInfo"]CODE
LOWsrc/apm_cli/core/scope.py76def set_source_root_override(path: Path | None) -> None:CODE
LOWsrc/apm_cli/cache/__init__.py16__all__ = ["GitCache", "HttpCache", "get_cache_root"]CODE
LOWsrc/apm_cli/security/__init__.py20__all__ = [CODE
LOWsrc/apm_cli/security/external/__init__.py27__all__ = ["ExternalScanError", "ExternalScanner"]CODE
LOWsrc/apm_cli/integration/command_integrator.py32logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/integration/__init__.py32__all__ = [CODE
LOWsrc/apm_cli/integration/prompt_integrator.py369__all__ = [CODE
LOWsrc/apm_cli/marketplace/tag_pattern.py20__all__ = [CODE
LOWsrc/apm_cli/marketplace/semver.py24__all__ = [CODE
LOWsrc/apm_cli/marketplace/audit.py30logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/marketplace/models.py17logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/marketplace/_io.py8__all__ = ["atomic_write"]CODE
LOWsrc/apm_cli/marketplace/registry.py13logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/marketplace/client.py48logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/marketplace/version_resolver.py26logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/marketplace/__init__.py45__all__ = [CODE
LOWsrc/apm_cli/marketplace/builder.py91__all__ = [CODE
LOWsrc/apm_cli/marketplace/builder.py72logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/marketplace/shadow_detector.py18logger = logging.getLogger(__name__)CODE
LOWsrc/apm_cli/marketplace/yml_schema.py46__all__ = [CODE
52 more matches not shown…
Verbosity Indicators68 hits · 100 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_deps_update_e2e.py128 # Step 1: install pinned to an older commit SHA.COMMENT
LOWtests/integration/test_deps_update_e2e.py142 # Step 2: bump apm.yml to point at main.COMMENT
LOWtests/integration/test_deps_update_e2e.py145 # Step 3: run `apm deps update` with no positional args.COMMENT
LOWtests/integration/test_deps_update_e2e.py151 # Step 4: lockfile SHA must differ from old.COMMENT
LOWtests/integration/test_deps_update_e2e.py161 # Step 5: deployed files must still exist (re-integrated).COMMENT
LOWtests/integration/test_deps_update_e2e.py276 # Step 2: bump the user manifest to main.COMMENT
LOWtests/integration/test_deps_update_e2e.py279 # Step 3: run `apm deps update -g` from a directory with no project.COMMENT
LOWtests/integration/test_deps_update_e2e.py285 # Step 4: ~/.apm/apm.lock.yaml must reflect the new SHA.COMMENT
LOWtests/integration/test_deps_update_e2e.py295 # Step 5: scope was respected -- no project lockfile in cwd.COMMENT
LOWtests/integration/test_deps_update_e2e.py264 # Step 1: install -g to populate ~/.apm/apm.lock.yaml.COMMENT
LOWtests/integration/test_producer_journey.py101 # Step 1: consumer initCOMMENT
LOWtests/integration/test_producer_journey.py106 # Step 2: bolt on a marketplaceCOMMENT
LOWtests/integration/test_golden_scenario_e2e.py193 # Step 1: Setup Copilot runtime (equivalent to: apm runtime setup copilot)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py225 # Step 2: Initialize project (equivalent to: apm init my-ai-native-project)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py595 # Step 1: Setup LLM runtime (equivalent to: apm runtime setup llm)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py611 # Step 2: Use existing project or create new oneCOMMENT
LOWtests/integration/test_golden_scenario_e2e.py338 # Step 6: Execute agentic workflows (equivalent to: apm run start --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py439 # Step 1: Setup Codex runtimeSTRING
LOWtests/integration/test_golden_scenario_e2e.py518 # Step 3: Compile Agent PrimitivesSTRING
LOWtests/integration/test_golden_scenario_e2e.py523 # Step 4: Install dependenciesSTRING
LOWtests/integration/test_golden_scenario_e2e.py669 # Step 3: Compile Agent PrimitivesSTRING
LOWtests/integration/test_golden_scenario_e2e.py674 # Step 4: Install dependenciesSTRING
LOWtests/integration/test_golden_scenario_e2e.py743 # Step 1: Setup Gemini runtime (npm install -g @google/gemini-cli)STRING
LOWtests/integration/test_golden_scenario_e2e.py827 # Step 3: Compile Agent PrimitivesSTRING
LOWtests/integration/test_golden_scenario_e2e.py832 # Step 4: Install dependencies (targets gemini since .gemini/ exists)STRING
LOWtests/integration/test_golden_scenario_e2e.py840 # Step 5: Run with Gemini CLISTRING
LOWtests/integration/test_golden_scenario_e2e.py308 # Step 4: Compile Agent Primitives for any coding agent (equivalent to: apm compile)STRING
LOWtests/integration/test_golden_scenario_e2e.py322 # Step 5: Install MCP dependencies (equivalent to: apm install)STRING
LOWtests/integration/test_golden_scenario_e2e.py460 # Step 2: Use existing project or create new oneSTRING
LOWtests/integration/test_golden_scenario_e2e.py534 # Step 5: Run with Codex CLI (equivalent to: apm run debug --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py685 # Step 5: Run with LLM runtime (equivalent to: apm run llm --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py768 # Step 2: Create test projectSTRING
LOWtests/integration/test_guardrailing_hero_e2e.py126 # Step 1: apm init my-projectCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py141 # Step 2: apm install microsoft/apm-sample-packageCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py159 # Step 3: apm install github/awesome-copilot/instructions/code-review-generic.instructions.mdCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py185 # Step 4: apm compileCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py223 # Step 5: apm run design-reviewCOMMENT
LOWtests/integration/test_agent_skills_target.py826 # Step 1: Legacy install so the lockfile records .github/skills/.COMMENT
LOWtests/integration/test_agent_skills_target.py833 # Step 2: Hand-edit the legacy file so its content diverges from whatCOMMENT
LOWtests/integration/test_agent_skills_target.py837 # Step 3: Converged install — integrate writes the canonical contentCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py238 # Step 1: Set up Codex runtimeCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py247 # Step 2: Create test project with MCP dependenciesCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py291 # Step 3: Test installation with environment variable promptingCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py307 # Step 4: Verify Codex configuration was updatedCOMMENT
LOWscripts/test-release-validation.sh221 # Step 1: apm init my-projectCOMMENT
LOWscripts/test-release-validation.sh243 # Step 2: apm install microsoft/apm-sample-packageCOMMENT
LOWscripts/test-release-validation.sh259 # Step 3: apm install github/awesome-copilot/skills/review-and-refactorCOMMENT
LOWscripts/test-release-validation.sh275 # Step 4: apm compileCOMMENT
LOWscripts/test-release-validation.sh303 # Step 5: apm run design-review (from installed package)COMMENT
LOWsrc/apm_cli/cache/url_normalize.py65 # Step 2: Convert SCP-like to ssh:// formCOMMENT
LOWsrc/apm_cli/cache/url_normalize.py103 # Step 5: Strip default portsCOMMENT
LOWsrc/apm_cli/cache/url_normalize.py111 # Step 1: Strip trailing .git from pathCOMMENT
LOWsrc/apm_cli/integration/mcp_integrator_install.py384 # Step 1: Get all installed runtimes on the systemCOMMENT
LOWsrc/apm_cli/integration/mcp_integrator_install.py387 # Step 2: Get runtimes referenced in apm.yml scriptsCOMMENT
LOWsrc/apm_cli/integration/mcp_integrator_install.py392 # Step 3: Target runtimes BOTH installed AND referenced in scriptsCOMMENT
LOWsrc/apm_cli/deps/bare_cache.py440 # Step 1: check first -- no network if SHA already present.COMMENT
LOWsrc/apm_cli/deps/bare_cache.py447 # Step 2: shallow fetch by full SHA (only for full 40-char SHAs).COMMENT
LOWsrc/apm_cli/deps/bare_cache.py489 # Step 3: broaden shallow -- fetch all refs without a SHA argument.COMMENT
LOWsrc/apm_cli/commands/uninstall/cli.py145 # Step 2: Dry runCOMMENT
LOWsrc/apm_cli/commands/uninstall/cli.py151 # Step 3: Remove from apm.ymlCOMMENT
8 more matches not shown…
Magic Placeholder Names14 hits · 95 pts
SeverityFileLineSnippetContext
HIGHtests/unit/test_env_variables.py59 {"description": "YOUR_API_KEY", "name": "AGENTQL_API_KEY"}CODE
HIGHtests/unit/test_runtime_args.py35 "value_hint": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py35 "value_hint": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py58 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGHtests/unit/test_runtime_args.py58 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGHtests/unit/test_runtime_args.py86 "value": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py86 "value": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py87 "default": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py87 "default": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py89 "value_hint": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py89 "value_hint": "<YOUR_API_KEY>",CODE
HIGHtests/unit/test_runtime_args.py122 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGHtests/unit/test_runtime_args.py122 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGH…src/content/docs/integrations/runtime-compatibility.md146export GOOGLE_API_KEY=your_api_keyCODE
Cross-Language Confusion14 hits · 76 pts
SeverityFileLineSnippetContext
HIGHtests/test_lockfile.py358 """Lockfiles with mcp_configs: (null) should get an empty dict, not raise TypeError."""STRING
HIGHtests/unit/test_ado_path_structure.py594 # Must use path_parts[0], not org_name (which was undefined)COMMENT
HIGHtests/unit/test_runtime_detection.py42 "dev": "npm run build && copilot -p prompt.md",CODE
HIGHtests/unit/test_runtime_detection.py43 "ai": "export MODEL=gpt-4 && llm prompt.md",CODE
HIGHtests/unit/test_windows_installer_launchers.py39 assert "command -v apm && apm --version" in test_scriptCODE
HIGHtests/unit/test_transport_selection.py360 The downloader's locked-down git_env sets GIT_CONFIG_GLOBAL=/dev/null,STRING
HIGHtests/unit/install/test_mcp_warnings.py245 warn_shell_metachars({"RUN": "true && bad"}, logger)CODE
HIGHtests/unit/install/test_mcp_warnings.py250 warn_shell_metachars({"FALLBACK": "a || b"}, logger)CODE
HIGHtests/integration/test_golden_scenario_e2e.py188 4. cd my-ai-native-project && apm compileSTRING
HIGHtests/integration/test_guardrailing_hero_e2e.py51. apm init my-project && cd my-projectSTRING
HIGHsrc/apm_cli/install/validation.py438 # (GIT_CONFIG_GLOBAL=/dev/null, GIT_CONFIG_NOSYSTEM=1) is onlyCOMMENT
HIGHsrc/apm_cli/marketplace/builder.py228 unchanged, skipped}]}, bundle: null}STRING
HIGHsrc/apm_cli/deps/bare_cache.py141 - Tier 1 (SHA refs): ``git init --bare && git remote addSTRING
HIGHsrc/apm_cli/commands/pack.py556 logger.info(f" apm pack && git add -- {out_path}")CODE
Hallucination Indicators6 hits · 70 pts
SeverityFileLineSnippetContext
CRITICALtests/unit/test_plugin_parser.py21from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALtests/unit/install/phases/test_finalize_user_compile.py90 assert ctx.logger.info.call_args.kwargs.get("symbol") == "info"CODE
CRITICALtests/integration/test_plugin_e2e.py31from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/install/validation.py190 from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/install/validation.py242 from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/install/phases/local_content.py254 from apm_cli.utils.helpers import find_plugin_jsonCODE
Fake / Example Data41 hits · 37 pts
SeverityFileLineSnippetContext
LOWpyproject.toml13 {name = "Daniel Meppiel", email = "user@example.com"}CODE
LOWtests/test_codex_empty_string_and_defaults.py254 "LITERAL_EMAIL": "user@example.com",CODE
LOWtests/test_codex_empty_string_and_defaults.py273 assert env_block["LITERAL_EMAIL"] == "user@example.com"CODE
LOWtests/unit/test_gemini_mcp.py407 "LITERAL_EMAIL": "user@example.com",CODE
LOWtests/unit/test_gemini_mcp.py425 self.assertEqual(env_block["LITERAL_EMAIL"], "user@example.com")CODE
LOWtests/unit/test_plugin_parser.py489 "author": {"name": "Foo Bar", "email": "foo@bar.com"},CODE
LOWtests/unit/test_cursor_mcp.py381 "LITERAL_EMAIL": "user@example.com",CODE
LOWtests/unit/test_cursor_mcp.py399 self.assertEqual(env_block["LITERAL_EMAIL"], "user@example.com")CODE
LOWtests/unit/test_plugin_synthesis.py32 "author": "Jane Doe",CODE
LOWtests/unit/test_plugin_synthesis.py42 assert result["author"] == {"name": "Jane Doe"}CODE
LOWtests/unit/test_plugin_synthesis.py248 "name": "Jane Doe",CODE
LOWtests/unit/test_plugin_synthesis.py258 "name": "Jane Doe",CODE
LOWtests/unit/test_plugin_synthesis.py267 {"name": "test", "version": "1.0.0", "author": {"name": "Jane Doe"}},CODE
LOWtests/unit/test_plugin_synthesis.py272 assert result["author"] == {"name": "Jane Doe"}CODE
LOWtests/unit/test_plugin_synthesis.py162 "author": "Acme Corp",CODE
LOWtests/unit/test_plugin_exporter_schema.py100 "name": "Acme Inc",CODE
LOWtests/unit/core/test_plugin_manifest.py138 apm = _minimal_apm_yml(tmp_path, author="Jane Doe")CODE
LOWtests/unit/core/test_plugin_manifest.py143 assert manifest["author"] == {"name": "Jane Doe"}CODE
LOWtests/unit/marketplace/test_yml_schema.py94 assert result.owner.name == "Acme Corp"CODE
LOWtests/unit/marketplace/test_marketplace_models.py345 data = {"name": "Test", "owner": "John Doe", "plugins": []}CODE
LOWtests/unit/marketplace/test_marketplace_models.py347 assert manifest.owner_name == "John Doe"CODE
LOWtests/unit/compilation/test_link_resolver.py743 (compiled_dir / "AGENTS.md").write_text("placeholder", encoding="utf-8")CODE
LOWtests/unit/compilation/test_link_resolver.py777 source_file.write_text("placeholder", encoding="utf-8")CODE
LOWtests/unit/compilation/test_link_resolver.py806 source_file.write_text("placeholder", encoding="utf-8")CODE
LOWtests/unit/compilation/test_link_resolver.py830 source_file.write_text("placeholder", encoding="utf-8")CODE
LOWtests/integration/test_yml_schema_validation.py87 assert _parse_author(" Jane Doe ", 1) == {"name": "Jane Doe"}STRING
LOWtests/integration/test_bare_cache_integration.py51 _git(src, "config", "user.email", "test@test.com")CODE
LOWtests/integration/test_bare_cache_integration.py124 _git(src, "config", "user.email", "test@test.com")CODE
LOWtests/integration/test_compile_permission_denied.py22 agents.write_text("placeholder", encoding="utf-8")CODE
LOWtests/integration/test_yml_schema_phase3w5.py87 assert _parse_author(" Jane Doe ", 1) == {"name": "Jane Doe"}STRING
LOWtests/integration/test_remaining_modules_phase3.py408 assert cfg.packages[0].author == {"name": "Jane Doe"}CODE
LOWtests/integration/test_remaining_modules_phase3.py427 "name": "Jane Doe",CODE
LOWtests/integration/test_remaining_modules_phase3.py482 with pytest.raises(MarketplaceYmlError, match="placeholder"):CODE
LOWtests/integration/test_remaining_modules_phase3.py404 author: "Jane Doe"STRING
LOWtests/integration/test_remaining_modules_coverage.py408 assert cfg.packages[0].author == {"name": "Jane Doe"}CODE
LOWtests/integration/test_remaining_modules_coverage.py427 "name": "Jane Doe",CODE
LOWtests/integration/test_remaining_modules_coverage.py482 with pytest.raises(MarketplaceYmlError, match="placeholder"):CODE
LOWtests/integration/test_remaining_modules_coverage.py404 author: "Jane Doe"STRING
LOWtests/integration/test_integrators_hooks_phase3c.py294 mock_auth.resolve_for_dep.return_value = MagicMock(token="fake-token")CODE
LOWtests/integration/test_integrators_hooks_execution.py294 mock_auth.resolve_for_dep.return_value = MagicMock(token="fake-token")CODE
LOWdocs/src/content/docs/producer/pack-a-bundle.md77The `author` field accepts a plain string (`"Jane Doe"` maps to `{name: "Jane Doe"}`) or aCODE
AI Structural Patterns45 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_mcp_integrator_overlay.py56CODE
LOWtests/unit/test_outdated_phase3w5.py28CODE
LOWtests/unit/test_output_formatters_phase3.py124CODE
LOWtests/unit/test_output_formatters_rendering.py124CODE
LOWtests/unit/test_plugin_exporter.py102CODE
LOWtests/unit/test_mcp_integrator_phase3w4.py56CODE
LOWtests/unit/test_outdated_marketplace_detection.py28CODE
LOWtests/unit/install/test_sources_phase3.py53CODE
LOWtests/unit/install/test_sources_materialisation.py53CODE
LOWtests/unit/integration/test_skill_integrator.py329CODE
LOWtests/unit/integration/test_skill_integrator.py1006CODE
LOWtests/unit/marketplace/test_builder_json.py19CODE
LOWtests/unit/deps/test_download_strategies_phase3.py89CODE
LOWtests/unit/deps/test_download_strategies_selection.py92CODE
LOWtests/unit/commands/test_deps_cli_phase3w4.py47CODE
LOWtests/unit/commands/test_deps_cli_branch_coverage.py47CODE
LOWtests/integration/test_ado_e2e.py48CODE
LOW…sts/integration/test_install_services_orchestration.py118CODE
LOWtests/integration/test_install_services_phase3w5.py118CODE
LOWtests/integration/test_deps_resolver_phase3b.py35CODE
LOWtests/integration/test_download_strategies_selection.py19CODE
LOWtests/integration/test_mcp_integrator_phase3w5.py13CODE
LOWtests/integration/test_deps_resolver_resolution.py35CODE
LOW…ts/integration/test_mcp_integrator_characterisation.py13CODE
LOWtests/integration/test_wave4_pure_logic_coverage.py59CODE
LOWtests/integration/test_wave5_e2e_coverage.py29CODE
LOWtests/integration/test_download_strategies_phase3w5.py17CODE
LOWtests/integration/test_download_copilot_end_to_end.py96CODE
LOWtests/integration/test_download_copilot_phase3.py96CODE
LOWsrc/apm_cli/install/services.py189CODE
LOWsrc/apm_cli/install/pipeline.py444CODE
LOWsrc/apm_cli/install/mcp/integration.py15CODE
LOWsrc/apm_cli/core/target_catalog.py30CODE
LOWsrc/apm_cli/integration/skill_transformer.py34CODE
LOWsrc/apm_cli/integration/lsp_integrator.py218CODE
LOWsrc/apm_cli/integration/mcp_integrator_install.py648CODE
LOWsrc/apm_cli/integration/mcp_integrator.py1161CODE
LOWsrc/apm_cli/integration/skill_integrator.py633CODE
LOWsrc/apm_cli/integration/skill_integrator.py1258CODE
LOWsrc/apm_cli/marketplace/tag_pattern.py68CODE
LOWsrc/apm_cli/marketplace/ref_resolver.py153CODE
LOWsrc/apm_cli/models/dependency/identity.py65CODE
LOWsrc/apm_cli/commands/install.py578CODE
LOWsrc/apm_cli/commands/install.py1981CODE
LOWsrc/apm_cli/policy/policy_checks.py1098CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtests/integration/test_git_cache_phase3w5.py853CODE
MEDIUMtests/integration/test_git_cache_hermetic.py853CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…s/docs-corpus-audit/scripts/scan-cross-corpus-drift.sh13# Usage:COMMENT
LOW…s/docs-corpus-audit/scripts/scan-cross-corpus-drift.sh13# Usage:COMMENT
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWsrc/apm_cli/core/experimental.py12 def my_function():STRING