feat: Update intelligence patterns and trajectories for improved command handling

- Adjusted command-failed metrics in patterns.json for better accuracy.
- Added new trajectories for failed commands and successful edits in trajectories.json.
- Refined hooks configuration in settings.json to streamline command execution.
- Enhanced documentation in CLAUDE.md and ruvector/README.md for self-learning hooks integration.
- Updated ruvector version to 0.1.38 and added publish script for ruvector-cli.
This commit is contained in:
rUv 2025-12-30 15:29:15 +00:00
parent 394c3e4d4e
commit 3f65afda7e

View file

@ -49,13 +49,19 @@
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
"ruvector hooks pre-edit \"$TOOL_INPUT_file_path\""
{
"type": "command",
"command": "ruvector hooks pre-edit \"$TOOL_INPUT_file_path\""
}
]
},
{
"matcher": "Bash",
"hooks": [
"ruvector hooks pre-command \"$TOOL_INPUT_command\""
{
"type": "command",
"command": "ruvector hooks pre-command \"$TOOL_INPUT_command\""
}
]
}
],
@ -63,21 +69,41 @@
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
"ruvector hooks post-edit \"$TOOL_INPUT_file_path\""
{
"type": "command",
"command": "ruvector hooks post-edit \"$TOOL_INPUT_file_path\""
}
]
},
{
"matcher": "Bash",
"hooks": [
"ruvector hooks post-command \"$TOOL_INPUT_command\""
{
"type": "command",
"command": "ruvector hooks post-command \"$TOOL_INPUT_command\""
}
]
}
],
"SessionStart": [
"ruvector hooks session-start"
{
"hooks": [
{
"type": "command",
"command": "ruvector hooks session-start"
}
]
}
],
"Stop": [
"ruvector hooks session-end"
{
"hooks": [
{
"type": "command",
"command": "ruvector hooks session-end"
}
]
}
],
"PreCompact": [
{