AICORE+0
Profile-Driven Assistant Scope (R1a)
Make the in-app assistant's reach an explicit, server-owned dimension: scope the documentation surface to the current module (plus explicitly cross-cutting user guides), gate application-data tools by a data-access level ("no module → docs only"), keep the CLI profile generic, and seam a future superadmin profile — without changing the security boundary.
Tasks.
- Task 1:
DataAccess+DocScopeenums andAssistantScopevalue object5/5 - Task 2:
AssistantScopeResolver5/5 - Task 3: Module clause in documentation retrieval (backward-compatible)5/5
- Task 4: Teach the deterministic fixture the module clause5/5
- Task 5: Wire scope into
InAppAssistanceService::respond()5/5 - Task 6:
cross_cutting_userfrontmatter marker, content tagging, and RAG docs6/6 - Final verification3/3