⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
feat: Replace hardcoded Kai references with dynamic {{{assistantName}}} templates
Daniel Miessler3acc19cb6684
diff --git a/.claude/agents/Architect.md b/.claude/agents/Architect.mdindex 29e9a7dd..c55bc181 100644--- a/.claude/agents/Architect.md+++ b/.claude/agents/Architect.md@@ -33,7 +33,7 @@ OUTPUT UPON SUCCESS:"PAI Context Loading Complete ✅"-You are Atlas, an elite Principal Software Architect with deep expertise in system design, product requirements documentation, technical specification writing, and feature breakdown. You work as part of Kai's Digital Assistant system to create comprehensive, implementable Product Requirements Documents (PRDs) that can be distributed to multiple development agents working in coordination.+You are Atlas, an elite Principal Software Architect with deep expertise in system design, product requirements documentation, technical specification writing, and feature breakdown. You work as part of {{{assistantName}}}'s Digital Assistant system to create comprehensive, implementable Product Requirements Documents (PRDs) that can be distributed to multiple development agents working in coordination.## CRITICAL VOICE SYSTEM REQUIREMENTSdiff --git a/.claude/agents/ClaudeResearcher.md b/.claude/agents/ClaudeResearcher.mdindex d8bcf3e2..5802e6a8 100644--- a/.claude/agents/ClaudeResearcher.md+++ b/.claude/agents/ClaudeResearcher.md@@ -62,7 +62,7 @@ ALWAYS use this standardized output format with emojis and structured sections:# IDENTITY-You are an elite research specialist with deep expertise in information gathering, web search, fact-checking, and knowledge synthesis. Your name is Claude-Researcher, and you work as part of Kai's Digital Assistant system.+You are an elite research specialist with deep expertise in information gathering, web search, fact-checking, and knowledge synthesis. Your name is Claude-Researcher, and you work as part of {{{assistantName}}}'s Digital Assistant system.You are a meticulous, thorough researcher who believes in evidence-based answers and comprehensive information gathering. You excel at deep web research using Claude's native WebSearch tool, fact verification, and synthesizing complex information into clear insights.diff --git a/.claude/agents/Engineer.md b/.claude/agents/Engineer.mdindex 97405ec6..6fcc20d4 100644--- a/.claude/agents/Engineer.md+++ b/.claude/agents/Engineer.md@@ -35,7 +35,7 @@ OUTPUT UPON SUCCESS:"PAI Context Loading Complete ✅"-You are Atlas, an elite Principal Software Engineer with deep expertise in software development, system implementation, debugging, performance optimization, security, testing, and technical problem-solving. You work as part of Kai's Digital Assistant system to implement high-quality, production-ready technical solutions from PRDs and specifications created by the architect agent.+You are Atlas, an elite Principal Software Engineer with deep expertise in software development, system implementation, debugging, performance optimization, security, testing, and technical problem-solving. You work as part of {{{assistantName}}}'s Digital Assistant system to implement high-quality, production-ready technical solutions from PRDs and specifications created by the architect agent.## CRITICAL VOICE SYSTEM REQUIREMENTSdiff --git a/.claude/agents/GeminiResearcher.md b/.claude/agents/GeminiResearcher.mdindex 34c862c3..aeb38859 100644--- a/.claude/agents/GeminiResearcher.md+++ b/.claude/agents/GeminiResearcher.md@@ -62,7 +62,7 @@ ALWAYS use this standardized output format with emojis and structured sections:# IDENTITY-You are an elite research orchestrator specializing in multi-perspective inquiry using Google's Gemini AI model. Your name is Gemini-Researcher, and you work as part of Kai's Digital Assistant system.+You are an elite research orchestrator specializing in multi-perspective inquiry using Google's Gemini AI model. Your name is Gemini-Researcher, and you work as part of {{{assistantName}}}'s Digital Assistant system.You excel at breaking down complex research questions into multiple angles of investigation, then orchestrating parallel research efforts to gather comprehensive, multi-faceted insights.diff --git a/.claude/agents/Pentester.md b/.claude/agents/Pentester.mdindex 3e5b0e15..e3501ea6 100644--- a/.claude/agents/Pentester.md+++ b/.claude/agents/Pentester.md@@ -33,7 +33,7 @@ OUTPUT UPON SUCCESS:----You are Tybon (T-A-I-B-A-N), an elite offensive security specialist with deep expertise in penetration testing, vulnerability assessment, security auditing, and ethical hacking. You work as part of Kai's Digital Assistant system to test various services for security vulnerabilities.+You are Tybon (T-A-I-B-A-N), an elite offensive security specialist with deep expertise in penetration testing, vulnerability assessment, security auditing, and ethical hacking. You work as part of {{{assistantName}}}'s Digital Assistant system to test various services for security vulnerabilities.## CRITICAL VOICE SYSTEM REQUIREMENTSdiff --git a/.claude/agents/PerplexityResearcher.md b/.claude/agents/PerplexityResearcher.mdindex 4dc0d56a..69960e16 100644--- a/.claude/agents/PerplexityResearcher.md+++ b/.claude/agents/PerplexityResearcher.md@@ -62,7 +62,7 @@ ALWAYS use this standardized output format with emojis and structured sections:# IDENTITY-You are an elite research specialist with deep expertise in information gathering, web crawling, fact-checking, and knowledge synthesis. Your name is Perplexity-Researcher, and you work as part of Kai's Digital Assistant system.+You are an elite research specialist with deep expertise in information gathering, web crawling, fact-checking, and knowledge synthesis. Your name is Perplexity-Researcher, and you work as part of {{{assistantName}}}'s Digital Assistant system.You are a meticulous, thorough researcher who believes in evidence-based answers and comprehensive information gathering. You excel at deep web research, fact verification, and synthesizing complex information into clear insights.diff --git a/.claude/agents/Researcher.md b/.claude/agents/Researcher.mdindex 6eea792b..151dc4a5 100644--- a/.claude/agents/Researcher.md+++ b/.claude/agents/Researcher.md@@ -6,7 +6,7 @@ color: cyanvoiceId: Ava (Premium)----You are an elite research specialist with deep expertise in information gathering, web crawling, fact-checking, and knowledge synthesis. Your name is Researcher, and you work as part of Kai's Digital Assistant system.+You are an elite research specialist with deep expertise in information gathering, web crawling, fact-checking, and knowledge synthesis. Your name is Researcher, and you work as part of {{{assistantName}}}'s Digital Assistant system.You are a meticulous, thorough researcher who believes in evidence-based answers and comprehensive information gathering. You excel at deep web research, fact verification, and synthesizing complex information into clear insights.diff --git a/.claude/hooks/stop-hook.ts b/.claude/hooks/stop-hook.tsindex bc71dfb7..cea711ee 100755--- a/.claude/hooks/stop-hook.ts+++ b/.claude/hooks/stop-hook.ts@@ -172,7 +172,7 @@ try {VOICE_CONFIG = {default_rate: 175,voices: {- kai: { voice_name: "Jamie (Premium)", rate_wpm: 263, rate_multiplier: 1.5, description: "UK Male", type: "Premium" },+ main: { voice_name: "Jamie (Premium)", rate_wpm: 263, rate_multiplier: 1.5, description: "UK Male", type: "Premium" },researcher: { voice_name: "Ava (Premium)", rate_wpm: 236, rate_multiplier: 1.35, description: "US Female", type: "Premium" },engineer: { voice_name: "Tom (Enhanced)", rate_wpm: 236, rate_multiplier: 1.35, description: "US Male", type: "Enhanced" },architect: { voice_name: "Serena (Premium)", rate_wpm: 236, rate_multiplier: 1.35, description: "UK Female", type: "Premium" },@@ -380,7 +380,7 @@ async function main() {// Generate the announcementlet message = '';- let voiceConfig = VOICE_CONFIG.voices.kai; // Default to Kai's voice config+ let voiceConfig = VOICE_CONFIG.voices.main; // Default to main voice configlet kaiHasCustomCompleted = false;// ALWAYS check Kai's response FIRST (even when agents are used)@@ -405,14 +405,14 @@ async function main() {if (customText && wordCount <= 8) {message = customText;kaiHasCustomCompleted = true;- console.error(`🗣️ KAI CUSTOM VOICE: ${message}`);+ console.error(`🗣️ MAIN CUSTOM VOICE: ${message}`);} else {// Custom completed too long, fall back to regular COMPLETEDconst completedMatch = content.match(/🎯\s*COMPLETED:\s*(.+?)(?:\n|$)/im);if (completedMatch) {let completedText = completedMatch[1].trim();message = generateIntelligentResponse(lastUserQuery, content, completedText);- console.error(`🎯 KAI FALLBACK (custom too long): ${message}`);+ console.error(`🎯 MAIN FALLBACK (custom too long): ${message}`);}}} else if (!isAgentTask) {@@ -426,7 +426,7 @@ async function main() {// Generate intelligent responsemessage = generateIntelligentResponse(lastUserQuery, content, completedText);- console.error(`🎯 KAI INTELLIGENT: ${message}`);+ console.error(`🎯 MAIN INTELLIGENT: ${message}`);} else {// No COMPLETED line found - don't send anythingconsole.error('⚠️ No COMPLETED line found');@@ -434,7 +434,7 @@ async function main() {}}} catch (e) {- console.error('⚠️ Error parsing Kai response:', e);+ console.error('⚠️ Error parsing assistant response:', e);}// If Kai didn't provide a CUSTOM COMPLETED and an agent was used, check agent's response@@ -454,7 +454,7 @@ async function main() {const wordCount = customText.split(/\s+/).length;if (customText && wordCount <= 8) {message = customText;- voiceConfig = VOICE_CONFIG.voices[agentType.toLowerCase()] || VOICE_CONFIG.voices.kai;+ voiceConfig = VOICE_CONFIG.voices[agentType.toLowerCase()] || VOICE_CONFIG.voices.main;console.error(`🗣️ AGENT CUSTOM VOICE (fallback): ${message}`);} else {// Custom completed too long, fall back to regular COMPLETED@@ -465,7 +465,7 @@ async function main() {.replace(/\[AGENT:\w+\]\s*/i, '').trim();message = generateIntelligentResponse(lastUserQuery, taskResult, completedText);- voiceConfig = VOICE_CONFIG.voices[agentType.toLowerCase()] || VOICE_CONFIG.voices.kai;+ voiceConfig = VOICE_CONFIG.voices[agentType.toLowerCase()] || VOICE_CONFIG.voices.main;console.error(`🎯 AGENT FALLBACK (custom too long): ${message}`);}}@@ -485,7 +485,7 @@ async function main() {// Generate intelligent response for agent tasksmessage = generateIntelligentResponse(lastUserQuery, taskResult, completedText);- voiceConfig = VOICE_CONFIG.voices[agentType.toLowerCase()] || VOICE_CONFIG.voices.kai;+ voiceConfig = VOICE_CONFIG.voices[agentType.toLowerCase()] || VOICE_CONFIG.voices.main;console.error(`🎯 AGENT INTELLIGENT (fallback): ${message}`);}diff --git a/.claude/hooks/subagent-stop-hook.ts b/.claude/hooks/subagent-stop-hook.tsindex 852a10c3..26e959ee 100755--- a/.claude/hooks/subagent-stop-hook.ts+++ b/.claude/hooks/subagent-stop-hook.ts@@ -3,6 +3,7 @@import { readFileSync, existsSync } from 'fs';// Voice mappings for different agent types+// Note: These are placeholder ElevenLabs voice IDs - configure your own in voices.jsonconst AGENT_VOICE_IDS: Record<string, string> = {researcher: 'AXdMgz6evoL7OPd7eU12',pentester: 'hmMWXCj9K7N5mCPcRkfC',@@ -10,7 +11,7 @@ const AGENT_VOICE_IDS: Record<string, string> = {designer: 'ZF6FPAbjXT4488VcRRnw',architect: 'muZKMsIDGYtIkjjiUS82',writer: 'gfRt6Z3Z8aTbpLfexQ7N',- kai: 'jqcCZkN6Knx8BJ5TBdYR',+ main: 'jqcCZkN6Knx8BJ5TBdYR',default: 'jqcCZkN6Knx8BJ5TBdYR'};diff --git a/.claude/skills/Art/workflows/AnnotatedScreenshots.md b/.claude/skills/Art/workflows/AnnotatedScreenshots.mdindex e0f4b375..f51cf9d1 100644--- a/.claude/skills/Art/workflows/AnnotatedScreenshots.md+++ b/.claude/skills/Art/workflows/AnnotatedScreenshots.md@@ -213,7 +213,7 @@ CRITICAL REQUIREMENTS:- Strategic color (not every annotation needs color)- No gradients on annotations-Optional: Sign "Kai" small in bottom corner in charcoal (#2D2D2D).+Optional: Sign "{{{assistantName}}}" small in bottom corner in charcoal (#2D2D2D).```### Alternative: Composite Workflowdiff --git a/.claude/skills/Art/workflows/Aphorisms.md b/.claude/skills/Art/workflows/Aphorisms.mdindex c11f154b..a2d68618 100644--- a/.claude/skills/Art/workflows/Aphorisms.md+++ b/.claude/skills/Art/workflows/Aphorisms.md@@ -147,7 +147,7 @@ COLOR SCHEME:- Text: [Black / Purple / White]- Background: [Cream / White / Black / Purple]- Accent: [Purple / Teal]-- Kai signature: Charcoal+- {{{assistantName}}} signature: Charcoal```---@@ -200,7 +200,7 @@ COLOR USAGE:- Background: [Color choice] — flat solid fill- Typography: [Color choice] — high contrast with background- Accent element: [Purple or Teal]-- Kai signature: Charcoal (#2D2D2D) small in corner+- {{{assistantName}}} signature: Charcoal (#2D2D2D) small in cornerCRITICAL REQUIREMENTS:- Typography is HERO (quote fills 80-90% of frame)@@ -212,7 +212,7 @@ CRITICAL REQUIREMENTS:- No gradients, flat colors only- Shareable social media quality-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Comics.md b/.claude/skills/Art/workflows/Comics.mdindex f2a28eab..08adecf9 100644--- a/.claude/skills/Art/workflows/Comics.md+++ b/.claude/skills/Art/workflows/Comics.md@@ -270,7 +270,7 @@ CRITICAL REQUIREMENTS:- Maintains UL aesthetic (black linework, flat color, imperfect)- Smart insight or humor (sophisticated, not silly)-Sign "Kai" small in bottom right corner of final panel in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner of final panel in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Comparisons.md b/.claude/skills/Art/workflows/Comparisons.mdindex 3959944d..425d7e98 100644--- a/.claude/skills/Art/workflows/Comparisons.md+++ b/.claude/skills/Art/workflows/Comparisons.md@@ -240,7 +240,7 @@ CRITICAL REQUIREMENTS:- Immediate visual understanding of the difference- Equal visual weight to both sides (balanced composition)-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Frameworks.md b/.claude/skills/Art/workflows/Frameworks.mdindex ec7a29f1..8db7000b 100644--- a/.claude/skills/Art/workflows/Frameworks.md+++ b/.claude/skills/Art/workflows/Frameworks.md@@ -241,7 +241,7 @@ CRITICAL REQUIREMENTS:- Editorial illustration aesthetic maintained- Conceptually clear and memorable-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Maps.md b/.claude/skills/Art/workflows/Maps.mdindex bdd879cf..93ad273c 100644--- a/.claude/skills/Art/workflows/Maps.md+++ b/.claude/skills/Art/workflows/Maps.md@@ -283,7 +283,7 @@ CRITICAL REQUIREMENTS:- Navigable and understandable as conceptual geography- Editorial illustration aesthetic maintained-Sign "Kai" small in bottom corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Mermaid.md b/.claude/skills/Art/workflows/Mermaid.mdindex 03bf2062..d8d65f2b 100644--- a/.claude/skills/Art/workflows/Mermaid.md+++ b/.claude/skills/Art/workflows/Mermaid.md@@ -576,7 +576,7 @@ VALIDATION CHECKPOINTS:- Are labels readable despite hand-lettered style?- Does it maintain UL aesthetic (flat colors, no gradients)?-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---@@ -652,7 +652,7 @@ open /path/to/mermaid-diagram.png- [ ] **Black dominant:** Most structure in black- [ ] **Typography hierarchy:** 3 tiers clear- [ ] **No gradients:** Flat colors maintained-- [ ] **Kai signature:** Present in corner+- [ ] **{{{assistantName}}} signature:** Present in corner#### Readability & Clarity- [ ] **Labels readable:** All text legible despite hand-drawn stylediff --git a/.claude/skills/Art/workflows/RecipeCards.md b/.claude/skills/Art/workflows/RecipeCards.mdindex 88dd64e2..4080fe1f 100644--- a/.claude/skills/Art/workflows/RecipeCards.md+++ b/.claude/skills/Art/workflows/RecipeCards.md@@ -256,7 +256,7 @@ CRITICAL REQUIREMENTS:- Professional deliverable quality (client-ready)- Recipe card proportions (vertical card layout)-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Stats.md b/.claude/skills/Art/workflows/Stats.mdindex 7580dc41..8d1c3fcd 100644--- a/.claude/skills/Art/workflows/Stats.md+++ b/.claude/skills/Art/workflows/Stats.md@@ -234,7 +234,7 @@ CRITICAL REQUIREMENTS:- Immediately scannable (number jumps out at thumbnail)- Square 1:1 or horizontal 16:9 format-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Taxonomies.md b/.claude/skills/Art/workflows/Taxonomies.mdindex 1ab98e7a..b051c109 100644--- a/.claude/skills/Art/workflows/Taxonomies.md+++ b/.claude/skills/Art/workflows/Taxonomies.md@@ -220,7 +220,7 @@ CRITICAL REQUIREMENTS:- Scannable and reference-friendly layout- Strategic color coding for categories-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/TechnicalDiagrams.md b/.claude/skills/Art/workflows/TechnicalDiagrams.mdindex e5060eae..8de8157b 100644--- a/.claude/skills/Art/workflows/TechnicalDiagrams.md+++ b/.claude/skills/Art/workflows/TechnicalDiagrams.md@@ -122,7 +122,7 @@ Technical diagrams explain systems, architectures, processes, and flows. Unlike│ │ Database │ │ ← TIER 2: Component label│ └──────────────┘ ││ │-│ "Kai" signature │+│ "{{{assistantName}}}" signature │└─────────────────────────────────────────────────┘```@@ -341,7 +341,7 @@ CRITICAL REQUIREMENTS:- Blueprint/engineering notebook aesthetic- Strategic color use (not everything colored, mostly black with purple/teal highlights)-[Optional: Add "Kai" signature in bottom right corner in charcoal]+[Optional: Add "{{{assistantName}}}" signature in bottom right corner in charcoal]```---diff --git a/.claude/skills/Art/workflows/Timelines.md b/.claude/skills/Art/workflows/Timelines.mdindex c8c8ee76..586cf3d2 100644--- a/.claude/skills/Art/workflows/Timelines.md+++ b/.claude/skills/Art/workflows/Timelines.md@@ -229,7 +229,7 @@ CRITICAL REQUIREMENTS:- Maintains editorial illustration aesthetic- Easy to scan and follow progression-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Visualize.md b/.claude/skills/Art/workflows/Visualize.mdindex 81e83782..b1693d27 100644--- a/.claude/skills/Art/workflows/Visualize.md+++ b/.claude/skills/Art/workflows/Visualize.md@@ -392,7 +392,7 @@ VALIDATION CHECKPOINTS:- Are data elements accurate and precise?- Do editorial elements enhance (not distract from) information?-Sign "Kai" small in bottom right corner in charcoal (#2D2D2D).+Sign "{{{assistantName}}}" small in bottom right corner in charcoal (#2D2D2D).```---diff --git a/.claude/skills/Art/workflows/Workflow.md b/.claude/skills/Art/workflows/Workflow.mdindex 22db17f7..c971e9fd 100644--- a/.claude/skills/Art/workflows/Workflow.md+++ b/.claude/skills/Art/workflows/Workflow.md@@ -122,7 +122,7 @@ The concept should be describable in ONE sentence with 2-3 PHYSICAL elements tha3. **Style:** Saul Steinberg / New Yorker / risograph aesthetic4. **Composition:** Objects fill 40-60% of frame, 30-40% negative space5. **Elements:** 2-3 abstract elements maximum-6. **Kai Signature:** Small charcoal (#2D2D2D) bottom right+6. **{{{assistantName}}} Signature:** Small charcoal (#2D2D2D) bottom right### Color System@@ -215,7 +215,7 @@ CRITICAL REQUIREMENTS:- Lines must look hand-drawn, NOT perfect vectors- Color is ACCENT only, black linework dominates-Sign "Kai" as a tiny artist signature in charcoal (#2D2D2D) bottom right corner.+Sign "{{{assistantName}}}" as a tiny artist signature in charcoal (#2D2D2D) bottom right corner.NO other text anywhere.```@@ -367,7 +367,7 @@ Before submitting any image:- ✅ Elements extend to or bleed off all edges (100% frame fill)- ✅ 2-3 elements maximum- ✅ No gradients, shadows, or shine-- ✅ Kai signature bottom right+- ✅ {{{assistantName}}} signature bottom right- ✅ **COLOR VISIBLE** - Purple and/or Teal must be noticeable (not microscopic)---diff --git a/.claude/tools/setup/configurators/index.ts b/.claude/tools/setup/configurators/index.tsindex b21e308c..247a51e2 100644--- a/.claude/tools/setup/configurators/index.ts+++ b/.claude/tools/setup/configurators/index.ts@@ -2,7 +2,7 @@* Configurators - apply configuration changes*/-import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';+import { existsSync, mkdirSync, readFileSync, writeFileSync, readdirSync } from 'fs';import { join, dirname } from 'path';import { homedir } from 'os';import Mustache from 'mustache';@@ -179,3 +179,38 @@ export async function updateShellProfile(config: SetupConfig, transaction: Transreturn profilePath;}++/**+ * Process template files (agents, skills, etc.) that contain {{{assistantName}}} placeholders+ */+export async function processTemplateFiles(config: SetupConfig, transaction: Transaction): Promise<void> {+ const data = {+ assistantName: config.assistantName,+ };++ // Directories to process for templates+ const templateDirs = [+ join(config.paiDir, 'agents'),+ join(config.paiDir, 'skills', 'Art', 'workflows'),+ ];++ for (const dir of templateDirs) {+ if (!existsSync(dir)) continue;++ const files = readdirSync(dir);+ for (const file of files) {+ if (!file.endsWith('.md')) continue;++ const filePath = join(dir, file);+ await transaction.backup(filePath);++ let content = readFileSync(filePath, 'utf-8');++ // Only process if it contains Mustache templates+ if (content.includes('{{{') || content.includes('{{')) {+ content = Mustache.render(content, data);+ await writeAtomic(filePath, content);+ }+ }+ }+}diff --git a/.claude/tools/setup/interactive.ts b/.claude/tools/setup/interactive.tsindex 96484ff3..b6970179 100644--- a/.claude/tools/setup/interactive.ts+++ b/.claude/tools/setup/interactive.ts@@ -69,8 +69,8 @@ export async function runInteractiveSetup(): Promise<SetupConfig | null> {assistantName: () =>p.text({message: 'What would you like to name your AI assistant?',- placeholder: 'Kai',- initialValue: 'Kai',+ placeholder: 'e.g., Nova, Atlas, Sage',+ initialValue: '',validate: validateAssistantName,}),diff --git a/.claude/tools/setup/setup.ts b/.claude/tools/setup/setup.tsindex e49c2abf..bd96d8db 100644--- a/.claude/tools/setup/setup.ts+++ b/.claude/tools/setup/setup.ts@@ -14,6 +14,7 @@ import {writeProfile,writePlist,updateShellProfile,+ processTemplateFiles,type SetupConfig,} from './configurators';import { expandPath, validatePath, validateEmail, validateName, validateAssistantName } from './validators';@@ -58,7 +59,7 @@ Options:--pai-dir <path> PAI installation directory (default: ~/.claude)--name <name> Your name--email <email> Your email- --assistant-name <name> AI assistant name (default: Kai)+ --assistant-name <name> AI assistant name (default: Assistant)--assistant-color <color> Color theme: blue, purple, green, cyan, red (default: purple)--voice-port <port> Voice server port (default: 8888)--skip-voice Don't configure voice server@@ -108,7 +109,7 @@ function buildConfigFromArgs(args: ReturnType<typeof parseCliArgs>): SetupConfigreturn null;}- const assistantName = args['assistant-name'] || 'Kai';+ const assistantName = args['assistant-name'] || 'Assistant';const assistantNameError = validateAssistantName(assistantName);if (assistantNameError) {logger.error(`Invalid assistant name: ${assistantNameError}`);@@ -174,6 +175,13 @@ async function applyConfiguration(config: SetupConfig, dryRun: boolean): Promisep.log.info('Shell profile: skipped');}+ // Step 5: Process template files (agents, etc.)+ p.log.step('Personalizing agent configurations...');+ if (!dryRun) {+ await processTemplateFiles(config, transaction);+ }+ p.log.success(`Agent files personalized with name: ${config.assistantName}`);+// Commit transactionif (!dryRun) {transaction.commit();diff --git a/.claude/voice-server/voices.json b/.claude/voice-server/voices.jsonindex 9b50e6da..1fcb931c 100644--- a/.claude/voice-server/voices.json+++ b/.claude/voice-server/voices.json@@ -2,7 +2,7 @@"$schema": "./voices-schema.json","default_rate": 175,"voices": {- "kai": {+ "main": {"voice_name": "Jamie (Premium)","rate_multiplier": 1.3,"rate_wpm": 228,diff --git a/GITHUB_ISSUES_REPORT.md b/GITHUB_ISSUES_REPORT.mdnew file mode 100644index 00000000..5fed9989--- /dev/null+++ b/GITHUB_ISSUES_REPORT.md@@ -0,0 +1,167 @@+# GitHub Issues Analysis & Recommended Responses++## CRITICAL FIXES STILL NEEDED (Before responding to issues):++### 1. Fix load-core-context.ts hook (Issue #108)+**File:** `.claude/hooks/load-core-context.ts` line 47+**Problem:** References `skills/PAI/SKILL.md` (old name)+**Fix:** Change to `skills/CORE/SKILL.md`+**Impact:** Blocks PAI from loading for all new users++### 2. Remove system-mcp references from CORE/SKILL.md (Issue #109)+**File:** `.claude/skills/CORE/SKILL.md`+**Problem:** Routes to system-mcp skill that doesn't exist in public repo+**Fix:** Remove entire "Web Scraping & MCP Systems" section+**Impact:** Users get confusing errors when trying web scraping++### 3. Check all hooks for PAI vs CORE references+**Files:** All `.claude/hooks/*.ts`+**Problem:** May have other references to old PAI skill name+**Fix:** Global search/replace PAI → CORE in hooks+**Impact:** Various hook failures++---++## ISSUES WE CAN CLOSE IMMEDIATELY (Already fixed by recent commits):++### ✅ Issue #74: "Documentation error?"+**Status:** FIXED by commit aade312 (docs: fix all broken documentation links)+**What we fixed:**+- All README.md links now use relative paths (.claude/ vs /)+- All references to missing files removed+- All 11 documentation links verified working++**Recommended response:**+```+Thanks for reporting! This has been fixed in commit aade312.++All documentation links in README.md and QUICKSTART.md are now working:+- Fixed absolute paths (/) → relative paths (.claude/)+- Updated voice-server/USAGE.md → voice-server/README.md+- Removed references to files not in public repo++Please pull the latest changes and the documentation should work perfectly.+```++---++## ISSUES THAT WILL BE FIXED (After completing critical fixes above):++### ⏳ Issue #108: "SessionStart hook load-core-context.ts fails"+**Status:** Will be fixed once we update hook to reference CORE/SKILL.md+**Root cause:** Hook references old PAI skill name+**Fix in progress:** Update load-core-context.ts line 47++**Recommended response (AFTER FIX):**+```+Thanks for the detailed bug report! This has been fixed in commit [COMMIT_HASH].++The issue was that load-core-context.ts was referencing the old skill name (PAI/SKILL.md)+instead of the new name (CORE/SKILL.md).++Changes made:+- Updated hook to reference skills/CORE/SKILL.md+- Verified SessionStart hooks work correctly+- Added fallback logic for better error messages++Please pull the latest and try again. Let us know if you hit any other issues!+```++### ⏳ Issue #109: "system-mcp skill not included"+**Status:** Will be fixed once we remove references from CORE/SKILL.md+**Root cause:** Private skill referenced in public docs+**Fix in progress:** Remove system-mcp section from CORE/SKILL.md++**Recommended response (AFTER FIX):**+```+Great catch! The system-mcp skill is part of the private Kai infrastructure and shouldn't+have been referenced in the public PAI template.++Fixed in commit [COMMIT_HASH]:+- Removed system-mcp routing from CORE/SKILL.md+- Cleaned up web scraping references+- PAI template now only includes skills that are actually present++For web scraping, you can:+1. Use the research skill for basic content extraction+2. Create your own scraping skill following the skill creation guide+3. Wait for us to create a public web scraping skill template++Thanks for reporting!+```++---++## ISSUES REQUIRING INVESTIGATION (Not fixed by our changes):++### 🔍 Issue #110: "settings.json needs local edits (PAI_DIR)"+**Problem:** PAI_DIR environment variable not expanded+**Status:** Needs investigation - may be Claude Code bug vs our issue+**Recommend:** Ask user for more details, check if this is expected behavior++### 🔍 Issue #107: "PAI_DIR default not expanded"+**Problem:** Duplicate of #110+**Recommend:** Close as duplicate++### 🔍 Issue #106: "Missing folders since Cloudflare outage"+**Problem:** commands/ and documents/ folders missing+**Root cause:** These were deliberately removed in our documentation cleanup+**Status:** Need to decide if we want them back or update docs+**Impact:** Medium - affects users who had v0.6.0++**Recommended response:**+```+The commands/ and documents/ folders were removed in recent cleanup as part of+simplifying PAI to "start clean, start small."++If you need these:+- commands/ → Use slash commands in .claude/commands/ (see QUICKSTART)+- documents/ → Create .claude/documents/ if needed for your workflow++The focus is now on CORE skill + individual skills in skills/ directory.+Let us know if there's functionality you're missing!+```++### 🔍 Issue #105: "Voice server not providing audio"+**Status:** Needs investigation - voice server specific+**Recommend:** Ask for voice-server logs and configuration++### 🔍 Issue #104: "FABRIC cannot be updated"+**Status:** Needs investigation - fabric skill specific+**Recommend:** Check fabric skill documentation and update process++---++## ISSUES THAT CAN BE CLOSED (Won't fix / Out of scope):++### ❌ Issue #106: "Missing folders"+**Reason:** Intentional cleanup, documented in commit history+**Response:** Explain cleanup philosophy, point to current structure++### ❌ Issue #87: "Command folder"+**Status:** Check if duplicate of #106+**Recommend:** Close as duplicate or won't fix (intentional removal)++---++## SUMMARY OF ACTIONS:++**IMMEDIATE (Do before responding to issues):**+1. Fix load-core-context.ts (PAI → CORE)+2. Remove system-mcp references from CORE/SKILL.md+3. Audit all hooks for PAI vs CORE references+4. Test hooks actually work+5. Commit fixes++**THEN RESPOND TO:**+1. Close #74 (documentation - already fixed)+2. Close #108 with fix commit (after applying fix)+3. Close #109 with fix commit (after applying fix)+4. Investigate #110, #107 (PAI_DIR expansion)+5. Respond to #106 (explain cleanup)+6. Investigate #105, #104 (voice, fabric)++**ESTIMATED IMPACT:**+- Will close ~5 issues immediately+- Will improve setup experience for new users significantly+- Addresses main complaint: "project is a mess, links broken"diff --git a/docs/QUICKSTART.md b/docs/QUICKSTART.mdindex 9a3c48d0..7d6f5d2c 100644--- a/docs/QUICKSTART.md+++ b/docs/QUICKSTART.md@@ -146,7 +146,7 @@ The interactive wizard configures:| **PAI Directory** | Where to install | `~/.claude` || **Your Name** | Auto-detected from git config | — || **Your Email** | Auto-detected from git config | — |-| **Assistant Name** | Name your AI | `Kai` |+| **Assistant Name** | Name your AI | `Assistant` || **Color Theme** | blue, purple, green, cyan, red | `blue` || **Voice Server** | Text-to-speech (macOS only) | Enabled || **Shell Profile** | Add environment variables | Yes |@@ -162,7 +162,7 @@ bun run setup.ts \--pai-dir ~/.claude \--name "Your Name" \--email [email protected] \- --assistant-name "Kai" \+ --assistant-name "Nova" \--force```@@ -173,7 +173,7 @@ bun run setup.ts `--pai-dir "$env:USERPROFILE\.claude" `--name "Your Name" `--email [email protected] `- --assistant-name "Kai" `+ --assistant-name "Nova" `--force```