relate: be0bda86 --SOLVES--> a2d02aea
This commit is contained in:
parent
b647814935
commit
b917d60173
@ -6,7 +6,7 @@ tags: [sba-scouting, rust, claude-code, hooks, linting, cargo, configuration, de
|
||||
importance: 0.65
|
||||
confidence: 0.8
|
||||
created: "2026-03-02T00:33:26.804471+00:00"
|
||||
updated: "2026-03-02T02:09:21.572942+00:00"
|
||||
updated: "2026-03-02T02:20:38.872040+00:00"
|
||||
relations:
|
||||
- target: 73646e80-a640-4316-b7c6-54a4330f1b28
|
||||
type: RELATED_TO
|
||||
@ -38,6 +38,11 @@ relations:
|
||||
direction: incoming
|
||||
strength: 0.8
|
||||
edge_id: ceebc50e-6db0-444e-b31d-36344913dc12
|
||||
- target: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
type: SOLVES
|
||||
direction: incoming
|
||||
strength: 0.95
|
||||
edge_id: b5623458-9ace-43ae-ae7e-101d465498ee
|
||||
---
|
||||
|
||||
# Cargo Check Post-Edit Hook Configuration
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
---
|
||||
id: b5623458-9ace-43ae-ae7e-101d465498ee
|
||||
type: SOLVES
|
||||
from_id: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
from_title: "Fix: Claude Code PostToolUse hook correct JSON format"
|
||||
to_id: a2d02aea-07fd-4528-8158-f2f42a23a2dd
|
||||
to_title: "Cargo check post-edit hook for Rust files in Claude Code"
|
||||
strength: 0.95
|
||||
created: "2026-03-02T02:20:38.872040+00:00"
|
||||
updated: "2026-03-02T02:20:38.872040+00:00"
|
||||
---
|
||||
|
||||
The PostToolUse hook format fix directly solved the broken cargo check hook configuration. The original config used incorrect field names (tool_name, file_glob as object fields) and wrong event key (PostToolCall). The fix provided the correct format: PostToolUse event, matcher as plain regex string, hooks array with type:command.
|
||||
@ -6,7 +6,7 @@ tags: [sba-scouting, rust, claude-code, hooks, configuration, fix]
|
||||
importance: 0.8
|
||||
confidence: 0.8
|
||||
created: "2026-03-02T02:08:35.272129+00:00"
|
||||
updated: "2026-03-02T02:09:21.572942+00:00"
|
||||
updated: "2026-03-02T02:20:38.872040+00:00"
|
||||
relations:
|
||||
- target: 62ee21e8-2b56-4d38-a73d-47e2724f08c6
|
||||
type: BUILDS_ON
|
||||
@ -28,6 +28,11 @@ relations:
|
||||
direction: outgoing
|
||||
strength: 0.8
|
||||
edge_id: ceebc50e-6db0-444e-b31d-36344913dc12
|
||||
- target: a2d02aea-07fd-4528-8158-f2f42a23a2dd
|
||||
type: SOLVES
|
||||
direction: outgoing
|
||||
strength: 0.95
|
||||
edge_id: b5623458-9ace-43ae-ae7e-101d465498ee
|
||||
---
|
||||
|
||||
# Claude Code PostToolUse Hook Correct Format
|
||||
|
||||
Loading…
Reference in New Issue
Block a user