AICORE

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.

State
Done
Progress
100%
Steps
34 / 34
Started
2026-09-15
Finished
2026-09-15
Modules
LaraAI, LaraCore

Tasks.

  • Task 1: DataAccess + DocScope enums and AssistantScope value 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_user frontmatter marker, content tagging, and RAG docs6/6
  • Final verification3/3