Packs installation order in PAI Bundle dependency issue
Summary: There is a dependency issue between the hook and core system. Those scripts should be fixed depending on the desired official/recommended order. I'm going to try what the root INSTALL.md is recommending.
in INSTALL.md
**Installation order matters.** Install in this sequence:
1. pai-hook-system (foundation)
2. pai-core-install (identity and routing)
3. pai-history-system (memory)
4. pai-voice-system (optional)
5. pai-browser-skill (optional)
When claude tries to install pai-hook-system, Packs/pai-hook-system/INSTALL.md
# Check if pai-core-install is installed (REQUIRED)
if [ -f "$PAI_CHECK/skills/CORE/SKILL.md" ]; then
echo "✓ pai-core-install is installed"
else
echo "❌ pai-core-install NOT installed - REQUIRED!"
fi
The order conflicts.
Then in the pai-core-install
# Check for hook system (required dependency)
if [ -f "$PAI_CHECK/hooks/lib/observability.ts" ]; then
echo "✓ Hook system is installed (required)"
else
echo "❌ Hook system NOT installed - install pai-hook-system first!"
fi
Furthermore, in the Packs/README.md pai-history-system (current MIA in the repo as others have mentioned) comes before core:
## Installation Order
Packs have dependencies. Install in this order:
1. pai-hook-system ← Foundation (no dependencies)
2. pai-history-system ← Depends on hooks
3. pai-core-install ← Depends on hooks, history
4. pai-prompting-skill ← Depends on core-install
Thanks for reporting! The pack-based installation system was replaced in v3.0 (now released) with an integrated installer that handles all dependencies. Please upgrade to v3.0.