AI Slop Code RIsk Monitor

microsoft/apm

Agent Package Manager

61.5 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for microsoft/apm, a Python project with 3,997 GitHub stars. SynthScan examined 970,955 lines of code across 2761 source files, recording 40776 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 61.5 (High pattern signal); it is not an authorship estimate.

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

61.5
Adjusted Signal
61.5
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
4.0K
Stars
Python
Language
971.0K
Lines of Code
2.8K
Files
40.8K
Pattern Hits
2026-10-12
Scan Date
0.15
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 73.0/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 10.3/100 · LOW

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

Agent Over-Engineering Ratio 94.2/100 · CRITICAL

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

PR Review Velocity Impact 95.5/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 9HIGH 417MEDIUM 8703LOW 31647

Directory Score Breakdown

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

Pattern Findings

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

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

Decorative Section Separators8351 hits · 29915 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
MEDIUM⚡tests/test_gitlab_git_transport.py109# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_gitlab_git_transport.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py608# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_gitlab_git_transport.py610# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_apm_resolver.py478# ===========================================================================COMMENT
MEDIUMtests/test_apm_resolver.py480# ===========================================================================COMMENT
MEDIUM⚡tests/test_lockfile.py756# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lockfile.py758# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_github_downloader.py2337# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_github_downloader.py2339# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_apm_package_models.py682 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_apm_package_models.py685 # ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_plugin_parser.py1598# ------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_plugin_parser.py1602# ------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py444# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py446# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py586# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py588# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py700# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py702# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py845# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_mcp_overlays.py847# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py13# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_mcp_overlays.py15# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py54# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py98# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py100# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py132# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py134# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py399# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py401# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py482# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py484# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py534# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py536# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py594# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py596# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py662# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py664# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py681# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py683# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py711# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py713# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py831# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py833# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py958# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py960# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1032# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1034# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1103# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1105# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1134# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1136# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1310# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py1312# ---------------------------------------------------------------------------COMMENT
8291 more matches not shown…
Hyper-Verbose Identifiers27687 hits · 23032 pts
SeverityFileLineSnippetContext
LOW.apm/instructions/tests.instructions.md298 def test_write_report_is_deterministic_atomic_and_printable_ascii():CODE
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
LOW⚡tests/test_token_manager.py63 def test_scheme_allowlist_is_case_insensitive(self):CODE
LOW⚡tests/test_token_manager.py72 def test_gh_token_used_when_no_other_tokens(self):CODE
LOW⚡tests/test_token_manager.py79 def test_github_apm_pat_takes_precedence_over_gh_token(self):CODE
LOW⚡tests/test_token_manager.py122 def test_modules_precedence_order(self):CODE
LOW⚡tests/test_token_manager.py130 def test_no_tokens_returns_none(self):CODE
LOW⚡tests/test_token_manager.py140 def test_success_returns_password(self):CODE
LOW⚡tests/test_token_manager.py150 def test_no_password_line_returns_none(self):CODE
LOW⚡tests/test_token_manager.py159 def test_empty_password_returns_none(self):CODE
LOW⚡tests/test_token_manager.py168 def test_nonzero_exit_code_returns_none(self):CODE
LOW⚡tests/test_token_manager.py174 def test_timeout_returns_none(self):CODE
LOW⚡tests/test_token_manager.py179 def test_file_not_found_returns_none(self):CODE
LOW⚡tests/test_token_manager.py184 def test_os_error_returns_none(self):CODE
LOW⚡tests/test_token_manager.py197 def test_path_appended_to_stdin(self):CODE
LOW⚡tests/test_token_manager.py207 def test_path_leading_slash_stripped(self):CODE
LOW⚡tests/test_token_manager.py215 def test_path_none_preserves_legacy_stdin(self):CODE
LOW⚡tests/test_token_manager.py222 def test_path_with_newline_is_rejected(self):CODE
LOW⚡tests/test_token_manager.py266 def test_git_terminal_prompt_disabled(self):CODE
LOW⚡tests/test_token_manager.py274 def test_git_askpass_set_to_empty(self):CODE
LOW⚡tests/test_token_manager.py283 def test_rejects_password_prompt_as_token(self):CODE
LOW⚡tests/test_token_manager.py292 def test_rejects_username_prompt_as_token(self):CODE
LOW⚡tests/test_token_manager.py301 def test_rejects_token_with_spaces(self):CODE
LOW⚡tests/test_token_manager.py310 def test_rejects_token_with_tabs(self):CODE
LOW⚡tests/test_token_manager.py319 def test_rejects_excessively_long_token(self):CODE
LOW⚡tests/test_token_manager.py328 def test_accepts_valid_ghp_token(self):CODE
LOW⚡tests/test_token_manager.py338 def test_accepts_valid_gho_token(self):CODE
LOW⚡tests/test_token_manager.py375 def test_ineligible_host_skips_subprocess(self):CODE
LOW⚡tests/test_token_manager.py383 def test_nonzero_exit_returns_none(self):CODE
LOW⚡tests/test_token_manager.py388 def test_invalid_output_returns_none(self):CODE
LOW⚡tests/test_token_manager.py393 def test_timeout_returns_none(self):CODE
LOW⚡tests/test_token_manager.py401 def test_none_and_empty_unsupported(self):CODE
LOW⚡tests/test_token_manager.py408 def test_github_com_supported(self):CODE
LOW⚡tests/test_token_manager.py414 def test_ghes_supported_when_matches_default_host(self):CODE
LOW⚡tests/test_token_manager.py418 def test_ghes_unsupported_when_mismatches_default_host(self):CODE
LOW⚡tests/test_token_manager.py422 def test_ghes_unsupported_when_no_default_host(self):CODE
LOW⚡tests/test_token_manager.py464 def test_empty_string_invalid(self):CODE
LOW⚡tests/test_token_manager.py467 def test_none_coerced_invalid(self):CODE
LOW⚡tests/test_token_manager.py471 def test_whitespace_only_invalid(self):CODE
LOW⚡tests/test_token_manager.py483 def test_password_for_prompt_invalid(self):CODE
LOW⚡tests/test_token_manager.py488 def test_username_for_prompt_invalid(self):CODE
LOW⚡tests/test_token_manager.py493 def test_newline_in_token_invalid(self):CODE
LOW⚡tests/test_token_manager.py496 def test_tab_in_token_invalid(self):CODE
LOW⚡tests/test_token_manager.py503 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
27627 more matches not shown…
Unused Imports2129 hits · 1762 pts
SeverityFileLineSnippetContext
LOWtests/test_gitlab_git_transport.py13CODE
LOWtests/test_apm_resolver.py12CODE
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_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/workflow_contracts.py3CODE
LOWtests/test_empty_string_and_defaults.py13CODE
LOWtests/unit/test_mcp_overlays.py5CODE
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_governance_consumers.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_shared_apm_workflow_contract.py3CODE
LOWtests/unit/test_dev_dependencies.py9CODE
LOWtests/unit/test_dep_targets_persistence.py3CODE
LOWtests/unit/test_mcp_integrator_install_hermetic.py6CODE
LOWtests/unit/test_registry_entry_alias_traversal.py3CODE
2069 more matches not shown…
Cross-File Repetition160 hits · 800 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/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_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_pack_install_flow.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00+00:00' dependencies: []STRING
HIGHtests/integration/test_pack_install_phase3w4.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00+00:00' dependencies: []STRING
HIGH…integration/test_wave7_marketplace_install_coverage.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00+00:00' dependencies: []STRING
HIGHtests/integration/test_wave6_init_pack_coverage.py0\ lockfile_version: '1' generated_at: '2025-01-01t00:00:00+00:00' dependencies: []STRING
100 more matches not shown…
Empty Error Handlers153 hits · 765 pts
SeverityFileLineSnippetContext
HIGHtests/test_apm_package_models.py2027except Exception:CODE
HIGHtests/unit/test_lockfile_self_entry.py165except RuntimeError:CODE
HIGHtests/unit/test_config_command.py25except (FileNotFoundError, OSError):CODE
HIGHtests/unit/test_config_command.py1042except (FileNotFoundError, OSError):CODE
HIGHtests/unit/test_protocol_fallback_warning.py71except (RuntimeError, GitCommandError):CODE
HIGHtests/unit/test_protocol_fallback_warning.py420except (RuntimeError, GitCommandError):CODE
HIGHtests/unit/test_protocol_fallback_warning.py204except (RuntimeError, GitCommandError):CODE
HIGHtests/unit/test_protocol_fallback_warning.py248except (RuntimeError, GitCommandError):CODE
HIGHtests/unit/test_protocol_fallback_warning.py313except (RuntimeError, GitCommandError):CODE
HIGHtests/unit/test_protocol_fallback_warning.py368except (RuntimeError, GitCommandError):CODE
HIGHtests/unit/test_reference_registry_shorthand.py190except ValueError:CODE
HIGHtests/unit/test_package_identity.py306except ValueError:CODE
HIGHtests/unit/test_auth_scoping.py230except RuntimeError:CODE
HIGHtests/unit/test_auth_scoping.py583except (RuntimeError, GitCommandError):CODE
HIGHtests/unit/install/test_install_local_bundle.py31except ImportError:CODE
HIGHtests/unit/security/test_executables.py127except AttributeError:CODE
HIGHtests/unit/integration/test_hook_integrator.py3484except ValueError:CODE
HIGHtests/unit/deps/test_outdated_ref_cache.py121except RuntimeError:CODE
HIGHtests/unit/compilation/test_watcher_phase3.py482except (ImportError, SystemExit):CODE
HIGHtests/unit/compilation/test_watcher_phase3.py484except Exception:CODE
HIGHtests/unit/compilation/test_watcher_events.py482except (ImportError, SystemExit):CODE
HIGHtests/unit/compilation/test_watcher_events.py484except Exception:CODE
HIGHtests/integration/test_policy_coverage.py551except Exception:CODE
HIGHtests/integration/test_integration_runtime_coverage.py1959except RuntimeError:CODE
HIGHtests/integration/test_skill_bundle_live.py87except (FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGHtests/integration/test_install_subdir_dedup_e2e.py450except (FileNotFoundError, subprocess.SubprocessError, OSError):CODE
HIGHtests/integration/test_install_local_bundle_e2e.py1042except ImportError:CODE
HIGHtests/integration/test_install_local_bundle_e2e.py1050except ImportError:CODE
HIGHtests/integration/test_tls_frozen_hook.py122except Exception:CODE
HIGHtests/integration/test_github_downloader_phase3w4.py337except UnicodeDecodeError:CODE
HIGHtests/integration/_tls_ca_server.py40except Exception:CODE
HIGHtests/integration/test_remaining_modules_coverage.py1000except RuntimeError:CODE
HIGHtests/integration/test_remaining_modules_coverage.py1020except RuntimeError:CODE
HIGHtests/integration/test_tls_custom_ca.py155except Exception:CODE
HIGHtests/integration/test_tls_custom_ca.py192except Exception:CODE
HIGHtests/integration/test_deps_models_validation.py1367except ValueError:CODE
HIGH…/integration/test_github_downloader_validation_flow.py349except UnicodeDecodeError:CODE
HIGHtests/integration/test_compilation_coverage.py471except Exception:CODE
HIGHtests/integration/test_wave3_integrators_coverage.py624except Exception:CODE
HIGHscripts/benchmark_manifest_ops.py250except OSError:CODE
HIGHscripts/perf/measure_dotnet_skills.py86except OSError:CODE
HIGHscripts/perf/measure_dotnet_skills.py61except OSError:CODE
HIGHscripts/perf/measure_dotnet_skills.py95except OSError:CODE
HIGHscripts/perf/measure_dotnet_skills.py100except OSError:CODE
HIGHsrc/apm_cli/config.py39except FileExistsError:CODE
HIGHsrc/apm_cli/version.py66except Exception:CODE
HIGHsrc/apm_cli/version.py39except (ImportError, PackageNotFoundError):CODE
HIGHsrc/apm_cli/version.py97except Exception:CODE
HIGHsrc/apm_cli/cli.py465except Exception:CODE
HIGHsrc/apm_cli/install/drift.py721except RuntimeError:CODE
HIGHsrc/apm_cli/install/deployed_paths.py53except ValueError:CODE
HIGHsrc/apm_cli/install/sources.py882except Exception:CODE
HIGHsrc/apm_cli/install/sources.py745except Exception:CODE
HIGHsrc/apm_cli/install/skill_path_migration.py184except OSError:CODE
HIGHsrc/apm_cli/install/validation.py370except Exception:CODE
HIGHsrc/apm_cli/install/validation.py744except Exception:CODE
HIGHsrc/apm_cli/install/validation.py837except Exception:CODE
HIGHsrc/apm_cli/install/mcp/command.py41except ImportError:CODE
HIGHsrc/apm_cli/install/phases/lockfile.py47except Exception:CODE
HIGHsrc/apm_cli/install/phases/resolve.py263except (OSError, ValueError):CODE
93 more matches not shown…
Self-Referential Comments220 hits · 684 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh1343 printf ' %s init my-app # Create a new APM project\n' "$_apm_run_hint"CODE
MEDIUMinstall.sh2056printf ' %s init my-app # Create a new APM project\n' "$_apm_run_hint"CODE
MEDIUM.apm/docs-index.yml3# This file is the LOAD-BEARING ARTIFACT for the docs-sync agenticCOMMENT
MEDIUMtests/test_gitlab_git_transport.py267 # Create a file outside the work dir.COMMENT
MEDIUMtests/test_gitlab_git_transport.py271 # Create a symlink inside the work dir pointing outside.COMMENT
MEDIUM⚡tests/test_apm_resolver.py302 # Create a mock dependency graphCOMMENT
MEDIUMtests/test_apm_resolver.py172 # Create a simple tree without cyclesCOMMENT
MEDIUMtests/test_apm_resolver.py198 # Create a circular dependency: A -> B -> ACOMMENT
MEDIUMtests/test_apm_resolver.py212 # 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.py1111 # 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.py483 # Create a symlink inside agents/COMMENT
MEDIUM⚡tests/unit/test_copilot_adapter_phase3.py500 # Create an adapter with runtime substitution disabled by monkeypatchingCOMMENT
MEDIUMtests/unit/test_prune_command.py678 # Create the deployed fileSTRING
MEDIUMtests/unit/test_content_hash.py149 # Create a symlinkCOMMENT
MEDIUM⚡tests/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.py92 # Create a test configuration fileCOMMENT
MEDIUM⚡tests/unit/test_init_phase3w5.py489 # Create a dir with invalid plugin name (contains uppercase)COMMENT
MEDIUM⚡tests/unit/test_git_cache_branch_coverage.py337 # Create a fake shard directory in db_rootCOMMENT
MEDIUM⚡tests/unit/test_install_scanning.py181 # Create a directory outside the package with a critical fileCOMMENT
MEDIUM⚡tests/unit/test_install_command.py910 # Create a minimal apm.yml with a direct depCOMMENT
MEDIUMtests/unit/test_install_command.py318 # Create a directory with a specific name to test project name detectionCOMMENT
MEDIUMtests/unit/test_install_command.py1141 # Create a fake home with no manifest so the command errors earlyCOMMENT
MEDIUM⚡tests/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
MEDIUM⚡tests/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
MEDIUM⚡tests/unit/test_local_content_install.py165 # Create a root-level SKILL.md that must be ignoredCOMMENT
MEDIUM⚡tests/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
MEDIUM⚡tests/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.py513 # Create a file with hidden chars inside the project treeCOMMENT
MEDIUM⚡tests/unit/install/test_install_local_bundle.py827 # 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.py263 # Create a minimal apm.yml in the install pathCOMMENT
MEDIUM⚡tests/unit/install/test_services_phase3.py146 # 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.py253 # Create a virtual dep_ref mock (simulating a virtual package).COMMENT
MEDIUMtests/unit/install/test_validation_proxy.py297 # Create a virtual dep_ref mock (simulating a virtual package).COMMENT
MEDIUMtests/unit/install/test_sources_materialisation.py282 # Create a minimal apm.yml in the install pathCOMMENT
MEDIUM⚡tests/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.py733 # Create the local package dir so path resolution succeeds.COMMENT
MEDIUM⚡tests/unit/core/test_plugin_manifest.py653 # Create a malformed plugin.json at the rootCOMMENT
MEDIUM⚡tests/unit/cache/test_git_cache.py302 # Create a checkout with old mtimeCOMMENT
MEDIUM⚡tests/unit/cache/test_git_cache.py310 # Create a recent checkoutCOMMENT
MEDIUMtests/unit/cache/test_locking.py135 # Create a valid shard (should NOT be removed)COMMENT
160 more matches not shown…
Excessive Try-Catch Wrapping545 hits · 561 pts
SeverityFileLineSnippetContext
LOW.apm/instructions/cli.instructions.md83 except Exception as e:CODE
MEDIUMtests/manual_workflow_script.py49 print(f"Error: {result}")CODE
MEDIUM⚡tests/manual_workflow_script.py66 print(f"Error: {result}")CODE
LOW⚡tests/manual_workflow_script.py67 except Exception as e:CODE
MEDIUM⚡tests/manual_workflow_script.py68 print(f"Error: {e}")CODE
LOWtests/test_apm_package_models.py2027 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.py382 except Exception as exc:CODE
LOWtests/unit/install/test_validation_rate_limit.py45 except Exception:CODE
MEDIUMtests/unit/install/test_validation_rate_limit.py42def _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_validation_transient_probe.py43 except Exception:CODE
MEDIUMtests/unit/install/test_validation_transient_probe.py40def _retry_after_unauthenticated_failure(host, operation, **kwargs):CODE
LOW⚡tests/unit/install/test_drift.py641 except Exception as exc: # pragma: no cover -- only inspecting messageCODE
MEDIUMtests/unit/core/test_auth_validation.py918def _resolve():CODE
LOW⚡tests/unit/core/test_auth_validation.py921 except Exception as exc:CODE
MEDIUMtests/unit/core/test_auth_phase3.py1024def _resolve():CODE
LOW⚡tests/unit/core/test_auth_phase3.py1027 except Exception as exc:CODE
MEDIUMtests/unit/deps/test_shared_clone_cache.py216def worker() -> None:CODE
MEDIUMtests/unit/deps/test_shared_clone_cache.py479def thread_a() -> None:CODE
MEDIUMtests/unit/deps/test_shared_clone_cache.py510def thread_b() -> None:CODE
LOWtests/unit/deps/test_shared_clone_cache.py220 except Exception as e:CODE
LOWtests/unit/deps/test_shared_clone_cache.py507 except Exception as e:CODE
LOWtests/unit/deps/test_shared_clone_cache.py537 except Exception as e:CODE
LOW⚡…sts/unit/deps/test_gitlab_sparse_transport_contract.py335 except Exception as exc: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.py153 except Exception: # pragma: no cover - environment guardCODE
LOW⚡tests/integration/test_wave2_adapters_coverage.py1524 except Exception as exc:CODE
LOWtests/integration/test_policy_coverage.py551 except Exception:CODE
LOWtests/integration/test_ado_bearer_e2e.py62 except Exception:CODE
LOWtests/integration/test_guardrailing_hero_e2e.py237 except Exception as e:CODE
LOWtests/integration/test_tls_frozen_hook.py122 except Exception:CODE
LOWtests/integration/_tls_ca_server.py40 except Exception:CODE
LOW…s/integration/test_gitlab_sparse_transport_contract.py183 except Exception as exc:CODE
LOW…s/integration/test_gitlab_sparse_transport_contract.py262 except Exception as exc:CODE
LOWtests/integration/test_tls_custom_ca.py155 except Exception:CODE
LOW⚡tests/integration/test_tls_custom_ca.py192 except Exception:CODE
LOWtests/integration/test_compilation_coverage.py471 except Exception:CODE
LOW⚡tests/integration/test_wave3_integrators_coverage.py624 except Exception:CODE
LOW⚡…ts/integration/test_transport_selection_integration.py120 except Exception:CODE
LOW⚡tests/integration/test_mcp_registry_e2e.py712 except Exception:CODE
LOW⚡tests/integration/test_mcp_registry_e2e.py729 except Exception:CODE
LOW⚡tests/integration/test_mcp_registry_e2e.py743 except Exception:CODE
LOWtests/integration/test_mcp_registry_e2e.py63 except Exception:CODE
LOWtests/integration/test_mcp_registry_e2e.py341 except Exception as e:CODE
LOW⚡tests/red_team/install/test_failure_isolation.py46 except Exception:CODE
LOW⚡tests/red_team/parser/test_timeout_subprocess.py73 except Exception as exc:CODE
LOW⚡tests/red_team/parser/test_toplevel_shape.py66 except Exception as exc:CODE
LOW⚡tests/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
485 more matches not shown…
Deep Nesting566 hits · 440 pts
SeverityFileLineSnippetContext
LOWtests/test_github_downloader.py867CODE
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.py296CODE
LOWtests/unit/test_shared_apm_workflow_contract.py421CODE
LOWtests/unit/test_shared_apm_workflow_contract.py792CODE
LOWtests/unit/test_install_update_refs.py292CODE
LOWtests/unit/test_auth.py1030CODE
LOWtests/unit/test_auth.py1511CODE
LOWtests/unit/test_auth.py1733CODE
LOWtests/unit/test_cli_lazy_dispatch.py39CODE
LOWtests/unit/test_windows_native_symlink_probe.py201CODE
LOWtests/unit/test_command_helpers.py581CODE
LOWtests/unit/test_command_helpers.py591CODE
LOWtests/unit/test_windows_unit_diagnostics.py66CODE
LOWtests/unit/test_install_update.py689CODE
LOWtests/unit/test_package_identity.py275CODE
LOWtests/unit/test_install_tui.py125CODE
LOWtests/unit/test_build_spec.py137CODE
LOWtests/unit/test_workflow_actor_contract.py438CODE
LOWtests/unit/test_guardrailing_hero_topology.py65CODE
LOWtests/unit/test_triage_panel_lock.py193CODE
LOWtests/unit/test_public_release_metadata.py60CODE
LOWtests/unit/test_public_release_metadata.py239CODE
LOWtests/unit/test_global_mcp_scope.py307CODE
LOWtests/unit/test_surviving_deps_reintegration.py199CODE
LOWtests/unit/test_surviving_deps_reintegration.py271CODE
LOWtests/unit/install/test_install_transaction.py621CODE
LOWtests/unit/install/test_unix_install_ownership.py94CODE
LOWtests/unit/install/test_unix_install_ownership.py1314CODE
LOWtests/unit/install/test_install_exit_owner_invariant.py39CODE
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.py1062CODE
LOWtests/unit/integration/test_dep_target_intersection.py372CODE
LOWtests/unit/scripts/test_architecture_runner.py395CODE
LOWtests/unit/scripts/test_lifecycle_evidence.py126CODE
LOWtests/unit/scripts/test_lifecycle_evidence.py199CODE
LOWtests/unit/scripts/test_lifecycle_evidence.py345CODE
LOWtests/unit/scripts/test_lifecycle_evidence.py632CODE
LOWtests/unit/scripts/test_lifecycle_evidence.py673CODE
LOWtests/unit/scripts/test_lifecycle_evidence.py729CODE
LOWtests/unit/scripts/test_lifecycle_evidence.py933CODE
LOW…sts/unit/deps/test_gitlab_sparse_transport_contract.py252CODE
LOWtests/unit/commands/test_audit_error_handling.py472CODE
LOWtests/unit/commands/test_audit_error_handling.py522CODE
LOWtests/unit/commands/test_install_phase3.py271CODE
LOWtests/unit/commands/test_install_phase3.py368CODE
LOWtests/unit/commands/test_install_phase3.py407CODE
506 more matches not shown…
Docstring Block Structure65 hits · 325 pts
SeverityFileLineSnippetContext
HIGHsrc/apm_cli/config.py228Persist a default install target after validation. Args: target: Target token or comma-separated target lisSTRING
HIGHsrc/apm_cli/config.py254Normalize 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.py143Run 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.py182Check whether an experimental flag is currently enabled. Derives directly from ``get_config()`` (already cached in STRING
HIGHsrc/apm_cli/core/target_detection.py594Parse, validate, and normalize a target value from any entry point. Single source of truth for the ``target`` fieldSTRING
HIGHsrc/apm_cli/core/script_runner.py575Discover prompt files by name across local and dependencies. Supports both simple names and qualified paths: STRING
HIGHsrc/apm_cli/core/script_runner.py1003Resolve prompt file path, checking local directory first, then common directories, then dependencies. Symlinks STRING
HIGHsrc/apm_cli/cache/git_cache.py389Resolve 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.py656Run 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.py1168Fetch and parse a marketplace manifest. Uses the JSON sidecar cache for ``kind in ("github", "gitlab", "ado", "STRING
HIGHsrc/apm_cli/marketplace/version_resolver.py65Resolve 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.py739Resolve a plugin's source to a canonical ``owner/repo[#ref]`` string. Handles 4 source types: relative, github, urlSTRING
HIGHsrc/apm_cli/marketplace/resolver.py873Resolve 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.py45Create 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.py430Construct a package from already interpreted manifest data. This is the public construction owner for manifest 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.py55Parse a string value into a PackageContentType enum. Args: value: String value to parse (e.g., "insSTRING
HIGHsrc/apm_cli/models/dependency/reference.py496Get the canonical filesystem path where this package should be installed. This is the single source of truth foSTRING
HIGHsrc/apm_cli/models/dependency/reference.py737Parse an object-style dependency entry from apm.yml. Supports the Cargo-inspired object format: - STRING
HIGHsrc/apm_cli/models/dependency/reference.py1771Parse a dependency string into a DependencyReference. Supports formats: - user/repo - user/repoSTRING
HIGHsrc/apm_cli/primitives/parser.py12Parse 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.py53Parse a primitive file. Determines the primitive type based on file extension and parses accordingly. Args: STRING
HIGHsrc/apm_cli/adapters/client/vscode.py144Configure an MCP server in VS Code mcp.json file. This method updates the .vscode/mcp.json file to add or updatSTRING
HIGHsrc/apm_cli/adapters/client/base.py493Parse registry arguments without losing named-group boundaries. Typed v0.1 entries read ``value`` while untypedSTRING
HIGHsrc/apm_cli/adapters/client/base.py767Merge one package identity into a typed non-container launcher argv. Package detection is semantic and type-awaSTRING
HIGHsrc/apm_cli/registry/client.py473List all available servers in the registry. Calls ``GET /v0.1/servers`` per the MCP Registry spec. ArgSTRING
HIGHsrc/apm_cli/registry/client.py507Search for servers in the registry using the spec ``?search=`` query param. Calls ``GET /v0.1/servers?search=<qSTRING
HIGHsrc/apm_cli/registry/client.py604Get detailed information about a specific server version. Calls ``GET /v0.1/servers/{urlencoded-serverName}/verSTRING
HIGHsrc/apm_cli/registry/client.py680Find a server by its name using the search API. Args: name (str): Name of the server to find. STRING
HIGHsrc/apm_cli/registry/client.py705Find a server by exact name match. The legacy UUID strategy was removed because the MCP Registry v0.1 sSTRING
HIGHsrc/apm_cli/registry/client.py746Extract 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.py832Download a single file from repository (GitHub or Azure DevOps). Args: dep_ref: Parsed dependency rSTRING
HIGHsrc/apm_cli/deps/github_downloader.py995Download 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.py1380Download 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.py1817Download a GitHub repository and validate it as an APM package. For virtual packages (individual files or colleSTRING
HIGHsrc/apm_cli/deps/plugin_parser.py430Parse a plugin.json manifest file. Args: plugin_json_path: Path to the plugin.json file Returns: STRING
HIGHsrc/apm_cli/deps/plugin_parser.py1487Create a minimal ``plugin.json`` dict from ``apm.yml`` identity fields. Reads ``apm.yml`` and extracts ``name``, ``STRING
HIGHsrc/apm_cli/deps/shared_clone_cache.py92Return a path to a shared clone, cloning on first access. Args: repository_url: Credential-free URLSTRING
HIGHsrc/apm_cli/deps/_shared.py195Check *validation_result*, clean up *target_path* on failure, and return the package. Args: validation_resuSTRING
HIGHsrc/apm_cli/deps/download_strategies.py138HTTP GET with selectable retries for transient HTTP failures. Args: url: Request URL heSTRING
5 more matches not shown…
Over-Commented Block225 hits · 196 pts
SeverityFileLineSnippetContext
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_uninstall_transitive_cleanup.py161 # This fixture's pkg-c (created via _make_apm_modules_dir, whichCOMMENT
LOWtests/unit/test_shepherd_owner_touch_gate.py1101COMMENT
LOWtests/unit/test_self_entry_caller_guards.py121 # Self-entry's owner string would have been '<self>' if not skipped.COMMENT
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.py1441 assert "active targets: copilot" in outCOMMENT
LOWtests/unit/marketplace/test_schema_conformance.py201 assert src["path"] == "tools/claude-plugin"COMMENT
LOWtests/integration/test_diff_aware_install_e2e.py321# ---------------------------------------------------------------------------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/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
LOWtests/perf/test_architecture_linter_scaling.py161COMMENT
LOW.agents/skills/autopilot-pr-merge-worker/apm.yml1name: autopilot-pr-merge-workerCOMMENT
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
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/run_mutation_pilot.py161 # `mutmut run` filtered to those method patterns raisesCOMMENT
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
LOW…ckages/apm-guide/.apm/skills/apm-usage/dependencies.md481 # from host env at server-start (no plaintext on disk).COMMENT
LOWpackages/autopilot/autopilot-pr-merge-worker/apm.yml1name: autopilot-pr-merge-workerCOMMENT
LOW.github/workflows/cli-consistency-checker.lock.yml1# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"8bd377006c8b27de4952f56cf53d08674e063f87a063eadb64acfa9bbe7COMMENT
LOW.github/workflows/cli-consistency-checker.lock.yml21# gh aw compileCOMMENT
LOW.github/workflows/cli-consistency-checker.lock.yml41# - actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0COMMENT
LOW.github/workflows/docs-sync.md1---COMMENT
LOW.github/workflows/docs-sync.md21# `gh pr diff` which return inert textCOMMENT
165 more matches not shown…
Structural Annotation Overuse115 hits · 170 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
LOW⚡tests/integration/test_deps_update_e2e.py128 # Step 1: install pinned to an older commit SHA.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py142 # Step 2: bump apm.yml to point at main.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py145 # Step 3: run `apm deps update` with no positional args.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py151 # Step 4: lockfile SHA must differ from old.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py161 # Step 5: deployed files must still exist (re-integrated).COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py280 # Step 2: bump the user manifest to main.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py283 # Step 3: run `apm deps update -g` from a directory with no project.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py299 # Step 5: scope was respected -- no project lockfile in cwd.COMMENT
LOWtests/integration/test_deps_update_e2e.py268 # Step 1: install -g to populate ~/.apm/apm.lock.yaml.COMMENT
LOW⚡tests/integration/test_producer_journey.py101 # Step 1: consumer initCOMMENT
LOW⚡tests/integration/test_producer_journey.py106 # Step 2: bolt on a marketplaceCOMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py162 # Step 1: Setup Copilot runtime (equivalent to: apm runtime setup copilot)COMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py196 # Step 2: Initialize project (equivalent to: apm init my-ai-native-project)COMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py568 # Step 1: Setup LLM runtime (equivalent to: apm runtime setup llm)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py584 # Step 2: Use existing project or create new oneCOMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py309 # Step 6: Execute agentic workflows (equivalent to: apm run start --param name="<YourGitHubHandle>")STRING
LOW⚡tests/integration/test_golden_scenario_e2e.py410 # Step 1: Setup Codex runtimeSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py491 # Step 3: Compile Agent PrimitivesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py496 # Step 4: Install dependenciesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py642 # Step 3: Compile Agent PrimitivesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py647 # Step 4: Install dependenciesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py716 # Step 1: Setup Gemini runtime (npm install -g @google/gemini-cli)STRING
LOW⚡tests/integration/test_golden_scenario_e2e.py802 # Step 3: Compile Agent PrimitivesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py807 # Step 4: Install dependencies (targets gemini since .gemini/ exists)STRING
LOW⚡tests/integration/test_golden_scenario_e2e.py815 # Step 5: Run with Gemini CLISTRING
LOWtests/integration/test_golden_scenario_e2e.py279 # Step 4: Compile Agent Primitives for any coding agent (equivalent to: apm compile)STRING
LOWtests/integration/test_golden_scenario_e2e.py293 # Step 5: Install MCP dependencies (equivalent to: apm install)STRING
LOWtests/integration/test_golden_scenario_e2e.py433 # Step 2: Use existing project or create new oneSTRING
LOWtests/integration/test_golden_scenario_e2e.py507 # Step 5: Run with Codex CLI (equivalent to: apm run debug --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py658 # Step 5: Run with LLM runtime (equivalent to: apm run llm --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py743 # Step 2: Create test projectSTRING
LOWtests/integration/test_guardrailing_hero_e2e.py93 # Step 1: apm init my-projectCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py108 # Step 2: apm install microsoft/apm-sample-packageCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py126 # Step 3: install a virtual instruction from this SSO-authorized repositoryCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py150 # Step 4: apm compileCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py188 # Step 5: apm run design-reviewCOMMENT
LOW⚡tests/integration/test_agent_skills_target.py826 # Step 1: Legacy install so the lockfile records .github/skills/.COMMENT
LOW⚡tests/integration/test_agent_skills_target.py833 # Step 2: Hand-edit the legacy file so its content diverges from whatCOMMENT
LOW⚡tests/integration/test_agent_skills_target.py837 # Step 3: Converged install — integrate writes the canonical contentCOMMENT
LOW⚡tests/integration/test_mcp_registry_e2e.py218 # Step 1: Set up Codex runtimeCOMMENT
LOW⚡tests/integration/test_mcp_registry_e2e.py227 # Step 2: Create test project with MCP dependenciesCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py271 # Step 3: Test installation with environment variable promptingCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py287 # 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
55 more matches not shown…
Modern Structural Boilerplate158 hits · 154 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.py34def _setup_clean_project(project: Path) -> None:CODE
LOWtests/unit/test_audit_ci_command.py65def _setup_failing_project(project: Path) -> None:STRING
LOWtests/unit/install/test_pipeline_ownership_snapshot.py127def _set_dependencies(fixture: LocalInstall, dependencies: list[str | dict[str, Any]]) -> None:CODE
LOW…unit/install/phases/test_resolve_ref_resolver_reuse.py62def _set_noninteractive_git_policy(monkeypatch) -> None:CODE
LOWtests/unit/integration/test_skill_integrator.py32def _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.py1278 def _setup_host_info(self, host_mock: MagicMock) -> None:CODE
LOWtests/unit/deps/test_download_strategies_selection.py1044 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
LOW…ts/unit/policy/test_policy_serialization_properties.py259def _set_nested(data: dict[str, Any], path: tuple[str, ...], value: Any) -> 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.py51def 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
LOW…ts/integration/test_primitive_target_covering_array.py239def _set_project_targets(project: LocalPackage, targets: tuple[str, ...]) -> None:CODE
LOW…itecture_linter/checks/transport_sparse_and_updates.py527__all__ = ["COLLECTORS", "RULES"]CODE
LOW…/architecture_linter/checks/contracts_test_taxonomy.py1929__all__ = ["COLLECTORS", "RULES"]CODE
LOWscripts/architecture_linter/checks/tree_index.py313__all__ = [CODE
LOWscripts/architecture_linter/checks/python_semantics.py264__all__ = [CODE
LOW…architecture_linter/checks/mutation_hook_membership.py213__all__ = ["COLLECTORS", "RULES"]CODE
LOW…itecture_linter/checks/install_deployment_analyzers.py196__all__ = ["COLLECTORS", "RULES"]CODE
LOW…ripts/architecture_linter/checks/marketplace_legacy.py566__all__ = [CODE
LOW…architecture_linter/checks/transport_cache_identity.py229__all__ = ["COLLECTORS", "RULES"]CODE
LOW…ure_linter/checks/marketplace_integration_analyzers.py56__all__ = ["COLLECTORS", "RULES"]CODE
LOW…ts/architecture_linter/checks/registry_owner_guards.py699__all__ = ["COLLECTORS", "RULES"]CODE
LOW…tecture_linter/checks/mutation_mcp_target_and_scope.py753__all__ = ["COLLECTORS", "RULES"]CODE
LOW…pts/architecture_linter/checks/install_dry_run_plan.py83__all__ = ["_GUARD_DRY_RUN_PLAN", "check_prospective_dry_run_plan"]CODE
LOW…/architecture_linter/checks/agent_plugin_projection.py406__all__ = ["check_projection_boundary"]CODE
LOW…/architecture_linter/checks/transport_auth_platform.py1724__all__ = ["COLLECTORS", "RULES"]CODE
LOW…ts/architecture_linter/checks/install_policy_intent.py184__all__ = ["EXTRA_RULES"]CODE
LOW…e_linter/checks/marketplace_component_and_admission.py117__all__ = ["COLLECTORS", "RULES"]CODE
LOW…hitecture_linter/checks/marketplace_tag_and_version.py448__all__ = ["COLLECTORS", "RULES"]CODE
LOW…_linter/checks/marketplace_package_and_registration.py480__all__ = ["COLLECTORS", "RULES"]CODE
LOWscripts/architecture_linter/checks/registry_legacy.py577__all__ = [CODE
LOW…ture_linter/checks/marketplace_catalog_and_contract.py771__all__ = ["COLLECTORS", "RULES"]CODE
LOW…rchitecture_linter/checks/repository_cache_identity.py721__all__ = [CODE
LOW…hitecture_linter/checks/contracts_generation_footer.py81__all__ = ["check_generation_footer_authority"]CODE
LOW…/architecture_linter/checks/transport_revision_pins.py131__all__ = ["COLLECTORS", "RULES"]CODE
LOW…s/architecture_linter/checks/mutation_hook_contract.py884__all__ = ["COLLECTORS", "RULES"]CODE
LOW…tecture_linter/checks/transport_network_and_runtime.py623__all__ = ["COLLECTORS", "RULES"]CODE
LOW…/architecture_linter/checks/registry_semantic_rules.py924__all__ = ["COLLECTORS", "RULES"]CODE
LOW…itecture_linter/checks/marketplace_bundle_and_audit.py387__all__ = ["COLLECTORS", "RULES"]CODE
LOWscripts/architecture_linter/groups/mutation_writes.py36__all__ = ["COLLECTORS", "RULES"]CODE
LOWscripts/architecture_linter/groups/contracts_tests.py18__all__ = ["COLLECTORS", "RULES"]CODE
LOW…architecture_linter/groups/marketplace_integrations.py8__all__ = ["COLLECTORS", "RULES"]CODE
LOW…ipts/architecture_linter/groups/registry_delegation.py20__all__ = ["COLLECTORS", "RULES"]CODE
LOW…ripts/architecture_linter/groups/install_deployment.py5__all__ = ["COLLECTORS", "RULES"]CODE
LOW…ripts/architecture_linter/groups/transport_platform.py51__all__ = ["COLLECTORS", "RULES"]CODE
LOW⚡src/apm_cli/config.py501def set_copilot_cowork_skills_dir(path: str) -> None:CODE
LOWsrc/apm_cli/config.py142def set_auto_integrate(enabled: bool) -> None:CODE
LOWsrc/apm_cli/config.py160def set_temp_dir(path: str) -> None:CODE
LOWsrc/apm_cli/config.py356def set_allow_protocol_fallback(enabled: bool) -> None:CODE
LOWsrc/apm_cli/config.py384def set_prefer_ssh(enabled: bool) -> None:CODE
LOWsrc/apm_cli/config.py549def set_registry_url(name: str, url: str) -> None:CODE
LOWsrc/apm_cli/config.py558def set_registry_token(name: str, token: str) -> None:CODE
LOWsrc/apm_cli/config.py617def set_registry_default(name: str, is_default: bool) -> None:CODE
LOWsrc/apm_cli/config.py693def set_audit_on_install(mode: str) -> None:CODE
98 more matches not shown…
AI Slop Vocabulary53 hits · 149 pts
SeverityFileLineSnippetContext
MEDIUMapm.yml10# instead of auto-detecting whichever harness their machine signals.COMMENT
MEDIUMapm.yml11# Contributors on another harness opt in with `apm install --target <name>`.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
MEDIUM⚡tests/unit/test_install_command.py920 # v2 target resolution requires a harness signal (#1154).COMMENT
MEDIUMtests/unit/test_install_command.py980 # v2 target resolution requires a harness signal (#1154).COMMENT
MEDIUM⚡tests/unit/test_view_command.py727 # More robust: "info" should not be in the commands listingCOMMENT
LOW⚡tests/unit/test_registry_operations_state.py216 # Should not raise, just return emptyCOMMENT
LOW⚡tests/unit/test_registry_operations_phase3.py216 # Should not raise, just return emptyCOMMENT
MEDIUM⚡tests/unit/test_generic_git_urls.py816 """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
MEDIUM⚡tests/unit/integration/test_copilot_app_ws.py28# Server harnessCOMMENT
MEDIUMtests/unit/integration/test_dep_target_intersection.py345# Every merge-based harness APM ships, so the routing regression below isCOMMENT
MEDIUMtests/unit/integration/test_dep_target_intersection.py417 # double-activation risk), unlike every other harness pair. ThatCOMMENT
MEDIUMtests/unit/integration/test_dep_target_intersection.py456 # Each harness gets exactly its own file's command -- no leak, no dupes.COMMENT
MEDIUMtests/unit/integration/test_dep_target_intersection.py489 # Only the active harness is installed, and it receives only its own file.COMMENT
LOWtests/unit/deps/test_apm_resolver_parallel.py60 # All packages are pre-laid-out; just return the install path.COMMENT
MEDIUMtests/unit/deps/test_shared_clone_cache.py364 # New paradigm: SharedCloneCache holds bare clones; consumersCOMMENT
MEDIUMtests/unit/compilation/test_context_optimizer.py528 # With coverage-first optimization, efficiency comparison is more nuancedCOMMENT
LOW⚡tests/integration/test_integrators_validation_rules.py1344 # Should not raise, just return silentlyCOMMENT
MEDIUMtests/integration/test_plugin_skill_subset_pack_e2e.py319 # so the assertion is robust against terminal-width line breaks.COMMENT
MEDIUM…gration/test_copilot_native_plugin_binary_lifecycle.py277 # satisfies harness detection and writes project-local (tmp) config;COMMENT
LOW⚡tests/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.py42 # Mark the home dir as a copilot harness so install --global passesCOMMENT
MEDIUMtests/integration/test_install_root_redirect_e2e.py76 # integrated harness file all live in ``deploy``.COMMENT
MEDIUMtests/integration/test_hook_wipe_target_scope_e2e.py308 # The now-undeclared harness (codex) must be untouched entirely: itsCOMMENT
MEDIUMtests/integration/test_hook_wipe_target_scope_e2e.py320 # The currently-declared harness (claude) IS in scope: pkg-b's entryCOMMENT
MEDIUMtests/integration/test_selective_install_mcp.py129 # Mark project as a copilot harness so target detection succeedsCOMMENT
MEDIUM⚡tests/integration/test_integrators_end_to_end.py1425 # 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
MEDIUM⚡tests/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.json7812 "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.py292 # 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.py490 # Pass through harness-specific extra keys for adapters to mergeCOMMENT
MEDIUMsrc/apm_cli/integration/mcp_integrator.py568 # Pass through harness-specific extra keys for adapters to mergeCOMMENT
MEDIUMsrc/apm_cli/marketplace/resolver.py363 # 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.py434 # so secrets are not baked into the persisted config when the harnessCOMMENT
MEDIUMsrc/apm_cli/adapters/client/base.py181# Config keys that ``_extra`` passthrough must NEVER set on a rendered harnessCOMMENT
MEDIUMsrc/apm_cli/adapters/client/base.py183# plus harness-specific aliases that mirror a modeled field under a differentCOMMENT
MEDIUMsrc/apm_cli/deps/host_backends.py212 # 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
MEDIUM⚡src/apm_cli/commands/targets.py61 # agent-skills is a meta-target (multi-harness fan-out), not aCOMMENT
MEDIUM⚡src/apm_cli/commands/targets.py62 # harness in itself. Excluded from the apm targets table; visibleCOMMENT
MEDIUM⚡src/apm_cli/commands/targets.py66 # On ambiguous-harness, show all detected signals (the user ranCOMMENT
MEDIUM⚡src/apm_cli/commands/targets.py68 # On no-harness error, report empty active list.COMMENT
MEDIUMsrc/apm_cli/commands/uninstall/engine.py1330 # Phase 2 rebuild loop below iterates -- so a harness dropped fromCOMMENT
MEDIUMsrc/apm_cli/commands/compile/cli.py432 # "nothing declared" and compiling every harness.COMMENT
MEDIUMsrc/apm_cli/compilation/context_optimizer.py410 """Generate comprehensive compilation results for output formatting.STRING
Redundant / Tautological Comments91 hits · 138 pts
SeverityFileLineSnippetContext
LOWinstall.sh1226 # Check if Python is availableCOMMENT
LOWinstall.sh1329 # Check if apm is now availableCOMMENT
LOWinstall.sh1486# Check if we got a valid response (should contain tag_name)COMMENT
LOWtests/unit/test_selective_install.py35 # Check if dep_str ends with "/<pkg>" to ensure path boundary matchingCOMMENT
LOWtests/unit/test_artifactory_support.py1322 # 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
LOW⚡tests/unit/test_unpacker.py652 # Set external_attr to Unix symlink mode (S_IFLNK = 0o120000)COMMENT
LOW⚡tests/unit/cache/test_git_cache.py306 # 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
LOW⚡tests/integration/test_golden_scenario_e2e.py188 # Check if copilot is in PATHCOMMENT
LOW⚡tests/integration/test_audit_scan_hermetic.py267 # Write file with strippable contentCOMMENT
LOW⚡tests/integration/test_wave2_commands_coverage.py810 # 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.py410 # Check if Copilot configuration was createdCOMMENT
LOW⚡tests/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.yml761 # Check if tag matches stable semver pattern (e.g., v1.2.3, v0.2.0)COMMENT
LOWsrc/apm_cli/core/script_runner.py54 # Check if this is a virtual package (before loading config)COMMENT
LOWsrc/apm_cli/core/script_runner.py183 # Check if this command needs subprocess execution (has compiled content)COMMENT
LOWsrc/apm_cli/core/script_runner.py257 # Check if this is a runtime command before transformationCOMMENT
LOWsrc/apm_cli/core/script_runner.py597 # Check if this is a qualified path (contains /)COMMENT
LOWsrc/apm_cli/core/script_runner.py673 # Check if owner directory existsCOMMENT
LOWsrc/apm_cli/core/script_runner.py715 # Check if owner is in the pathCOMMENT
LOWsrc/apm_cli/core/script_runner.py719 # Check if prompt name matchesCOMMENT
LOWsrc/apm_cli/core/script_runner.py828 # Check if already installedCOMMENT
LOWsrc/apm_cli/core/conflict_detector.py44 # Check if any existing server has the same UUIDCOMMENT
LOW⚡src/apm_cli/core/conflict_detector.py67 # Check if any existing server resolves to the same canonical nameCOMMENT
LOWsrc/apm_cli/core/conflict_detector.py166 # Check if any existing server resolves to the same canonical nameCOMMENT
LOWsrc/apm_cli/integration/cleanup.py137 # Check if directory is empty -- safe to rmdir.COMMENT
LOWsrc/apm_cli/integration/cleanup.py188 # Check if it was in the stale set (already processedCOMMENT
LOWsrc/apm_cli/integration/skill_integrator.py287 # Check if package type allows skill installation (T4 routing)COMMENT
LOWsrc/apm_cli/integration/skill_integrator.py826 # Check if this is a user-authored skill (not managed by APM)COMMENT
LOWsrc/apm_cli/integration/skill_integrator.py1527 # Check if this is a native Skill (already has SKILL.md at root)COMMENT
LOWsrc/apm_cli/output/formatters.py555 # Check if root placement was used (indicates coverage fallback)COMMENT
LOWsrc/apm_cli/output/formatters.py968 # Check if constitution is includedCOMMENT
LOWsrc/apm_cli/models/validation.py365 # Check if directory existsCOMMENT
LOWsrc/apm_cli/models/validation.py912 # Check if .apm directory has any contentCOMMENT
LOWsrc/apm_cli/models/validation.py919 # Check if directory has any markdown filesCOMMENT
LOWsrc/apm_cli/models/dependency/types.py65 # Check if it looks like a commit SHA (40 hex chars or 7+ hex chars)COMMENT
31 more matches not shown…
Modern AI Meta-Vocabulary45 hits · 132 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.md147# Initialize repository for agentic workflowsCOMMENT
MEDIUM.apm/agents/agentic-workflows.agent.md196- 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.py157 PR #999 (Ruff guardrails) raised 1980 -> 2100 for noqa directivesSTRING
MEDIUM⚡tests/unit/install/test_lsp_integration.py210# Basic orchestrationCOMMENT
MEDIUM…s/unit/integration/test_cursor_hook_native_contract.py859# proves the guarantee holds through that real orchestration path, and thatCOMMENT
MEDIUM⚡tests/unit/marketplace/test_init_template.py83# render_marketplace_block (apm.yml marketplace: block scaffold)COMMENT
MEDIUM⚡tests/unit/registry/test_resolver_e2e_http.py39# Test HTTP server scaffoldingCOMMENT
MEDIUMtests/unit/commands/test_plugin_init_command.py134 # Legacy Claude scaffold does not include Agent Plugins $schema or extensionsCOMMENT
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.py120 # CLAUDE.md to keep Claude's context window lean.STRING
MEDIUM⚡tests/integration/test_marketplace_adapters_coverage.py292# 2. marketplace/audit.py -- pure classification + orchestrationCOMMENT
MEDIUM⚡tests/integration/test_golden_scenario_e2e.py309 # 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⚡…gents/skills/pr-description-skill/scripts/run_evals.py244# orchestrationCOMMENT
MEDIUMdocs/src/content/docs/enterprise/lifecycle-scripts.md317apm lifecycle init # scaffold lifecycle: block in apm.ymlCODE
MEDIUMdocs/src/content/docs/contributing/development-guide.md302### Architecture guardrailsCOMMENT
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…ripts/architecture_linter/checks/marketplace_legacy.py229# B9: plugin scaffolding shares the preferred-format seam and canonical reload.COMMENT
MEDIUM⚡packages/pr-description-skill/scripts/run_evals.py244# orchestrationCOMMENT
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.md147# Initialize repository for agentic workflowsCOMMENT
MEDIUM.github/agents/agentic-workflows.agent.md196- Always reference the instructions file at https://github.com/github/gh-aw/blob/main/.github/aw/github-agentic-workflowCODE
MEDIUMsrc/apm_cli/integration/targets.py754 # Antigravity CLI (agy) -- Google's Gemini-derived agentic CLI.COMMENT
MEDIUM⚡src/apm_cli/marketplace/audit.py212# Fetchers and orchestrationCOMMENT
MEDIUMsrc/apm_cli/deps/github_downloader.py257 # Artifactory orchestration is encapsulated in a dedicated facadeCOMMENT
MEDIUM⚡src/apm_cli/deps/artifactory_orchestrator.py136# Download orchestrationCOMMENT
MEDIUMsrc/apm_cli/commands/_helpers.py656 # Preserve legacy Claude scaffold byte-for-byteCOMMENT
MEDIUMsrc/apm_cli/commands/_helpers.py665 # Agent Plugins v1 canonical scaffoldCOMMENT
MEDIUMsrc/apm_cli/commands/_helpers.py718 # Issue #887: scaffold with explicit consent for local contentCOMMENT
Cross-Language Confusion25 hits · 131 pts
SeverityFileLineSnippetContext
HIGH⚡tests/test_lockfile.py504 """Lockfiles with mcp_configs: (null) should get an empty dict, not raise TypeError."""STRING
HIGH⚡tests/unit/test_intellij_mcp.py199 self.mcp_json.write_text('{"servers": null}', encoding="utf-8")CODE
HIGHtests/unit/test_windows_compat_gate_workflow.py180 assert checkout["with"]["ref"] == "${{ github.event.pull_request.head.sha || github.sha }}"CODE
HIGH⚡tests/unit/test_ado_path_structure.py594 # Must use path_parts[0], not org_name (which was undefined)COMMENT
HIGH⚡tests/unit/test_runtime_detection.py42 "dev": "npm run build && copilot -p prompt.md",CODE
HIGH⚡tests/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_windows_native_symlink_workflow.py16EXACT_HEAD = "${{ github.event.pull_request.head.sha || github.sha }}"CODE
HIGHtests/unit/test_transport_selection.py536 The downloader's locked-down git_env sets GIT_CONFIG_GLOBAL=/dev/null,STRING
HIGHtests/unit/test_ado_live_workflow_contract.py82 "${{ inputs.ado_pat_e2e && inputs.ado_repo || '' }}"CODE
HIGHtests/unit/test_ado_live_workflow_contract.py85 "${{ inputs.ado_pat_e2e && secrets.AUTH_TEST_ADO_APM_PAT || '' }}"CODE
HIGH⚡tests/unit/install/test_mcp_warnings.py271 warn_shell_metachars({"RUN": "true && bad"}, logger)CODE
HIGH⚡tests/unit/install/test_mcp_warnings.py276 warn_shell_metachars({"FALLBACK": "a || b"}, logger)CODE
HIGHtests/unit/install/test_drift.py403 _write(project / rel, b'{"hooks":{"PreToolUse":null}}')CODE
HIGH⚡tests/integration/test_golden_scenario_e2e.py157 4. cd my-ai-native-project && apm compileSTRING
HIGH…gration/test_copilot_native_plugin_binary_lifecycle.py87 " if (marker && message.method) fs.appendFileSync(marker, message.method + '\\n');\n"CODE
HIGHtests/integration/test_guardrailing_hero_e2e.py51. apm init my-project && cd my-projectSTRING
HIGH…ntegration/test_architecture_unix_install_ownership.py68 if [ -d "$_apm_lib_dir" ] && [ "$(ls -A "$_apm_lib_dir" 2>/dev/null)" ]; thenCODE
HIGH…ts/integration/test_unix_installer_path_integration.py90 " shift || true\n"CODE
HIGH…ts/integration/test_unix_installer_path_integration.py375 [shell, *startup_args, "command -v apm >/dev/null && apm --version"],CODE
HIGH…ts/integration/test_unix_installer_path_integration.py483 [fish, "-ic", "command -v apm >/dev/null && apm --version"],CODE
HIGH…ts/integration/test_unix_installer_path_integration.py598 [shell, "-lc", 'test "$APM_SENTINEL" = kept && apm --version'],CODE
HIGH…itecture_linter/checks/transport_sparse_and_updates.py315 nonempty_guard = 'if [ -d "$_apm_lib_dir" ] && [ "$(ls -A "$_apm_lib_dir" 2>/dev/null)" ]; then'CODE
HIGHsrc/apm_cli/marketplace/builder.py363 unchanged, skipped}]}, bundle: null}STRING
HIGHsrc/apm_cli/deps/bare_cache.py143 - Tier 1 (SHA refs): ``git init --bare && git remote addSTRING
Hallucination Indicators9 hits · 100 pts
SeverityFileLineSnippetContext
CRITICALtests/unit/test_plugin_parser.py26from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALtests/unit/install/phases/test_finalize_user_compile.py93 assert ctx.logger.info.call_args.kwargs.get("symbol") == "info"CODE
CRITICAL⚡tests/integration/test_plugin_e2e.py32from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICAL⚡src/apm_cli/install/primitive_classification.py120 from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/install/drift.py398 from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/install/validation.py205 from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/install/validation.py257 from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/install/phases/local_content.py255 from apm_cli.utils.helpers import find_plugin_jsonCODE
CRITICALsrc/apm_cli/marketplace/version_check.py167 from apm_cli.utils.helpers import find_plugin_jsonCODE
Verbosity Indicators67 hits · 95 pts
SeverityFileLineSnippetContext
LOW⚡tests/integration/test_deps_update_e2e.py128 # Step 1: install pinned to an older commit SHA.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py142 # Step 2: bump apm.yml to point at main.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py145 # Step 3: run `apm deps update` with no positional args.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py151 # Step 4: lockfile SHA must differ from old.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py161 # Step 5: deployed files must still exist (re-integrated).COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py280 # Step 2: bump the user manifest to main.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py283 # Step 3: run `apm deps update -g` from a directory with no project.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py289 # Step 4: ~/.apm/apm.lock.yaml must reflect the new SHA.COMMENT
LOW⚡tests/integration/test_deps_update_e2e.py299 # Step 5: scope was respected -- no project lockfile in cwd.COMMENT
LOWtests/integration/test_deps_update_e2e.py268 # Step 1: install -g to populate ~/.apm/apm.lock.yaml.COMMENT
LOW⚡tests/integration/test_producer_journey.py101 # Step 1: consumer initCOMMENT
LOW⚡tests/integration/test_producer_journey.py106 # Step 2: bolt on a marketplaceCOMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py162 # Step 1: Setup Copilot runtime (equivalent to: apm runtime setup copilot)COMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py196 # Step 2: Initialize project (equivalent to: apm init my-ai-native-project)COMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py568 # Step 1: Setup LLM runtime (equivalent to: apm runtime setup llm)COMMENT
LOWtests/integration/test_golden_scenario_e2e.py584 # Step 2: Use existing project or create new oneCOMMENT
LOW⚡tests/integration/test_golden_scenario_e2e.py309 # Step 6: Execute agentic workflows (equivalent to: apm run start --param name="<YourGitHubHandle>")STRING
LOW⚡tests/integration/test_golden_scenario_e2e.py410 # Step 1: Setup Codex runtimeSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py491 # Step 3: Compile Agent PrimitivesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py496 # Step 4: Install dependenciesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py642 # Step 3: Compile Agent PrimitivesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py647 # Step 4: Install dependenciesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py716 # Step 1: Setup Gemini runtime (npm install -g @google/gemini-cli)STRING
LOW⚡tests/integration/test_golden_scenario_e2e.py802 # Step 3: Compile Agent PrimitivesSTRING
LOW⚡tests/integration/test_golden_scenario_e2e.py807 # Step 4: Install dependencies (targets gemini since .gemini/ exists)STRING
LOW⚡tests/integration/test_golden_scenario_e2e.py815 # Step 5: Run with Gemini CLISTRING
LOWtests/integration/test_golden_scenario_e2e.py279 # Step 4: Compile Agent Primitives for any coding agent (equivalent to: apm compile)STRING
LOWtests/integration/test_golden_scenario_e2e.py293 # Step 5: Install MCP dependencies (equivalent to: apm install)STRING
LOWtests/integration/test_golden_scenario_e2e.py433 # Step 2: Use existing project or create new oneSTRING
LOWtests/integration/test_golden_scenario_e2e.py507 # Step 5: Run with Codex CLI (equivalent to: apm run debug --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py658 # Step 5: Run with LLM runtime (equivalent to: apm run llm --param name="<YourGitHubHandle>")STRING
LOWtests/integration/test_golden_scenario_e2e.py743 # Step 2: Create test projectSTRING
LOWtests/integration/test_guardrailing_hero_e2e.py93 # Step 1: apm init my-projectCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py108 # Step 2: apm install microsoft/apm-sample-packageCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py126 # Step 3: install a virtual instruction from this SSO-authorized repositoryCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py150 # Step 4: apm compileCOMMENT
LOWtests/integration/test_guardrailing_hero_e2e.py188 # Step 5: apm run design-reviewCOMMENT
LOW⚡tests/integration/test_agent_skills_target.py826 # Step 1: Legacy install so the lockfile records .github/skills/.COMMENT
LOW⚡tests/integration/test_agent_skills_target.py833 # Step 2: Hand-edit the legacy file so its content diverges from whatCOMMENT
LOW⚡tests/integration/test_agent_skills_target.py837 # Step 3: Converged install — integrate writes the canonical contentCOMMENT
LOW⚡tests/integration/test_mcp_registry_e2e.py218 # Step 1: Set up Codex runtimeCOMMENT
LOW⚡tests/integration/test_mcp_registry_e2e.py227 # Step 2: Create test project with MCP dependenciesCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py271 # Step 3: Test installation with environment variable promptingCOMMENT
LOWtests/integration/test_mcp_registry_e2e.py287 # 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.py115 # Step 1: Strip trailing slash and one trailing .git suffix from path.COMMENT
LOW⚡src/apm_cli/integration/mcp_integrator_install.py720 # Step 1: Get all installed runtimes on the systemCOMMENT
LOW⚡src/apm_cli/integration/mcp_integrator_install.py725 # Step 2: Get runtimes referenced in apm.yml scriptsCOMMENT
LOW⚡src/apm_cli/integration/mcp_integrator_install.py730 # Step 3: Target runtimes BOTH installed AND referenced in scriptsCOMMENT
LOW⚡src/apm_cli/deps/bare_cache.py458 # Step 1: check first -- no network if SHA already present.COMMENT
LOW⚡src/apm_cli/deps/bare_cache.py465 # Step 2: shallow fetch by full SHA (only for full 40-char SHAs).COMMENT
LOW⚡src/apm_cli/deps/bare_cache.py508 # Step 3: broaden shallow -- fetch all refs without a SHA argument.COMMENT
LOW⚡src/apm_cli/commands/uninstall/cli.py511 # Step 5: Capture pre-uninstall MCP state (lockfile already read above)COMMENT
LOW⚡src/apm_cli/commands/uninstall/cli.py516 # Step 8: Collect deployed files for removed packages (before lockfile mutation)COMMENT
7 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
HIGH⚡tests/unit/test_runtime_args.py58 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGH⚡tests/unit/test_runtime_args.py58 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGH⚡tests/unit/test_runtime_args.py86 "value": "<YOUR_API_KEY>",CODE
HIGH⚡tests/unit/test_runtime_args.py86 "value": "<YOUR_API_KEY>",CODE
HIGH⚡tests/unit/test_runtime_args.py87 "default": "<YOUR_API_KEY>",CODE
HIGH⚡tests/unit/test_runtime_args.py87 "default": "<YOUR_API_KEY>",CODE
HIGH⚡tests/unit/test_runtime_args.py89 "value_hint": "<YOUR_API_KEY>",CODE
HIGH⚡tests/unit/test_runtime_args.py89 "value_hint": "<YOUR_API_KEY>",CODE
HIGH⚡tests/unit/test_runtime_args.py122 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGH⚡tests/unit/test_runtime_args.py122 self.assertEqual(server_config["args"][2], "<YOUR_API_KEY>")CODE
HIGH…src/content/docs/integrations/runtime-compatibility.md149export GOOGLE_API_KEY=your_api_keyCODE
AI Structural Patterns57 hits · 38 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_mcp_integrator_overlay.py56CODE
LOWtests/unit/test_outdated_phase3w5.py28CODE
LOWtests/unit/test_triage_fetch_queue.py33CODE
LOWtests/unit/test_output_formatters_rendering.py124CODE
LOWtests/unit/test_unix_installer_checksums.py28CODE
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.py54CODE
LOWtests/unit/integration/test_skill_integrator.py330CODE
LOWtests/unit/integration/test_skill_integrator.py1007CODE
LOWtests/unit/marketplace/test_builder_json.py19CODE
LOWtests/unit/deps/test_download_strategies_phase3.py107CODE
LOWtests/unit/deps/test_download_strategies_selection.py111CODE
LOWtests/unit/commands/test_deps_cli_phase3w4.py47CODE
LOWtests/unit/commands/test_deps_cli_branch_coverage.py47CODE
LOWtests/integration/test_ado_e2e.py61CODE
LOW…sts/integration/test_install_services_orchestration.py118CODE
LOWtests/integration/test_install_services_phase3w5.py118CODE
LOWtests/integration/test_download_strategies_selection.py26CODE
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.py24CODE
LOWtests/integration/test_download_copilot_end_to_end.py103CODE
LOWsrc/apm_cli/install/services.py207CODE
LOWsrc/apm_cli/install/services.py796CODE
LOWsrc/apm_cli/install/manifest_reconcile.py247CODE
LOWsrc/apm_cli/install/manifest_reconcile.py540CODE
LOWsrc/apm_cli/install/pipeline.py371CODE
LOWsrc/apm_cli/install/lsp/integration.py245CODE
LOWsrc/apm_cli/install/mcp/integration.py117CODE
LOWsrc/apm_cli/install/helpers/ref_reuse.py324CODE
LOWsrc/apm_cli/core/target_catalog.py30CODE
LOWsrc/apm_cli/integration/hook_integrator.py1657CODE
LOWsrc/apm_cli/integration/skill_transformer.py34CODE
LOWsrc/apm_cli/integration/lsp_integrator.py300CODE
LOWsrc/apm_cli/integration/lsp_integrator.py771CODE
LOWsrc/apm_cli/integration/mcp_integrator_install.py1084CODE
LOWsrc/apm_cli/integration/canvas_integrator.py152CODE
LOWsrc/apm_cli/integration/mcp_integrator.py1463CODE
LOWsrc/apm_cli/integration/skill_integrator.py748CODE
LOWsrc/apm_cli/integration/skill_integrator.py906CODE
LOWsrc/apm_cli/integration/skill_integrator.py1005CODE
LOWsrc/apm_cli/integration/skill_integrator.py1258CODE
LOWsrc/apm_cli/integration/skill_integrator.py1397CODE
LOWsrc/apm_cli/marketplace/tag_pattern.py101CODE
LOWsrc/apm_cli/marketplace/version_resolver.py49CODE
LOWsrc/apm_cli/marketplace/ref_resolver.py215CODE
LOWsrc/apm_cli/models/apm_package.py622CODE
LOWsrc/apm_cli/models/dependency/identity.py184CODE
LOWsrc/apm_cli/deps/apm_resolver.py97CODE
LOWsrc/apm_cli/commands/install.py255CODE
LOWsrc/apm_cli/commands/install.py548CODE
LOWsrc/apm_cli/policy/policy_checks.py1182CODE
Fake / Example Data36 hits · 34 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
LOW⚡tests/unit/test_plugin_parser.py909 "author": {"name": "Foo Bar", "email": "foo@bar.com"},CODE
LOWtests/unit/test_cursor_mcp.py432 "LITERAL_EMAIL": "user@example.com",CODE
LOWtests/unit/test_cursor_mcp.py450 self.assertEqual(env_block["LITERAL_EMAIL"], "user@example.com")CODE
LOW⚡tests/unit/test_plugin_synthesis.py32 "author": "Jane Doe",CODE
LOW⚡tests/unit/test_plugin_synthesis.py42 assert result["author"] == {"name": "Jane Doe"}CODE
LOW⚡tests/unit/test_plugin_synthesis.py248 "name": "Jane Doe",CODE
LOW⚡tests/unit/test_plugin_synthesis.py258 "name": "Jane Doe",CODE
LOW⚡tests/unit/test_plugin_synthesis.py267 {"name": "test", "version": "1.0.0", "author": {"name": "Jane Doe"}},CODE
LOW⚡tests/unit/test_plugin_synthesis.py272 assert result["author"] == {"name": "Jane Doe"}CODE
LOWtests/unit/test_plugin_synthesis.py162 "author": "Acme Corp",CODE
LOW⚡tests/unit/test_plugin_exporter_schema.py100 "name": "Acme Inc",CODE
LOW⚡tests/unit/core/test_plugin_manifest.py138 apm = _minimal_apm_yml(tmp_path, author="Jane Doe")CODE
LOW⚡tests/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
LOW⚡tests/unit/marketplace/test_marketplace_models.py545 data = {"name": "Test", "owner": "John Doe", "plugins": []}CODE
LOW⚡tests/unit/marketplace/test_marketplace_models.py547 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
LOW⚡tests/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
LOW⚡tests/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
LOW⚡tests/integration/test_remaining_modules_coverage.py404 author: "Jane Doe"STRING
LOW⚡…/integration/test_architecture_owner_rule_mutations.py629 new="structural_errors: tuple[str, ...] = ('placeholder',)",CODE
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.md93The `author` field accepts a plain string (`"Jane Doe"` maps to `{name: "Jane Doe"}`) or aCODE
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
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/integration/test_git_cache_hermetic.py915CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/unit/scripts/test_architecture_runner.py166def helper(x):CODE
LOWsrc/apm_cli/core/experimental.py12 def my_function():STRING