Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

Fresh setup and nothing works

Open jvalentini opened this issue 1 month ago • 10 comments

Followed the guide to install on linux, configured api keys and restarted shell. I open claude and get hit with:

 ⎿  SessionStart:startup hook error
  ⎿  SessionStart:startup hook error
  ⎿  SessionStart:startup hook error

Nothing seems customized and there are no skills because claude expects a lowercase skills dir and you have a Skills dir.

When I close Claude I get hit with another error:

SessionEnd hook [${PAI_DIR}/Hooks/capture-all-events.ts --event-type SessionEnd] failed: /bin/sh: 1: __HOME__/.claude/Hooks/capture-all-events.ts: not found

SessionEnd hook [${PAI_DIR}/Hooks/capture-session-summary.ts] failed: /bin/sh: 1: __HOME__/.claude/Hooks/capture-session-summary.ts: not found

I just watched your YouTube video with Clint and was excited to try this out. What am I doing wrong?

jvalentini avatar Dec 20 '25 17:12 jvalentini

looks like a path issue. have you configured $PAI_DIR to point to your $HOME/.claude folder ?

smolcompute avatar Dec 20 '25 17:12 smolcompute

Yes, the was correctly added to my .bashrc

jvalentini avatar Dec 20 '25 18:12 jvalentini

It appears the issue is that the setup script will add the configuration to .claude/config/profile.json but not to .claude/settings.json

jvalentini avatar Dec 20 '25 18:12 jvalentini

I also manually symlinked .claude/skills to .claude/Skills to fix that issue

jvalentini avatar Dec 20 '25 18:12 jvalentini

It's this: __HOME__ . Probably in settings.json. Change to PAI_DIR

evenromo avatar Dec 20 '25 19:12 evenromo

Yes, that's what I alluded to above, but I don't understand why there is a claude/config/profile.json and also a claude/settings.json.

jvalentini avatar Dec 20 '25 19:12 jvalentini

I experienced this same issue today on fresh install. I also discovered there seem to be two separate 'setup' scripts which seemingly do the same thing, but seems confusing and a bad practice.

djacobsmeyer avatar Dec 26 '25 19:12 djacobsmeyer

Same issue here, were you finally able to fully fun PAI ? im on Windows btw, The hook works manually but fails at SessionStart. Root cause: settings.json uses Unix-style paths which don't work on Windows

Stou-dev avatar Dec 28 '25 23:12 Stou-dev

I just used symlinks to the folders the pat is referencing but this is something that should be addressed in the future so its platform agnostic

njhughes-01 avatar Dec 29 '25 00:12 njhughes-01

I recommend oh-my-opencode instead of this repo: https://github.com/code-yeongyu/oh-my-opencode

jvalentini avatar Dec 29 '25 00:12 jvalentini

PAI 2.0 Migration Notice

Thank you for reporting this! We've recently released PAI v2.0, which takes a fundamentally different approach from v1.x.

What changed: PAI v1.x tried to mirror the entire Kai system as an installable template. That approach created too many interconnected dependencies—change one piece, and others broke. v2.0 shifts to modular packs: self-contained, independently installable capabilities that work without understanding the whole system.

This issue: Because the architecture is now fundamentally different, we're closing all open v1.x PRs and issues. This isn't us dismissing your report—we appreciate it! The system has changed so significantly that we need to revisit concerns within the new context.

Next steps:

  1. Read the updated README (especially "The Journey: PAI v1.x → v2.0")
  2. Check out the new PAI Packs system
  3. If this issue still exists in 2.0, please open a new issue with context for the new architecture

We're absolutely happy to address these concerns—just within the 2.0 framework. Thanks for your patience! 🙏

danielmiessler avatar Dec 29 '25 16:12 danielmiessler