You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] On macOS and Windows, apm update after a case-only rename in a package deletes the renamed files and drops them from the lockfile #3684
area/lockfileLockfile schema, per-file provenance, integrity hashes, drift detection.area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.pillar/consumePillar: install any agent package into any harness, reproduciblytype/bugSomething does not work as documented.
On case-insensitive file systems (macOS default, Windows default), when a package renames primitives only by case (Guide.instructions.md to guide.instructions.md, Helper.agent.md to helper.agent.md), apm update treats the old APM-owned spelling as a user file ("Kept user-edited file .claude/rules/Guide.md"), then stale cleanup deletes the old spelling, which is the same directory entry as the new file. All renamed agents, commands, prompts and instructions disappear from disk and from apm.lock.yaml, and apm audit --ci then fails.
To reproduce
Install a package that ships .apm/instructions/Guide.instructions.md, .apm/agents/Helper.agent.md, .apm/prompts/Run.prompt.md (targets claude, copilot, cursor).
Upstream renames them by case only and changes content.
apm update --yes, then list the target directories and run apm audit --ci.
Expected behavior
The files end up with the new spelling and content, the lockfile records them, and audit is clean.
Actual behavior
Exit 0, "Cleaned 7 stale deployed files"; the new files are gone.
Found by the 0.36.0 pre-release lifecycle sweep, round 2 (#3649). Same behavior on v0.35.1, so this is not a 0.36 regression.
area/lockfileLockfile schema, per-file provenance, integrity hashes, drift detection.area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.pillar/consumePillar: install any agent package into any harness, reproduciblytype/bugSomething does not work as documented.
Activity
perf(install): index spelling aliases once per inventory (#3684)
perf(install): index spelling aliases once per inventory (#3684)
fix: 0.36.0 red-team round 2 (MCP config safety, user-file collisions…
fix(tests): restore arm64 integration lanes for 0.36.0 (#3766)