Skip to content

Commit aed2d13

Browse files
committed
Auto-merge upstream openclaw/openclaw
2 parents 560adec + e49be93 commit aed2d13

66 files changed

Lines changed: 6279 additions & 1387 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/openclaw-parallels-smoke/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@ Use this skill for Parallels guest workflows and smoke interpretation. Do not lo
1616
- Pass `--json` for machine-readable summaries.
1717
- Per-phase logs land under `/tmp/openclaw-parallels-*`.
1818
- Do not run local and gateway agent turns in parallel on the same fresh workspace or session.
19+
- For a full OS matrix, prefer running independent guest-family lanes in parallel when host capacity allows:
20+
- `pnpm test:parallels:macos -- --json`
21+
- `pnpm test:parallels:windows -- --json`
22+
- `pnpm test:parallels:linux -- --json`
23+
Keep each lane in its own shell/session and track the run directory for each one.
1924
- Do not run multiple smoke lanes against the same guest family at once. Tahoe lanes share the host HTTP port, and Windows/Linux lanes can collide on snapshot restore/start state if two jobs touch the same VM concurrently.
25+
- Do not run the aggregate `pnpm test:parallels:npm-update` wrapper in parallel with individual macOS/Windows/Linux smoke lanes; it touches the same guest families and snapshots.
26+
- While running or optimizing the matrix, record wall-clock duration per lane and the slowest phase from `/tmp/openclaw-parallels-*` logs. Use that timing before changing smoke order, timeouts, or helper behavior.
2027
- If `main` is moving under active multi-agent work, prefer a detached worktree pinned to one commit for long Parallels suites. The smoke scripts now verify the packed tgz commit instead of live `git rev-parse HEAD`, but a pinned worktree still avoids noisy rebuild/version drift during reruns.
2128
- For `openclaw update --channel dev` lanes, remember the guest clones GitHub `main`, not your local worktree. If a local fix exists but the rerun still fails inside the cloned dev checkout, do not treat that as disproof of the fix until the branch has been pushed.
2229
- For `prlctl exec`, pass the VM name before `--current-user` (`prlctl exec "$VM" --current-user ...`), not the other way around.

.agents/skills/openclaw-secret-scanning-maintainer/SKILL.md

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,20 @@ The `fetch-content` output includes:
6161
- `issue_number` / `pr_number`: where it is
6262
- `edit_history_count`: number of existing edits
6363
- `type`: location type for routing
64+
- For `discussion_comment`, it also includes `comment_node_id`, `discussion_node_id`, and `reply_to_node_id` when the original comment was a reply.
6465

6566
### Location type routing
6667

67-
| type | Flow |
68-
| ----------------------------- | ------------------------ |
69-
| `issue_comment` | Comment: delete+recreate |
70-
| `pull_request_comment` | Comment: delete+recreate |
71-
| `pull_request_review_comment` | Comment: delete+recreate |
72-
| `issue_body` | Body: redact in place |
73-
| `pull_request_body` | Body: redact in place |
74-
| `commit` | Notify only |
75-
| _other_ | Skip and report |
68+
| type | Flow |
69+
| ----------------------------- | --------------------------------------------- |
70+
| `issue_comment` | Comment: delete+recreate |
71+
| `pull_request_comment` | Comment: delete+recreate |
72+
| `pull_request_review_comment` | Comment: delete+recreate |
73+
| `discussion_comment` | Discussion comment: delete+recreate (GraphQL) |
74+
| `issue_body` | Body: redact in place |
75+
| `pull_request_body` | Body: redact in place |
76+
| `commit` | Notify only |
77+
| _other_ | Skip and report |
7678

7779
## Step 2: Decide (Agent)
7880

@@ -100,15 +102,28 @@ node secret-scanning.mjs redact-body <issue|pr> <NUMBER> <redacted-body-file>
100102

101103
### Comments — Delete and Recreate
102104

105+
For issue/PR comments:
106+
103107
```bash
104108
# Delete original (all edit history gone)
105109
node secret-scanning.mjs delete-comment <COMMENT_ID>
106110

107111
# Recreate with redacted content
108-
# Agent prepares the body file with maintainer header + redacted content
109112
node secret-scanning.mjs recreate-comment <ISSUE_NUMBER> <body-file>
110113
```
111114

115+
For discussion comments (uses GraphQL):
116+
117+
```bash
118+
# Delete original
119+
node secret-scanning.mjs delete-discussion-comment <COMMENT_NODE_ID>
120+
121+
# Recreate with redacted content
122+
node secret-scanning.mjs recreate-discussion-comment <DISCUSSION_NODE_ID> <body-file> [REPLY_TO_NODE_ID]
123+
```
124+
125+
The `fetch-content` output for `discussion_comment` includes `comment_node_id` and `discussion_node_id` for these commands. When the original discussion comment was a reply, it also includes `reply_to_node_id`; pass that optional third argument so the redacted replacement stays in the original thread.
126+
112127
The recreated comment should follow this format:
113128

114129
```
@@ -140,9 +155,13 @@ Cannot clean. Notify author to delete branch or force-push (for unmerged PRs).
140155
## Step 5: Notify
141156

142157
```bash
143-
node secret-scanning.mjs notify <ISSUE_NUMBER> <AUTHOR> <LOCATION_TYPE> <SECRET_TYPES>
158+
node secret-scanning.mjs notify <TARGET> <AUTHOR> <LOCATION_TYPE> <SECRET_TYPES> [REPLY_TO_NODE_ID]
144159
```
145160

161+
- For non-discussion types, `<TARGET>` is the issue/PR number.
162+
- For `discussion_comment`, `<TARGET>` is the `discussion_node_id` returned by `fetch-content`.
163+
- For reply-style `discussion_comment` locations, pass the optional `reply_to_node_id` from `fetch-content` so the notification stays in the same thread.
164+
146165
Secret types are comma-separated: `"Discord Bot Token,Feishu App Secret"`
147166

148167
The script picks the right template:

0 commit comments

Comments
 (0)