Skip to content

improve: use plain language for connection checks - #164757

Closed
RomneyDa wants to merge 5 commits into
mainfrom
improve/plain-language-connection-checks
Closed

RomneyDa wants to merge 5 commits into
mainfrom
improve/plain-language-connection-checks

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Superseded at the author’s request by six independent, main-targeted PRs:

All original changed files are covered, with no files overlapping between replacements. Matching assertions and generated configuration-help hashes travel with their producers. The former runtime repair work is separate from copy changes.

The oversized PR’s pending CI run was cancelled. Each replacement records its own validation and known limitations. No PR is being merged or configured for auto-merge.

@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: memory-core Extension: memory-core cli CLI command changes security Security documentation scripts Repository scripts commands Command implementations docker Docker and sandbox tooling agents Agent runtime and tooling channel: feishu Channel integration: feishu extensions: acpx extensions: anthropic labels Oct 4, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 4, 2026
@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 5, 2026, 2:45 PM ET / 18:45 UTC (Revision 8).

ClawSweeper review

What this changes

The branch replaces technical connection-check wording across presentation surfaces and documentation, updates matching assertions and generated metadata, and repairs startup-admission handling and bounded session rereads.

Merge readiness

⛔ Blocked before merge - 2 items remain

The wording improvement remains useful and is absent from current main. No actionable introduced defect was found; the earlier settings and data-model compatibility concern is unsupported by the inspected hunks.

Priority: P3
Reviewed head: 973950e38dc3b8523392eb7f82cb9703d4283d1d

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, coherent work with directly inspected copy proof and bounded recovery repairs; no blocking defect was found.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after component screenshots directly prove the changed connection labels with synthetic status results. The member-authored recovery repairs carry reported production-boundary E2E results and inspected regressions; broader contributor proof is exempt, and no stored-data contract changes require migration proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected before/after component screenshots directly prove the changed connection labels with synthetic status results. The member-authored recovery repairs carry reported production-boundary E2E results and inspected regressions; broader contributor proof is exempt, and no stored-data contract changes require migration proof.
Evidence reviewed 11 items Pinned introduction and latest repair: Reviewed the merge-base-to-head changes and the latest commit separately. The latest commit adds pending-admission propagation, a typed read-invalidation error, bounded reread recognition, focused regressions, and the corrected health-output assertion.
Earlier compatibility concern cleared: Config help and plugin manifest hunks change labels or help text while retaining keys and schema behavior. The recovery repairs introduce no schema, serialized-format, migration, default, or new configuration setting; generated hashes are presentation metadata.
Retry and consumption invariants: The session lookup still pins its store inventory, checks current source facts, retries at most once, and refuses any retry after the consumer has begun. The new error type identifies storage invalidation without weakening those guards.
Findings None None.
Security None None.

How this fits together

OpenClaw presents Gateway and plugin connection results through CLI output, dashboard labels, native diagnostics, and documentation. Its session owners also settle inbound persistence and provide fresh session facts before dispatch or consumption.

flowchart TD
  A[Connection requests] --> B[Gateway and plugin checks]
  B --> C[Presentation strings]
  C --> D[CLI and app diagnostics]
  E[Inbound messages] --> F[Session admission and fresh reads]
  F --> G[Agent dispatch and session consumers]
Loading

Before merge

  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Production versus test growth production net +20 lines; tests net +85 lines Production growth supports the two bounded recovery repairs; regression coverage protects admission ordering and prevents repeated consumer effects.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep familiar wording in existing presentation owners while preserving command names, stored contracts, pre-dispatch admission, and bounded fresh reads.

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

Not applicable to the primary copy improvement; the screenshots directly show it. The recovery regressions were source-reviewed and reported by the maintainer, but were not executed during this review.

Is this the best way to solve the issue?

Yes: existing presentation owners supply the wording, and the recovery changes reuse established admission and reread boundaries without adding competing policy.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 4d94a9fac61f.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: The primary contribution improves diagnostic wording without adding settings or changing defaults.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected before/after component screenshots directly prove the changed connection labels with synthetic status results. The member-authored recovery repairs carry reported production-boundary E2E results and inspected regressions; broader contributor proof is exempt, and no stored-data contract changes require migration proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected before/after component screenshots directly prove the changed connection labels with synthetic status results. The member-authored recovery repairs carry reported production-boundary E2E results and inspected regressions; broader contributor proof is exempt, and no stored-data contract changes require migration proof.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected before/after component screenshots directly prove the changed connection labels with synthetic status results. The member-authored recovery repairs carry reported production-boundary E2E results and inspected regressions; broader contributor proof is exempt, and no stored-data contract changes require migration proof.

Evidence

What I checked:

  • Pinned introduction and latest repair: Reviewed the merge-base-to-head changes and the latest commit separately. The latest commit adds pending-admission propagation, a typed read-invalidation error, bounded reread recognition, focused regressions, and the corrected health-output assertion. (src/channels/session.ts:50, 973950e38dc3)
  • Earlier compatibility concern cleared: Config help and plugin manifest hunks change labels or help text while retaining keys and schema behavior. The recovery repairs introduce no schema, serialized-format, migration, default, or new configuration setting; generated hashes are presentation metadata. (src/config/schema.help.models.ts:41, 973950e38dc3)
  • Retry and consumption invariants: The session lookup still pins its store inventory, checks current source facts, retries at most once, and refuses any retry after the consumer has begun. The new error type identifies storage invalidation without weakening those guards. (src/gateway/session-utils-store-lookup.ts:473, 973950e38dc3)
  • Focused regression coverage: The inspected tests cover pending admission despite failed reporting, terminal metadata errors remaining best effort, native writes before and during read admission, repeated invalidation refusal, and no replay after consumer entry. Tests were inspected, not executed in this read-only review. (src/gateway/session-utils-store-lookup.freshness.test.ts:11, 973950e38dc3)
  • Inspected visual evidence: Both prepared screenshots were opened locally. The actual isolated status components with synthetic results visibly change the action to “Check connection,” the timestamp label to “Last connection check,” and success/failure labels to familiar wording. This proves the visible copy, not network behavior. (ui/src/i18n/locales/en.ts:148, 973950e38dc3)
  • Still necessary on current main: The fetched main revision retains “Probe,” “Last probe,” “Probe ok,” and “Probe failed” in the English presentation catalog, and its inbound recorder still swallows the metadata write rejection. The central contribution is therefore still distinct. (ui/src/i18n/locales/en.ts:148, 4d94a9fac61f)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Shakker: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • 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.

History

Review history (7 earlier review cycles)
  • reviewed 2026-10-04T04:24:04.203Z sha e291e95d13ac8e09f9465b3f1976529e46628b29 :: blocked before merge. :: none
  • reviewed 2026-10-04T06:54:29.064Z sha ab3362a :: blocked before merge. :: none
  • reviewed 2026-10-04T07:08:07.877Z sha ab3362a :: blocked before merge. :: none
  • reviewed 2026-10-04T07:27:43.777Z sha f287ed1 :: blocked before merge. :: none
  • reviewed 2026-10-04T20:26:06.203Z sha f509fe4 :: blocked before merge. :: none
  • reviewed 2026-10-04T20:59:13.216Z sha f509fe4 :: blocked before merge. :: none
  • reviewed 2026-10-05T18:15:35.422Z sha 2962e9c :: blocked before merge. :: none

@RomneyDa
RomneyDa force-pushed the improve/plain-language-connection-checks branch from e291e95 to ab3362a Compare October 4, 2026 06:48
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Oct 4, 2026
@RomneyDa

RomneyDa commented Oct 4, 2026 •

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review head 973950e38dc3b8523392eb7f82cb9703d4283d1d. Review only; do not merge.

The latest commit corrects a stale health output assertion, preserves inbound replay while agent startup admission is pending, and routes typed storage invalidation through the existing single pre-consumption Gateway reread. No schema, stored-data, configuration, command, or authority contract changes.

Both regressions fail before their fixes. All 42 session/cleanup/health and 63 Gateway/storage owner tests pass. Original unchanged SIGKILL recovery and worker skill-library E2Es pass. Fresh independent P2 reviews report no actionable findings. Canonical changed-file checks, native runtime builds, and docs checks pass.

The previous hosted parent timeout recovery case failed before compaction started; its fixture/owners are unchanged from main, and the unchanged local replay passed. Its timing cause remains unresolved and is recorded in the PR; no assertions or budgets were weakened. Hosted CI on this head is pending.

The earlier truncated-file compatibility checklist is not a data-model change: the config/manifest hunks only change help text, and this repair introduces no storage migrations or new defaults.

@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa
RomneyDa force-pushed the improve/plain-language-connection-checks branch from ab3362a to 6fb8fd5 Compare October 4, 2026 07:19
@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa
RomneyDa force-pushed the improve/plain-language-connection-checks branch from 6fb8fd5 to f287ed1 Compare October 4, 2026 07:20
@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Oct 4, 2026
@RomneyDa
RomneyDa force-pushed the improve/plain-language-connection-checks branch from f287ed1 to f509fe4 Compare October 4, 2026 20:19
@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Oct 4, 2026
@clawsweeper

clawsweeper Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android app: ios App: ios app: linux app: macos App: macos app: web-ui App: web-ui channel: buzz channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: signal Channel integration: signal channel: slack Channel integration: slack channel: sms Channel integration: sms channel: telegram Channel integration: telegram channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser cli CLI command changes commands Command implementations deploy: cloudflare Cloudflare deployment template and docs docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: acpx extensions: anthropic extensions: apple-fm extensions: browser extensions: clawrouter Extension: clawrouter extensions: cloudflare extensions: codex extensions: copilot extensions: memory-core Extension: memory-core extensions: memory-wiki extensions: policy extensions: qa-lab extensions: zai fleet gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: beam Beam session sharing plugin plugin: bonjour Plugin integration: bonjour plugin: file-transfer plugin: google-meet plugin: imap plugin: linux-node plugin: mxc plugin: onnx plugin: team-reports proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts security Security documentation security-sensitive-changed size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant