Skip to content

Versioning — Companion ↔ Gateway compatibility #855

Closed as not planned
Closed as not planned

Description

@samanthamsong

Epic: «Ship & update the node with confidence» (#838)
Backlog Doc ID: #35 · Priority: P2 · Area: release

Description
If the gateway makes a breaking change, the companion app has no compatibility story today.

Definition of done
A defined version-compatibility policy + handling between companion and gateway.

Part of the «Ship & update the node with confidence» tracking issue (#838).

Activity

  1. clawsweeper commented on Jun 26, 2026

    @clawsweeper

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 8, 2026, 8:06 PM ET / August 9, 2026, 00:06 UTC.

    Summary
    Keep open for a maintainer product decision. Current main rigorously validates app-managed Gateway setup, but it intentionally leaves existing remote Gateway compatibility to protocol and method compatibility without a defined user-facing support contract.

    Reproducibility: not applicable. This is a requested compatibility contract, not a report of a presently reproducible failure; current source already demonstrates partial managed-setup handling and an intentionally broader remote path.

    Root-cause cluster
    Relationship: canonical
    Canonical: #855
    Summary: This is the remaining specific compatibility-policy work after the broader release-confidence tracker closed.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.

    Maintainer decision needed

    Question Recommendation
    What compatibility guarantee should the Windows companion make for user-managed or remote Gateways: a declared protocol and method range, a validated release range, or no support guarantee beyond app-managed WSL setup? Formalize protocol and method compatibility: Keep exact validation for app-managed WSL setup and define a tested protocol and required-method contract with clear remote-Gateway diagnostics.

    Why: Current main deliberately separates exact app-managed setup validation from broader remote connections, so selecting a fail, warn, or support policy changes existing deployment expectations.

    Next step
    A maintainer must choose the remote-Gateway support contract before implementation can safely define failure behavior and compatibility diagnostics.

    Review details

    Best possible solution:

    Document a supported remote-Gateway protocol and method contract, retain exact release validation for companion-managed WSL setup, and surface a clear compatibility diagnostic when a remote Gateway falls outside that contract.

    Do we have a high-confidence way to reproduce the issue?

    Not applicable. This is a requested compatibility contract, not a report of a presently reproducible failure; current source already demonstrates partial managed-setup handling and an intentionally broader remote path.

    Is this the best way to solve the issue?

    Unclear until a maintainer selects the remote-Gateway support boundary. Extending the exact managed-release gate to every connection without that choice could disrupt existing user-managed Gateways.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Applying the app-managed exact-release gate to user-managed remote Gateways could break supported deployments, while permitting every version without a declared method-compatibility boundary can produce runtime feature drift.

    Codex review notes: model internal, reasoning high; reviewed against 4712e227d110.

    Label changes

    Label justifications:

    • P2: A defined compatibility contract is a normal release-quality improvement, but current app-managed setup already has a guarded release policy.
    • impact:other: The issue affects release and upgrade compatibility, which is concrete maintainer-visible impact outside the owned impact taxonomy.
    Evidence reviewed

    What I checked:

    Likely related people:

    • Dallin Romney: Current-main history attributes the validated Gateway release policy work to Dallin Romney. (role: recent release-policy contributor; confidence: high; commits: e295df266c72, 9f9a8eda6340; files: src/OpenClaw.SetupEngine/GatewayReleasePolicy.cs, tests/OpenClaw.SetupEngine.Tests/GatewayReleasePolicyTests.cs)
    • Scott Hanselman: Recent history attributes managed Gateway release setup and restart-recovery hardening to Scott Hanselman. (role: recent managed-Gateway design contributor; confidence: medium; commits: 01faa6419b42, 2439d4371096; files: docs/adr/0001-gateway-release-policy.md, docs/CONNECTION_PROTOCOL_RESEARCH.md)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P2
    impact:other
    issue-rating: 🌊 off-meta tidepool
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    on Jun 26, 2026
  3. added theissue type on Jun 26, 2026
  4. moved this from Backlog to Release in Windows Companion Appon Jul 13, 2026
  5. github-actions commented on Jul 25, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  6. github-actions commented on Aug 16, 2026

    @github-actions
    Contributor

    Closing due to inactivity.
    If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.

  7. locked as resolved and limited conversation to collaborators on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-primpact:otherissue-rating: 🌊 off-meta tidepoolstale

    Type

    Fields

    Priority

    Medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions