Uh oh!
There was an error while loading. Please reload this page.
feat(DEN-1462): export deterministic conflict-safe mise configuration - #113
Closed
ORESoftware wants to merge 23 commits into
Closed
feat(DEN-1462): export deterministic conflict-safe mise configuration#113ORESoftware wants to merge 23 commits into
ORESoftware wants to merge 23 commits into
Conversation
ORESoftware
commented
Aug 4, 2026
ContributorAuthor
Superseded by the current-main replacement PR #131. #131 is the active merge target and composes the deterministic mise exporter, ownership/state model, flags/docs/tests, and the hardening from #115 onto current main. The reviewed source history remains available and is preserved by the replacement; this stale base should not merge independently or keep scheduling duplicate repository-wide checks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Adds
zed env export misefor projecting a schema-v2EnvironmentPlanV2into deterministic project-local mise TOML without invoking mise, loading global state, or executing project code.Modes
--checkverifies exact bytes and reports digest-only drift;--writeusesProjectTransactionand.zed/mise-export-state.jsonfor recoverable ownership and conflict detection;--checkand--writeare mutually exclusive;Supported projection
Fail-closed behavior
No field is silently discarded. Exact diagnostics reject activation hooks, system-package translation, manager provenance/extensions, lock-only resolved/source/checksum state, complex env directives, structured/grouped run entries, shell argument vectors, suspicious literal secret fields, path escape, and symlink traversal.
Ownership and security
Tests
Unit and real CLI tests cover deterministic ordering, typed state, print/write/check/no-op, hand-edited and unowned files, digest-only drift, secret rejection, unsupported lock-only fields, structured task boundaries, path/drive/UNC/symlink rejection, and clap ambiguity.
A permanent Ubuntu 24.04/macOS 15/Windows Server 2025 workflow runs formatting, flags-model tests, module tests, real CLI tests, all-target Clippy with warnings denied, and repeated determinism/conflict canaries.
Deliberate next steps
Complete current
mise.lockexport and nativeEnvironmentLocktranslation remain DEN-1461. Structured mise run-entry and sandbox mapping remain separate certified additions; this PR does not invent unsafe approximations.Linear: DEN-1462, DEN-1461, DEN-1481
zed-pkgis independent of and unrelated to the Zed editor.