Skip to content

fix(config): surface codemieAssistants and codemieSkills through ConfigLoader#387

Open
8nevil8 wants to merge 3 commits into
mainfrom
fix/registered-assistants-empty-tab
Open

fix(config): surface codemieAssistants and codemieSkills through ConfigLoader#387
8nevil8 wants to merge 3 commits into
mainfrom
fix/registered-assistants-empty-tab

Conversation

@8nevil8

@8nevil8 8nevil8 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

ConfigLoader.loadGlobalConfigProfile() and loadLocalConfigProfile() spread only per-profile
data when returning a resolved profile, silently dropping codemieAssistants and codemieSkills
which live at the MultiProviderConfig root (not inside any profile). This caused the Registered
Assistants tab to always appear empty even after running codemie setup brianna or similar.

Changes

  • src/utils/config.ts: both loadGlobalConfigProfile and loadLocalConfigProfile now
    forward rawConfig.codemieAssistants and rawConfig.codemieSkills from the root into the
    returned profile object
  • src/env/types.ts: added missing codemieSkills?: CodemieSkill[] to ProviderProfile
    so the field is type-safe through the full CodeMieConfigOptions chain
  • src/utils/__tests__/config-project-override.test.ts: four new tests covering global
    assistants/skills forwarding and the "local without field does not overwrite global" invariant
  • src/cli/commands/analytics/cost/__tests__/cost-enricher.test.ts: pre-existing acceptance
    tests that required local transcript files now skip gracefully when those files are absent
    (replaced itLocal with a per-file itSession factory using existsSync)

Testing

  • 4 new unit tests covering the fix
  • All 2095 unit tests pass, 220 integration tests pass
  • Manual: codemie setup briannaRegistered Assistants tab now shows the assistant

Checklist

  • Code follows project standards
  • CI is green (npm run ci)
  • No merge conflicts with main

8nevil8 and others added 3 commits June 23, 2026 16:09
…ader.load()

Also skip cost-enricher acceptance tests when local transcripts are absent.
… fix

- Add comment explaining filterProjectFields excludes codemieAssistants/Skills
- Strengthen test 3 with model assertion to confirm local overlay was applied
- Add symmetric test for codemieSkills not being overwritten by local config
Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant