Repository navigation
feat(config): a -D override value is resolved with the same ${ENV_VAR:default} substitution as a file value - #127
Merged
Merged
Conversation
…:default} substitution as a file value Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
acn-ericlaw
added a commit
that referenced
this pull request
Nov 17, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
acn-ericlaw
added a commit
that referenced
this pull request
Nov 17, 2026
docs(llm-helper): the README's -D caveat after #127
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.
What
AppConfig.get: an override's string value (a-Dargument, orappConfig().set) goes through the same${ENV_VAR:default}substitution as a file value - an environment variable with a default, or a reference to another configuration key, resolved at read time; a non-string override is returned as it is.test/config.test.ts: a reference to a file key inside a URL, a default, an unresolved reference asundefined, the environment read at read time, aset()value.npm test: 499 tests, 434 passed, 0 failed, 65 skipped.Why
Eric's request of 2026-11-17, met while the transcript audit store (#126) was wired: a key moved from
application.ymlto a-Dflag silently lost its substitution, so-Dkey='${POSTGRES_PASSWORD}'would have sent the literal text and a credential had to travel on the command line in clear. The Java engine returned a system property raw too, so this is a parity change in all four runtimes the same day (mercury-composablefeat/system-property-substitution, mercury Increment 203, mercury-pythonfeat/override-substitution):-Dkey='${ENV_VAR}'keeps the secret out of the process list and containerargsarrays, which do no shell expansion, and resolves it inside the application. The one compatibility edge, a-Dvalue that relied on a literal${...}, is accepted: a file value never allowed it, and an unresolved reference without a default is no value, as in a file.🤖 Generated with Claude Code
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com