Repository navigation
Conversation
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
|
🦞👀 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 maintainer review before merge. What this changesThis PR adds exact-publication observations and conservative Windows capability reports while disabling implementation publication and handoff until package-source binding is independently verified. Example: Observe [email protected] with declared source bcfc88812a35243893585dbeca87ca41b48272ca and publication workflow 2b988ee83444f08ccaf37aa5e98f370726c75f6e.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this collaborator-authored draft adds useful reporting absent from current main, and the earlier validation blocker is resolved with no actionable introduced defect found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRepository automation receives scheduled or publication triggers, reads GitHub/npm metadata and local Windows source evidence, and produces report artifacts plus bounded health issues. flowchart TD
A[Publication or schedule] --> B[Read only collector]
C[GitHub and npm metadata] --> B
D[Windows source and tests] --> B
B --> E[Report artifacts]
E --> F[Source binding guard]
F --> G[Implementation writes blocked]
Technical reviewBest possible solution: Land the scoped reporting work with its parent stack while keeping source verification and implementation activation in separately reviewed work. Do we have a high-confidence way to reproduce the issue? This is new monitoring capability; supplied current-head CLI output demonstrates the tooling/source discrepancy and conservative report behavior. Is this the best way to solve the issue? Separating publication identity from unverified package source preserves useful observations without authorizing implementations from unsupported provenance claims. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 16299381a4df. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
LabelsLabel changes:
Label justifications:
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 (4 earlier review cycles)
Reviewed October 11, 2026, 9:41 PM ET / October 12, 2026, 01:41 UTC (Revision 5). |
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
3f25a27
into
karkarl-upstream-gateway-protocol-monitor
|
Consolidated into #1692 (feat: monitor upstream Gateway protocol changes nightly) at the user's request. Stack 1695 was dissolved, and the surviving branch was fast-forwarded to this exact head, 3f25a27. All commits and the provenance safeguards are preserved. GitHub automatically marked this PR merged when its commits reached its target feature branch; nothing was merged into main. Continue review on #1692. Fresh consolidation validation passed: full build, 52 focused tests, Shared 4,262 passed/35 existing skips, Tray 3,996 passed. Independent source-to-artifact verification remains an explicit remediation activation blocker. |
Stacked on #1692 (feat: monitor upstream Gateway protocol changes nightly). Both remain draft in native stack 1695.
What Problem This Solves
The monitor must flag Windows capability gaps on exact publications and must not misidentify publication tooling as released Gateway source.
User Impact
Maintainers get read-only main/schema/local capability reports, including pending Q&A on first run and unchanged upstream. No application or Q&A UI behavior changes.
Implementation issue publication and agent handoff are blocked until independent package-source-to-exact-artifact verification is implemented. The remediation pipeline is not activated or complete. Missing source coverage is explicit, not a zero-delta success or a configurable bypass.
Why This Change Was Made
The six-field publication contract retains
source_commitas the sender-declared package source. The receiver checks GitHub existence, not artifact binding. Exact npm metadata/digest and registry SLSA identify a separate publicationworkflowSha. Only the announced package is pinned; the other package remains independent latest.Concrete 2026.9.9 evidence disproved the earlier released-source interpretation: both packages' SLSA predicates identify tooling
2b988ee83444f08ccaf37aa5e98f370726c75f6e, while the signed release tag identifies candidatebcfc88812a35243893585dbeca87ca41b48272ca. There is no candidate dependency in those SLSA statements. Neither a version tag nor commit existence independently binds candidate source to the exact published tarball.Report v2 therefore records
sourceCoverage: unverifiedand null released commit/tree/diff. It never inventories the tooling tree as released source. Legacy v1 observations cannot supply a trusted baseline. Main early warning, verified schema tarball comparison and current Windows evidence remain useful independently.Windows support is conservative: string occurrence, DTOs, mocks and wiring candidates do not imply support. Reviewed decisions require production/test evidence. Producer-only question.request/waitAnswer have narrow role exemptions. Unknown surfaces remain unassessed/pending, not automatically defective. Retained remediation state machines preserve bounded work, deduplication and partial-failure handling, but their public entry points now fail before API writes. Separate source-binding and transient-observation health issues prevent the permanent activation blocker from hiding collection failures.
Evidence
52 focused tests pass. Clean-head live nightly and both publication reports distinguish the real candidate/tooling mismatch, omit unverified released comparisons and retain Q&A. Replayed main/schema deltas are zero with stable fingerprints; released delta is null, not zero. Both public implementation entry points reject the live report with zero API calls.
Follow-up rubber-duck review found no blocking issues. Adopted separate health issues, guard diagnostics, independent fingerprint policy version and negative source-claim coverage. Earlier claims that tooling SHA 2b988ee8 proved released source are withdrawn and superseded by this proof.
Change Type
Scope
winnodeRequired proof pools
none: monitor/workflow/report-only changes; no capacity-dependent runtime or UI change.Validation
actionlint.exe .github\workflows\upstream-gateway-protocol.ymlnode --test .github\scripts\upstream-gateway-protocol.test.cjs .github\scripts\gateway-capabilities.test.cjs.\build.ps1dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoreFinal local closeout completed on 2026-10-11 with exit 0 at
3f25a2726ecf424aa8ac2abb85f5108b909bada9. The earlier GitVersionAbandonedMutexExceptionrecovered on retry. A subsequent interrupted closeout was not counted as success; the complete serialized build/Shared/Tray rerun above passed. Logs are retained asv2-resumed-build.log,v2-resumed-Shared-tests.log,v2-resumed-Tray-tests.log, andv2-resumed-focused.login session artifacts.Current-head hosted CI also passed CI Gate, Core/CLI, Tray/setup/integration, UI/accessibility, setup/connect, revocation/network recovery E2E, and artifact builds. No failing or pending checks were present at closeout; conditional release/security jobs were skipped, not claimed as executed proof.
Official actionlint ARM64 archive SHA256
4900eb60e084604850935705306305f0bb0ca532e07c2b4ae642917142aba75dwas verified before execution. No Go or tracked dependency changes.OPENCLAW_REPO_ROOTpoints at this worktree and tray settings are isolated. Generated bin/obj use session-local C: junctions due host storage limits.Real Behavior Proof
3f25a2726ecf424aa8ac2abb85f5108b909bada9.node .github\scripts\upstream-gateway-protocol.cjswith external OUTPUT_DIR and a legacy PREVIOUS_REPORT; then both exact 2026.9.9 package events using GITHUB_EVENT_NAME=repository_dispatch and GITHUB_EVENT_PATH with the documented payload, declared source bcfc8881; replay the protocol event. Invoke public publish/handoff with the resulting report and an API stub that rejects any call.Yes/No/N/A): N/A; copied current-head output above, detailed logs/reports retained in session artifacts.Security Impact
Yes/No): No new receiver job permissions.Yes/No): No; existing COPILOT_GITHUB_TOKEN remains confined to guarded handoff.Yes/No): Yes; exact metadata/provenance and declared-source existence checks; released tooling-tree fetch removed.Yes/No): Yes; bounded read-only git evidence collection.Yes/No): Yes; local source/test path/hash/wiring evidence, not exported source content.Yes, explain the risk and mitigation: strict payload validation, fixed hosts/repository/packages, no payload shell interpolation or upstream code execution; separate read-only observer and write jobs; unverified/malformed/legacy source claims cannot activate implementation writes. Registry attestations are not claimed as independently signature-verified.Compatibility and Migration
Yes/No): Runtime unchanged; six-field event v1 retained. Report v2 intentionally rejects old misleading source-coverage claims.Yes/No): Yes, sender/default-branch activation eventually required, but not sufficient for remediation.Yes/No): Fresh report baseline required; no runtime migration.Review Conversations