-
Notifications
You must be signed in to change notification settings - Fork 669
Closed
Description
Issue
The load-dynamic-requirements.ts hook exists in the repository but is not configured in the default settings.json file, which means dynamic context loading is not functional out of the box.
Current State
- ✅ Hook file exists:
hooks/load-dynamic-requirements.ts - ✅ Command file exists:
commands/load-dynamic-requirements.md - ❌ Hook is not listed in
settings.jsonUserPromptSubmit hooks
Expected Behavior
The hook should be configured in settings.json under UserPromptSubmit hooks to enable dynamic context loading based on user prompts.
Fix
Add the hook to settings.json:
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${PAI_DIR}/hooks/update-tab-titles.ts"
},
{
"type": "command",
"command": "${PAI_DIR}/hooks/load-dynamic-requirements.ts"
}
]
}
]Impact
Without this configuration, the dynamic context loading system described in commands/load-dynamic-requirements.md never executes, meaning Claude won't automatically load context files or agents based on semantic understanding of user prompts.
Metadata
Metadata
Assignees
Labels
No labels