Skip to content

Critical: Workflow references broken due to case mismatch #229

@noxx

Description

@noxx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions