Spike: run apm 0.39.3 against a throwaway worktree and report #269

Open
opened 2026-12-01 22:57:25 +00:00 by Claude · 0 comments
Owner

Parent

#268 (spec). Decisions are in ADR-0034. The 0.39.3 research set is kyberforge's microsoft-apm research docs, refreshed in #267.

What to build

Before any code changes, find out what apm 0.39.3 does to this repo. Run a uv-pinned apm-cli 0.39.3 in a throwaway scratch environment against a throwaway git worktree of main. Then post a findings comment on #268 that the hook and cutover tickets can rely on.

Change nothing in the main checkout. Do not touch, upgrade or uninstall the global pipx apm. Push nothing. Discard the worktree afterwards.

The results decide whether the cutover ticket must change the gate scripts or the audit waiver. They also tell it which apm-written files to expect and commit.

Acceptance criteria

  • In the worktree, the uv-pinned 0.39.3 has run apm install, which needs network once. It has then run apm audit --ci at the root and in every plugin package directory, and apm pack --check-versions --check-clean --dry-run. The exit code and the relevant output of each run are recorded.
  • Every file 0.39.3 rewrites or creates is listed with a short description of the diff. The list explicitly covers .claude/settings.json, .claude/apm-hooks.json, root CLAUDE.md, root AGENTS.md, apm.lock.yaml (format version and fields), and deployed .claude/commands, .claude/skills and .claude/agents. Each of these is marked unchanged if it did not change.
  • The comment states whether the deployed /plan and /ship commands carry disable-model-invocation: true.
  • It states whether the strings the audit-ci script matches still match real 0.39.3 output in each plugin directory: the lockfile-absent detail, and the "1 of 1 check(s) failed" waiver shape. It names any new check that fails inside a plugin directory.
  • It states whether real 0.39.3 apm outdated output still matches the phrase the SessionStart hook greps for, in both the stale case and the current case.
  • It records whether the merged SessionStart and PreToolUse hook entries pass audit --ci, and whether any approval or re-approval step is needed under the 0.37+ executables rules.
  • It ends with a list of changes the cutover and hook tickets must make. Write "none" if none are needed.
  • The worktree and scratch environments are removed. The global apm still reports 0.28.0.

Blocked by

None (can start immediately).

## Parent #268 (spec). Decisions are in ADR-0034. The 0.39.3 research set is kyberforge's `microsoft-apm` research docs, refreshed in #267. ## What to build Before any code changes, find out what apm 0.39.3 does to this repo. Run a uv-pinned apm-cli 0.39.3 in a throwaway scratch environment against a throwaway git worktree of `main`. Then post a findings comment on #268 that the hook and cutover tickets can rely on. Change nothing in the main checkout. Do not touch, upgrade or uninstall the global pipx apm. Push nothing. Discard the worktree afterwards. The results decide whether the cutover ticket must change the gate scripts or the audit waiver. They also tell it which apm-written files to expect and commit. ## Acceptance criteria - [ ] In the worktree, the uv-pinned 0.39.3 has run `apm install`, which needs network once. It has then run `apm audit --ci` at the root and in every plugin package directory, and `apm pack --check-versions --check-clean --dry-run`. The exit code and the relevant output of each run are recorded. - [ ] Every file 0.39.3 rewrites or creates is listed with a short description of the diff. The list explicitly covers `.claude/settings.json`, `.claude/apm-hooks.json`, root CLAUDE.md, root AGENTS.md, `apm.lock.yaml` (format version and fields), and deployed `.claude/commands`, `.claude/skills` and `.claude/agents`. Each of these is marked unchanged if it did not change. - [ ] The comment states whether the deployed `/plan` and `/ship` commands carry `disable-model-invocation: true`. - [ ] It states whether the strings the audit-ci script matches still match real 0.39.3 output in each plugin directory: the lockfile-absent detail, and the "1 of 1 check(s) failed" waiver shape. It names any new check that fails inside a plugin directory. - [ ] It states whether real 0.39.3 `apm outdated` output still matches the phrase the SessionStart hook greps for, in both the stale case and the current case. - [ ] It records whether the merged SessionStart and PreToolUse hook entries pass `audit --ci`, and whether any approval or re-approval step is needed under the 0.37+ executables rules. - [ ] It ends with a list of changes the cutover and hook tickets must make. Write "none" if none are needed. - [ ] The worktree and scratch environments are removed. The global apm still reports 0.28.0. ## Blocked by None (can start immediately).
Claude added the Kind/Enhancement
Priority
Medium
3
Status/Ready for Agent
labels 2026-12-01 22:57:25 +00:00
Claude added this to the Spec: Upgrade apm to 0.39.3 and pin it per repo with uv milestone 2026-12-01 22:58:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Holocron#269