Skip to content

feat: inspect and launch suggested tasks in Companion chat - #2377

Merged
bkudiess merged 8 commits into
openclaw:mainfrom
bkudiess:feat/native-suggested-tasks
Dec 1, 2026
Merged

bkudiess merged 8 commits into
openclaw:mainfrom
bkudiess:feat/native-suggested-tasks

Conversation

@bkudiess

@bkudiess bkudiess commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Companion users currently leave native chat to inspect or act on Gateway-suggested follow-up work. They need a native way to read, copy, dismiss or explicitly launch a proposal without losing the conversation they are writing in.

User Impact

User impact: act on supported Gateway task proposals directly above the native composer while keeping the selected conversation and exact unsent draft. Starts are explicit and scope/capability-gated; uncertain starts do not silently replay. Older Gateways remain compatible, and native-origin automatic suggestion generation still depends on the Gateway version/policy. Any profile-identity invalidation deliberately discards unsent task-card input (including same-operator name/avatar edits), not the main composer draft.

Why This Change Was Made

The card uses the existing authenticated Gateway client, bounded transient chat coordinator/custody and Windows-owned controls. It adds no competing task store or chat-send fallback. This follow-up resolves current-main integration, removes redundant tests only after mutation verification, and strengthens the real launch/visual evidence.

Evidence

Current-code native controls and actual Companion executable frames are collected below. Real compiled-Gateway local/worktree launches retain the exact draft; the signed installer upgrade remains visibly blocked.

Validation

Tested uncommitted staged tree ab7842df9a2ba24974c387def98694b857b906a6, based on HEAD 9eff64bdc39893c9aae7aae80bf129c59bc6a1ae and MERGE_HEAD 3670fcd6cd8849befd86f252b2c64a0f285c21ba. The parent will bind the final commit to this tree before publishing. These are local/Crabbox executions, not a claim that hosted PR CI ran. Only the combined native test source changed in this review round. The complete 102-case matrix and canonical ARM64 full build/Shared/Tray below belong to the previously reviewed product-identical tree; they are retained as prior evidence, not relabeled executions of the new tree. The three compiled-Gateway cases are rerun from this exact staged tree.

Gate Actual result
Canonical local full build (prior reviewed tree) Passed
Local Tray UITests build (current review tree) Passed, zero warnings/errors
Local Shared / Tray (prior reviewed tree) 6214 passed, 29 ordinary skips / 7121 passed, zero skips; zero failed
Canonical ARM64 full build (prior unchanged-product tree) Passed
ARM64 Shared / Tray (prior unchanged-product tree) 6215 passed, 28 ordinary skips / 7121 passed, zero skips; zero failed
Current ARM64 compiled-Gateway acceptance rerun 3/3 executed/passed, zero failures/skips; dual cleanup-fault negative control: 2 intended failures + 1 dismiss pass, original primary preserved, zero success receipts
Complete selected native/fixture proof (prior reviewed tree) 102/102 executed/pass, zero failed/skipped: 87 mounted/native cases, 2 actual Companion-process cases, 3 compiled-Gateway cases, 9 authenticated-loopback provider cases and 1 pure cache case
Non-installing settings preservation 128/128 passed; not an upgrade installation
Mutation controls Supported-mode mutation 4/4 RED, restored transport 4/4 GREEN. Primary-label mutation kills both 480/1100 surviving local-mode cases; restored cases pass in the full matrix
Static gates 75 Markdown files, 7 proof pools, timing ratchet, locale/resource integrity and staged diff checks passed

Every build/test child removed inherited live Gateway/profile selectors and selected task-owned roots; approval-path isolation, exclusive desktop admission and owned foreground/focus remained required. Native input ran on ARM64 console session 1, not SSH session 0. Only owned tasks/processes were cleaned up. Original setup/capture failures and the unchanged upload-retention suite failure are retained separately; the owner-batch pass does not replace the separately reported final full-suite pass. No unrelated retention source/test or sandbox/ACL policy was changed.

Exact canonical commands:

.\build.ps1
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore
# Same per-project commands on native ARM64; no forced RID for Shared/Tray.

Selected UI invocations, serialized through the admitted task-owned native runner. The matching initial ARM64 UI build used the repository's full project-reference route. The final harness-only rebuild below used already-built, hash-verified product/dependency outputs (omit BuildProjectReferences=false for a fresh checkout):

dotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Debug -r win-arm64 `
 -p:Platform=ARM64 -p:DevBuild=false -p:RequireSignedCleanupHost=false `
 -p:BuildProjectReferences=false -t:Rebuild -nr:false -m:1
$ui = '.\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj'
$filters = @(
 'FullyQualifiedName~GatewayFixtureUiTests.SuggestedTasks_',
 'FullyQualifiedName~CombinedGatewayTask_ProducesNativeCardAndRetainsDraft',
 'FullyQualifiedName~ReactorChatLayoutProofTests.SuggestedTasks_|FullyQualifiedName~Welcome_CentersComposerAbovePromptsAndRetainsInputOnFirstMessage|FullyQualifiedName~ReleasedFixture_CenteredComparisonCapture',
 'FullyQualifiedName~SuggestedTaskReplacementTests.SuggestedTasks_'
)
foreach ($filter in $filters) {
 dotnet test $ui --no-build --no-restore -c Debug -r win-arm64 -p:Platform=ARM64 `
  -p:DevBuild=false -p:RequireSignedCleanupHost=false --filter $filter
}
# The combined partition requires the explicit task-owned compiled-Gateway receipt.
# The shipped partition sets OPENCLAW_GATEWAY_FIXTURE_APP to the freshly built executable.
# Environment/admission/fixture contracts: docs/GATEWAY_FIXTURE_TESTING.md.
.\scripts\validate-docs.ps1
.\scripts\validate-test-timing-patterns.ps1
git diff --cached --check
git diff --cached --check MERGE_HEAD

The preceding reviewed tree has a passed canonical full build, Shared (6,214 passed / 29 ordinary skips) and Tray (7,121 passed) closeout. Per the requested proportional gate those containing suites were not rerun for this test-only diagnostic change; the local Tray UITests rebuild and three compiled-Gateway cases are fresh current-tree executions. Previous failures remain private historical evidence; no unrelated source or port policy changed.

Review follow-up verification

  • Receipt success is persisted as the test method’s final operation only after the full native proof has succeeded: callback observations/assertions/captures, WithChatAsync post-callback render-error assertions and native teardown, required trace persistence, disconnect, coordinator/client/temp/JSON disposal. The callback captures only an outer-local payload. Any wrapper, trace or cleanup exception leaves no accepted-success receipt. Dismiss still writes none. All payload values remain observations, not literal true constants.
  • Diagnostic cleanup follow-up: the test preserves a callback/wrapper failure with ExceptionDispatchInfo, attempts both trace persistence and disconnect, and surfaces an AggregateException with the primary first if cleanup also fails. With only one failure, it is rethrown with its original stack. The finally block guarantees that disconnect is attempted by construction; its invocation was not separately logged. A temporary dual-fault mutation (trace write plus a synthetic exception after actual disconnect) produced 3 executed: 2 intended accepted-mode failures, 1 unchanged dismiss pass, zero success receipts; both surfaced exceptions contained the original trace failure first and the synthetic secondary failure afterward. Restored/rebuilt native selection: 3/3 GREEN, zero failed/skipped. Previous final-draft and late-trace-only negative controls remain separately recorded.
  • The duplicate worktree image was removed. Its one retained-draft frame is honestly captioned: the card has retired; the exact original draft remains; acknowledgment and no replay are proven by the trace (acceptanceSends:1). Undeclared duplicate upload digests are now rejected.
  • The original primary-label mutation patch/source were reconstructed exactly: its mutated source SHA256 matches the historical native hash receipt. Patch and provenance are kept privately beside the existing log; that historical mutation was not rerun.
  • Current report tree/patch identities are statically checked against candidate.json, with stale-tree and stale-patch negative controls. Historical notes are kept outside the current report.

Real behavior proof

Actual acceptance, not only inspection/dismissal: the native local and worktree actions each sent one real taskSuggestions.accept to the compiled Gateway, received an acknowledgment, published a different new session and reached terminal synthetic-model output. Both retained the original selected conversation, exact unsent draft and native editor; a stale callback sent no second accept. A separate read-only Git registry check found two registered worktrees, both existing inside the task root. The model endpoint/repository are synthetic; the Gateway registry/session/acceptance paths are real.

The Starting frame uses a disclosed response-delivery barrier: the real Gateway acceptance reply has arrived, and only its delivery to the consumer is held while native Starting paints. This is not a fabricated acknowledgment or representative latency measurement. The menu is captured from its owned popup HWND, not assumed present in the owner PrintWindow image.

Freshly built Companion executable: native card and retained draft

Early native prototype versus current native design

Compiled Gateway proposal before local launch

Actual owned Windows launch popup

Native Starting feedback with exact original draft

Actual accepted task: Started receipt and retained draft

After actual worktree acceptance: retired card and exact retained draft

The local Started frame visibly shows its receipt. In the selected worktree post-terminal frame the card has already retired on authoritative refresh; acceptance and the new session are verified by its trace/receipt, while the exact original draft remains visible.

The upload manifest also includes current single/multiple stack, literal instructions, repository/failure, identity notice, late welcome and 480x360 real-root comparisons, both Companion Light/Dark frames and both accepted-launch sequences. Historical/current comparisons are labeled and scaled only (the early prototype is not a released-before build); all selected frames contain synthetic content and are cropped to owned windows. The actual Companion executable frames are distinguished from mounted-root/native harness frames. The parent must replace and verify every image URL placeholder before posting. Local files are not public evidence links.

Allowlisted excerpts of the actual local task RPC request/response (T1/S2 are per-run pseudonyms; auth, device identifiers, private paths, hostnames and raw session keys were never persisted in this trace):

[
  {
    "direction": "request",
    "sequence": 3,
    "method": "taskSuggestions.accept",
    "mode": "local",
    "task": "T1"
  },
  {
    "direction": "response",
    "sequence": 3,
    "method": "taskSuggestions.accept",
    "ok": true,
    "pendingCount": null,
    "task": "T1",
    "session": "S2"
  }
]

The accompanying list trace observed a pending task before acceptance and no pending task afterward. Both local/worktree trace files record acceptanceSends:1; their hashes and screenshot hashes are in the local proof manifest. Consumer source, loaded product/test/Microsoft-Reactor binary identity and relevant compiled-producer source/entry/build metadata are retained. The producer's build-info commit is null, so a complete upstream commit/dependency-tree or official-release identity is not claimed.

Required proof pools

  • windows-11-arm64: native ARM64 build/runtime path; focused current-code results above, not a blanket pool-complete claim.
  • windows-winui-interactive: current native task controls and actual Companion process; focused visible/keyboard/ownership proof above, not full accessibility coverage.
  • windows-clean-installer-upgrade: requested latest-stable settings-preserving upgrade. Blocked pending an authorized disposable install lane and exact signed candidate artifact.

Not verified / blocked

  • Latest-stable upgrade with retained settings: latest stable was read-only pinned at v2026.11.3. No installer, upgrade, repair, package registration or shared runtime change was performed. The exact artifact/host/command/settings checklist is prepared locally; 128 passing settings/source fixtures do not substitute for an installer upgrade.
  • Official signed candidate/release/Store payload, Smart App Control and installed packaged/native-Gateway isolated-session or named-patch behavior. This acceptance proof uses an explicitly task-owned compiled Gateway process, not a registered MSIX patch.
  • Axe/screen reader, OS text-scale/High Contrast interaction and a real paid/live model provider. Synthetic resource/keyboard cases are not substituted for those lanes.
  • The final follow-up awaits independent parent Opus+Astra review, hosted CI and verified public image URLs. Earlier reviews do not review a new staged tree automatically.

ClawSweeper response

  1. Conflicts/integration: merged fetched main without rebase, resolved both protocol/fixture conflicts additively and revalidated code/native behavior. The task capability remains Interactive-operator-only; main's queue-observation capability is preserved.
  2. Low-value acceptance-mode test: removed only after the surviving transport cases killed the validation mutation 4/4 and passed 4/4 after restoration.
  3. Low-value label windows: removed only after the surviving local 480/1100 cases killed the primary-label mutation. The full production-root cases remain and pass.
  4. Missing behavior proof: added actual local/worktree acceptance, redacted request/response evidence, no-replay/retained-draft assertions and actual Companion executable screenshots. Upgrade installation remains explicitly blocked, with a prepared signed-artifact plan and separately measured non-installing settings preservation. Sanitized images are embedded above from a commit-pinned proof-assets branch on the fork.

@clawsweeper

clawsweeper Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🦞👀
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.

@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. impact:auth-provider This issue is about auth, provider routing, model choice, or SecretRef resolution. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 25, 2026
@clawsweeper

clawsweeper Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codex review: passed.

What this changes

Adds native cards for inspecting, copying, dismissing and explicitly launching Gateway-suggested tasks while retaining the current conversation and draft.

Example: A suggestion appears while the composer contains “Retain this exact combined Gateway unsent draft.”

  • Before: The user must leave native chat to inspect or launch the suggestion.
  • After: The user can start the task in a new session while the original conversation, editor and exact draft remain.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful native functionality with inspected visual evidence, production-path acceptance traces and passing exact-head CI; no blocking defect identified.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (logs): Inspected actual Companion card screenshots and compiled-Gateway local/worktree acceptance evidence tied to HEAD's exact tree. The signed native client receives real acceptance replies and new authoritative sessions while retaining the original editor, conversation and draft without replay. The provider is synthetic; signed upgrade and full accessibility coverage are not claimed. No persisted field, storage schema, settings default or migration changes, establishing a no-migration compatibility case.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Companion users must leave native chat to inspect or act on Gateway-proposed follow-up work.
Reason: The maintainer-authored direction provides a useful native workflow while preserving explicit launch authority and the user's current writing context.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored PR open: native task handling is absent from main, and the reviewed change has no identified blocking defect.

Reviewed head: 6527dc532e88c2950be259ac8ea1a8e8d584d5f2

Before merge

None.

Findings

None.

Agent review details

How this fits together

The authenticated Gateway client supplies proposals and acceptance replies to a transient chat coordinator; native controls display them and send explicit actions back through that client.

flowchart LR
  A[Gateway task registry] --> B[Authenticated Gateway client]
  B --> C[Task suggestion coordinator]
  C --> D[Native task card]
  D --> E[Explicit accept or dismiss]
  E --> B
  B --> F[Sessions refresh]
  C --> G[Transient receipt custody]
Loading

Technical review

Best possible solution:

Retain the capability-gated native consumer using the existing Gateway task owner, explicit acceptance and transient receipt custody.

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

This is a feature addition: source inspection confirms that current main lacks native task cards, while supplied runtime evidence exercises the added consumer.

Is this the best way to solve the issue?

The implementation keeps proposals and launch effects Gateway-owned, preserves the existing composer owners and honestly separates native consumption from the unmerged upstream generation change.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 29f0553fbed0.

Provenance checked

  • Native chat composition keeps the original intent (08cab69: Provide a native chat experience with its own coordinator and existing conversation lifecycle; later Reactor and composer extractions retain those ownership boundaries.)
  • Operator-client publication keeps the original intent (8c6789a: Expose operator-client replacement from the connection manager; this PR adds the registry target captured with that same publication.)
  • Interactive capability negotiation keeps the original intent (1cd641d: Preserve queue-observation negotiation needed for external-channel reply completion while adding task support only to interactive operator connections.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Pinned introduction: The introduced change adds typed task RPCs, one transient lifecycle coordinator, bounded receipt custody and native presentation without a competing task store or chat-send fallback. (src/OpenClaw.Tray.WinUI/Chat/ChatTaskSuggestionCoordinator.cs:36, 6527dc532e88)
  • Current-main capability search: Current main contains no taskSuggestions, task-suggestions or suggested-task implementation in the searched production, test and chat-contract paths; repository searches found no alternative PR owning this consumer feature. (29f0553fbed0)
  • Verified producer dependency: The consumer invokes this repository's task protocol, and its compiled-Gateway proof imports its harness, establishing an affirmative dependency signal. The schema and acceptance handler support the four modes, retained task identity and structured pre-effect repository rejection. Automatic Windows-origin generation is separately addressed by the still-open fix: allow task suggestions in native Windows chats openclaw#209566 (fix: allow task suggestions in native Windows chats); its body, discussion and root policy were read. (src/gateway/server-methods/task-suggestions.ts, e9174599f49c)
  • Proof corresponds to the reviewed tree: HEAD's tree is ab7842df9a2ba24974c387def98694b857b906a6, exactly the staged tree identified by the updated proof. The body and author follow-up report three passing compiled-Gateway cases, including actual local/worktree acceptance, authoritative new sessions, retained drafts and one acceptance send. (tests/OpenClaw.Tray.UITests/ReactorChatLayoutProofTests.TaskSuggestions.RealGateway.cs:35, 6527dc532e88)
  • Inspected current visual evidence: Inspected the commit-pinned Companion executable frame, local Started receipt and post-worktree retained-draft frame. These show the current native presentation and retained text; the request/response trace and assertions establish acceptance rather than the screenshots alone. (11-accepted-local-started-retained-draft.png, 27f9733bb9dc)
  • Earlier review follow-up: The previous review recorded no code findings. Its integration concern is resolved by current GitHub mergeable/clean metadata, and Build and Test succeeded on the exact reviewed head; the new acceptance evidence addresses its retained proof request. (6527dc532e88)

Likely related people:

  • Barbara Kudiess: Raw commit 64727b8 adds src/OpenClaw.Connection/GatewayConnectionManager.cs:725 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 64727b8dbd38; files: src/OpenClaw.Connection/GatewayConnectionManager.cs)
  • Karen: Raw commit 814e732 adds src/OpenClaw.Tray.WinUI/Chat/OpenClawReactorChatRoot.cs:378 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 814e732e2e90; files: src/OpenClaw.Tray.WinUI/Chat/OpenClawReactorChatRoot.cs)
  • Régis Brid: Raw commit 08cab69 adds src/OpenClaw.Tray.WinUI/Chat/OpenClawChatCoordinator.cs:14 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 08cab69a038c; files: src/OpenClaw.Tray.WinUI/Chat/OpenClawChatCoordinator.cs)
  • Ranjesh Jaganathan: Raw commit 8c6789a adds src/OpenClaw.Tray.WinUI/Services/Connection/GatewayConnectionManager.cs:119 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 8c6789a3ba15; files: src/OpenClaw.Tray.WinUI/Services/Connection/GatewayConnectionManager.cs)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Source and test growth src +2028/-16; tests +3714/-16 Source includes 474 locale-resource lines; coverage exercises distinct transport, authorization, reconnect, draft-retention and native-layout boundaries.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-25T20:36:52.082Z sha 97183c2 :: needs changes before merge. :: none

Reviewed November 30, 2026, 6:41 PM ET / 23:41 UTC (Revision 2).

@bkudiess

Copy link
Copy Markdown
Collaborator Author

Current native task-card proof

Tested/reviewed Windows tree: f07f9cc91188833142cbe097270fe1e7656d43c2, now PR head 706bd9f1371f9b4dceb096da1ae181d48f9590d6. Native ARM64, mounted production chat root in the WinUI test host; the compiled Gateway uses synthetic model responses. These are not installed-release or full accessibility screenshots. Raw captures are preserved privately. The synthetic working-directory field in the first image is visibly redacted; no other UI content was recreated.

Generated instructions and retained draft

Gateway-generated native card with literal instructions and unsent draft

After native dismissal

Task card removed while the exact unsent draft remains

Compact primary-action focus

Complete keyboard focus outline around the compact new-session action

Verified-identity recovery state

Localized verified-identity requirement with refresh action

Dismissal failure feedback

Per-card dismissal failure remains visible

Invalid repository correction

Relative repository correction stays editable without dispatch

No administrator launch authority

Proposal remains readable while start actions are disabled for a non-admin

The current native matrix executed 42 cases, all passed, zero failed/skipped. Independent Gateway history verifies that the draft was not sent. Start was checked as enabled in the combined case but not invoked; real worktree/cloud execution, screen-reader/Tab traversal and full task-card Axe remain unverified.

Redesign the native suggested-task card to mirror the web Control UI:
floating right-aligned card with uppercase context eyebrow, icon copy,
stack navigation and dismiss actions, title and bounded summary,
instructions disclosure with path and prompt blocks, and an accent
split Start button whose menu offers worktree, this session and cloud.

Keep task safety semantics unchanged: admin and scope gating, frozen
retry identity, custody, relative-path rejection and draft retention.
Add read-only presentation and snapshot revisions so unsent card input
never survives an operator change, plus short-pane, welcome-layout and
focus handoff handling with native UI coverage.
Integrate current main (0347d12) into the suggested-task card redesign.
Resolve GatewayScenario so main's theme fixtures and the opt-in task,
chat and question fixtures coexist with separate scopes and routing.
Adapt the task card surfaces to main's live Gateway theme contracts:
themed corner radii, code font roles and palette-projected task brushes,
with High Contrast and Windows default restore unchanged. Task protocol,
custody, retry identity and launch semantics are unchanged.
Integrate current main (3670fcd) into the suggested-task card branch,
resolving ConnectEnvelopeBuilder and FixtureGatewayServer additively
without changing task capability negotiation.

Address ClawSweeper review: remove ProducerAcceptanceModesAreSupported
and the two new-session-label contract cases after mutation proof that
the surviving transport and production-root launch tests catch the same
regressions. Extend the compiled-Gateway proof to actually accept local
and worktree suggestions, asserting acknowledgement, authoritative new
session, retained conversation and exact draft, and no replay. Write
acceptance receipts only after the full test and cleanup succeed and
preserve primary failures when cleanup also fails.
@bkudiess

Copy link
Copy Markdown
Collaborator Author

Addressed the ClawSweeper review (it reviewed 97183c23; current head is 6527dc532e88c2950be259ac8ea1a8e8d584d5f2):

  • Conflicts / integration: merged current main (3670fcd6) without rebase or force-push; protocol and fixture conflicts resolved additively. PR is MERGEABLE/CLEAN and Build and Test passed on this head.
  • ProducerAcceptanceModesAreSupported: removed after a mutation of the shared validation guard was caught 4/4 by the surviving TaskSuggestions_UseSharedAcceptProtocolAndPreserveOptions cases.
  • New-session-label contract cases: removed after a primary-label mutation failed the surviving production-root local launch cases at 480 and 1100.
  • End-to-end proof: the compiled-Gateway proof now actually accepts local and worktree suggestions from the native card (acknowledgement, new authoritative session, original conversation and exact unsent draft retained, one accept send with no replay). Redacted traces and screenshots, including the freshly built Companion executable, are in the PR description.
  • Latest-stable upgrade compatibility: not claimed. It needs an authorized disposable install lane and a signed candidate artifact; it is listed under Not verified / blocked with the prepared plan.

@bkudiess

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🦞👀

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. 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. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 30, 2026
@bkudiess
bkudiess marked this pull request as ready for review December 1, 2026 01:52
@bkudiess bkudiess added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Dec 1, 2026
bkudiess and others added 3 commits November 30, 2026 17:56
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Resolve append-only Resources.resw conflicts in en-us, fr-fr, nl-nl, pt-br, zh-cn and zh-tw by keeping both the suggested-task keys and main's activity/run-phrase keys.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Pick up openclaw#2424, which points the chat-tail-reflow-budget ledger row at its renamed guard test.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bkudiess
bkudiess merged commit afaee93 into openclaw:main Dec 1, 2026
31 checks passed
bkudiess added a commit to bkudiess/openclaw-windows-node that referenced this pull request Dec 1, 2026
Resolve openclaw#2377 (suggested tasks) overlaps: keep both the Ask OpenClaw helper
welcome guard and the task-suggestion composer wiring in OpenClawReactorChatRoot,
both fixture scenario parameters in GatewayScenario, and both string sets in
every Resources.resw locale.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:auth-provider This issue is about auth, provider routing, model choice, or SecretRef resolution. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. 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