Contacts.md template references non-existent AddContact workflow
Summary
The Kai installer generates a Contacts.md file that documents an "AddContact workflow" that doesn't actually exist in PAI. This creates false expectations for users.
Steps to Reproduce
- Install Kai bundle using the installer
- Open
$PAI_DIR/Skills/CORE/Contacts.md - Follow the instruction: "Use the AddContact workflow: 'Add [Name] as a contact'"
- Try voice command: "Add Art as a contact"
Expected Behavior
- Either a real AddContact skill/workflow handles the request
- OR the documentation accurately describes available contact management methods
Actual Behavior
- No skill triggers
- No workflow executes
- User gets no feedback
Current Documentation Says
## Adding Contacts
To add a new contact:
1. Use the AddContact workflow: "Add [Name] as a contact"
2. Or manually edit this file following the table format
Root Cause
The generateContactsMd() function in Bundles/Kai/install.ts (lines 654-655) documents an aspirational feature that was never implemented.
Impact
- Users expect voice-triggered contact management that doesn't exist
- Creates confusion about system capabilities
- Sets false expectations during onboarding
Solution Options
Option A (Documentation Fix - Recommended)
- Remove AddContact workflow reference from template
- Make it clear contacts are managed by editing the table directly
- Aligns template with actual design (manual editing only)
Option B (Feature Implementation)
- Create actual AddContact skill
- Implement workflow to parse "Add [Name] as a contact" and update Contacts.md
Additional Context
Contact management is documented in Kai README as a reference directory that's generated during installation. The template should match this design intent (manual table editing) rather than aspirational features that don't exist.
Environment
- PAI/Kai bundle installer
- Affects all fresh installations using the bundle
v2.0 Context Update
Thanks for the v2.0 migration context on #255! That gives important perspective on this issue.
Investigation Finding
I've checked the entire git history across all versions (v0.1 through v2.0.0):
- No commits reference "AddContact"
- No deleted files contain AddContact implementation
- The feature never existed in any version (not a v2.0 regression)
What This Means
The generateContactsMd() function in install.ts documents a non-existent feature as if it's available. This isn't a casualty of v1.x → v2.0 refactoring; it's aspirational documentation that was written but never implemented.
// Line 654-655 in install.ts
"1. Use the AddContact workflow: 'Add [Name] as a contact'"
Implications for v2.0
In the v2.0 modular packs architecture, this is even more relevant—the install script should accurately document only features that actually work.
Suggested Resolution
Either:
- Documentation fix (minimal) - Remove the AddContact reference from the template
- Future work - Create a proper kai-contacts-skill pack if contact management is desired
This is consistent with v2.0's shift toward modular, independently verifiable packs rather than aspirational documentation.
Summary of Fix (commit 28c378c)
Removed the aspirational "Workflow Routing" section from the SKILL.md template in kai-core-install.md:
Removed:
UpdateDocumentationworkflow referenceUpdateIdentityworkflow referenceAddContactworkflow referenceUpdateAssetsworkflow reference- Examples 2 and 3 that referenced these non-existent workflows
Kept:
- Example 1 (contact lookup) - this just reads Contacts.md, no workflow needed
The SKILL.md template now only documents functionality that actually exists.
Thanks for the detailed investigation!