-
Notifications
You must be signed in to change notification settings - Fork 386
Open
Description
I had Kai do a deep infrastructure audit of PAI and it found several critical issues that break functionality. I've already applied fixes locally but wanted to report them for the public repo:
Issues Found (by Kai autonomously)
- Workflow File References Use Wrong Case
- Skills/Research/SKILL.md and Skills/Art/SKILL.md reference workflows with kebab-case (workflows/claude-research.md)
- Actual files use TitleCase (workflows/ClaudeResearch.md)
- Impact: Workflow routing completely broken for Research and Art skills
- Case Mismatch in Hook Paths
- load-dynamic-requirements.ts references ${PAI_DIR}/commands/ (lowercase)
- update-documentation.ts checks for skills/, hooks/, commands/, agents/ (lowercase)
- Actual directories are TitleCase: Skills/, Hooks/, Commands/, Agents/
- Impact: File lookups fail silently
- Skills Missing Mandatory USE WHEN
- AlexHormoziPitch, Ffuf, and Prompting skills lack USE WHEN in description
- Impact: Claude Code won't auto-activate these skills
Recommended Fixes
All involve updating references to match actual TitleCase file/directory names
Found these issues through automated parallel exploration - Kai launched 5 agents to audit different areas simultaneously and cross-referenced findings.
Metadata
Metadata
Assignees
Labels
No labels