Follow-up to #138 / PR #139.
_summary is computed at write time, so components get a summary the next time they are edited. Components that predate the feature stay empty until then.
Add an app-context operation that walks every existing component, recomputes _summary via ContentModule.computeSummary, and writes it back in bulk — to light up the back-catalogue without requiring an edit per component. This can't be a migration: migrations run during boot with only a raw db handle, and summary computation needs the resolved per-component schema (module must be ready).
Likely shape: a ContentModule.reindexSummaries() method triggered by a bin/ script or an authenticated admin endpoint (write:content/super). Not blocking the feature.
Follow-up to #138 / PR #139.
_summaryis computed at write time, so components get a summary the next time they are edited. Components that predate the feature stay empty until then.Add an app-context operation that walks every existing component, recomputes
_summaryviaContentModule.computeSummary, and writes it back in bulk — to light up the back-catalogue without requiring an edit per component. This can't be a migration: migrations run during boot with only a raw db handle, and summary computation needs the resolved per-component schema (module must be ready).Likely shape: a
ContentModule.reindexSummaries()method triggered by abin/script or an authenticated admin endpoint (write:content/super). Not blocking the feature.