xb

Custom Architecture Validation (English)

English counterpart of xb/doc/CUSTOM_ARCHITECTURE_VALIDATION.md. It explains the guardrails for adding new Custom adapters (vector DB, SQL dialect, internal API).


Checklist

  1. Interface contractGenerate(*Built) must be pure, deterministic, and side-effect free.
  2. Error story – return actionable errors (missing namespace, unsupported clause, etc.).
  3. Test surface – unit tests for JsonOfSelect, JsonOfInsert, SqlOfSelect (if applicable).
  4. Docs – mention the adapter in README + release notes once stable.

Architecture concerns


Migration tips