The hook now picks one apm and uses it for both the outdated check and the update (ADR-0034): `uv run --project <root> --frozen --no-sync --offline apm` when the project pins apm-cli (a quoted apm-cli requirement in pyproject.toml plus a uv.lock) and uv is on PATH, else the PATH apm, else it exits silently. uv is only ever called as `uv run`; `--no-sync` keeps a plain run from syncing the environment, and `--offline` keeps uv off the network. Before the outdated check it reads `--version`. Below 0.39.2, or when the version cannot be read, it prints a fixed notice naming the chosen binary and skips the check, since an older apm refuses a lockfile v4 and would report it as up to date. All advice strings are fixed literals that name the chosen binary; no command output is interpolated. Tests use seam A: a fake uv first on a whitelisted PATH logs every call and reaches the pinned fake apm only through `uv run`. They cover pin plus uv, pin without uv, pin without uv.lock, no pin, no apm, too-old and boundary versions, stale and current output on both paths, and hostile output. ADR-0034 is amended to record that seam. Impact: kyberforge 2.2.1 -> 2.3.0, catalog 0.9.0 -> 0.9.1. Refs: #270 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
docs/
Plugin documentation. Not read automatically by Claude Code or GitHub Copilot CLI — reference specific files from skill bodies or agent prompts as needed.
| Path | Purpose |
|---|---|
hooks.md |
Where this plugin's hooks are authored (.apm/hooks/), what apm deploys them into (.claude/settings.json), and the Claude Code and Copilot CLI schemas |
Everything else under this directory is research material.
research/
Upstream reference material gathered during skill authoring. Not shipped with the plugin — used at development time only.
| Path | Purpose |
|---|---|
research/docs/agentskillsio/ |
agentskills.io spec, skill authoring, description optimization, eval design, scripts |
research/docs/claude-code-plugins/ |
Claude Code plugin and marketplace manifests, plugin directory layout, agent definition format, claude plugin validate behaviour |
research/docs/github-copilot-plugins/ |
Copilot CLI plugin manifest and marketplace format, agent definition format, Copilot extensions and SDK |
research/docs/microsoft-apm/ |
apm CLI reference, apm.yml schema, primitive schemas (agent, prompt, instructions, hooks), monorepo repo shapes, marketplace/registries, packing and releasing |
research/examples/skill-write/ |
Upstream skill examples reviewed when authoring skill-author and the audit skill, now factory-audit (ADR-0025) |
AGENTS.md research moved to plugins/core/docs/research/docs/agentsmd/ when the AGENTS.md skills landed in the core plugin (ADR-0012) — it is no longer part of kyberforge's provenance chain.