README
Documentation for Sessions
S222: Auth Split Documentation and MCP Intelligence Capture
Date: 2026-03-14
Status: Active
Related: S220 (Unified Role System), S221 (UserMenu + MCP)
1. Session Focus
Document the auth split work (S220–S221) and capture decisions in MCP intelligence:
- @auth-core — Always-loaded auth infrastructure
- @auth-ui — Lazy-loaded auth UI components
- Import migration across 30+ files
- ESLint fixes for dynamic dependencies
2. Documentation
| Document | Audience | Purpose |
|---|---|---|
| auth-split-timeline-simple.md | Non-developers | Plain-language timeline of what changed and why |
| auth-split-technical.md | Developers | Technical reference for architecture and imports |
3. Key Decisions Logged
- Auth split architecture (@auth-core vs @auth-ui)
- Import migration strategy
- User model
rolesfield for backend compatibility - Space guard dynamic import change
4. MCP Intelligence
Decisions logged via log_decision for:
- Architecture decisions
- Pattern adoption
- Future convention guidance
5. Next Steps
- Verify all apps build and run
- Add convention for auth import rules
- Monitor for regressions