- apm-workflow and apm-orchestrate always pass --project to uv run, because uv run outside the project silently runs the PATH apm. The agent now checks that the reported version equals the pin, or is 0.39.2 or later where nothing pins it, not only that it exits 0. - A pin is a quoted apm-cli or apm_cli requirement plus a uv.lock, matching the SessionStart hook, in apm-install, uv-pin.md and apm-workflow. - uv-pin.md spells the hook's exact invocation and its environment check, and says scripts always pass --project. - instructions-author and its research note: a Claude rule leaves .claude/rules/ only when compile actually wrote it into AGENTS.md; install-then-compile dedups it. - prompt-author: Kiro strips every key with a warning, not silently. - Record the 0.39.3 executables findings in approvals-and-executables.md and the output-profile and type-routing facts in cli-reference.md, and cite those digests. - forge's routing table notes that Kiro gets the body only. Refs: #273 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
12 KiB
Sources
context7-microsoft-apm
- URL: context7:/microsoft/apm
- Description: Microsoft APM (Agent Package Manager) — open-source dependency manager for AI agent configuration (skills, prompts, instructions, agents, hooks, MCP/LSP deps), applying a declare/lock/install/audit workflow.
- Contributing files: overview.md, installation.md, configuration.md, cli-reference.md, examples.md, troubleshooting.md, testing-and-validation.md, marketplace-and-registries.md, monorepo-and-repo-shapes.md, agent-primitive-schema.md, prompt-primitive-schema.md, instructions-primitive-schema.md, hooks-primitive-schema.md, releasing.md
- Status:
extracted
apm-github-repo
- URL: https://github.com/microsoft/apm
- Description: APM's own Python source (
src/apm_cli/) read directly for schema/compile-mapping ground truth where Context7's doc snippets were thin — specificallyprimitives/models.pyandprimitives/discovery.py(primitive dataclasses and discovery globs),integration/prompt_integrator.py,integration/command_integrator.py,integration/instruction_integrator.py,integration/hook_integrator.py,integration/hook_native_formats.py,integration/hook_ir.py,integration/_hook_dropped_targets.py,integration/targets.py(KNOWN_TARGETS/PrimitiveMappingper-target deploy config),compilation/claude_formatter.pyandcompilation/distributed_compiler.py(instruction fold-in to CLAUDE.md/AGENTS.md), andmodels/validation.py. - Contributing files: agent-primitive-schema.md, prompt-primitive-schema.md, instructions-primitive-schema.md, hooks-primitive-schema.md, releasing.md
- Status:
extracted
Note: releasing.md's --check-clean/--check-versions scope, apm pack exit-code semantics, and the .apm/-vs-root-flat-dir mutual exclusivity referenced there were additionally cross-checked directly against apm_cli/bundle/plugin_exporter.py, apm_cli/commands/pack.py, and apm_cli/marketplace/drift_check.py in the installed apm-cli 0.28.0 package (/root/.local/pipx/venvs/apm-cli/), not just Context7 doc snippets — confirmed by a live apm pack --format plugin run inside plugins/bin that reproduced the documented [!] Skipping root-level skills/ because .apm/ is present warning.
apm-docs-site
- URL: https://microsoft.github.io/apm/
- Description: Official apm documentation site, specifically the instructions-and-agents authoring page and the targets and compile pages: frontmatter requirements, unconditional-rule wording, per-target deploy paths, compile behaviour and flags. Fetched through subagent summaries, so lossy.
- Contributing files: instructions-primitive-schema.md, instructions-target-mapping.md, instructions-gotchas.md
- Status:
extracted
claude-code-memory-docs
- URL: https://code.claude.com/docs/en/memory
- Description: Claude Code memory documentation:
.claude/rules/loading, thepathsfrontmatter field (only field read, invalid YAML ignored), AGENTS.md versus CLAUDE.md precedence, size guidance. - Contributing files: instructions-primitive-schema.md, instructions-target-mapping.md, instructions-gotchas.md
- Status:
extracted
github-copilot-custom-instructions-docs
- URL: https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions
- Description: GitHub Copilot repository custom-instructions documentation:
.github/instructions/*.instructions.md, theapplyToandexcludeAgentfrontmatter, the separate repo-widecopilot-instructions.md, where path-specific files apply. - Contributing files: instructions-target-mapping.md, instructions-gotchas.md
- Status:
extracted
cursor-rules-docs
- URL: https://cursor.com/docs/context/rules
- Description: Cursor project rules documentation:
.mdcrequirement,description,globsandalwaysApplyfrontmatter, rule types (always, auto-attached, apply intelligently, manual), size guidance. - Contributing files: instructions-target-mapping.md, instructions-gotchas.md
- Status:
extracted
apm-cli-0-28-0-experiments
- URL: https://pypi.org/project/apm-cli/0.28.0/
- Description: The installed apm-cli 0.28.0 package (source under the pipx venv for apm-cli) read for integrator, target-table and pattern-parsing code, plus throwaway install, compile and audit experiments run in a scratchpad outside the repo to confirm validation severity, unquoted-glob handling, discovery asymmetry, dedup, overwrite and exit-code behaviour.
- Contributing files: instructions-primitive-schema.md, instructions-target-mapping.md, instructions-gotchas.md
- Status:
extracted
apm-docs-author-prompts
- URL: https://microsoft.github.io/apm/producer/author-primitives/prompts/
- Description: Official "Author a prompt" page: file layout, the five preserved frontmatter keys, body conventions, per-target output paths, invocation, and the pitfalls list (dropped keys, input-name regex, Codex, collisions, hidden-Unicode scan).
- Contributing files: prompt-primitive-schema.md, prompt-target-mapping.md, prompt-gotchas.md
- Status:
extracted
apm-docs-llms-full
- URL: https://microsoft.github.io/apm/llms-full.txt
- Description: The complete apm documentation dump (about 2.1M characters) read in chunks through a summarising fetch for prompt-related content: primitive catalogue, manifest
typefield,apm runparameters, target matrix, install ownership and stale-cleanup rules, spec requirements. Lossy; quoted strings are not byte-verified. - Contributing files: prompt-primitive-schema.md, prompt-target-mapping.md, prompt-gotchas.md
- Status:
extracted
apm-docs-producer-ramp
- URL: https://microsoft.github.io/apm/_llms-txt/producer-ramp.txt
- Description: Producer-ramp documentation bundle covering prompt authoring, dual-surface naming, the verify loop (
apm compile --validate,--dry-run,apm audit) and marketplace publishing. The fetch reported truncating a middle stretch. - Contributing files: prompt-target-mapping.md, prompt-gotchas.md
- Status:
extracted
apm-docs-cli-run
- URL: https://microsoft.github.io/apm/reference/cli/run/
- Description:
apm runreference: script resolution, prompt discovery fallback, compilation to.apm/compiled,--paramsubstitution, exit codes. Marked experimental. - Contributing files: prompt-gotchas.md
- Status:
extracted
apm-docs-cli-compile
- URL: https://microsoft.github.io/apm/reference/cli/compile/
- Description:
apm compilereference, read for what it does with prompts (ignores them) and what--validatechecks. Does not address prompts-only packages. - Contributing files: prompt-gotchas.md
- Status:
extracted
apm-cli-0-28-0-prompt-experiments
- URL: https://pypi.org/project/apm-cli/0.28.0/
- Description: The installed apm-cli 0.28.0 exercised with local-path throwaway packages in a scratchpad outside the repo: root-level and nested prompt discovery, manifest
type:values, compile on prompts-only packages, per-target install output and dropped-key warnings, input-name and YAML edge cases, collision, stale-cleanup and hand-edit behaviour, hidden-Unicode scanning and audit, andapm pack --format plugin. Source filescommand_integrator.py,prompt_integrator.pyandplugin_exporter.pywere read to cross-check. Experimental targets andapm runwere not exercised. - Contributing files: prompt-target-mapping.md, prompt-gotchas.md
- Status:
extracted
apm-v0-39-3-source
- URL: https://github.com/microsoft/apm/tree/v0.39.3/src/apm_cli
- Description: apm source at tag v0.39.3. Read from a local clone that
git describeconfirmed as v0.39.3, covering:- lockfile and audit: lockfile versions and hashing, the compatibility warning and
audit --cicertification,exact_branch_or_tag_sha, commit reachability, libyaml loading, the audit baseline checks and output strings, andapm outdatedoptions and output; - approvals: executables grants and pins, trust, and the hook fingerprint;
- integrators: hook, command, agent and skill;
- instructions:
claude_agents_mdand root-context protection; - CLI: the command table, init, pack, update, approve and export-patch;
- package metadata:
pyproject.toml.
- lockfile and audit: lockfile versions and hashing, the compatibility warning and
- Contributing files: lockfile-and-compatibility.md, approvals-and-executables.md, migration-0-28-to-0-39.md, cli-reference.md, installation.md, prompt-primitive-schema.md, prompt-gotchas.md, prompt-target-mapping.md, hooks-primitive-schema.md, instructions-target-mapping.md
- Status:
extracted
apm-v0-39-3-changelog
- URL: https://github.com/microsoft/apm/blob/v0.39.3/CHANGELOG.md
- Description: CHANGELOG entries from 0.29.0 to 0.39.3. They cover breaking changes and upgrade notes on lockfile v4, the 0.39.2 lock refusal,
--frozenhashes, exact refs, commit verdicts, approvals and hook pins, hook filename routing, the Claude command keys, the AGENTS.md instruction layout, targets and CLI removals. - Contributing files: lockfile-and-compatibility.md, approvals-and-executables.md, migration-0-28-to-0-39.md, prompt-primitive-schema.md, prompt-gotchas.md, hooks-primitive-schema.md, instructions-target-mapping.md, instructions-gotchas.md
- Status:
extracted
apm-v0-39-3-docs
-
URL: https://github.com/microsoft/apm/tree/v0.39.3/docs/src/content/docs
-
Description: the docs source behind https://microsoft.github.io/apm/, read at tag v0.39.3 from the same clone. Pages used:
- reference: lockfile-spec, compatibility and baseline-checks;
- CLI reference: install, audit, outdated, approve, export-patch, compile, pack, marketplace and uninstall;
- consumer: run-in-ci and update-and-refresh;
- producer: write-primitives;
- getting started: installation;
- spec: the OpenAPM spec.
The published installation page was also fetched, and it matched.
-
Contributing files: lockfile-and-compatibility.md, approvals-and-executables.md, migration-0-28-to-0-39.md, cli-reference.md, installation.md, hooks-primitive-schema.md, instructions-target-mapping.md
-
Status:
extracted
pypi-apm-cli
- URL: https://pypi.org/pypi/apm-cli/json
- Description: PyPI metadata for apm-cli: the 0.39.2 and 0.39.3 release dates, wheel and sdist availability, yank status,
requires_python >=3.11andrequires_dist. - Contributing files: installation.md
- Status:
extracted
apm-cli-0-39-3-uv-experiments
- URL: https://pypi.org/project/apm-cli/0.39.3/
- Description: throwaway uv projects built in a scratchpad outside any repo with uv 0.11.24. They tested:
uv add --dev apm-cli==0.39.3anduv run apm --version;- the
[tool.uv] package = falseform; uv run --frozen --offlinewith a warm cache and with a cold cache;uvx --offlineagainst a cache warmed byuv add.
- Contributing files: installation.md
- Status:
extracted
apm-cli-0-39-3-experiments
- URL: https://pypi.org/project/apm-cli/0.39.3/
- Description: The repo-pinned apm-cli 0.39.3 (
uv run --frozen apm) run in throwaway packages in a scratchpad outside the repo, under holocron#273. It re-ran the 0.28.0 instruction and prompt experiments:- instructions: the Claude compile layout, per-instruction dedup, an unscoped rule's retirement from
.claude/rules/, unquoted and broken frontmatter on install and compile, hand-authored collisions, stale cleanup, the per-target transforms for ten targets, and the empty-package compile; - prompts: Claude-native key survival on claude versus cursor and opencode, the
--verbosedropped-keys message,hookswithholding, malformed YAML, input names, collisions, hand-edited deployed files, the Kiro prompt surface and hidden-character scanning; - executables: a bare-name grant parking a hook, a full-identity grant with a different
#versiondeploying it, and the gate-disabled message.
- instructions: the Claude compile layout, per-instruction dedup, an unscoped rule's retirement from
- Contributing files: instructions-gotchas.md, prompt-gotchas.md, approvals-and-executables.md
- Status:
extracted
context7-microsoft-apm-0-39-3
- URL: context7:/microsoft/apm
- Description: a Context7 query for apm 0.39.3 made during this refresh. It returned "Invalid API key", so no Context7 content informs the 0.39.3 material.
- Contributing files: none
- Status:
no content extracted