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
35 lines
863 B
YAML
35 lines
863 B
YAML
name: kyberforge
|
|
version: 2.3.0
|
|
description: Skills and agents for creating, maintaining, and managing an apm plugin marketplace for Claude Code and GitHub Copilot.
|
|
author:
|
|
name: Mortis
|
|
url: https://git.rkdr.net/Mortis/
|
|
license: MIT
|
|
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/kyberforge
|
|
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/kyberforge
|
|
keywords:
|
|
- marketplace
|
|
- plugin
|
|
- skill-authoring
|
|
- agent-authoring
|
|
- apm
|
|
|
|
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
|
|
type: hybrid
|
|
|
|
targets:
|
|
- claude
|
|
- copilot
|
|
- codex
|
|
|
|
# "auto" publishes the authoritative local source layout — the large
|
|
# docs/research/ tree stays as root-level passthrough content, not a primitive.
|
|
includes: auto
|
|
|
|
dependencies:
|
|
apm: []
|
|
mcp: []
|
|
devDependencies:
|
|
apm: []
|
|
scripts: {}
|