This matrix maps the current role of each repo in the PG-first, :db/sync
architecture.
| Capability | foundation-base | statstrade-core | statstrade-v1 | gw-v2 | Status |
|---|---|---|---|---|---|
rt.postgres grammar/runtime | Canonical implementation | Consumed | Consumed | Consumed | Strong |
defpolicy.pg / RLS | Canonical implementation | Mostly absent in old design | Active usage | Active usage | Strong outside -core |
xt.db graph query and sync layer | Canonical implementation and backbone | Heavy usage and reference architecture | Minimal | Minimal | Strong but aging |
:db/sync client convergence model | Partial primitives | Strong historical reference | Indirect | Indirect | Needs recovery |
| sqlite client projection pattern | Driver + backend primitives | SQL/cache split present | Not central | Not central | Needs reconnection |
| page-level data link model | Not defined as a stable product yet | Implicit server contract over xt.db patterns | Not primary | Not primary | Missing in canonical form |
| helper function generation from entities | Partial | Macro-heavy legacy patterns | Strong | Strong | Good reference outside foundation |
| code generation via output files | Emerging | Weak | Good | Good | Directionally correct |
| infer/openapi/runtime type extraction | Strong and growing | Minimal | Minimal | Strong | Strong in foundation/gw-v2 |
Primary files:
Current role:
rt.postgresxt.dbGaps:
defentity.pg authoring model yetxt.db is not emphasized strongly enough as the preserved backbone in plansPrimary files:
Current role:
xt.db needs to be recovered and preservedGaps:
Primary files:
Current role:
Gaps:
Primary files:
Current role:
rt.postgresGaps:
xt.db client sync architecturext.db as a major part of the query/sync backbone:db/sync-driven client convergencert.postgres and revived xt.db sync usagefoundation-base should own the new normalized authoring/generation contract.statstrade-core should provide the first recovered vertical slice.statstrade-v1 and gw-v2 should inform helper generation and policy generation.xt.db should be treated as a preserved backbone subsystem, not a temporary bridge.:db/sync.Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |