anythingmcp
anythingmcp copied to clipboard
Learning projects: admin-set topics with their own folder, reminder after read tools, drafts visible to their expert
Follow-up of #1695 (learning projects), from setting up projects for several experts in one workspace.
Problems
- Topics can't be planned. Only the model creates topics, when it saves the first lesson. An admin who wants the knowledge split by area (one expert: windows and back office; another: shop support) can't set the topics in advance or rename one later. The model's names drift ("Window fittings", "Spare parts windows", …).
- One folder per project. All of a project's skills go into the project's folder. An expert who covers two areas can't file each area in its own folder, so the role limit on a folder can't follow the area.
- No reminder after read tools. The "call
learning_record" reminder is only added after tools that change something. An expert who mostly analyses data (read-only SQL, price lists) almost never sees it, and capture relies on the model remembering the tool description. - A role-limited folder hides the expert's own drafts. The folder filter applies before the draft rule. An expert who lacks one of the folder's roles never gets their own lessons back, and nothing warns about it.
Proposal
- Topics set by an admin:
topics[](title, when to use, optional folder) when a project is created;POST /api/learning/projects/:id/topicsandPATCH /api/learning/topics/:idto add, rename and move a topic. Moving a topic moves its draft and published skills. New columnlearning_topics.folder_id(nullable, additive migration, NO ACTION like the project's folder; the folder service moves topics to the parent before a delete). The model is told to file lessons under the listed topics first and may still start a new one. - Reminder after read tools, rate-limited: for the project's expert only, at most once every 10 minutes; write tools keep it on every result.
- The expert always sees their own drafts, whatever the folder's role limit. Published skills keep the limit.
- Dashboard: a topic editor on the project page. Docs:
docs/learning-projects.md.
Behaviour is the same on Cloud and self-hosted; plan limits don't change.