Commit 45cd49d
feat(verisimdb): implement Gleam client JSON codecs — replace all stubs
Replace all scaffold stub decoders across the Gleam client SDK with
real JSON encoding/decoding using gleam/json and gleam/dynamic/decode.
The new codec.gleam module centralises serialization for all VeriSimDB
types: Octad (all 8 modalities), DriftScore, DriftStatusReport,
ProvenanceEvent, ProvenanceChain, VqlResult, VqlExplanation,
FederationPeer, FederatedQueryResult, SearchResult, and
PaginatedResponse. The OctadInput encoder now serializes all modality
data fields (graph, vector, tensor, document, spatial) rather than
only the modality name list.
Updated modules: octad.gleam, search.gleam, drift.gleam,
provenance.gleam, vql.gleam, federation.gleam.
Also documents in README.adoc that Burble uses the Elixir client,
not the Gleam client.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1b3667a commit 45cd49d
File tree
8 files changed
+920
-252
lines changed- verisimdb
- connectors/clients/gleam/src/verisimdb_client
8 files changed
+920
-252
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
446 | 452 | | |
447 | 453 | | |
448 | 454 | | |
| |||
0 commit comments