1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Built-in functions for multi-table analysis.
//!
//! Per ADR-006 §2.7.5 (cross-crate ABI policy), `align_tables` migrates
//! to the `&[KindedSlot]` signature. The shape-jit consumer at
//! `crates/shape-jit/src/ffi_symbols/data_access/mod.rs:95` was passing
//! the legacy `(ctx, &[ValueWord])` shape and breaks in the next-session
//! shape-jit cleanup workstream — Phase 1.B does not preserve the legacy
//! signature on the runtime side just to keep shape-jit compiling
//! through this session. The shape-vm cluster picks up the consumer
//! migration alongside its own KindedSlot-threading work.
//!
//! Phase 1.B body shim: per ADR-006 §2.7.4 audit-accuracy ruling, the
//! pre-bulldozer body decoded `&ValueWord` arrays via tag-bit dispatch
//! (`as_any_array()`, `as_str()`, `as_f64()`, etc.) that no longer
//! exist. The kind-threaded rebuild (per-position `NativeKind` from
//! the registered schema) lands in Phase 2c. Until then the body
//! returns a deferred error — same shape as the intrinsic stubs.
use crateExecutionContext;
use ;
use KindedSlot;
/// Align multiple datasets.
///
/// **Migration deferred** pending ModuleContext-access architectural
/// decision (`ExecutionContext::get_current_timeframe()` not exposed via
/// `&ModuleContext`) AND shape-jit cleanup workstream (cross-crate
/// consumer migration). Phase 1.B body returns a deferred error; the
/// signature already takes `&[KindedSlot]` per ADR-006 §2.7.5.
/// Correlation between two series (placeholder; returns 0.0).
///
/// **Migration deferred** alongside `align_tables` to keep the
/// `multi_table` file in a coherent partial-deferred state.