You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Store enabled editions on the session and gate the writer through it
Rework after review feedback:
- The first-party edition declarations stay in the `vortex` facade
(`vortex::editions`); the earlier move into `vortex-edition` is
reverted. `vortex-edition` again holds only the types, the session
variable, and the test harness.
- `EditionSession` now stores the set of enabled editions alongside the
declarations: `enable()` (validated, at most one edition per family),
`enabled()`, and `enabled_encodings()` — the resolved union of the
enabled editions' encoding sets. `register_default_editions` declares
the editions and enables the default write editions: core2026.07.0,
plus the newest unstable draft under the `unstable_encodings`
feature.
- The writer resolves its allow set from the session at write time:
the flat leaf writer's normalize-with-error validation, the writer's
pre-populated ArrayContext, and the compressor's scheme selection
(via `CascadingCompressor::with_enabled_editions_gating`, resolved
from the execution context per compression) all use the session's
enabled encodings, falling back to the static `ALLOWED_ENCODINGS`
registry for sessions with no enabled editions. Explicit
`with_allow_encodings` sets still override everything.
- `Scheme::produced_encodings` is now a required method returning
`Vec<ArrayId>` (empty means the scheme only rearranges canonical
arrays); all schemes, including test schemes and the tensor
L2Denorm scheme, implement it.
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CK2nCuXnyd2g3mNHQC8Lz2
0 commit comments