baa-conductor

git clone 

baa-conductor / ops / launchd
im_wower  ·  2026-03-24

so.makefile.baa-codexd.plist

 1<?xml version="1.0" encoding="UTF-8"?>
 2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 3<!--
 4  Source template kept in the repo.
 5  Default values target the formal mini codexd runtime at
 6  /Users/george/code/baa-conductor.
 7  Use scripts/runtime/install-launchd.sh to render the actual install copy.
 8  launchd is responsible for auto-start and hard restart; codexd itself only
 9  manages Codex child health and reconnect.
10-->
11<plist version="1.0">
12  <dict>
13    <key>Label</key>
14    <string>so.makefile.baa-codexd</string>
15
16    <key>WorkingDirectory</key>
17    <string>/Users/george/code/baa-conductor</string>
18
19    <key>EnvironmentVariables</key>
20    <dict>
21      <key>PATH</key>
22      <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/george/.local/bin:/Users/george/bin</string>
23      <key>HOME</key>
24      <string>/Users/george</string>
25      <key>LANG</key>
26      <string>en_US.UTF-8</string>
27      <key>LC_ALL</key>
28      <string>en_US.UTF-8</string>
29      <key>BAA_NODE_ID</key>
30      <string>mini-main</string>
31      <key>BAA_LOGS_DIR</key>
32      <string>/Users/george/code/baa-conductor/logs</string>
33      <key>BAA_STATE_DIR</key>
34      <string>/Users/george/code/baa-conductor/state</string>
35      <key>BAA_CODEXD_REPO_ROOT</key>
36      <string>/Users/george/code/baa-conductor</string>
37      <key>BAA_CODEXD_LOGS_DIR</key>
38      <string>/Users/george/code/baa-conductor/logs/codexd</string>
39      <key>BAA_CODEXD_STATE_DIR</key>
40      <string>/Users/george/code/baa-conductor/state/codexd</string>
41      <key>BAA_CODEXD_MODE</key>
42      <string>app-server</string>
43      <key>BAA_CODEXD_LOCAL_API_BASE</key>
44      <string>http://127.0.0.1:4319</string>
45      <key>BAA_CODEXD_EVENT_STREAM_PATH</key>
46      <string>/v1/codexd/events</string>
47      <key>BAA_CODEXD_SERVER_STRATEGY</key>
48      <string>spawn</string>
49      <key>BAA_CODEXD_SERVER_COMMAND</key>
50      <string>codex</string>
51      <key>BAA_CODEXD_SERVER_ARGS</key>
52      <string>app-server</string>
53      <key>BAA_CODEXD_SERVER_CWD</key>
54      <string>/Users/george/code/baa-conductor</string>
55      <key>BAA_CODEXD_SERVER_ENDPOINT</key>
56      <string>stdio://codex-app-server</string>
57      <key>BAA_CODEXD_EVENT_CACHE_SIZE</key>
58      <string>50</string>
59      <key>BAA_CODEXD_SMOKE_LIFETIME_MS</key>
60      <string>100</string>
61      <key>HTTPS_PROXY</key>
62      <string>http://127.0.0.1:7890</string>
63      <key>HTTP_PROXY</key>
64      <string>http://127.0.0.1:7890</string>
65      <key>ALL_PROXY</key>
66      <string>socks5://127.0.0.1:7890</string>
67    </dict>
68
69    <key>ProgramArguments</key>
70    <array>
71      <string>/usr/bin/env</string>
72      <string>node</string>
73      <string>/Users/george/code/baa-conductor/apps/codexd/dist/index.js</string>
74      <string>start</string>
75    </array>
76
77    <key>ProcessType</key>
78    <string>Background</string>
79    <key>RunAtLoad</key>
80    <true/>
81    <key>KeepAlive</key>
82    <true/>
83    <key>ThrottleInterval</key>
84    <integer>10</integer>
85    <key>StandardOutPath</key>
86    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-codexd.out.log</string>
87    <key>StandardErrorPath</key>
88    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-codexd.err.log</string>
89  </dict>
90</plist>