Repository navigation
feat: read GitHub issues, pull requests, and commits beside chat - #148464
roboclaw-bot merged 13 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 19, 2026, 2:53 AM ET / 06:53 UTC (Revision 11). ClawSweeper reviewWhat this changesAdds a bundled GitHub plugin and a tabbed reader for public issues, pull requests, commits, comments, images, and diffs beside chat. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: the reader remains a distinct capability absent from main, and no blocking introduced defect was found. The supplied upgrade evidence addresses the earlier proof gap. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI routes supported links to enabled plugin readers. The GitHub plugin fetches public documents, while the Gateway retains credential and caller-authority decisions and the UI renders passive content. flowchart LR
A[GitHub link in chat] --> B[Enabled reader capability]
B --> C[Gateway scope checks]
C --> D[GitHub plugin]
D --> E[Public GitHub API]
E --> F[Bounded document]
F --> G[Tabbed reader beside chat]
Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the plugin-owned transport and shared passive reader, preserving operator policy and the demonstrated explicit opt-in upgrade path. Do we have a high-confidence way to reproduce the issue? Not applicable: this adds a reading capability; supplied browser captures and the upgrade transcript demonstrate its intended flows. Is this the best way to solve the issue? Yes: plugin-owned GitHub transport and a shared passive reader provide a coherent ownership boundary, while retaining host credential selection and existing operator settings. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5d540b25977e. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (10 earlier review cycles; latest 8 shown)
|
Add a bundled GitHub reader and passive plugin SDK link-reader contributions, preserving preview compatibility and browser navigation. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: eb7b8a89-10bf-45d4-82c1-d135e9df231e
Honor existing plugin allowlists with explicit recovery guidance, render attachments under the production image CSP, and preserve live caller authority and cancellation through nested RPC dispatch. Co-authored-by: steipete <[email protected]>
83ae64e to
17e9a5e
Compare
GitHub reader — inspected browser proofBefore opening the reader; issue and comment images under the Gateway’s production Content Security Policy; tabbed PR diff and review context. Captures use synthetic data and the built Control UI. Reader image requests were checked for absence of cookies and referrer, and for successful decoding without image-policy violations. |
Advertise both required reader methods in preview fixtures, and verify reader-first activation plus explicit external escape without changing the Activity route. Co-authored-by: steipete <[email protected]>
|
|
Merged via squash.
|
…nclaw#148464) Keep public GitHub issues, pull requests, commits, comments, images, and diffs readable beside chat in a resizable, tabbed reader. Preserve external navigation for modified clicks and explicit links. Move GitHub transport and document mapping into the bundled plugin, and expose the passive reader through the shared plugin contract. Preserve operator plugin controls, managed-preview credential authority, anonymous detail reads, and existing host read-library behavior. Bind responses to their requested resource, retain rapid reader opens in FIFO order, and cancel stale batches on close or session replacement. Add regression coverage and synchronize heartbeat and attachment tests with their actual completion boundaries. Co-authored-by: steipete <[email protected]>
Share existing config-path and retired-media traversal owners. Remove speculative rollback, retry, reentry, and diagnostic freshness machinery while preserving security effect checks, ordinary cleanup settlement, resource bounds, and public config, CLI, protocol, and persisted-data shapes. Phase E is untouched. Production delta: 335 net lines removed (+97/-432) across 16 old files. Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests in 4 files. Independent scoped review found no actionable P0-P2 findings. Published as a branch only under the campaign's below-500 rule, not a PR. Best-effort tradeoffs accepted - Overlapping failed env publications may require reload/restart instead of ordered compensation; #105289/#103736 document synthetic harness proof, not a human actual-use report. - Failed in-process restart preparation/emission requires explicit config reapply or manual restart; #105289/#160375 describe synthetic timing, not a transient transport failure. - A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; #149792 uses forced mount fixtures, without a human incident. - CLI provider cleanup is attempted once; #113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure. - Requested-head CI details are a snapshot until refresh; #148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs. - A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; #92175/#89456 are synthetic trust-harness work, and every trust check remains. - Model normalizers must not reenter the same resolver; #156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain. - Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; #109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding. - A delayed update verification reply may repeat a terminal broadcast or briefly show old status; #160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain. - A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; #112338/#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains. - Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; #113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain.
…#170826) * refactor: simplify older agent and channel execution paths Consolidate duplicate payload and metadata projections under their existing owners. Simplify internal bookkeeping and bounded cache invalidation while retaining public SDK contracts, security-effect authority, ordinary concurrency, and durable user state. * refactor: retain branch cache pending complete old-code cutover Withdraw the branch-cache cluster because completing its unused-export cleanup requires an infra owner touched this week. Preserve the original cache, regression assertions, and docs. The remaining old-code lane removes 424 net production lines and is branch-only under the campaign BELOW-500 rule. * refactor: simplify old gateway, config, and CLI bookkeeping Share existing config-path and retired-media traversal owners. Remove speculative rollback, retry, reentry, and diagnostic freshness machinery while preserving security effect checks, ordinary cleanup settlement, resource bounds, and public config, CLI, protocol, and persisted-data shapes. Phase E is untouched. Production delta: 335 net lines removed (+97/-432) across 16 old files. Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests in 4 files. Independent scoped review found no actionable P0-P2 findings. Published as a branch only under the campaign's below-500 rule, not a PR. Best-effort tradeoffs accepted - Overlapping failed env publications may require reload/restart instead of ordered compensation; #105289/#103736 document synthetic harness proof, not a human actual-use report. - Failed in-process restart preparation/emission requires explicit config reapply or manual restart; #105289/#160375 describe synthetic timing, not a transient transport failure. - A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; #149792 uses forced mount fixtures, without a human incident. - CLI provider cleanup is attempted once; #113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure. - Requested-head CI details are a snapshot until refresh; #148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs. - A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; #92175/#89456 are synthetic trust-harness work, and every trust check remains. - Model normalizers must not reenter the same resolver; #156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain. - Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; #109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding. - A delayed update verification reply may repeat a terminal broadcast or briefly show old status; #160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain. - A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; #112338/#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains. - Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; #113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain. * refactor: defer pricing cache cleanup touched on main Withdraw the usage-format production and paired test changes after main landed afc559c, keeping the hard seven-day old-code exclusion. Both files match the pre-campaign base, so main retains its interrupted-stream usage repair. The remaining reviewed o05/o06 union removes 713 net production lines across 42 files.
…openclaw#170826) * refactor: simplify older agent and channel execution paths Consolidate duplicate payload and metadata projections under their existing owners. Simplify internal bookkeeping and bounded cache invalidation while retaining public SDK contracts, security-effect authority, ordinary concurrency, and durable user state. * refactor: retain branch cache pending complete old-code cutover Withdraw the branch-cache cluster because completing its unused-export cleanup requires an infra owner touched this week. Preserve the original cache, regression assertions, and docs. The remaining old-code lane removes 424 net production lines and is branch-only under the campaign BELOW-500 rule. * refactor: simplify old gateway, config, and CLI bookkeeping Share existing config-path and retired-media traversal owners. Remove speculative rollback, retry, reentry, and diagnostic freshness machinery while preserving security effect checks, ordinary cleanup settlement, resource bounds, and public config, CLI, protocol, and persisted-data shapes. Phase E is untouched. Production delta: 335 net lines removed (+97/-432) across 16 old files. Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests in 4 files. Independent scoped review found no actionable P0-P2 findings. Published as a branch only under the campaign's below-500 rule, not a PR. Best-effort tradeoffs accepted - Overlapping failed env publications may require reload/restart instead of ordered compensation; openclaw#105289/openclaw#103736 document synthetic harness proof, not a human actual-use report. - Failed in-process restart preparation/emission requires explicit config reapply or manual restart; openclaw#105289/openclaw#160375 describe synthetic timing, not a transient transport failure. - A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; openclaw#149792 uses forced mount fixtures, without a human incident. - CLI provider cleanup is attempted once; openclaw#113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure. - Requested-head CI details are a snapshot until refresh; openclaw#148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs. - A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; openclaw#92175/openclaw#89456 are synthetic trust-harness work, and every trust check remains. - Model normalizers must not reenter the same resolver; openclaw#156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain. - Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; openclaw#109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding. - A delayed update verification reply may repeat a terminal broadcast or briefly show old status; openclaw#160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain. - A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; openclaw#112338/openclaw#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains. - Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; openclaw#113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain. * refactor: defer pricing cache cleanup touched on main Withdraw the usage-format production and paired test changes after main landed 7a00a9f, keeping the hard seven-day old-code exclusion. Both files match the pre-campaign base, so main retains its interrupted-stream usage repair. The remaining reviewed o05/o06 union removes 713 net production lines across 42 files.



What Problem This Solves
Following GitHub references should not take people away from the conversation they are reviewing.
User Impact
Read public GitHub issues, pull requests, commits, comments, images, and diffs in a resizable, tabbed reader beside chat. The reader is read-only; explicit external links and modified clicks still open the browser.
The bundled GitHub plugin is default-on, but existing allowlists, deny lists, and explicit disables remain authoritative. An existing allowlist without
githubrequires explicit opt-in to restore previews. Doctor explains that choice without changing it. The plugin adds 21 standard generated plugin-control paths, not feature-specific settings. Images use a narrow GitHub attachment-host policy with no cookies or referrer; script/connect policy is unchanged.Why This Change Was Made
The plugin owns GitHub transport and document mapping. Core retains credential selection, live caller authority, and the shared passive reader contract. Host callers use the existing public-artifact loader; optional Doctor guidance loads a small diagnostic artifact rather than requiring the transport or activating the plugin.
Evidence
3c899b684118877a2fa6b62940694eb3a27894d1. Exact-head CI is the hosted landing gate. This head integrates main90ab8619b3e; only the generated config baselines conflicted, and the canonical generator resolved them. The reviewed GitHub reader implementation is unchanged.[email protected]upgraded the candidate fixture and restarted the Gateway. With an existingplugins.allow=["telegram"]and explicit Codex opt-out, update and Doctor preserved plugin policy and the seeded logging, message, and Gateway settings. Doctor's GitHub recovery guidance reached the operator.github.previewremained unavailable until explicit opt-in, then returned a live public PR preview after restart. The warning disappeared afterward.Redacted upgrade transcript and artifact provenance
Source tree
181da1c4a89fb2bde1eaccd763cc4c55ff413571was receiver-verified against head3c899b684118877a2fa6b62940694eb3a27894d1; the same-tree build carrier was851e37525aa93fb9c3728618a10a4f34dbb4c147. Blacksmith Testboxtbx_01m2w5mt744eavbhgppft6g55kcompleted the combined acceptance command with exit 0 and was stopped.openclaw update --yes --tag=<first-hop-fixture.tgz> --jsonran through the installed published updater. Original candidate SHA-256:102c1a7005476bc0c8846d5d2bd269f727ec06e6ae2f52eb1fe9b4ae4ec25bd9; canonical first-hop fixture SHA-256:d022f499782dfe58baa0eb7f964e335a4748a786ab30fcbd6fadb90c2d808a06. The helper preserved the original artifact and recorded onlypackage.json,dist/build-info.json, anddist/postinstall-content-inventory.jsonas first-hop metadata transformations. No release artifacts were published.openclaw doctor --non-interactive --no-workspace-suggestionsdisplayed the instruction to appendgithubto the existing allowlist and enable it in Plugins. Configuration-equality assertions covered before upgrade, after upgrade, after Doctor, and after the explicit opt-in:openclaw config set plugins.allow '["telegram","github"]' --strict-jsonopenclaw config set plugins.entries.github.enabled true --strict-jsonopenclaw gateway restart --jsonA live
github.previewcall then returned this PR's expected URL and title. The separate two-hop test recorded Gateway PID changes 502 → 3597 → 8319, both update exits 0, and no transaction residue.Earlier acceptance attempts are retained: one stopped at a line-wrapped guidance matcher; another exposed the unchanged default Codex-route repair in an underspecified fixture. The passing fixture makes its existing Codex opt-out explicit, while retaining every configuration-equality assertion. Separately, the prior same-version Codex integrity rejection remains negative evidence, not a pass. The recorded 9.4 baseline has no applicable missing-lazy-chunk negative control; the canonical workflow reports that as not applicable.
The earlier prepared head
58fb1cd2c28passed CI and live proof, but the merge guard refused after main advanced into a generated-baseline conflict. No merge was submitted. Current-head proof was rerun after the mechanical refresh rather than relabeling the earlier evidence.Worked on by
Work sessions