Files
fusion/.changeset/global-project-settings.md
gsxdsm dac4705761 feat(KB-185): add global/project settings hierarchy with scope-aware UI
- Add GlobalSettingsStore with file-based storage in ~/.pi/kb/settings.json
- Implement two-tier hierarchy: global (user prefs) and project (.kb/config.json)
- Update TaskStore to merge settings with project overriding global
- Add API endpoints: GET/PUT /api/settings/global and GET /api/settings/scopes
- Add scope indicators (🌐 global, 📁 project) to settings modal sidebar
- Implement scope-aware save: only save active scope, reject global-only fields
- Add frontend API functions for global settings operations
- Add tests for GlobalSettingsStore, settings routes, and SettingsModal scopes
- Create changeset for the new settings hierarchy feature
- Update AGENTS.md with settings hierarchy documentation
2026-03-31 03:12:33 -07:00

326 B

@dustinbyrne/kb
@dustinbyrne/kb
minor

Add two-tier settings hierarchy: global user settings (~/.pi/kb/settings.json) and project-specific settings (.kb/config.json). Global settings (theme, default AI model, notifications) persist across all kb projects. Dashboard UI shows scope indicators and routes saves to the correct scope.