Skip to content

refactor(sessions): compose pending input and collaboration on the incognito actor (P7e, inactive) - #165151

Merged
steipete merged 7 commits into
mainfrom
dbasync/incogp7e
Oct 5, 2026
Merged

steipete merged 7 commits into
mainfrom
dbasync/incogp7e

Conversation

@steipete

@steipete steipete commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The incognito actor still lacked pending-input staging and collaboration composition needed for the eventual atomic activation. ACP lifecycle catches could also turn a future synchronous-access refusal into missing metadata or successful cleanup.

Why This Change Was Made

Compose the existing pending-input read/stage/completion/finish kernels on the captured actor, keeping host custody, FIFO ordering, synchronous worker transactions, live transaction/commit grants, and publication from confirmed commit receipts. Pending execution also rechecks its captured actor reference and binding authority at use time. Add suggestion operations and compose membership, owner, participant, and category facades.

The worker-safe actor.acp.prepareEntryRead capability captures configuration provenance and physical shared-database identity before yielding. Prepared ACP cleanup retains the original actor snapshot and shared metadata publication fence through Discord/Telegram binding persistence; typed refusals propagate while acknowledged deletion remains published.

Confirmed collaboration writes also publish during settlement before result-disclosure authority checks; lost replies invalidate the committed targets from the native receipt without replaying the write.

Production routing stays host-owned. Native routes are retained for the atomic activation. No schema, retention, durability, permission, configuration, or updater change is introduced. Error helpers stay on the existing private bundled ACP facade; released ACP signatures remain unchanged.

User Impact

No user-visible change. This inactive P7e prerequisite follows #164869, #164883, and #164819. At the original reviewed head a12faf198c6eb3428a713e2010120861407c8294, global T1 remains 895 → 895 against base 6636dd6709bdbace1b6b72c3a86ff664bbdec244; no inventory reclassification and 0 new OPENCLAW_ names*. Production delta: +938/−210, net +728 (1,148 changed lines across 34 production files), below the work-order cap.

Related overlapping work: #165134 (now merged and integrated), #164922, #164989, #162433, and the incogp7f, incogcell, sessauthtail A/B/C, and nativepatchtail lanes. Hunks remain scoped to this prerequisite; later landing resolves any overlap against main.

Evidence

Landing candidate: d229fbb7ba2c610e2478714b94cc2ef381821a56. It merges main ea00cb30c6611dafb186a959cb90ff5bf83d2b5f after sibling #165134 landed during admission; no merge request was sent by the refused attempt. Its earlier parent integration 30975205a31729c1af2ca9495ebba5b9bdd89e5c incorporated main 382c987dbe1c7ee08634ef72e752085ed7639d2e without rebasing. The first integration retained both conflicting wrapper dependency entries; the second was conflict-free and includes the independently landed public-sharing fixture fix 402af0b8d28. The PR diff was unchanged across that second integration (stable patch ID f57d01649e2011a515886532ee7b753ea7b60082).

  • Fixed the ClawSweeper P2 publication finding. Real-worker regressions for post-commit authority revocation and lost replies both fail before the repair with missing notifications; both pass afterward, without write replay or caller SQL.

  • Collaboration and pending-input suites: 15 tests passed, 115.48s command wall time with --maxWorkers=1. The two new regression cases failed for the intended missing-notification assertion before the fix (68.35s).

  • Standalone changed test file: pnpm test src/config/sessions/session-sharing-store.incognito.test.ts --maxWorkers=1 passed 7 tests in 88.91s command wall time (33.98s Vitest duration). The real actor/broker contract requires compiled worker startup; the test cases themselves use the shared suite actor and no timers or sleeps.

  • Worker-routing audit found no missing host-owner test assignments. All 12 selected indirect/import/wrapper files passed, across five projects in 507.34s with --maxWorkers=1, including runtime-process build graph, PR wrapper inventory, get-reply and history import boundaries, native incognito custody, durable collaboration, ACP reads, and incognito SessionManager.

  • Fresh Codex autoreview through P2: scoped-clean on the integrated candidate; no actionable findings. Released-signature source audit against v2026.9.8 found no breaking sync/async, parameter, or export change introduced by this PR. The existing one-argument ACP SDK facade/type test remains intact; actor settlement callbacks are internal.

  • The original PR-context check failed because the body used Problem rather than the required What Problem This Solves heading. This body corrects the template. A local targeted lint attempt was blocked before analysis by a pre-existing artifact lock; the lock was preserved for its owner. The fresh CI checkout passed production types, test types, core lint, and all extension lint shards on the prior candidate 7e7b7f68f353 in CI run 37241401078. The completed local SDK report is retained for the patch-identical main integration; main changed neither the SDK facade/package manifests nor the touched actor interfaces. It compared b48245c41428 → 7e7b7f68f353: 0 entrypoints added/removed, 0 direct export changes, 128 reachable changes from the internal actor/preparation declarations. Digest: c3377812b536cd517b577e18329b7cfd2315ecf2132965ddcd9f298883be2c53.

  • ClawSweeper revision 2 completed on 7e7b7f68f353 with no actionable correctness or security findings, confirming the prior publication finding is resolved; its remaining SDK-report request is satisfied above.

  • CI 37241401078 attempt 1 on 7e7b7f68f353 had two failed test shards: public-sharing fixtures reproduce the same four canonical-admission failures seen on main run 37237005799 and already fixed by main commit 402af0b8d28; all five standalone PR runs and all five baseline runs reproduced the same 4 failures / 5 passes. The fix is now integrated, and all nine tests pass. The transcript SDK idempotency case reports AgentDatabaseRegistryChangedError. Five standalone file runs passed on this PR and five passed on merge base b48245c41428 (12 tests each, --maxWorkers=1); the seven stack-owner/test files are unchanged, and neither of the two latest completed hourly main runs reports this failure. It remains unattributed; passing replays are not a fix. The single authorized SDK-shard rerun passed. Its cause remains unconfirmed; no further rerun or admin exception has been used.

  • After the final main integration, 48 focused tests passed across 5 files in 329.96s with --maxWorkers=1: public sharing, transcript SDK, collaboration, pending-input, and ACP. A fresh P2 autoreview of the integrated candidate is scoped-clean. That integration had clean P2 review; its CI findings are recorded below.

  • Prior-head CI 37244872278 exposed inherited host-broker fixture failures from main cleanup change 989bd3f055fa (fix(sessions): session cleanup leaves GitHub publication receipts behind for workspace-free sessions #163833). Exact boot, Doctor, compaction, and hidden-session failures also occur on hourly main run 37244005373 at this PR's integration base 382c987dbe1. Source/owner blob comparisons and five-run controls are being retained; no admin bypass has been submitted.

  • The materialization job's raw-INSERT database is locked failure remains unattributed. Three attempted full-file replays hit the unrelated 65-agent stress deadline and cleanup fallout; those are not counted as lock reproductions. Five runs of the exact CI-failing projects out prompt snapshots case passed on both PR and main baseline, singly with --maxWorkers=1. The single authorized rerun passed that lock-error case, but failed the distinct 65-agent handle-cap case at its 120s deadline. That timeout also occurs in local full-file attempts; the extra Linux comparison was stopped while queued after the new head completed CI without a materialization failure. No Linux tests executed; no passing full-file replay or timeout fix is claimed.

  • Fixed ClawSweeper revision 5 in 4aaf2bda1f9: transcript-recovered receipts now perform the same captured binding-authority check as fresh staging. The table-driven real actor test seeds a transcript message, asserts the recovered receipt uses its committed message ID, allows execution with current binding authority, and then rejects binding-only revocation before invoking the callback. The recovered case failed before the fix; the full pending-input file now passes 9 tests in 145.67s command wall time (33.18s Vitest). Targeted type-aware lint and fresh P2 autoreview are clean. This adds no released signature or declaration change, so the SDK report remains applicable. ClawSweeper revision 7 completed on this exact head at 2026-10-05T01:07:13Z with no actionable correctness or security findings, confirming both prior findings are resolved.

  • Prior candidate CI 37249751431 attempt 1 completed with 93 successful jobs, 20 skipped, five inherited failed test jobs and the downstream aggregate, with no cancellations. Four jobs reproduce the broker-admission fixture clusters above; all seven affected files failed identically in five PR and five baseline runs, and sixteen owner/test blobs remain unchanged through the actual tested main parent c5012333049e and merge c559f62d3b00.

  • The fifth root failure is the Windows declaration fixture (write-unified-entry-dts, canonical-group reuse). Main 76922aba447 (fix: private QA builds omit CLI diagnostic companions #165200) added a helper import without copying that helper into the synthetic fixture. Five full-file runs on main c5012333049e and five on tested merge c559f62d3b00 each produced exactly 1 identical failure and 10 passes. Eleven source/dependency blobs match; module loading fails before PR runtime code. Latest inspected main e91a3163956 has no repair. The prior native attempt reached merge verification but aborted before dispatch when refactor(sessions): compose history and SessionManager reads on the incognito actor (P7f1, inactive) #165134 made the branch conflicting. Its operation lock was recovered by its exact token. This historical attribution does not substitute for new-head CI; no job on that head was rerun.

  • Sibling integration d229fbb7ba2c preserves P7f1’s onRead publication within the history FIFO, P7e’s pending-input methods, and both documentation sections. All 46 files have identical PR-added/removed text versus the earlier candidate (normalized edit digest 10dd76876ab31448876d08a1feb1e0f144e3f90075f8dad189c86dc02a004db1). No new released signature or routing change is introduced; the historical SDK report remains applicable to this delta, without claiming a new merged-head report.

  • The combined candidate passed 89 tests across seven files in 233.34s command wall time, --maxWorkers=1: pending inputs, collaboration, actor history, incognito SessionManager, manager context snapshots, runtime-process build graph, and eager wrapper closure. Formatting and fresh P2 autoreview are clean. ClawSweeper revision 10 completed on this head at 2026-10-05T01:48:58Z with no actionable correctness or security findings.

  • Current-head CI 37252633344 attempt 1 completed with 82 successful jobs, 22 skipped, five failed test jobs and the downstream aggregate, with no cancellations. Four root jobs repeat the independently qualified broker-fixture failures; all sixteen failure inputs remain unchanged in tested main eded1a387b79, tested merge b0c702d24893, and this head.

  • The fifth root is github-shared-publication-read.test.ts: main a2affcf76e93 (fix: stuck publication error after worktree cleanup; compact Publish PR card #165219) intentionally changed unavailable/replaced worktree discovery to no current publication, while this untouched test still expects an owner-unavailable error. The full file already reproduces the identical null-versus-rejection failure on both exact main and CI merge, with 31 other cases passing. All five full-file controls on main and all five on the tested merge reproduced that exact single failure, with 31 other cases passing each time. Thirteen source/dependency blobs match; latest inspected main 09abaaf0db1e has no repair. The native inherited-failure admin evidence is complete. No current-head job was rerun.

Original reviewed-head proof (a12faf1)
  • Isolated actor proof covers FIFO staging, source reads, custody protection, completion/cancellation, transaction/commit refusal, lost-reply acknowledgment without replay, and zero caller-thread SQL. The real Gateway close order drains accepted staging, release, and history interruption after scheduler abort before transport close.
  • Collaboration proof covers suggestion token claims/release/finalization, owner publications, and physical-store mismatch. ACP proof exercises the actor-entry/shared-metadata gap and real plugin-state persistence before and after native deletion acknowledgment.
  • Final pending-input actor suite: 8 tests passed, 270.89s wall, including released-reference and revoked-binding regressions. Each new lifetime regression failed before its corresponding fix. Focused ACP/shutdown suites passed. Final core ACP + Discord + Telegram rerun: 51 tests passed, 153.37s wall with --maxWorkers=1. The original swallowing catch was restored temporarily as a negative control: both refusal regressions failed as intended (82.75s); the fix was restored.
  • Required runtime-process build-graph, all selected import-closure tests, eager wrapper closure, actor side-data, and durable pending-input siblings: 16 files passed, 599.39s wall, --maxWorkers=1. After the ACP capability adjustment, all 12 ACP tests plus the shared-registry/import and wrapper suites passed again: 52 tests in 12 files, 621.31s wall, --maxWorkers=1.
  • ACP preparation stays in the existing worker-safe owner, keeping the host config/read graph out of standalone workers. The runtime-process build-graph guard passes all 10 tests, 10.74s wall.
  • Madge: 0 cycles, 54.81s wall. Database worker ratchet passed. Fresh Codex autoreview through P2: scoped-clean, no findings on the final candidate. The captured actor reference and binding authority both have failing-before/passing-after execution regressions.
  • Local SDK comparison against the pinned base used a realpath TMPDIR and passed in 1,149.78s: 0 entrypoints added/removed, 0 direct exported-declaration changes, and 127 reachable changes across internal actor/preparation declaration records. Digest: dd644e09d4479dee5e512b91c0d2312106f9220fd23dbf50c222dae06a874b94.
  • Final combined ACP/pending/collaboration run: 25 tests passed, 181.35s wall, --maxWorkers=1. Command: pnpm test src/state/openclaw-agent-execution-incognito.acp.test.ts src/state/openclaw-agent-execution-incognito.pending-input.test.ts src/config/sessions/session-sharing-store.incognito.test.ts --maxWorkers=1. Final targeted core lint passed in 50.48s; full core lint also passed.
  • Full node scripts/check-changed.mjs --base 6636dd6709bdbace1b6b72c3a86ff664bbdec244 passed on Blacksmith Testbox in 2,071.52s. The receiver verified source a12faf198c6eb3428a713e2010120861407c8294 and tree 0d854be68287fcd324d94f03e28a12fa08e392c6 before execution. pnpm build passed in 504.72s. Blacksmith Testbox run, lease tbx_01m44cjshxhmp74ptkp6bk42f1, completed and stopped. The wrapper reported command exit 0; its backing Actions step can appear cancelled during delegated lease cleanup.

Local SDK-boundary declaration preparation exceeded its five-minute tooling timeout; the final full check and build completed on Testbox. The successful build reports a non-blocking startup-JS size warning: 365.0 KiB gzip versus 364.7 KiB.

The inactive routes do not constitute production activation proof; native-route deletion and the published-driver incognito update cell remain with their respective follow-up lanes. GitHub CI wall time is not yet observed.

Prepare P7e actor-backed pending-input, collaboration and ACP lifecycle composition while keeping production incognito storage host-owned. Preserve FIFO custody, live authority, acknowledged publication, and actionable synchronous refusals. No schema or update behavior change; atomic activation owns native-route deletion.
@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: telegram Channel integration: telegram gateway Gateway runtime scripts Repository scripts size: XL labels Oct 4, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 4, 2026
@clawsweeper

clawsweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 4, 2026, 9:48 PM ET / October 5, 2026, 01:48 UTC (Revision 10).

ClawSweeper review

What this changes

The PR prepares worker-backed incognito session operations for queued inputs, collaboration, and guarded channel-binding cleanup while preserving existing production routing.

Merge readiness

✅ Ready for maintainer review

Keep open: this remains a distinct, useful prerequisite missing from current main. Both prior findings are resolved, the history integration is coherent, and no new blocking patch defect was identified.

Priority: P2
Reviewed head: d229fbb7ba2c610e2478714b94cc2ef381821a56

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused ownership composition and strong real-worker regression evidence support an above-average rating with no remaining actionable finding.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The matching body records real actor/broker runs through pending-input, collaboration, ACP preparation, plugin-state persistence, and shutdown owners. Allowed execution, binding revocation before callbacks, transaction/commit refusals before writes, and lost-reply recovery are covered by observed repaired results and negative controls. The integrated candidate reports 89 passing boundary tests; this proves inactive composition, with activation explicitly reserved for follow-up work. No stored-data contract changes require migration proof.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The matching body records real actor/broker runs through pending-input, collaboration, ACP preparation, plugin-state persistence, and shutdown owners. Allowed execution, binding revocation before callbacks, transaction/commit refusals before writes, and lost-reply recovery are covered by observed repaired results and negative controls. The integrated candidate reports 89 passing boundary tests; this proves inactive composition, with activation explicitly reserved for follow-up work. No stored-data contract changes require migration proof.
Evidence reviewed 9 items Pinned contribution: Read the introduced delta from ea00cb3 to d229fbb. Raw head records confirm the original PR head has the previous candidate and integrated main as its two parents; it is not a synthetic test merge.
Still necessary on main: Fetched main still exposes only pending-history interruption in the incognito pending-input contract, and its pending-input store retains the host-owned path. The merged history prerequisite #165134 does not implement this PR's staging and collaboration composition.
Recovered-input authority repair: Transcript-recovered execution now checks the retained store, captured binding authority, and caller authority before invoking the callback. The table-driven real-worker regression exercises allowed execution and binding-only revocation for both staged and recovered receipts.
Findings None None.
Security None None.

How this fits together

Incognito sessions hold temporary conversation state in an in-memory database. The per-agent worker actor serializes operations, checks live authority, and publishes confirmed changes to session and channel consumers.

flowchart TD
  A[Queued inputs and collaboration] --> B[Captured incognito session]
  B --> C[Worker actor FIFO]
  C --> D[Live authority checks]
  D --> E[Existing SQLite kernels]
  E --> F[Confirmed commit receipt]
  F --> G[Session publications]
  G --> H[Channel binding cleanup]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +760, Tests +957, Docs +48, Other +5. Total +1770 across 46 files.

View PR surface stats
Area Files Added Removed Net
Source 34 969 209 +760
Tests 9 971 14 +957
Docs 2 49 1 +48
Config 0 0 0 0
Generated 0 0 0 0
Other 1 5 0 +5
Total 46 1994 224 +1770

Review metrics

Metric Value Why it matters
Production and regression growth production +969/−209, net +760; tests/support +971/−14, net +957 Production growth is explained by the bounded inactive composition; regression coverage targets real worker custody, authority, publication, and shutdown contracts.

Technical review

Best possible solution:

Complete this inactive composition using the existing actor and persistence owners, with production activation and native-route removal kept in their separately reviewed stage.

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

Not applicable to the central refactor. The previously identified defects have concrete real-worker negative controls and repaired-path results recorded in the matching PR body.

Is this the best way to solve the issue?

Yes: the patch composes existing kernels and owners, preserves production defaults, and keeps confirmed publication independent of later authority loss.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a useful internal session-storage prerequisite with inactive production routing and no demonstrated urgent user-facing regression.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The matching body records real actor/broker runs through pending-input, collaboration, ACP preparation, plugin-state persistence, and shutdown owners. Allowed execution, binding revocation before callbacks, transaction/commit refusals before writes, and lost-reply recovery are covered by observed repaired results and negative controls. The integrated candidate reports 89 passing boundary tests; this proves inactive composition, with activation explicitly reserved for follow-up work. No stored-data contract changes require migration proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The matching body records real actor/broker runs through pending-input, collaboration, ACP preparation, plugin-state persistence, and shutdown owners. Allowed execution, binding revocation before callbacks, transaction/commit refusals before writes, and lost-reply recovery are covered by observed repaired results and negative controls. The integrated candidate reports 89 passing boundary tests; this proves inactive composition, with activation explicitly reserved for follow-up work. No stored-data contract changes require migration proof.

Evidence

What I checked:

  • Pinned contribution: Read the introduced delta from ea00cb3 to d229fbb. Raw head records confirm the original PR head has the previous candidate and integrated main as its two parents; it is not a synthetic test merge. (d229fbb7ba2c)
  • Still necessary on main: Fetched main still exposes only pending-history interruption in the incognito pending-input contract, and its pending-input store retains the host-owned path. The merged history prerequisite refactor(sessions): compose history and SessionManager reads on the incognito actor (P7f1, inactive) #165134 does not implement this PR's staging and collaboration composition. (src/config/sessions/session-incognito-pending-input-contract.ts:4, eded1a387b79)
  • Recovered-input authority repair: Transcript-recovered execution now checks the retained store, captured binding authority, and caller authority before invoking the callback. The table-driven real-worker regression exercises allowed execution and binding-only revocation for both staged and recovered receipts. (src/config/sessions/session-accessor.pending-inputs.ts:421, d229fbb7ba2c)
  • Commit publication repair: Confirmed settlement publishes collaboration results before disclosure checks; lost replies invalidate receipt-selected targets without replay. The real-worker category cases verify exactly one mutation, retained committed state, and notification after reply loss or post-commit revocation. (src/config/sessions/session-incognito-actor.ts:278, d229fbb7ba2c)
  • Authority reaches binding persistence: Prepared ACP reads retain the actor snapshot and shared-metadata publication fence until release. Discord forwards that assertion to its existing binding writer, and Telegram forwards it to plugin-state deletion. Recorded boundary cases reject revoked preparation before deletion and retain acknowledged Discord deletion when later cleanup fails. (src/acp/runtime/session-meta-worker-mutation.ts:254, d229fbb7ba2c)
  • Complete captured proof inspected: The fetched full body matched captured SHA-256 ab5da2c743fe30e3350cf7f2fa07534bd2274876aee97dea8978bbe5e6329380, including the omitted range. It records failing-before/passing-after authority and publication regressions, real actor/broker execution, and 89 passing combined-boundary tests in 233.34 seconds on the integrated candidate. These are contributor-reported runs, not tests executed by this review. (d229fbb7ba2c)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Josh Avant: 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 (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-04T22:54:38.947Z sha 7e7b7f6 :: needs changes before merge. :: none
  • reviewed 2026-10-04T23:12:22.177Z sha 7e7b7f6 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-04T23:31:39.287Z sha 7e7b7f6 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-04T23:50:28.378Z sha 3097520 :: needs real behavior proof before merge. :: [P2] [P2] Revalidate binding authority for transcript-recovered receipts
  • reviewed 2026-10-05T00:41:19.368Z sha 3097520 :: needs real behavior proof before merge. :: [P2] [P2] Revalidate binding authority for transcript-recovered receipts
  • reviewed 2026-10-05T01:07:13.357Z sha 4aaf2bd :: needs maintainer review before merge. :: none
  • reviewed 2026-10-05T01:13:19.497Z sha 4aaf2bd :: needs maintainer review before merge. :: none
  • reviewed 2026-10-05T01:40:59.042Z sha 4aaf2bd :: needs changes before merge. :: none

Merge current main to resolve the additive PR-wrapper inventory conflict. Retain both dependency entries and keep production incognito routing host-owned.

Publish collaboration results from confirmed settlement before authority disclosure. Invalidate committed receipt targets when the ordinary reply is lost, without replay or duplicate catch-path publication. Add failing-before/passing-after worker regressions for authority revocation and lost replies.

Validation: P2 autoreview scoped-clean; 15 collaboration/pending-input tests passed; five indirect test projects passed in 507.34s. Released SDK signatures remain compatible.
@steipete

steipete commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@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. 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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 4, 2026
Merge current main including 402af0b, which admits the public-sharing native fixture before foreign writes invalidate its row certification. The four original assertions fail in five standalone runs on both the PR and its merge base and in two hourly main runs; the integrated file now passes all nine tests.

The PR delta remains patch-identical (f57d01649e2011a515886532ee7b753ea7b60082). Focused public-sharing, transcript SDK, pending-input, collaboration, and ACP verification passed 48 tests in 329.96s; fresh P2 autoreview is scoped-clean. The unchanged transcript SDK CI refusal passed five runs per revision and one authorized single-job rerun; its original cause remains unconfirmed.
@steipete

steipete commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@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. 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 added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 4, 2026
Check the captured binding authority before invoking a transcript-recovered pending-input callback, matching ordinary staging while retaining the existing actor and caller checks.

Extend the real-worker binding test to seed an existing transcript message, verify the recovered identity and allowed execution, and then reject binding-only revocation before the callback. The recovered case fails before the guard; all 9 pending-input tests pass afterward in 145.67s. Targeted lint and fresh P2 autoreview passed. Released signatures and persistence formats are unchanged.
@steipete

steipete commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 5, 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. 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. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Oct 5, 2026
Merge main after the inactive history and SessionManager prerequisite landed.
Preserve its synchronous history publication callback within the actor FIFO,
retain the pending-input methods, and keep both documentation sections.
The PR-added and removed text remains identical across all 46 files.

Validation: 89 tests across seven pending-input, collaboration, history,
SessionManager, runtime-build-graph, and wrapper files passed in 233.34s
with --maxWorkers=1. Formatting and P2 autoreview passed.
@steipete

steipete commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit 1f8e598 into main Oct 5, 2026
185 of 193 checks passed
@steipete
steipete deleted the dbasync/incogp7e branch October 5, 2026 02:28
@steipete

steipete commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 5, 2026
…cognito actor (P7e, inactive) (openclaw#165151)

* refactor(sessions): compose incognito pending input and collaboration

Prepare P7e actor-backed pending-input, collaboration and ACP lifecycle composition while keeping production incognito storage host-owned. Preserve FIFO custody, live authority, acknowledged publication, and actionable synchronous refusals. No schema or update behavior change; atomic activation owns native-route deletion.

* refactor(sessions): expose worker-safe incognito ACP preparation

* refactor(sessions): make incognito callback contracts explicit

* fix(sessions): fence recovered incognito input execution

Check the captured binding authority before invoking a transcript-recovered pending-input callback, matching ordinary staging while retaining the existing actor and caller checks.

Extend the real-worker binding test to seed an existing transcript message, verify the recovered identity and allowed execution, and then reject binding-only revocation before the callback. The recovered case fails before the guard; all 9 pending-input tests pass afterward in 145.67s. Targeted lint and fresh P2 autoreview passed. Released signatures and persistence formats are unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: discord Channel integration: discord channel: telegram Channel integration: telegram docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. scripts Repository scripts 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