fix(lock): regenerate hook config in apm's from-empty order

Why: apm-audit-ci replays the install into an empty tree, where packages
integrate in lockfile order and delivery's PreToolUse lands before
kyberforge's SessionStart. The session-start install merged into the
existing settings.json instead and appended PreToolUse after it. Same
hooks, different key order, so the byte-for-byte drift check failed.

Implementation Notes: deleted both files and reran apm install; the result
is byte-identical to the replay scratch and stable across reinstalls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-23 18:38:31 +00:00
1 parent 440569c327
commit 64b52ab37c
2 files changed
+25 -25

No files matched your search

+13 -13
View File
@@ -1,17 +1,4 @@
{ {
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh\"",
"timeout": 380
}
],
"_apm_source": "Mortis/Holocron/plugins/kyberforge"
}
],
"PreToolUse": [ "PreToolUse": [
{ {
"matcher": "*", "matcher": "*",
@@ -25,5 +12,18 @@
], ],
"_apm_source": "Mortis/Holocron/plugins/delivery" "_apm_source": "Mortis/Holocron/plugins/delivery"
} }
],
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh\"",
"timeout": 380
}
],
"_apm_source": "Mortis/Holocron/plugins/kyberforge"
}
] ]
} }
+12 -12
View File
@@ -1,17 +1,5 @@
{ {
"hooks": { "hooks": {
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh\"",
"timeout": 380
}
]
}
],
"PreToolUse": [ "PreToolUse": [
{ {
"matcher": "*", "matcher": "*",
@@ -24,6 +12,18 @@
} }
] ]
} }
],
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh\"",
"timeout": 380
}
]
}
] ]
} }
} }