fix: Bug: docker-compose.yml has escaped backslashes in ${HOME} variables (#62) #71
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-62"
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?
Fixes #62
Changes
AI Review
Summary\n\nFixes four lines in the embedded docker-compose YAML where and were written with a literal backslash.\n\n### Why the fix is correct\n\nThe YAML is generated via a single-quoted heredoc (), which means no shell expansion occurs — every character is written literally to . Docker Compose then performs its own substitution at runtime.\n\n- Old: → file contains → Docker Compose sees an escaped , produces the literal string — broken volume path.\n- New: → file contains → Docker Compose substitutes the real value — correct path.\n\nThe surrounding lines (, ) already used the correct unescaped form and were working; this PR brings the four inconsistent lines into alignment.\n\n### Checklist\n\n- Correctness: Fix is consistent with the heredoc quoting and Docker Compose variable-substitution semantics.\n- Consistency: All five and both references in the generated YAML now use the same unescaped form.\n- Security: No new variables exposed; no secrets introduced.\n- Scope: Minimal, targeted — only the four broken lines changed.
Verdict
APPROVE — Correct fix: removes backslash-escaping from ${HOME} and ${PROJECT_NAME} in single-quoted heredoc so Docker Compose receives unescaped variable references it can substitute.
Reviewed at
01943ed| AGENTS.mdAI Review: APPROVE — Correct fix: removes backslash-escaping from ${HOME} and ${PROJECT_NAME} in single-quoted heredoc so Docker Compose receives unescaped variable references it can substitute.