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
feat(vortex-file): gate the file writer behind editions
The writer is now gated by Vortex editions, defaulting to the newest
frozen core edition, core2026.07.0:
- The first-party edition declarations move from the `vortex` facade
into `vortex_edition::declarations` (pure static data), so that
`vortex-file` can resolve edition encoding sets without a session.
`vortex::editions` re-exports them and still seeds the default
session.
- `Scheme::produced_encodings` is a new trait method declaring the
array encodings a compression scheme may emit. All first-party
schemes declare their outputs; undeclared schemes are excluded from
gated writers.
- `BtrBlocksCompressorBuilder::retain_allowed_encodings` filters the
scheme list down to schemes whose outputs are all allowed.
- `vortex-file`'s `ALLOWED_ENCODINGS` — the set the flat leaf writer
validates every serialized encoding against (failing the write on a
violation) — is now derived from `DEFAULT_WRITE_EDITIONS`
(core2026.07.0, plus the newest unstable draft when the
`unstable_encodings` feature opts in) instead of being hand
maintained. `WriteStrategyBuilder::build` applies the same set to
the data and stats compressors, so compression only ever chooses
encodings from the enabled editions, and
`WriteStrategyBuilder::with_editions` lets callers pin different
editions.
Experimental patches remain a runtime opt-out: `Patched` is only
writable when the experimental environment variable is set.
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