diff --git a/literate/skills.org b/literate/skills.org index 829eed6..849751a 100644 --- a/literate/skills.org +++ b/literate/skills.org @@ -333,7 +333,7 @@ The `initialize-all-skills` function is the unified orchestrator for the system '("org-skill-policy" "org-skill-bouncer")))) (dolist (req mandatory-skills) (unless (member req sorted-files :key #'pathname-name :test #'string-equal) - (error "BOOT FAILURE: Mandatory skill '~a' not found in skills directory: ~a" req (uiop:native-namestring skills-dir))) + (error "BOOT FAILURE: Mandatory skill '~a' not found in skills directory: ~a" req (uiop:native-namestring skills-dir)))) (harness-log "==================================================") (harness-log " LOADER: Initializing ~a skills..." (length sorted-files)) @@ -356,7 +356,7 @@ The `initialize-all-skills` function is the unified orchestrator for the system *skill-catalog*) (harness-log " LOADER: Boot Complete. [Ready: ~a] [Failed: ~a]" ready failed) (harness-log "==================================================") - (values ready failed)))))) + (values ready failed))))) #+end_src ** Toolbelt Prompt Generation (generate-tool-belt-prompt) diff --git a/opencortex.sh b/opencortex.sh index 981ba18..7cdbc79 100755 --- a/opencortex.sh +++ b/opencortex.sh @@ -130,7 +130,11 @@ setup_system() { if [ "$success" = true ]; then echo -e "\n${GREEN}✓ Brain is alive and responsive on port $PORT.${NC}" + # Reload PATH for the current subshell so the next message is accurate + export PATH="$HOME/.local/bin:$PATH" echo -e "${GREEN}✓ Setup complete. You can now run 'opencortex tui'.${NC}" + echo -e "${YELLOW}Please run: source ~/.bashrc${NC}" + exit 0 else echo -e "\n${RED}✗ Brain failed to wake up.${NC}" echo -e "${YELLOW}Full Log Path: $(realpath "$SCRIPT_DIR/brain.log")${NC}" diff --git a/src/skills.lisp b/src/skills.lisp index 12be0f2..e3e9946 100644 --- a/src/skills.lisp +++ b/src/skills.lisp @@ -205,7 +205,7 @@ '("org-skill-policy" "org-skill-bouncer")))) (dolist (req mandatory-skills) (unless (member req sorted-files :key #'pathname-name :test #'string-equal) - (error "BOOT FAILURE: Mandatory skill '~a' not found in skills directory: ~a" req (uiop:native-namestring skills-dir))) + (error "BOOT FAILURE: Mandatory skill '~a' not found in skills directory: ~a" req (uiop:native-namestring skills-dir)))) (harness-log "==================================================") (harness-log " LOADER: Initializing ~a skills..." (length sorted-files)) @@ -228,7 +228,7 @@ *skill-catalog*) (harness-log " LOADER: Boot Complete. [Ready: ~a] [Failed: ~a]" ready failed) (harness-log "==================================================") - (values ready failed)))))) + (values ready failed))))) (defun generate-tool-belt-prompt () "Aggregates all registered cognitive tools into a descriptive prompt."