From 4b365a1294d87cc1c7db85c73f7bfb85d7c8ec4c Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 14 Jan 2026 10:33:48 -0800 Subject: [PATCH 1/2] Fix borgmatic LaunchAgent to work with mise-installed binaries The LaunchAgent was failing because launchd runs with a minimal PATH that doesn't include mise-installed binaries or homebrew. This adds: - Use `mise x` wrapper to run borgmatic (survives version updates) - Add /opt/homebrew/bin to PATH for borg dependency - Add ansible tags to indri playbook for targeted role runs Co-Authored-By: Claude Opus 4.5 --- ansible/playbooks/indri.yml | 15 ++++++++++----- .../roles/borgmatic/templates/borgmatic.plist.j2 | 8 ++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ansible/playbooks/indri.yml b/ansible/playbooks/indri.yml index 67a2f13..0af92ec 100644 --- a/ansible/playbooks/indri.yml +++ b/ansible/playbooks/indri.yml @@ -2,8 +2,13 @@ - name: Configure indri hosts: indri roles: - - prometheus - - grafana - - kiwix - - borgmatic - - forgejo + - role: prometheus + tags: prometheus + - role: grafana + tags: grafana + - role: kiwix + tags: kiwix + - role: borgmatic + tags: borgmatic + - role: forgejo + tags: forgejo diff --git a/ansible/roles/borgmatic/templates/borgmatic.plist.j2 b/ansible/roles/borgmatic/templates/borgmatic.plist.j2 index fedd9de..75fb0c6 100644 --- a/ansible/roles/borgmatic/templates/borgmatic.plist.j2 +++ b/ansible/roles/borgmatic/templates/borgmatic.plist.j2 @@ -7,8 +7,16 @@ Label mcquack.eblume.borgmatic + EnvironmentVariables + + PATH + /opt/homebrew/bin:/usr/bin:/bin + ProgramArguments + /opt/homebrew/opt/mise/bin/mise + x + -- borgmatic --config {{ borgmatic_config }} From 763899e8560c1d233647196e35e2d0151d5d8016 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 14 Jan 2026 10:35:27 -0800 Subject: [PATCH 2/2] Document tea pr create syntax in CLAUDE.md Add full example with heredoc for multi-line descriptions and note the difference from gh CLI (--description vs --body). Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 1f491d6..d17ecac 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -50,9 +50,25 @@ git commit -m "Description of change" # Push and create PR using tea CLI git push -u origin feature/description-of-change -tea pr create --title "Description of change" --description "Details..." +tea pr create --title "Description of change" --description "$(cat <<'EOF' +## Summary +- First change +- Second change + +## Test plan +- [x] Tested thing one +- [ ] Need to test thing two + +🤖 Generated with [Claude Code](https://claude.com/claude-code) +EOF +)" ``` +Note: `tea` uses `--description` (not `--body` like `gh`). Other useful flags: +- `--base ` - target branch (default: repo's default branch) +- `--assignees ` - assign reviewers +- `--labels