Implement Runtime Bindings doctor and explain#145
Merged
Conversation
Add selected Runtime Bindings resolution with scoped, global, default, and unresolved outcomes; propagate declaration defaults and sensitivity metadata through template/install snapshots; expose hyard vars doctor and explain in text and JSON. Validation: mise run fix; mise run ci; sh ./scripts/test_release_surface_hyard.sh.
7 tasks
This was referenced May 12, 2026
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 free
to 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.
Summary
hyard vars doctorandhyard vars explain <name>text/JSON diagnostics.sensitiveanddefaultmetadata through template, install, bundle, and manifest snapshots.Linked Issue
Closes #138
Dev Brief Mapping
source: defaultand are not written to.harness/vars.yamlby resolution.value_from.envresolves from process env and non-sensitivevalue_from.fileresolves file content for selected variables.hyard vars doctorreports P0 errors for invalid schema, missing required bindings, malformed value sources, and unset env sources.hyard vars doctorreports P0 warnings for undeclared bindings and missing file sources.hyard vars explain [name]reports status, selected source, required/sensitive flags, redaction placeholder, declaring ids, and selected scope in text and JSON.What Changed
cmd/orbit/cli/bindingsselected-resolution support and tests.hyard vars doctorandhyard vars explain <name>wrappers with--json.Validation
mise run fixmise run cish ./scripts/test_release_surface_hyard.shRisk
hyard varsoutput. Covered by focused resolution/CLI tests plus full repository validation.Out of Scope
Reviewer Notes
<redacted>in explain output.value_from.fileis rejected for sensitive declarations during selected resolution diagnostics.