Skip to content

Troubleshooting

This document lists common issues when working with this repository and the recommended recovery steps.

APM Installation Issues

Symptom: apm install --update fails

Cause: dependency resolution drift, invalid local package references, or lock mismatch.

Resolution:

apm install --update
apm audit --ci

If the error persists, verify package paths in root apm.yml and each package apm.yml.

Markdown and Instruction Validation

Symptom: markdownlint-cli2 failures in docs or instructions

Cause: heading hierarchy issues, trailing newline issues, or inconsistent table formatting.

Resolution:

markdownlint-cli2 "docs/**/*.md" ".apm/packages/*/.apm/instructions/*.instructions.md"
git diff --check

Apply minimal fixes and re-run the checks.

APM Audit CI

Symptom: ci-apm-audit workflow fails with audit errors

Cause: lock file drift, missing or renamed package paths, or policy violations.

Resolution:

apm install --update
apm audit --ci --no-drift --no-cache

If policy checks fail, verify the policy configuration:

apm audit --ci --no-cache --policy org

Check that all package paths in apm.yml and sub-package apm.yml files are valid and that apm.lock.yaml is committed and up to date.