Data and Ownership Boundaries
Ownership Table
Section titled “Ownership Table”| System | Owns | Does NOT own |
|---|---|---|
news-server | Auth decisions, data validation, article state, publish eligibility, API access control | UI presentation, form UX, reader experience |
news-client | Editorial UI, form inputs, route guards, moderation views, operator actions | Article state transitions, auth token signing |
child-sites | Reader UI, content presentation, branded styling | Any editorial or admin state |
MongoDB | Canonical system-of-record data | None — it is storage only |
Responsibility Handoffs
Section titled “Responsibility Handoffs”news-clientcollects user intent (create, edit, publish, manage).news-servervalidates the role and whether the action is allowed.news-serverwrites the final state to MongoDB.child-sitesread and display published data — they never write editorial state.