Repository navigation
feat: monitor upstream Gateway protocol changes nightly - #1692
Conversation
Track live main, npm Gateway sources and published schemas independently from CI. Queue durable review issues and verified Copilot implementation handoffs, with cumulative review baselines and explicit activation failures. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 2711e4e4-fdec-49db-8fe5-caf7f038d64c
|
🦞👀 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: needs real behavior proof before merge. What this changesAdds publication-triggered and nightly Gateway monitoring with a permanent tracker, deduplicated candidates, and opt-in Copilot investigations. Example: The published schema introduces question.resolve with operator.questions authorization.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 3 items remain Keep open: this collaborator-approved monitoring capability is absent from main, the prior findings are repaired, and no new actionable source defect was identified. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherGitHub Actions reads upstream GitHub/npm evidence and Windows source, produces observation artifacts, and optionally writes tracking issues and starts repository agent tasks. flowchart TD
A[Publication or nightly schedule] --> B[Collector]
C[GitHub and npm evidence] --> B
D[Windows source and policy] --> B
B --> E[Observation artifacts]
E --> F[Tracker and candidate reconciliation]
F --> G[Gated agent task]
Technical reviewBest possible solution: Retain the focused monitor and opt-in gates, with final-effect authorization evidence established before merge. Do we have a high-confidence way to reproduce the issue? This is a new monitoring capability rather than a current runtime bug; source inspection confirms main only has the offline drift guard. Is this the best way to solve the issue? The collaborator-approved separation of observation, deduplicated investigation, and conditional draft implementation is coherent, and the latest repair correctly leaves coverage judgments to the agent. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 1b4d325e4118. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: No concrete bypass was found, but effective task-credential scope and revocation require final-effect verification. EvidenceWhat I checked:
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (8 earlier review cycles)
Reviewed October 22, 2026, 1:06 AM ET / 05:06 UTC (Revision 9). |
Use the existing COPILOT_GITHUB_TOKEN as requested. Reframe the drift guide around live nightly discovery versus local snapshot regression checks, removing stale verification claims and clarifying why unchanged fixtures cannot catch upstream changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 2711e4e4-fdec-49db-8fe5-caf7f038d64c
Add exact publication verification, conservative local evidence assessment, persistent tracked gaps, and bounded existing-work-aware handoff. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 0e9789a8-ec09-45db-897e-b32c16d447ef
Retain honest partial main/schema/capability coverage, omit unverified released-source comparisons, and block implementation writes until independent source-to-artifact verification exists. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 0e9789a8-ec09-45db-897e-b32c16d447ef
|
ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment |
Global repo triageDecision: Reviewed exact head Blocking findings
The schema finding was independently raised by both adversarial reviewers. The assignment finding was raised by one reviewer and independently confirmed against the live repository API. Canonical P0-P3 autoreview was unavailable because its engine returned HTTP 401, so that attempt is not counted as a clean review. Required next action: fix both blockers and rerun the monitor test suite at the new exact head. No fixes, commits, branch changes, or pushes were made during this triage. |
Use a persistent tracker and focused candidates with no-auto-PR agent tasks. Reconcile existing work and durable reservations before task creation, revalidate current authority, and retain explicit source-evidence limits. Co-authored-by: RomneyDa <[email protected]>
Recognize GitHub's returned Coding Agent principal in assignments, timeline history and PR ownership. Preserve closed-candidate reconciliation and document pending-run coalescing. Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review Please review exact head Prior findings addressed: schema annotation filtering now preserves actual wire-field names; handoff rejects non-default/read-only contexts and rechecks current candidate eligibility before its final effect; existing Copilot work is recognized by the live returned account ID, not request-login spelling. Pending-run coalescing is documented. Exact-tree native Windows proof: 51 tests passed with no failures/skips, docs passed, and restoring each old owner causally reproduced the schema and Copilot-identity defects. Full candidate and subsequent narrow follow-up both completed independent P0-P3 source review without actionable findings. The PR body records exact proof and limits: full build/Shared/Tray local closeout remains host-prerequisite-blocked, and real App delivery/task POST/agent disposition remain unverified owner-controlled activation checks. Please keep those distinct from source findings. |
|
🦞👀 Re-review progress:
|
Pass potential issue and PR overlap to the investigation agent as context instead of treating keyword matches as verified coverage. Preserve exact-work deduplication and refresh related references before task creation. Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review Please review exact head Current-tree secretless native Windows proof: 52 passed, 0 failed, 0 skipped, plus docs validation. Restoring the previous publisher reproduced the reported defect through Remaining limits are explicit, not waived: local full build/Shared/Tray remains SDK/runtime-prerequisite-blocked; previous-head hosted WSL failures match its exact main base, while the prior UI testhost crash remains unattributed because the archive lacks a fault code/stack. New-head hosted CI is separate evidence. Actual App dispatch, configured-token task POST, effective scope/revocation and agent disposition remain unverified owner-controlled checks; no merge or activation has occurred. |
|
🦞👀 Re-review progress:
|
Live dispatch and Copilot API proof (2026-10-22)Scope: maintainer-authorized live integration checks using RomneyDa's existing Exact heads:
Real behavior proof
Not verified / blocked
Next deployment prerequisite: land the receiver on its default branch under separate merge authority, run report-only observation, then exercise the actual App sender and explicitly enabled receiver/configured Copilot token. Keep the deployment-proof hold until that chain is observed. Task cleanup updateThe sender cloud run completed successfully and its task is |
Address tracker #1829 directly instead of discovering or creating it by labels and markers. Preserve candidate deduplication and human notes; copied tracker markers cannot redirect or stop publication. Co-authored-by: RomneyDa <[email protected]>
Related sender: openclaw/openclaw#173567
What Problem This Solves
Windows needs to notice meaningful Gateway capability changes without opening a new implementation PR for each publication or nightly scan.
User Impact
The existing permanent tracker #1829, addressed by fixed issue number, shows focused investigations and existing work. Unchanged evidence stays quiet. Copilot starts with automatic PR creation disabled and is instructed to open at most one linked draft PR only after confirming missing production behavior. No automatic merge, runtime dependency pin, or live activation.
Why This Change Was Made
There is no tracker discovery by title, label or marker, and no automatic tracker creation. Copies cannot redirect the target; missing, closed or damaged #1829 requires restoring that issue. Markers only validate the editable section.
Publication notifications provide the fast path; nightly reconciliation is independent fallback. Candidate identity uses relevant family/schema contracts rather than daily package versions or broad commit hashes. Closed exact candidates remain acknowledged; exact monitor work, tasks, and linked PRs are reused. Prose-matched issues and PRs provide investigation context, not verified coverage or a reason to suppress investigation. A durable reservation prevents blind replay after uncertain task creation.
The write boundary rechecks immutable upstream main evidence, the integrity-checked schema artifact, and current Windows assessment. These authorize investigation only. Released package-source binding remains explicitly unverified. The current explicit family policy covers question-answer; other unknown surfaces remain visible backlog, not automatic defects.
Evidence
description/title; task creation rejects non-default/read-only contexts and rechecks current candidate eligibility at the final effect.Change Type
Scope
Required proof pools
none: automation-only change, with no app UI, node command, or capacity-dependent custom product proof. Native build/shared/tray closeout is recorded below separately.Validation
Current head:
07620a90286ad8b40918178056a770f9ad85bffd. Documentation-only follow-up: restored the existing drift-guard guide and added a 27-line operator note; removed the new monitor guide. The full PR now changes eight files with 27 documentation additions. All executable, workflow, policy and test bytes are unchanged from43942215.validate-agent-skills.ps1: passed (11 skills, 20 Markdown files).git diff --check: passed.validate-docs.ps1andvalidate-agent-skills.ps1: both passed in native CI. Local docs validation was blocked by its Windows-specific path-prefix check on macOS; the native result resolves that validation gap.Prior implementation head
43942215407554c0db52ac7a4926b1e4de6b636a, exact tested tree62eefe52df1adbdbcf8b7be52343a6fc684eefeb, secretless Azure native Windows normal.node --test .github/scripts/upstream-gateway-protocol.test.cjs .github/scripts/gateway-capabilities.test.cjs./scripts/validate-docs.ps1./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restoredotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restoregit diff --checkEarlier
setup-dev.ps1 -CheckOnlyconfirmed the required SDK/runtime gap, and authorized setup refused becausewingetwas absent. The replacement host lacked the same prerequisites; the failed setup was not blindly repeated. No full local build success is claimed. All task-owned proof leases were released and read back.The
43942215hosted run completed with two WSL setup inactivity timeouts and a Tray UI testhost crash; its aggregate gate failed. Revocation recovery, core/CLI, tray/setup/integration and CodeQL passed. These are not the earlier Node-version installation failures. The failing owners are unchanged by this PR; causality has not been established by an exact-base reproduction. Current documentation-head CI is linked above. The following hosted results and ClawSweeper verdict are prior-head evidence atb9387409, not checks of the fixed-number follow-up.Prior-head Build and Test finished: 11 successful jobs, 4 failed, 5 skipped. CodeQL passed. Hosted native results: Shared 4,676 passed/8 skipped, Connection 1,672/1, CLI 129 passed, Tray 4,474 passed, SetupEngine 2,425 passed/1 skipped, integration 55/3, dev-settings 31 passed, Functional UI 19 passed, Tray UI 509/33, accessibility 23 passed. This is prior-head hosted proof, not current-head CI or successful local closeout.
At
b9387409, the three failed WSL E2E lanes and their aggregate gate were red because installation rejects Node 24.19.0 (requires 24.22.1+ or 26.12.1+). The exact tested main base showed the same setup/network failures; its revocation job was cancelled, so that lane has no exact-base terminal-failure comparison. A newer main run showed the same rejection in all three lanes. The PR does not change those installer/test owners. No CI reruns were requested.Prior-head UI CI passed all seven ReasoningPicker cases. This does not establish a fix for the previous-head testhost crash: that artifact contains no exception code, stack, fault module or event record, and its cause remains unknown. No speculative UI change was made.
Completed ClawSweeper review binds prior head
b9387409, confirms prior source findings repaired, and reports zero actionable source findings. It retains an authority-proof/security hold: overall/proof 1/6, patch quality 3/6. Actual service scope and revocation evidence remains required before merge; no bypass was demonstrated. Neither PR is merged, auto-merge is off, and automation remains inactive.Real Behavior Proof
43942215407554c0db52ac7a4926b1e4de6b636a, exact tree62eefe52df1adbdbcf8b7be52343a6fc684eefeb.b9387409publisher made the copied-marker/title-change test fail withPermanent tracker identity missing or ambiguous; reconcile manually. Current bytes were restored and verified before the full suite.43942215: 54 passed, 0 failed, 0 skipped. The new regressions prove fixed-number updates despite copied markers and title changes, no tracker creation, and no replacement writes for a closed or invalid pinned tracker. Existing prose-context and repeat-task regressions also pass. Existing exact-work, reservation, linked-PR, returned Copilot identity and authority regressions remain green.Security Impact
Issue/tracker writes use the workflow token. Only task API calls use the Windows
COPILOT_GITHUB_TOKEN, never the upstream App key. No automatic retry of a non-idempotent task POST; incomplete history and ambiguous state stop work. No contributor package/source code is executed during collection. The full nine-file P0-P3 source review completed scoped-clean; the subsequent three-file Copilot identity/coalescing follow-up also completed scoped-clean with full owner/test context. The related-work and fixed-number tracker follow-ups each completed full-context P0-P3 source review without actionable findings. The schema, Copilot identity, prose suppression and final-effect authority checks have public boundary regressions. This is source review, not live credential-boundary proof.Compatibility and Migration
Backward compatible for installed clients: Yes. Config/environment change: Yes, opt-in automation activation. Runtime migration: No.
Merge the receiver first, inspect a manual
report_only: truerun, then explicitly configure:UPSTREAM_GATEWAY_MONITOR_ENABLED=trueto permit writes. Unset by default; manual report-only defaults true.COPILOT_GITHUB_TOKEN: user token with Agent tasks read/write, eligible Copilot Business/Enterprise user, repository/organization cloud-agent approval and budget. No issue-assignment fallback.Existing source-coverage reports stay explicitly unverified. Preserve tracker/candidate labels, identity markers, and bot-owned delimiters. Resolve uncertain reservations manually rather than deleting them to replay task creation. Nothing has been activated by this update.
Review Conversations