Records the decision to pin apm per repo with uv. Docs only; no code, scripts, lock, pyproject.toml or .claude/settings.json changes. The cutover and the hook change belong to the tickets under #265.
Changes
New docs/adr/0034-apm-is-pinned-per-repo-with-uv.md:
Decision: pyproject.toml with apm-cli==0.39.3, a committed uv.lock, and uv run --project <repo root> --frozen apm (with an APM env override as a test seam).
Minimum apm 0.39.2, and why: lockfile v4, the 0.37.0 to 0.39.1 refusal of a 0.39.2 lock, and the Claude command keys kept from 0.39.0 (#245).
Rejected: global pipx, upgrading the global, uvx (no lock, floating transitive dependencies) and uv tool (machine-global drift).
Hook-first ordering, and the lock rewrite (v1 to v4) in the cutover PR as the one sanctioned exception to discarding lock churn.
Consumer hook fallback contract (uv run --frozen, then PATH apm, then exit 0; never a uv sync; no network on a cold cache; never "up to date" below 0.39.2; fixed advice strings).
Global 0.28.0 stays, with last mover deletes (ansible-homelab-mono#1078, Kamino#499).
New offline setup step: uv sync --frozen once plus apm install once per checkout.
Consequences: a bare apm fails closed against the v4 lock, and the network is needed on first sync.
ADR-0024 stands: apm is still the only install path, and uv only pins apm itself.
docs/adr/0019-*.md: amendment note. The hook resolves apm through ADR-0034's contract, and its 0.28.0 claims are pending re-verification on 0.39.3.
docs/adr/0033-*.md: amendment note. Its 0.28.0 claims are pending re-verification on 0.39.3. The Decision is unchanged.
GLOSSARY.md is untouched: "repo-pinned apm" is defined in the ADR and not used unglossed elsewhere yet.
Refs #265
Records the decision to pin apm per repo with uv. Docs only; no code, scripts, lock, `pyproject.toml` or `.claude/settings.json` changes. The cutover and the hook change belong to the tickets under #265.
## Changes
- New `docs/adr/0034-apm-is-pinned-per-repo-with-uv.md`:
- Decision: `pyproject.toml` with `apm-cli==0.39.3`, a committed `uv.lock`, and `uv run --project <repo root> --frozen apm` (with an `APM` env override as a test seam).
- Minimum apm 0.39.2, and why: lockfile v4, the 0.37.0 to 0.39.1 refusal of a 0.39.2 lock, and the Claude command keys kept from 0.39.0 (#245).
- Rejected: global pipx, upgrading the global, `uvx` (no lock, floating transitive dependencies) and `uv tool` (machine-global drift).
- Hook-first ordering, and the lock rewrite (v1 to v4) in the cutover PR as the one sanctioned exception to discarding lock churn.
- Consumer hook fallback contract (`uv run --frozen`, then `PATH` apm, then exit 0; never a uv sync; no network on a cold cache; never "up to date" below 0.39.2; fixed advice strings).
- Global 0.28.0 stays, with last mover deletes (ansible-homelab-mono#1078, Kamino#499).
- New offline setup step: `uv sync --frozen` once plus `apm install` once per checkout.
- Consequences: a bare `apm` fails closed against the v4 lock, and the network is needed on first sync.
- ADR-0024 stands: apm is still the only install path, and uv only pins apm itself.
- `docs/adr/0019-*.md`: amendment note. The hook resolves apm through ADR-0034's contract, and its 0.28.0 claims are pending re-verification on 0.39.3.
- `docs/adr/0033-*.md`: amendment note. Its 0.28.0 claims are pending re-verification on 0.39.3. The Decision is unchanged.
GLOSSARY.md is untouched: "repo-pinned apm" is defined in the ADR and not used unglossed elsewhere yet.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Record that apm is pinned per repo with uv (minimum 0.39.2, pinned
0.39.3), shipped hook-first, with the consumer hook fallback contract.
Add forward notes on ADR-0019 and ADR-0033 for their 0.28.0 claims,
pending re-verification on 0.39.3.
Refs #265, #245
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Add lockfile-and-compatibility, approvals-and-executables and
migration-0-28-to-0-39 topics; update installation, cli-reference, the
prompt, hooks and instructions topics for 0.39.x behaviour; label the
remaining 0.28.0 observations by version. Sources: the v0.39.3 source,
CHANGELOG and docs; Context7 was unavailable.
Refs #265
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Refs #265
Records the decision to pin apm per repo with uv. Docs only; no code, scripts, lock,
pyproject.tomlor.claude/settings.jsonchanges. The cutover and the hook change belong to the tickets under #265.Changes
docs/adr/0034-apm-is-pinned-per-repo-with-uv.md:pyproject.tomlwithapm-cli==0.39.3, a committeduv.lock, anduv run --project <repo root> --frozen apm(with anAPMenv override as a test seam).uvx(no lock, floating transitive dependencies) anduv tool(machine-global drift).uv run --frozen, thenPATHapm, then exit 0; never a uv sync; no network on a cold cache; never "up to date" below 0.39.2; fixed advice strings).uv sync --frozenonce plusapm installonce per checkout.apmfails closed against the v4 lock, and the network is needed on first sync.docs/adr/0019-*.md: amendment note. The hook resolves apm through ADR-0034's contract, and its 0.28.0 claims are pending re-verification on 0.39.3.docs/adr/0033-*.md: amendment note. Its 0.28.0 claims are pending re-verification on 0.39.3. The Decision is unchanged.GLOSSARY.md is untouched: "repo-pinned apm" is defined in the ADR and not used unglossed elsewhere yet.
🤖 Generated with Claude Code
https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi