Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

fix(interview): route Phase 3 preference targets to USER/ root

Open brycemagera opened this issue 6 months ago • 0 comments

Problem

InterviewScan.ts Phase 3 entries (BOOKS, AUTHORS, BANDS, MOVIES, RESTAURANTS, FOOD_PREFERENCES, LEARNING, MEETUPS, CIVIC) all point to TELOS_DIR (USER/TELOS/). The LifeOsSchema establishes that taste/preference files belong at USER/ root — the same location the Daemon reads and the Observability parsers consume.

Without this fix, /interview silently writes preference data into USER/TELOS/ instead of USER/, creating divergence between what the interview writes and what every downstream consumer reads.

Changes

Releases/v5.0.0/.claude/PAI/TOOLS/InterviewScan.ts

  • All 9 Phase 3 paths: TELOS_DIR → USER_DIR with correct PascalCase filenames
  • BANDS.md → Music.md (schema-correct name; name: updated to "MUSIC")
  • FOOD_PREFERENCES.md → Food.md (schema-correct name; name: updated to "FOOD")
  • Location-specific prompts generalized (removed Bay Area city references that don't apply to all users)

Phase 1 (TELOS domain files) and Phase 2 (IDEAL_STATE/) correctly use TELOS_DIR and are not touched.

Verification

After this fix, /interview Phase 3 targets the same files the Daemon broadcasts and parsePreferences() reads:

Name Before After
BOOKS USER/TELOS/BOOKS.md USER/Books.md
AUTHORS USER/TELOS/AUTHORS.md USER/Authors.md
BANDS USER/TELOS/BANDS.md USER/Music.md
MOVIES USER/TELOS/MOVIES.md USER/Movies.md
RESTAURANTS USER/TELOS/RESTAURANTS.md USER/Restaurants.md
FOOD USER/TELOS/FOOD_PREFERENCES.md USER/Food.md
LEARNING USER/TELOS/LEARNING.md USER/Learning.md
MEETUPS USER/TELOS/MEETUPS.md USER/Meetups.md
CIVIC USER/TELOS/CIVIC.md USER/Civic.md

brycemagera avatar May 12 '26 16:05 brycemagera