Security: Add .gitignore, remove sensitive files from tracking

- Added comprehensive .gitignore for secrets, tokens, session data
- Untracked openclaw.json (contains API tokens)
- Untracked device-auth.json, paired.json
- Untracked session .jsonl files (conversation history)
- Untracked cron run logs

Note: Files still exist locally, just no longer version controlled
This commit is contained in:
Jarvis
2026-02-07 09:03:28 -07:00
parent cf25c6d1e0
commit 1c5e9e11f5
8 changed files with 25 additions and 442 deletions

View File

@@ -1,65 +0,0 @@
{
"a964ef10e2ffd5bc0516040d9374165f44d5503ac06dbf1725e7b794989b25bd": {
"deviceId": "a964ef10e2ffd5bc0516040d9374165f44d5503ac06dbf1725e7b794989b25bd",
"publicKey": "IpOoK822IN-5iRswDGpYWS0y5VJ6nqTK-YnFJ4UepCE",
"platform": "linux",
"clientId": "gateway-client",
"clientMode": "backend",
"role": "operator",
"roles": [
"operator"
],
"scopes": [
"operator.admin",
"operator.approvals",
"operator.pairing"
],
"tokens": {
"operator": {
"token": "37918a43e1044131a00ffd093c12127d",
"role": "operator",
"scopes": [
"operator.admin",
"operator.approvals",
"operator.pairing"
],
"createdAtMs": 1770253965832,
"lastUsedAtMs": 1770304320368
}
},
"createdAtMs": 1770253965832,
"approvedAtMs": 1770253965832,
"displayName": "agent"
},
"681784fd3e370f9e5a76233a5bcea69317d65a52188e1c8afc29a6e099b21057": {
"deviceId": "681784fd3e370f9e5a76233a5bcea69317d65a52188e1c8afc29a6e099b21057",
"publicKey": "62V1lAqxhcgR3QeW6cqBuQokpeTsMLXa4lgHZJeGcP8",
"platform": "Linux x86_64",
"clientId": "openclaw-control-ui",
"clientMode": "webchat",
"role": "operator",
"roles": [
"operator"
],
"scopes": [
"operator.admin",
"operator.approvals",
"operator.pairing"
],
"tokens": {
"operator": {
"token": "74901ee2db7847c6b3a035836d42602a",
"role": "operator",
"scopes": [
"operator.admin",
"operator.approvals",
"operator.pairing"
],
"createdAtMs": 1770253981327,
"lastUsedAtMs": 1770266841800
}
},
"createdAtMs": 1770253981327,
"approvedAtMs": 1770253981327
}
}