Cutover: this repo runs apm 0.39.3 from a uv pin #271
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: Mortis/Holocron#271
Reference in new issue
Block a user
Parent
#268 (spec). Decisions: ADR-0034. Read the findings comment from #269 on #268 first.
What to build
In one PR, switch this repo from the global pipx apm to apm-cli 0.39.3 pinned in the repo with uv:
pyproject.toml: no build system, uv package mode off, Python 3.11 or later, and a dev dependency group pinningapm-cli==0.39.3.uv.lock, and ignore.venv/.uv run --project <repo root> --frozen apm.apm.lock.yamlwith the pinned apm and commit it, along with any.claude/settings.jsonor.claude/apm-hooks.jsoncontent apm writes. This lock rewrite is the one sanctioned exception to discarding lock churn on a branch, so say so in the PR. No hand edits to apm-owned files.Start only once the kyberforge release from #270 is on
main, tagged, and recorded in the lock this branch starts from.Acceptance criteria
uv run --frozen apm --versionreports 0.39.3.uv.lockpins apm-cli and hashes its dependencies..venv/is ignored.uvand a stub apm first on PATH) passes, and proves three things:--projectnames the repo root even when a script runs from a plugin directory;apm.lock.yamlis at lockfile version 4 and written by 0.39.3. The PR description notes the deliberate lock rewrite.uv run --frozen apm install, the deployed/planand/shipcommands carrydisable-model-invocation: true.uv sync --frozen,uv run --frozen apm install, the full pre-push hook set and the SessionStart hook all pass.--strict.Blocked by