forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on c44f362e4d7a67312d39070400a87557d6366d06Filtered to src/module.rsClear filter

2026-09-05

🔒 fix: the registry refuses an unsatisfiable module set; no AI egress without the ai packageAhmet Kaan Gümüş · 8f2c521
🔒 fix: the registry refuses an unsatisfiable module set; no AI egress without the ai package

`Tenants::create`/`set_modules` validate the dependency graph themselves.
A school without `chatbot` dispatches no rag indexing and the blob stream
refuses `module_disabled`, so a customer who did not buy AI ships no data
to the AI services.
✨ feat: per-school modules; a disabled module answers 403 on every route in its nestAhmet Kaan Gümüş · 5d7f87c
✨ feat: per-school modules; a disabled module answers 403 on every route in its nest

Twenty-one modules, one per router nest, with an explicit dependency graph
derived from the record links (exams need courses and subjects, marks need
exams, …) and four packages for the catalog. The enabled set lives on the
school's control row and rides the tenant resolution that already happens
once per request; every nest carries a route_layer gate, the four child
creates inside /courses are gated by their own module, and the AI blob
stream refuses `module_disabled` when course notes are off.