Review round 1 of #270. - Resolve `timeout`, else `gtimeout`, once after choosing apm, and call it through "$to" at all three sites. Stock macOS has neither `timeout` nor a GNU coreutils default, so the `--version` call failed there and every session printed a false too-old notice. With neither binary the hook exits 0 silently. The budget test now parses `"$to" N` too. - Check that the project environment ($UV_PROJECT_ENVIRONMENT, else <root>/.venv) exists before taking the uv path. If it is missing, print a fixed not-synced notice and never call uv, because `uv run --no-sync` would create an empty .venv in the consumer repo. - Separate "version too old" from "version unreadable or timed out", with a fixed literal for each on each path, so a timeout no longer blames an unsynced environment. - Raise the hooks.json timeout from 380 to 400 for the 375s script budget, refresh the outdated-timing comment, and note the budget in ADR-0019. - Tests: no timeout binary, gtimeout only, missing and relocated project environment, a failing `uv run`, `--offline` required on every uv call, and the hostile-output notice compared to its exact literal. - ADR-0034: until the #271 cutover, this repo prints the too-old notice and auto-refresh is paused. 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.