SkeinQL Research Extensions (Experimental)ΒΆ
Last updated: 2026-05-14
This document lists experimental SkeinQL method families that support the 20-proposal research agenda.
Principles:
- These methods are not required for MySQL compatibility.
- They should be implemented behind feature flags and exposed only when enabled.
- For each family, the canonical research description is in docs/research_agenda/.
- Use docs/SKEINQL.md for method payload examples and docs/API_REFERENCE.md for the v0.3.18 runtime method map exposed through system.capabilities.
1. dp.* β Differential privacyΒΆ
Related: R04
dp.aggregateβ COUNT/SUM/AVG aggregates with explicit DP parameters, bounded sensitivities, andprivacy_etagvalidatorsdp.evaluateβ seeded accuracy-vs-epsilon and overhead-vs-exact report for bounded DP aggregate plansdp.budget.get/dp.budget.setβ persisted per-principal budget tracking and policiesdp.audit.logβ persisted budget consumption events
2. oblivious.* β Oblivious execution policiesΒΆ
Related: R05
oblivious.policy.get/oblivious.policy.setoblivious.explainβ show which operators will be padded/shuffledoblivious.evaluateβ deterministic trace-based leakage and overhead report for the active table policy
3. forensic.* β Forensic WAL queries with proofsΒΆ
Related: R06
forensic.queryβ run table/op/id-bounded forensic queries with the SkeinForensic JSON filter grammar and return boundary, checkpoint-anchor, Merkle-root, inclusion-proof, and index-summary metadataforensic.verifyβ verify contiguous returned record slices against a supplied start hashforensic.exportβ exportskein.forensic.bundle.v1report bundles with the query manifest, records, proof, and verification summary
4. merge.* β Optimistic writes with merge semanticsΒΆ
Related: R07
merge.registerβ register a per-table merge policy with built-in or values-only Wasm functionsmerge.applyβ apply a policy to an incoming row with ETag/min-causality conflict hooksmerge.simulateβ test current+incoming row merges without committingmerge.evaluateβ report conflict rate, resolution success, and merge timing for example workloadsmerge.wasm.register/merge.wasm.list/merge.wasm.dropβ manage values-only Wasm merge modules
5. view.* β Materialized views + incremental maintenanceΒΆ
Related: R08
view.create/view.dropview.refreshβ incremental, full, or auto refresh for restricted single-table views (including grouped views)view.evaluateβ read-only incremental-vs-full correctness oracle and timing reportview.statusβ lag/last refreshview.explain_depsβ dependency graph edges
6. transport.* β Protocol negotiation hintsΒΆ
Related: R09
transport.capabilitiesβ advertise supported transports (HTTP/1.1, HTTP/2, QUIC); the QUIC runtime has framing, prepared-query, 0-RTT write rejection, rebind coverage, and the companionskeindb transport-benchCLI for comparative p99 checks against HTTP/2 and MySQL/TCP
7. vector.* β Embeddings & ANN searchΒΆ
Related: R10
vector.insertβ store embedding values (ValueKind::Embedding)vector.searchβ ANN query (HNSW when available, with LSH bucket filtering as the prototype fallback) with cache validators, table-version dependency metadata, V2 causality tokens, and source-change invalidationvector.benchmarkβ exact brute-force vs indexed top-k recall and latency report for embedding columnsvector.index.statusβ index health and coverage
See Vector RAG retrieval for a credential-free sample application that uses vector.insert and vector.search to assemble grounded context.
8. ai.* β AI-assisted query workflowsΒΆ
Related: R11, R12
ai.autoparam.classifyβ classify literals (semantic-constant vs parameterizable)ai.autoparam.analyzeβ extract literals from SQL and classify themai.nl.translateβ prompt packaging + optional rule-based translation (read-only by default)ai.nl.explainβ explanation + preview rows for verificationai.nl.executeβ execution gated by approval tokenskeindb nl-evalβ JSONL evaluation harness with exact and execution-match metrics
9. causal.* β Causal consistency via ETag chainsΒΆ
Related: R13
query.select/query.execute_preparedacceptcache.min_causality- query results include
causalitytokens (vector_clock_v2; legacyetag_chain_v1remains accepted on input) causal.session.begin/causal.session.end(future)
10. edge.* β Replay bundles as edge replication primitiveΒΆ
Related: R14
maintenance.replay.exportβ export snapshot replay bundles with optional primary-key redaction (none,hash_pk,drop_pk) before checksums/performance metadata are computededge.bundle.requestβ request bounded WAL slice / replay bundle- windows: table + seq bounds + max events
- redaction:
none|hash_pk|drop_pk edge.bundle.applyβ apply bundle coverage windows to the edge nodeedge.bundle.statusβ coverage + bounded-staleness routing verdict, including gap detection for disjoint windows
11. schema.* (extensions) β Conflict-free schema evolutionΒΆ
Related: R15
schema.propose_changeβ propose schema evolution changesetschema.merge_statusβ show divergence, merge plan, and proposed resolution guidanceschema.simulate_rolloutβ simulate prepare/mixed/steady-state rollout waves for the current merge planschema.apply_mergeβ apply merged schema- Prototype change ops:
add_column(nullable/default support) andadd_index(name/column list/unique flag)
12. advisor.* (extensions) β Dependency-driven index synthesisΒΆ
Related: R16
advisor.index_synthesizeβ propose indexes based on dependency analysisadvisor.apply_indexβ apply an index suggestion (in-memory secondary index)advisor.dismissβ suppress a suggestionadvisor.historyβ list advisor actions
13. migration.* (extensions) β Intent inferenceΒΆ
Related: R17
migration.intent_reportβ detect idioms (pagination, polling, hierarchy self-joins, recursive CTEs, EXISTS membership, COALESCE defaults)migration.rewrite_previewβ show suggested SkeinQL migration
Example (intent_report):
{
"samples": [
{ "query": { "...": "..." }, "args": [] }
],
"limit": 20,
"window_ms": 60000
}
Example (rewrite_preview):
{
"samples": [
{ "query": { "...": "..." }, "args": [] }
],
"limit": 10
}
14. replay.* (extensions) β Performance replayΒΆ
Related: R18
maintenance.replay.exportβ exports data bundles with optionalperformanceprofile metadata (lsm_state,cache_warm, andtiming).maintenance.replay.importβ validates both correctness checksums and performance-profile checksums when present.maintenance.replay.runβ returnsperformance_reportvariance deltas for performance-annotated bundles, with replay-run checksum parity over reconstructable snapshot state.
15. wasm.* (extensions) β Wasm-native operatorsΒΆ
Related: R19
wasm.plan.compileβ compile plan subset to Wasm (seedocs/WASM_OPERATORS.md)wasm.plan.runβ run compiled plan (sandbox)
16. energy.* β Energy-aware schedulingΒΆ
Related: R20
energy.policy.setβ compaction energy policiesenergy.statusβ current energy signals and scheduling decisions
Important: method shapes are intentionally left high-level in this document. Use the proposal docs to define exact parameter schemas.