fix(rtk): follow up the #284 review notes #287

Merged
Defame1297 merged 3 commits from fix/rtk-review-polish into main 2026-12-06 16:47:29 +00:00
Showing only changes of commit 7ee2066407 - Show all commits
+1 -1
View File
@@ -77,7 +77,7 @@ This repo hand-writes its grant in the root `apm.yml` and does not run `apm appr
### "ambiguous duplicate APM-owned hook entry"
apm raises this error when `.claude/settings.json` holds more byte-identical copies of an APM-owned hook entry than `.claude/apm-hooks.json` records. It happens when the same hook entry is pasted in by hand or merged in twice. To fix it, remove the duplicate entries from `.claude/settings.json`, keeping none of the hand-added copies, then run `apm install` again.
`apm audit` raises this error, with or without `--ci`, unless drift checking is off with `--no-drift`. It reports it as a drift finding on `.claude/settings.json`. `apm export-patch` runs the same check. `apm install --frozen` runs it too, but reports only that an APM-managed hook entry was edited or removed. The cause is `.claude/settings.json` holding more byte-identical copies of an APM-owned hook entry than `.claude/apm-hooks.json` records. It happens when the same hook entry is pasted in by hand or merged in twice. To fix it, remove the duplicate entries from `.claude/settings.json`, keeping none of the hand-added copies, then run `apm install` again.
## Author