PRD 0038: smolmachines env contract and secret-safe injection #141
Reference in New Issue
Block a user
Delete Branch "prd-0038-smolmachines-env-contract"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #135.
PRD: https://gitea.dideric.is/didericis/bot-bottle/src/branch/prd-0038-smolmachines-env-contract/docs/prds/0038-smolmachines-env-contract.md
Summary
resolve_env()in the smolmachines prepare path, matching Docker's contract?prompt, and${HOST_VAR}entriesChanges (1 commit)
docs/prds/0038-smolmachines-env-contract.md— add PRD 0038 (Draft)Before this change smolmachines prepare.py spliced bottle.env directly into guest_env, so ?prompt and ${HOST_VAR} entries reached the VM as raw sentinels rather than being prompted or interpolated. After this change prepare.py calls resolve_env(), matching the Docker backend's contract. Forwarded (secret/interpolated) values still flow through smolvm -e K=V argv — the known exposure gap documented in PRD 0038's open question. Closes #135