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
{{ message }}
Repository navigation
Commit f8cfa06
Browse filesBrowse the repository at this point in the historyBrowse files
If `uvx --from pr-search-cli pr-search ...` fails because `uvx` or the `pr-search` launcher is not available, ask the user to make that command work before continuing.
82
+
83
+
If `prtags auth status` shows that the user is not logged in, ask the user to run:
84
+
85
+
```bash
86
+
prtags auth login
87
+
```
88
+
89
+
Resume only after the missing tool or login state has been fixed.
90
+
91
+
## Read-Path Default
92
+
93
+
For read-only GitHub operations in this workflow, use `ghr` as the default CLI.
94
+
Treat it as a drop-in replacement for the `gh` read operations you would normally use for PRs, issues, comments, reviews, and duplicate-search evidence.
95
+
96
+
Only fall back to `gh` when `ghr` is failing for a concrete reason, such as:
97
+
98
+
- the mirrored object is not present yet
99
+
- the mirror data is clearly stale or incomplete for the decision you need to make
100
+
- the `ghr` command errors, times out, or does not expose the specific read you need
101
+
102
+
When you fall back to `gh`, note that you did so and why.
103
+
104
+
If `ghr` is missing a fresh PR or issue but `gh` can read it, you may use `gh` for the read-side judgment.
105
+
If a later `prtags` target-level write fails because the same object is still missing from `ghreplica`, stop and report that the mirror has not caught up yet instead of forcing the write.
106
+
74
107
## Goal
75
108
76
109
For each target PR or issue:
@@ -86,10 +119,13 @@ For each target PR or issue:
86
119
Use the tools with these boundaries:
87
120
88
121
-`ghreplica` is the raw evidence source
122
+
- use `ghr` first for normal GitHub read operations in this workflow
89
123
- use it for title/body/comment search, related PRs, overlapping files, overlapping ranges, and current PR or issue status
124
+
- resort to `gh` only when `ghr` cannot provide the needed read cleanly
90
125
-`pr-search-cli` is candidate generation and ranking
91
126
- use it to suggest likely duplicate PRs or issue-cluster context
92
127
- do not treat it as final truth
128
+
- do not create or expand a duplicate group only because `pr-search-cli` put multiple PRs in the same issue or duplicate cluster
93
129
-`prtags` is the maintainer curation layer
94
130
- use it to create or reuse one duplicate group
95
131
- use it to save the duplicate status, confidence, rationale, and group summary
@@ -146,6 +182,7 @@ Examples:
146
182
## Evidence Checklist
147
183
148
184
Before declaring a duplicate, gather evidence from at least two categories.
185
+
Same-issue or same-cluster output from `pr-search-cli` counts only as candidate generation, not as one of the required proof categories by itself.
149
186
150
187
For PRs:
151
188
@@ -168,6 +205,7 @@ If you only have wording similarity, that is not enough.
168
205
## Step 1: Read The Target
169
206
170
207
Start by reading the target itself.
208
+
Use `ghr` first for this step even if you would normally reach for `gh`.
171
209
172
210
For a PR:
173
211
@@ -197,6 +235,7 @@ Record:
197
235
## Step 2: Search Broadly With ghreplica
198
236
199
237
Use `ghreplica` first because it is the most direct evidence source.
238
+
Do not switch to `gh` for ordinary reads unless `ghr` is missing data or failing.
200
239
201
240
### PR duplicate search
202
241
@@ -253,6 +292,9 @@ Interpretation:
253
292
-`issues for-pr` shows which issue clusters the PR appears to belong to
254
293
-`issues duplicate-prs` is useful for spotting already-known duplicate PR patterns
255
294
295
+
Treat every `pr-search-cli` result as a hint to investigate, not as enough evidence to create or widen a duplicate group.
296
+
Multiple PRs can share the same issue or issue cluster while still taking meaningfully different fix paths.
297
+
256
298
For an issue:
257
299
258
300
- use `ghreplica` first to find candidate PRs or issue wording
@@ -302,6 +344,9 @@ Reuse an existing group when:
302
344
- it already contains clearly related members
303
345
- adding the target would keep the group coherent
304
346
347
+
Do not widen an existing group just because `pr-search-cli` placed several PRs under the same issue or duplicate cluster.
348
+
Confirm that the actual implementation path and maintainer intent still match before adding the new member.
349
+
305
350
Create a new group only when no existing group clearly fits.
306
351
307
352
Create the group with a problem-based title and an intent-based description:
@@ -378,6 +423,9 @@ prtags annotation group set <group-id> \
378
423
379
424
When the evidence is incomplete, set `duplicate_status=candidate` and lower the confidence.
380
425
426
+
If a per-PR or per-issue annotation write fails because `prtags` cannot resolve the target through `ghreplica`, do not force a fallback write path.
427
+
Keep the group state you were able to write, report that the mirror is still missing the target object, and defer the target-level annotation until `ghreplica` catches up.
428
+
381
429
## Step 8: Let prtags Sync The Group Comment
382
430
383
431
Do not tell the agent to create a GitHub comment directly.
- CLI/doctor plugins: lazy-load doctor plugin paths and prefer installed plugin `dist/*` runtime entries over source-adjacent JavaScript fallbacks, reducing the measured `doctor --non-interactive` runtime by about 74% while keeping cold doctor startup on built plugin artifacts. (#69840) Thanks @gumadeiras.
11
11
- WhatsApp/groups+direct: forward per-group and per-direct `systemPrompt` config into inbound context `GroupSystemPrompt` so configured per-chat behavioral instructions are injected on every turn. Supports `"*"` wildcard fallback and account-scoped overrides under `channels.whatsapp.accounts.<id>.{groups,direct}`; account maps fully replace root maps (no deep merge), matching the existing `requireMention` pattern. Closes #7011. (#59553) Thanks @Bluetegu.
12
12
- Plugins/startup: prefer native Jiti loading for built bundled plugin dist modules on supported runtimes, cutting measured bundled plugin load time by 82-90% while keeping source TypeScript on the transform path. (#69925) Thanks @aauren.
13
+
- Plugin SDK/Pi embedded runs: add a bundled-plugin embedded extension factory seam so native plugins can extend Pi embedded runs with async runtime hooks such as `tool_result` handling instead of falling back to the older synchronous persistence path. (#69946) Thanks @vincentkoc.
14
+
- Tokenjuice: add bundled native OpenClaw support for tokenjuice as an opt-in plugin that compacts noisy `exec` and `bash` tool results in Pi embedded runs. (#69946) Thanks @vincentkoc.
13
15
- Providers/Tencent: add the bundled Tencent Cloud provider plugin with TokenHub and Token Plan onboarding, docs, `hy3-preview` model catalog entries, and tiered Hy3 pricing metadata. (#68460) Thanks @JuniperSling.
14
16
- TUI: add local embedded mode for running terminal chats without a Gateway while keeping plugin approval gates enforced. (#66767) Thanks @fuller-stack-dev.
17
+
- CLI/Claude: keep compatible `claude-cli` runs on a warm stdio session and resume from the stored Claude session after Gateway restarts or idle exits. (#69679) Thanks @obviyus.
15
18
16
19
### Fixes
17
20
21
+
- Gateway/pairing webchat: render `/pair qr` replies as structured media instead of raw markdown text, preserve inline reply threading and silent-control handling on media replies, avoid persisting sensitive QR images into transcript history, and keep local webchat media embedding behind internal-only trust markers. (#70047) Thanks @BunsDev.
22
+
- Codex harness: default app-server runs to unchained local execution, so OpenAI heartbeats can use network and shell tools without stalling behind native Codex approvals or the workspace-write sandbox.
23
+
- OpenAI/Responses: keep embedded OpenAI Responses runs on HTTP when `models.providers.openai.baseUrl` points at a local mock or other non-public endpoint, so mocked/custom endpoints no longer drift onto the hardcoded public websocket transport. (#69815) Thanks @vincentkoc.
18
24
- Channels/config: require resolved runtime config on channel send/action/client helpers and block runtime helper `loadConfig()` calls, so SecretRefs are resolved at startup/boundaries instead of being re-read during sends.
19
25
- CLI/channels: preserve bundled setup promotion metadata when a loaded partial channel plugin omits it, so adding a non-default account still moves legacy single-account fields such as Telegram `streaming` into `accounts.default`.
20
26
- Telegram: keep the sent-message ownership cache isolated per configured session store, so own-message reaction filtering remains correct with custom `session.store` paths.
- Discord: read `channel.parentId` through a safe accessor in the slash-command, reaction, and model-picker paths so partial `GuildThreadChannel` prototype getters no longer throw `Cannot access rawData on partial Channel` when commands like `/new` run from inside a thread. Fixes #69861. (#69908) Thanks @neeravmakwana.
25
31
- Browser/Chrome MCP: reset cached existing-session control sessions when a `navigate_page` call times out, so one stuck navigation no longer poisons the browser profile until a gateway restart. (#69733) Thanks @ayeshakhalid192007-dev.
26
32
- Browser/Chrome MCP: propagate click timeouts and abort signals to existing-session actions so a stuck click fails fast and reconnects instead of poisoning the browser tool until gateway restart. (#63524) Thanks @dongseok0.
33
+
- Gateway/channel health: base stale-socket recovery on provider-proven transport activity instead of inbound app-event freshness, preventing quiet Slack, Discord, Telegram, Matrix, and local-style channels from being restarted solely because no user traffic arrived. (#69833) Thanks @bek91.
27
34
- OpenCode Go: canonicalize stale bundled `opencode-go` base URLs from `/go` or `/go/v1` to `/zen/go` or `/zen/go/v1`, so older generated model metadata stops hitting the 404 HTML endpoint. (#69898)
28
35
- CLI/channels: honor `channels.<id>.enabled=false` as a hard read-only presence opt-out, so env vars, manifest env vars, or stale persisted auth state no longer make disabled channel plugins appear in status, doctor, or setup-only discovery.
29
36
- Channels/preview streaming: centralize draft-preview finalization so Slack, Discord, Mattermost, and Matrix no longer flush temporary preview messages for media/error finals, and preserve first-reply threading for normal fallback delivery.
- Models/CLI: show bundled provider-owned static catalog rows in `models list --all` before auth is configured, including Kimi K2.6 rows for Moonshot, OpenRouter, and Vercel AI Gateway, while keeping local-only and workspace plugin catalog paths isolated. (#69909) Thanks @shakkernerd.
38
45
- Configure: skip generic CLI startup bootstrap for `openclaw configure` and bound hint-only gateway probes so the onboarding TUI reaches its first prompt faster when the Gateway is unavailable. (#69984) Thanks @obviyus.
39
46
- Agents/harness: surface selected plugin harness failures directly instead of replaying the same turn through embedded PI, preventing misleading secondary PI auth errors and avoiding duplicate side effects.
47
+
- OpenAI Codex: add a ChatGPT device-code auth option beside browser OAuth, so headless or callback-hostile setups can sign in without relying on the localhost browser callback. (#69557) Thanks @vincentkoc.
0 commit comments