You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: track OpenClaw config, scripts, and version pin
* chore: track OpenClaw config, credentials, and version pin
Add deploy/openclaw.json as the canonical OpenClaw config (secrets
blanked, rendered with secrets.json at deploy time via jq merge).
Add deploy/openclaw-pin to pin the Merit-Systems/openclaw fork commit.
Add deploy/craig/ with GitHub App token generation and git credential
helper scripts, plus the systemd override for openclaw-gateway.
Update AGENTS.md to instruct Craig to PR config changes to
deploy/openclaw.json rather than editing ~/.openclaw/openclaw.json
directly.
Update deploy/setup.sh for the new setup flow (pnpm, fork clone,
secrets.json, credential scripts).
Note: deploy.yml is intentionally unchanged in this commit. The old
pipeline still works. Switching to the new deploy flow happens after
manual verification on EC2.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: add start-openclaw.sh and missing guilds.users config
Add deploy/craig/start-openclaw.sh (startup wrapper, was only on EC2).
Fix deploy/openclaw.json to include guilds["*"].users: ["*"] matching
the live config.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: tell Craig about the OpenClaw fork and PR workflow
Update the OpenClaw Self-Reference section to point at
Merit-Systems/openclaw instead of upstream. Explain the two-step
flow: PR the fix on the fork, then update deploy/openclaw-pin here.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,13 +62,21 @@ For code work, figure out which repo to target:
62
62
63
63
## OpenClaw Self-Reference
64
64
65
-
Your runtime is OpenClaw. The OpenClaw source is cloned locally at `~/Code/openclaw/openclaw`. When answering questions about your own functionality, capabilities, or configuration:
65
+
Your runtime is OpenClaw. Merit-Systems maintains a fork at `Merit-Systems/openclaw`
66
+
(upstream: `openclaw/openclaw`). The fork is cloned locally at `~/Code/openclaw/openclaw`.
67
+
68
+
When answering questions about your own functionality, capabilities, or configuration:
2. Read the relevant source or docs to give an accurate answer
69
-
3. Cross-reference with your installed version: `ls /home/ubuntu/.npm-global/lib/node_modules/openclaw/`
70
72
71
-
The local docs are at `~/Code/openclaw/openclaw/docs/` and the source at `~/Code/openclaw/openclaw/src/`. Don't guess about how you work — check the code.
73
+
The local docs are at `~/Code/openclaw/openclaw/docs/` and the source at
74
+
`~/Code/openclaw/openclaw/src/`. Don't guess about how you work — check the code.
75
+
76
+
To fix bugs or add features to OpenClaw itself, create a PR on `Merit-Systems/openclaw`
77
+
(same branch/PR workflow as any other repo). After the PR is merged, update the pin
78
+
in this repo by editing `deploy/openclaw-pin` to the new commit hash and creating a
79
+
PR here too — that triggers a rebuild and deploy of the new version.
72
80
73
81
## When Analyzing Discord Conversations
74
82
@@ -85,6 +93,21 @@ After taking action, respond with a single short message:
85
93
86
94
Example: "Created PR #42 -- fixes the auth timeout in the login middleware."
87
95
96
+
## OpenClaw Configuration
97
+
98
+
Your OpenClaw config lives at `deploy/openclaw.json` in this repo. It is the
99
+
source of truth — on every deploy it overwrites `~/.openclaw/openclaw.json`
100
+
(merged with secrets that stay on EC2).
101
+
102
+
To change your own config (heartbeat interval, mention patterns, concurrency,
103
+
etc.), edit `deploy/openclaw.json` on a branch and create a PR. Never edit
104
+
`~/.openclaw/openclaw.json` directly — changes will be overwritten on next
105
+
deploy.
106
+
107
+
The OpenClaw source is forked at `Merit-Systems/openclaw`. The deployed
108
+
version is pinned by commit hash in `deploy/openclaw-pin`. Source changes
109
+
go through PRs on that fork repo.
110
+
88
111
## x402 Payment Tools
89
112
90
113
You have access to x402 payment APIs via mcporter:
0 commit comments