Skip to content

fix: XML-escape Data Machine worker LaunchAgent commands - #462

Merged
chubes4 merged 1 commit into
mainfrom
fix/461-datamachine-worker-plist-escape
Aug 25, 2026
Merged

fix: XML-escape Data Machine worker LaunchAgent commands#462
chubes4 merged 1 commit into
mainfrom
fix/461-datamachine-worker-plist-escape

Conversation

@chubes4

@chubes4 chubes4 commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

  • XML-escape every dynamic Data Machine worker LaunchAgent text node
  • preserve the decoded shell command and dynamic paths exactly
  • validate rendered plists and metacharacter round trips with macOS plutil

Closes #461.

Verification

  • bash tests/datamachine-worker.sh
  • bash -n services/datamachine-worker.sh tests/datamachine-worker.sh
  • git diff --check

AI assistance

OpenAI GPT-5.6 Sol via OpenCode reproduced the failed service reconciliation, isolated the invalid plist, implemented XML-safe rendering, added macOS parse/round-trip coverage, and ran verification. Chris Huber directed the repair and remains responsible.

@chubes4
chubes4 merged commit 7e45056 into main Aug 25, 2026
61 checks passed
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.

fix: XML-escape Data Machine worker LaunchAgent commands

1 participant