Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

Critical: Workflow references broken due to case mismatch

Open noxx opened this issue 3 weeks ago • 3 comments

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)

  1. 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
  1. 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
  1. 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.

noxx avatar Dec 21 '25 04:12 noxx