Article Publish And Sync Procedure¶
Purpose¶
This procedure defines how to publish or update article-domain content through the article BFF.
Scope¶
- article objects
- article collections
- collection membership
Procedure¶
Article Object¶
- Identify the target article by
articleKeyor current canonical slug. - Query BFF for the current object state.
- Validate the intended fields against the live mutation contract.
- Use
createArticleorupdateArticle. - Re-read the article and record the returned slug and timestamps.
Article Collection¶
- Identify the target collection by
collectionKey. - Query BFF for the current collection state.
- Use
createArticleCollectionorupdateArticleCollectionfor collection metadata. - Apply membership mutations with collection APIs.
- Re-read the collection and verify the returned member set.
Safe Publish Rule¶
Do not publish on ambiguous identity. Resolve duplicate or uncertain keys before write.
Contract Review Rule¶
When behavior is unclear, prefer:
- live BFF introspection
- live read/write verification
- repo docs as supporting reference