Repository navigation
feat(matrix): intelligent multi-agent communication via fast AI-guided participation control and fresh-message redrafting - #113115
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 28, 2026, 2:31 PM ET / 18:31 UTC. ClawSweeper reviewWhat this changesThis PR adds an opt-in Matrix policy that selects participating local agents and can redraft or discard a reply when newer room activity arrives. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked until stronger real behavior proof is added - 6 items remain Keep open: the branch introduces a P2 Matrix message-suppression defect, while the broader opt-in configuration and Codex finalization boundary need maintainer direction and independent contract verification. Priority: P2 Review scores
Verification
How this fits togetherMatrix room events enter the Matrix monitor, which decides whether local agents should respond and whether a completed answer is still current. The resulting reply passes through the agent runtime and delivery pipeline before it is sent back to the room. flowchart LR
A[Matrix room event] --> B[Matrix monitor]
B --> C[Turn-taking eligibility]
C --> D[Agent response]
D --> E[Freshness decision]
E --> F[Reply delivery]
F --> G[Matrix room]
Decision needed
Why: This is a large new user-facing capability with a new configuration contract and cross-runtime delivery boundary; no maintainer sponsorship is visible in the reviewed context. Before merge
Findings
Agent review detailsSecurityNeeds attention: The new cross-runtime finalization boundary needs upstream Codex Stop-contract verification before its security properties can be cleared. Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve ordinary Matrix ingress unless a parsed, authenticated local preview is eligible for interception; then obtain maintainer approval for the Matrix-only policy and independently verify the pinned Codex Stop contract before merge. Do we have a high-confidence way to reproduce the issue? Yes, from source: send a normal Matrix room message containing com.openclaw.preview while turnTaking is absent or disabled; the introduced preflight returns consume before normal ingress. A focused handler regression should assert that the ordinary inbound run still occurs. Is this the best way to solve the issue? No: reserving a custom field must not silently hide arbitrary Matrix messages when the feature is off or the frame is not an authenticated eligible preview. Interception should follow parsing and eligibility/trust validation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fa57231562da. LabelsLabel justifications:
EvidenceSecurity concerns:
Acceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (32 earlier review cycles; latest 8 shown)
|
cfc21e7 to
a3e8cda
Compare
4a16a8f to
05174d2
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Upstream Codex Stop-hook contract verificationThe prior ClawSweeper review recorded an environment limitation: its review runtime did not have the sibling Codex checkout, and GitHub DNS was unavailable, so it could not inspect the pinned upstream sources. I independently inspected the official
That is the contract used by the bundled-Codex finalization bridge: OpenClaw receives the candidate through the Stop relay before persistence/delivery and can either accept completion or synchronously stop that completion so the selected agent performs the bounded, tool-disabled replacement pass. The |
Reserved
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Maintainer review is in progress. I reproduced two gaps on
The initial exact-head baseline passed 254 focused tests on sanitized direct AWS. I also checked the exact Codex Stop implementation and schema at upstream I will retain the reserved preview-marker behavior, preserve contributor credit, resolve the current mainline conflicts, and update this PR with final proof before landing. No action needed from the author while these repairs are underway. |
Resolve Matrix context visibility through each live receiver and intersect classifier context without duplicating the transport journal. Invalidate monitor-bound decisions, preserve native thread correlation, and bound the complete classifier request. Keep CLI runtime-binding failures terminal, publish validated replacements atomically, clean failed preparations, and preserve intentional discard semantics. Add regressions for policy isolation, lifecycle changes, input bounds, and runtime drift. Co-authored-by: Benjamin Badejo <[email protected]>
Preserve mainline failure classification and auth bookkeeping while discarding rejected terminal text and pending client actions. Keep rewound transcript snapshots alongside nested-tool activity, and retain both private reply capabilities. Add a failed-attempt plus accepted-discard regression, correct the production-boundary fixture to use real receiver handlers and a closed classifier roster, and remove an unused receiver-access type export. Co-authored-by: Benjamin Badejo <[email protected]>
|
Maintainer repair update at 5e45009: receiver-specific Matrix context authorization, monitor lifecycle invalidation, native source-thread correlation, bounded classifier input, and CLI finalization ownership are repaired with failing-before/passing-after regressions. Main conflicts are resolved without losing failure metadata when a discarded attempt also fails. Thanks @bdjben; contributor credit and PR ancestry are preserved. Validation so far: 380 focused repair tests, then 265 integrated tests (including the Matrix production owner/delivery boundary); core and plugin production types; local build; and four final-branch independent review passes at the configured P0 threshold. A stale integration fixture now creates both actual receiver handlers and returns the classifier's closed roster; its unchanged 30-second test passes in 2.15 seconds. The initial concurrent test/check run collided in Vitest's shared transform cache; the affected tests were rerun sequentially with unchanged assertions. ClawSweeper rank-up disposition: I personally inspected the pinned upstream Codex turn loop, hook runtime, synchronous Stop parser/control, and output schema at 90854393966b21e9ebfd21b122334eb09a20c93d, and inspected the linked contributor ledger. Native Stop prevents acceptance but does not delete native candidate history; OpenClaw's mirror and Matrix delivery remain separate boundaries. The reserved Final changed gates, new-head CI, and corrected real Tuwunel + Gateway redraft/discard proof are still running. That proof uses deterministic model HTTP responses and does not claim live native-Codex execution or prior tool-effect replay coverage. I will add the final results before landing. Named follow-ups: express the narrow Matrix finalization permission through an explicit private owner-registration contract without broadening other channels' authority; refine unmarked @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Extract receiver access preparation into its existing owner and preserve source-finalization assertions in a focused suite. Update stale nested activity fixtures and normalize concurrent gate results. Co-authored-by: Benjamin Badejo <[email protected]>
Preserve source delivery authority alongside post-compaction failure rendering. Keep Codex steering and finalization coverage, remove a duplicate shard entry, and use a neutral runtime-model test fixture. Co-authored-by: Benjamin Badejo <[email protected]>
Keep source-owned preview callbacks live during generation while committed assistant events and block replies remain behind terminal acceptance. Preserve global finalization hook buffering and avoid replaying previews when deferred events drain. Cover the real preparation/subscription boundary for local continue, redraft and discard plus global-hook quarantine. Repair the Matrix access type declaration and rebalance complete CLI test families under the existing type-shard limit. Co-authored-by: Benjamin Badejo <[email protected]>
|
Maintainer update for Fresh proof with a real disposable Matrix server, Gateway, and two Matrix accounts reproduced a preview timing defect on The repair keeps source-owned provisional preview callbacks live during generation while committed assistant events and block replies remain gated. Global finalization hooks retain their existing buffering behavior, including when a source-local finalizer is also installed. Deferred terminal delivery cannot replay an already streamed preview. The documentation now names that global-hook exception. The regression failed in all three source-local cases before the repair; both global-hook cases already passed. The repaired owner and sibling suites passed 52 tests across six files. The final, fully typed five-case fixture was rerun successfully; it overlaps those 52 tests. Core production and affected test types pass, and the final independent Codex review reported no actionable findings at its configured P0 threshold. The same commit also fixes the erased Matrix type import and rebalances complete CLI test families under the unchanged type-shard limit. Fresh four-scenario remote validation is running for embedded and native Codex redraft/discard. It uses real transport/runtime boundaries with deterministic model HTTP; it does not claim previous tool-side-effect replay or encrypted-room turn-taking proof. CI for the exact head is also running. No landing or live success is claimed yet. Rank-up disposition remains explicit: reserved @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Reuse the existing owned-retry projection barrier after rejecting a final candidate. Cover both global and source-local finalization alongside compaction, and clarify Matrix preview behavior with global finalization hooks. Co-authored-by: Benjamin Badejo <[email protected]>
Apply the existing native tool policy and MCP attestation to ordinary tools-disabled retries while preserving their lifecycle and Stop hooks. Keep strong policy modes isolated and reuse the prepared restriction in start/resume verification. Cover inherited MCP, managed requirements, transient bindings, restored tools, and authoritative finalization. Clarify external-tool isolation versus native compute in Matrix docs and keep the projection retry fixture aligned with the literal revision type. Co-authored-by: Benjamin Badejo <[email protected]>
|
The maintainer repair is pushed at 1f60272. Thanks @bdjben; contributor credit is retained. The preceding real Matrix run on f06bd5d passed embedded redraft, embedded discard, and native Codex discard. Native redraft reached a fresh final but failed its replacement-tool assertion: the actual Codex 0.150.1 process still exposed request_user_input, skills list/read, and tool_search. The new repair applies the existing complete native restriction policy to ordinary tools-disabled retries, including inherited MCP verification on start/resume, while preserving their lifecycle and authoritative Stop hooks. It removes duplicate verification predicates; this repair is production +26/-25 (net +1). The baseline reproduced four local failures. The final owner/sibling suite passes 506 tests across five files, including transient binding restoration, managed requirements, inherited MCP isolation, and Stop handling. Independent scoped Codex review reports no actionable P0 findings. The prior CI fixture type error is fixed without widening the production contract. Formatting passes; remaining static checks, exact-head CI, and fresh Matrix proof are still running, so this is not yet a merge-ready claim. The additional proof also checks models whose native metadata requires Code Mode. Their exec/wait interface may remain as isolated computation with an empty tool registry. The probe will exercise the installed binary, assert empty callable/deferred inventories and blocked external access, and check that tool/notify output cannot bypass final Matrix delivery. The original strict tool-count result is retained separately; no failed assertion is silently discarded. The documented guarantee is disabled external tool actions with normal lifecycle hooks retained. Disposition of the latest ClawSweeper rank-up suggestions remains explicit: reserved com.openclaw.preview protocol frames are consumed with a recorded reason, including disabled/untrusted/malformed frames, to prevent preview text becoming ordinary bot input; unmarked ingress is unchanged. We are not adopting the suggested marker fallback. The pinned upstream Stop parser and turn-loop sources were personally inspected at 90854393966b21e9ebfd21b122334eb09a20c93d, including codex-rs/core/src/session/turn.rs:502-565, core/src/hook_runtime.rs:311-402, and hooks/src/events/stop.rs:250-322,401-447,535-557. Contributor evidence remains attributed to its historical heads; new maintainer evidence is tied to each actual candidate. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Use ordinary tool-enabled startup, schema and cleanup fixtures. Preserve the shared web-disabled cleanup configuration and expect no app-policy fingerprint when no plugin policy is configured. Keep restriction, cleanup, cancellation and retry assertions intact without larger timeouts. Consolidate adjacent native planning defaults without changing their values, property order or precedence, and remove a shadowed test binding. Co-authored-by: Benjamin Badejo <[email protected]>
|
Merged via squash.
|
|
Reverted at maintainer request by #132977, landed as 8286e2502667. The Matrix turn-taking feature and associated runtime changes have been removed, preserving unrelated changes that landed afterward. The only retained difference is a publication-safe synthetic model name in an existing test fixture. The revert passed 442 focused tests and CI on its exact commit. The landed tree matches the reviewed revert. No new live deployment was performed. |
AI-assisted: yes.
Related: #73455
What Problem This Solves
Matrix rooms containing several OpenClaw agent accounts currently force an awkward choice: require a mechanical mention for every response, or allow every eligible agent to answer the same message. A response can also become stale while it is being generated when a human or another agent adds relevant context before terminal delivery.
This PR adds opt-in, Matrix-scoped intelligent participation and a bounded fresh-message decision immediately before an answer is delivered:
strongly-silentdecision suppresses an agent before its expensive full run;A redraft stays on the selected agent's existing provider, model, authentication, persona, session, and runtime. Completed tool results remain in context, while external tools are disabled for the replacement pass so side effects are not replayed. Native CodeMode may retain isolated JavaScript with an empty tool registry; normal lifecycle hooks, including the finalization gate, still run.
Scope and defaults
The user-facing feature is deliberately Matrix-only and off by default.
channels.matrix.groups.<room>.turnTaking: false.Shared core and the bundled Codex integration contain narrow private plumbing used by the Matrix implementation. That plumbing does not make this feature available to iMessage, Slack, Signal, Discord, Telegram, or another channel.
Configuration
turnTakingis one channel-wide Matrix policy and cannot be overridden per account.Participation
For each eligible native Matrix message, one deterministic local owner makes one bounded, low-reasoning utility-model decision for the current roster:
strongly-speak: context strongly indicates that this agent should answer;strongly-silent: context strongly indicates that this agent should not answer; orneutral: neither conclusion is strong, so the agent remains eligible.Only
strongly-silentsuppresses a turn. Invalid output, timeout, or classifier failure fails open toneutral. The decision is shared across account monitors, avoiding competing classifier calls for one Matrix event. Commands, including/steer, retain their existing command path.Explicit turn-taking enablement authorizes authenticated protocol finals from a currently joined configured sibling account to pass the legacy bot/mention gates. It does not bypass room policy, sender allowlists, per-room user restrictions, room enablement, room opt-out, self-message rejection, replay protection, or bot-pair loop protection. Arbitrary bot traffic and unmarked bot messages retain their existing handling.
Fresh-message action
After the selected agent completes a candidate, but before assistant persistence and terminal Matrix delivery, OpenClaw checks bounded newer room activity.
{decider:"ai"}lets the utility model chooseredraft,discard, orsend-as-is.{decider:"user",action:...}fixes one of those actions in configuration.redraftDepthis exactly 0, 1, or 2:0: participation only; no pre-send freshness check;1: one check and at most one replacement; or2: after an actual replacement, one additional check and at most one final replacement.There is no unbounded rewrite loop. Utility-model failure or invalid output selects
send-as-is.discardis deterministic host behavior: it abandons the preview, removes the rejected candidate, and completes silently without asking a model to emitNO_REPLY.redraftis a hidden retry with external tools disabled through the selected agent's normal full runtime. The utility model does not perform the rewrite.Preview streaming and sibling ingress
Eligible rooms support Matrix partial, quiet, and progress previews. Preview edits remain one correlated response lineage. Block streaming is disabled only for an eligible enhanced turn without rewriting stored configuration; ineligible, opted-out, single-agent, and encrypted rooms preserve ordinary streaming behavior.
Only one authenticated logical answer final is promoted into sibling ingress. Partial previews, ancillary media, tool progress, abandoned previews, malformed protocol frames, and stale terminal events do not launch sibling turns. Media-bearing replacements close the old preview before publishing the replacement final.
Preview awareness is transient and bounded. A later redraft or discard can edit or remove the live preview, but it cannot make text already rendered by a client retroactively invisible.
Supported runtime boundary
Participation-only depth 0 works with every otherwise supported runtime.
Freshness depths 1 and 2 require a runtime that can hand the completed candidate back to OpenClaw before persistence and delivery:
Copilot is intentionally outside the plugin freshness path at depths 1 and 2. An unsupported freshness-enabled harness is rejected before provider/model work with a visible explanation and recovery choices: use a supported embedded/CLI/bundled-Codex path, allow normal fallback to one, or use depth 0 for participation only. OpenClaw does not silently run an unsupported plugin candidate and deliver it without the configured freshness gate.
"Registry-attested bundled Codex" identifies trusted harness registration and provenance. It is not an equality pin to Codex 0.150.1, does not impose a version ceiling, and does not replace OpenClaw's existing minimum-version-and-higher compatibility rule.
The managed Codex source contract is pinned to tag
rust-v0.150.1, commit90854393966b21e9ebfd21b122334eb09a20c93d, and the exact upstream turn loop, hook runtime, Stop event parser, and hook engine. The managed pin protects the source-level Stop contract; user-supplied and ChatGPT-bundled compatible binaries remain governed by the existing external minimum version, with no ceiling.Private Matrix boundary and source authority
GetReplyOptions, harness-attempt parameter types, and native-relay handles omit the private Matrix finalization fields; compile-time contract tests preserve those absences.beforeDeliverwork and again at the final provider-I/O boundary. A source retired during the wait cannot deliver through stale retained state.Maintainer verification
Final candidate:
3231d78ab114769844e96460c426f0167f7129e6. Benjamin Badejo's (@bdjben) original contribution, attribution and historical evidence below remain preserved.The maintainer repair applies receiving-account access policy at every shared Matrix context read and removes duplicate policy. CLI replacement text stays private until runtime binding and cleanup validate. Real-flow testing also exposed two lifecycle gaps: provisional previews were withheld until completion, and accepted embedded redrafts failed to settle their owned transcript projection before retry. Those repairs belong to the subscriber and existing retry owner; global-hook quarantine, ordinary fail-fast reads and real failure/auth outcomes remain intact. No SQLite schema change was needed. Repairing these owners prevents exposure before delivery; downstream send guards or another retry loop would not preserve that boundary.
Native redrafts previously emptied OpenClaw dynamic tools without denying all native sources. The repair reuses complete native tool denial and MCP attestation while preserving ordinary lifecycle hooks and authoritative Stop; strict isolation modes remain strict. Pinned Codex tool-mode selection and runtime source were inspected directly. Forced CodeModeOnly still advertises isolated
exec/wait; the unchanged strict-zero diagnostic remains failed. A separate actual-binary probe verified empty tool/catalog registries, rejected external access attempts, successful computation, and clean final delivery/history. It invokedexeconce and did not invokewait.V7 real-flow proof ran at
1f60272f3a5b480975e3228b4e2d1eda52875ae5: all four standard embedded/native redraft/discard cases passed. Matrix, Gateway, accounts and Codex 0.150.1 were real; model HTTP was synthetic. The final candidate adds test/lint corrections and only one production refactor: consolidating adjacent planning defaults, net -9 lines. Exact source comparison and 324 serialized configuration comparisons confirm unchanged values, precedence and property order. This equivalence does not relabel the final SHA as live-tested.Local proof includes the 506-test native owner/sibling suite, 128 projection tests and the final 19-test cleanup/retry rerun; these suites overlap and are not summed. Final configured P0-only review found no actionable defects (confidence 0.99); it is not an all-severity approval. All five final local static checks passed, including sidecar and import cycles. CI: attempt 2 passed at exact 3231d78. Attempt 1 failed only a current-main QA released-port rebind probe (EADDRINUSE); the unchanged failed-jobs rerun passed. Native review, prepare and merge verification completed; landed as 5d7bd83a4af5. The competing port owner was not captured, so the observation race remains a named QA follow-up.
{ "liveProofHead": "1f60272f3a5b480975e3228b4e2d1eda52875ae5", "finalCandidateHead": "3231d78ab114769844e96460c426f0167f7129e6", "standard": { "passed": 4, "failed": 0, "redraftReplacementTools": 0, "redraftFinalsPerCase": 1, "discardFinalsPerCase": 0, "staleAcceptedAssistants": 0 }, "forcedMetadataStrictZero": { "status": "failed", "actualTools": ["exec", "wait"], "laterHistoryAssertions": "not reached" }, "separateSemanticProbe": { "status": "passed", "toolNames": [], "catalogNames": [], "hostGlobalsAbsent": ["fetch", "process", "require", "Deno"], "importRejected": true, "guessedToolRejected": true, "compute": 42, "execCalls": 1, "waitCalls": 0, "externalToolCalls": 0, "computeOutputLeaked": false, "acceptedNativeMirrors": 1, "staleAcceptedAssistants": 0 }, "combinedProofExit": 1, "configurationEquivalenceCases": 324, "ci": { "run": 33283466358, "attempt": 2, "status": "success", "head": "3231d78ab114769844e96460c426f0167f7129e6" } }Limits: no original external tool-effect replay, E2EE turn-taking proof or universal sandbox certification is claimed. The strict diagnostic failure is retained separately from semantic proof. Reserved
com.openclaw.previewframes remain consumed with a recorded reason; the suggested ordinary-message fallback was explicitly declined to prevent private draft leakage and sibling loops.Named follow-ups remain: generic registration-owned finalization authority, classifier roster precision for unmarked bot traffic, concurrent test-cache invalidation, current-main QA released-port rebind probing, and supervised restriction-to-normal hosted-search restoration. The MCP restoration fixture does not claim hosted-search restoration. Final classified production delta against pinned main is +9,119/-1,290 (net +7,829), implementing the feature and its owner boundaries; tests are +12,486/-524, with test support, tooling and generated files counted separately.
Contributor evidence (historical)
The following ledger is the contributor’s original evidence for the heads named below; it is not a claim that those runs exercised the current maintainer candidate.
The exact final head was validated by 806 non-overlapping targeted tests, core and extension type checks, assertion-safety and public-SDK boundary checks, a clean full production build, and a real six-account Matrix run correlated across Element, Gateway logs, Matrix response lineages, and per-agent durable state. The precise candidate identity, validation results, exact-head live proof, and the earlier redraft/discard proof follow.
Historical contributor candidate provenance
1ffd5187c115c7bf49cf31e484f2f33c95b5e2359723c7a307d8e4b30f5c2023a4c8d59502d6ad827fc93d88013e7263cf6634c37efc5bf930e21ef71ffd518)2026.8.1-1ffd5187c115-2026-08-29T08-48-45.122ZThe final-head update rebases the already-live-tested feature onto the frozen main parent, resolves current-main integration boundaries, repairs assertion-safety sites, and extracts one helper without changing semantics. It does not change the feature's configuration, reserved protocol-marker behavior, room eligibility, participation dispositions, freshness actions, redraft limits, or user-visible delivery policy.
Historical contributor head validation
Completed on exact head
1ffd5187c115c7bf49cf31e484f2f33c95b5e235:pnpm tsgo:core.pnpm tsgo:extensions.7fc93d88013e7263cf6634c37efc5bf930e21ef7:4184 files, 12970 grandfathered assertions.git diff --checkpassed.dist/build-info.jsongeneration.Historical contributor exact-head Matrix proof
The final candidate above was installed in the real OpenClaw runtime without changing
openclaw.json. The pre- and post-cutover configuration SHA-256 is4d085fc823309f2a40d2f31360cd3ea8daa485f022487f89d16b9221f5b45028. Gateway RPC reported the exact build ID above;/healthzwas live,/readyzwas ready with a non-degraded event loop, and all six configured Matrix accounts reportedrunning=true,connected=true,healthState=healthy, andlifecycle=ready, with no account error.At 2026-08-29 12:03 IDT, the ordinary Element desktop client sent one uniquely tagged user message into a real unencrypted Matrix room with six connected OpenClaw accounts. The source requested exact replies from
agent1andagent6, requiredagent2throughagent5to remain silent, and prohibited tool use.sha256:d8cf3668b00d; eventsha256:b807180d9b97; markerSEL-1FFD518-1turn-taking-strongly-silentskips in the source-admission windowagent1sha256:58e94047de76) in sessionsha256:0a575b399baf; one model completion; zero tool events; one durable terminalALLOW-1FFD518-A1agent6sha256:1fae30db7ed4) in sessionsha256:bda59f78d82f; one model completion; zero tool events; one durable terminalALLOW-1FFD518-A2agent2throughagent5sha256:d6e3db82e1edandsha256:5b39728261ac; Element rendered exactlyALLOW-1FFD518-A1andALLOW-1FFD518-A2; no third or duplicate terminal appearedThis proof correlates the user-visible Element result, Gateway source-admission logs, Matrix response lineages, per-agent durable transcript state, and source-window trajectory events on the exact final head. Private room, user, event, session, run, response, and account identifiers are represented only by pseudonyms or 12-hex SHA-256 prefixes.
Earlier full redraft/discard behavior proof
The deeper real-room scenarios below were captured on 2026-08-28 from the same real, unencrypted six-account Matrix topology. They predate the final rebase and were captured on the prior exact feature head:
9ecb322750a3a2e1f6b1d133d7f5ddf6bed304081fd9f9b93fbf4f000ea80e2c4f54f6adce0f1322221c89c1a20a3e3bd605774142725ed2812f97f79ecb322)2026.8.1-9ecb322750a3-2026-08-28T17-56-41.458ZAgents were pseudonymized as
agent1throughagent6. Private room, user, event, session, run, response, preview, and account identifiers were replaced by short SHA-256 correlators. Evidence was correlated across Element-rendered behavior, Matrix wire events, OpenClaw per-agent SQLite state, and the underlying bundled-Codex rollout.Selective participation
One source explicitly selected
agent1andagent6.agent2throughagent5recorded zero matching transcript events, zero trajectory events, zero full runs, and zero terminals.Fresh-message redraft without tool replay
agent1completed exactly 12 read-only tool calls and produced provisional terminalKEEP-9ECB322-R1. A newer room message then changed the required terminal toREVIEW-9ECB322-R1.KEEPassistant terminals, exactly oneREVIEWassistant terminal, and exactly one terminal total.REVIEW; no final containedKEEP.Deterministic discard of a completed Codex candidate
With fixed
nextStep={decider:"user",action:"discard"},agent1completed exactly 12 tool calls and the private bundled-Codex rollout producedDISCARD-CANDIDATE-9ECB322-D1.abandonedstate and its base event was redacted.Message deletedand showed no terminal response.This distinguishes an intentional host-side discard from model non-generation: the model-layer candidate existed, but it crossed neither the durable OpenClaw terminal boundary nor the Matrix final boundary.
After the proof run, the temporary discard configuration was restored byte-for-byte. The Gateway remained healthy and all six Matrix accounts returned to
running=true,connected=true,healthState=healthy, andlifecycle=ready, with no account errors.The optional sanitized readable ledger and machine-readable JSON contains the pseudonymized correlators underlying these earlier scenarios; the behavioral proof above does not depend on the reviewer being able to access that artifact.