Skip to content

feat: plan native managed environment bindings without decryption - #157

Merged
roodboi merged 1 commit into
nextfrom
feat/native-env-plan
Oct 7, 2026
Merged

roodboi merged 1 commit into
nextfrom
feat/native-env-plan

Conversation

@roodboi

@roodboi roodboi commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Native validation leaves managed env references symbolic, so it cannot show whether a selected workload has every required binding. Add an explicit hack config plan operation that uses the existing env owner’s key/scope/secret metadata, then binds references in the Rust compiler. Incomplete bindings return exit 1; ordinary config validate still performs no managed-document reads.

The report preserves worktree/overlay precedence, empty values, tombstones, jobs, inactive declarations and the workload-named-host rule. It does no key lookup, decryption or runtime effects and leaves both authored and local hashes unchanged. Compiler transport now also terminates its owned POSIX process group and cancels pipe readers, including wrappers with descendants holding pipes.

Validation so far: 42 Rust tests plus fmt/Clippy; 65 native/legacy env tests; 68 transport tests; 64 acquisition/CLI tests; relocated compiled CLI checks without Bun/Rust on PATH; independent review; full typecheck/check/privacy and workflow lint pass. Fresh full repository gates pass: 2,339 CLI tests, 68 skips, zero failures; DB tasks reused valid cache (2 tests). A complete signed private candidate passed isolated installation, installed metadata planning without host Bun/Rust, incomplete/invalid-metadata refusal, repeat-install home preservation and deselect/reselect. No tag, release or existing installed channel changed. Hosted CI must pass on the exact head before merge.

Release intent: feat, optional experimental metadata planning. NC02 remains in progress for the rest of the frozen contract; native execution is NC03 and adoption is NC04. This report does not establish atomic runtime admission or secret delivery.

Tracks HACK-1220.

@roodboi
roodboi marked this pull request as ready for review October 7, 2026 15:31
@roodboi
roodboi merged commit 3c90a5c into next Oct 7, 2026
11 checks passed
@roodboi
roodboi deleted the feat/native-env-plan branch October 7, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant