Skip to content

fix(qa): restore full-stack scenarios and truthful suite exits - #115290

Merged
steipete merged 2 commits into
mainfrom
codex/auto-qa-live-64991433137
Jul 28, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/auto-qa-live-64991433137

Conversation

@steipete

@steipete steipete commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Related: #114492
Related: #109025

What Problem This Solves

Fixes an issue where users and operators exercising full OpenClaw workflows could encounter missing channel replies, stalled agent and restart recovery, incomplete OpenAI streaming, inconsistent cross-conversation memory, image delivery failures, broken Anthropic replay, and invalid or misleading QA results. The complete QA run also incorrectly exited as a failure when every required scenario passed but catalog-declared optional integrations were unavailable.

Why This Change Was Made

Repairs each regression at its existing QA-channel, agent, provider, and scenario ownership boundary. Preserves strict, fail-closed suite behavior for genuine failures, unknown or explicitly selected skips, empty runs, and inconsistent evidence; only catalog-confirmed, report-only optional scenarios are nonblocking. This focused PR deliberately excludes the unrelated security, dependency, and gateway changes in #114492.

User Impact

Channel and agent-to-agent delivery, streamed model responses, restart and session recovery, memory recall, native image generation, Anthropic recovery, tracing, and Control UI workflows behave consistently. Operators can trust the full QA exit status: required failures still fail; explicitly optional unavailable integrations remain visible as skips.

Evidence

  • AI-assisted implementation with independently reviewed owner-specific regressions and a clean secret scan.
  • Frozen full-suite-validated baseline: 64991433137f838f3aa9ec405d828b3f6168edfc; original 45-file content SHA-256 e5ab52dc6e2277adaeb4348e7685f882160eeb8ab3570c6e631e83fb7c1c95e5. The final 46-file PR additionally updates the existing agent-recovery integration test to verify the intended atomic image-and-caption behavior.
  • Both previously untracked scenario-timeout and mock streaming regression tests are included.
  • Supported private-QA/core/AI build: passed, actual exit 0; both build stamps and seven required built artifacts verified.
  • Full real Gateway/channel/Chromium product run with the deterministic mock provider: 118 scenarios, 110 passed, 0 failed, 8 catalog-confirmed report-only optional skips; actual process exit 0.
  • Full-suite summary SHA-256 087726227127a4b753b48ca3c5da35b576d3901045cfb0d3d6d4d0ac5211b2ac; evidence SHA-256 1b06d48de7139bc3d8c582e6d587faf402a0388e9340be73e42266daf8f2ca74; Markdown report SHA-256 65ee80d0ac6666e32d56f3c6faea9ca3638aeb98fd78965cd1425bb0f6e7fd96.
  • Focused owner regressions: 14 test files, 521 passed, 0 failed, actual exit 0.
  • Canonical all-project changed gate for the frozen full-suite source: passed, actual exit 0, including production and test typechecks, all three lint shards, all 45 formatted files, architecture/dependency/SDK/database guards, and zero import cycles.
  • The two initially failing hosted CI checks were traced to an illegal QA-test private core import and a stale split-media integration expectation; the fixes preserve the plugin boundary and canonical atomic delivery and pass the exact affected owner regressions plus the repository's plugin-test-core-import guard.
  • Fresh structured autoreview: zero accepted or actionable findings; its one SQLite-watchdog warning was rejected after verifying that live-process SQLite leases cannot be reclaimed by elapsed time, the watchdog renews file locks only, and the direct SIGTERM/competing-acquisition regression passes.
  • Live-provider limitation, intentionally not hidden: an actual authenticated openai/gpt-5.4 run passed 1 scenario and timed out on 2 live agent-policy scenarios. The 118-scenario passing result is the real product path using mock-openai; it is not claimed as a passing real-provider run.

Focused regression command:

node scripts/run-vitest.mjs \
  packages/ai/src/transports/openai-responses-stream-parity.test.ts \
  src/agents/session-write-lock.test.ts \
  src/agents/agent-command-restart-recovery.test.ts \
  src/agents/subagent-announce.requester-settle-wake.test.ts \
  extensions/qa-channel/src/channel.test.ts \
  extensions/qa-channel/src/inbound.test.ts \
  extensions/qa-lab/src/providers/mock-openai/server.test.ts \
  extensions/qa-lab/src/providers/mock-openai/mock-openai-events.test.ts \
  extensions/qa-lab/src/scenario-catalog.test.ts \
  extensions/qa-lab/src/live-scenario-timeouts.test.ts \
  extensions/qa-lab/src/scenario-flow-runner.test.ts \
  extensions/qa-lab/src/reply-failure.test.ts \
  extensions/qa-lab/src/cli.runtime.test.ts \
  extensions/qa-lab/src/suite-summary.test.ts

Full product command:

node openclaw.mjs qa suite \
  --provider-mode mock-openai \
  --model mock-openai/gpt-5.6-luna \
  --alt-model mock-openai/gpt-5.6-luna-alt \
  --concurrency 4 \
  --output-dir .artifacts/qa-e2e/main649-final45-e5ab-stamped-full118

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling channel: qa-channel Channel integration: qa-channel extensions: qa-lab size: XL maintainer Maintainer-authored PR labels Jul 28, 2026
@steipete
steipete marked this pull request as ready for review July 28, 2026 16:21
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 Jul 28, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. 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. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. and removed 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 Jul 28, 2026
@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 28, 2026, 12:40 PM ET / 16:40 UTC.

ClawSweeper review

What this changes

This PR restores end-to-end QA scenarios and makes the QA CLI succeed only when all required scenarios pass, while keeping catalog-confirmed report-only optional integrations visible as nonblocking skips.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this PR open for maintainer review. It remains necessary: its current head contains the QA-channel media delivery, suite-exit, session-recovery, streaming, and scenario-contract changes, while current CI is still running and the maintainer label prevents automated cleanup. The supplied real Gateway/channel/Chromium run and focused regressions are substantial proof; no discrete patch defect is established from the reviewed change set.

Priority: P1
Reviewed head: 2ce01f55a8e918328e6051db0d3e7d1be0578936
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong disclosed end-to-end evidence and targeted regression coverage support a good patch rating, with final confidence gated on current-base exact-head validation of the broad coupled surface.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body supplies after-fix real product evidence from a Gateway/channel/Chromium QA run with an actual process exit and a separately stated focused regression run; the deterministic mock provider is disclosed rather than presented as live-provider proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body supplies after-fix real product evidence from a Gateway/channel/Chromium QA run with an actual process exit and a separately stated focused regression run; the deterministic mock provider is disclosed rather than presented as live-provider proof.
Evidence reviewed 5 items Current PR scope: The exact head changes QA-channel media batching, QA suite optional-skip classification, agent restart recovery, session-lock termination behavior, streamed OpenAI response recovery, and regression scenarios/tests.
Suite gate contract: The suite-summary change only exempts skipped scenarios whose names are catalog-confirmed optional entries and whose details identify them as report-only; unknown, selected, empty, and unverified skips remain blocking.
Real behavior proof: The PR body reports an after-fix Gateway/channel/Chromium product run with deterministic mock OpenAI: 118 scenarios, 110 passed, 0 failed, 8 catalog-confirmed report-only optional skips, and process exit 0; it also reports 521 focused regression tests passing.
Findings None None.
Security None None.

How this fits together

QA Lab runs scenario catalogs through the Gateway, agents, channels, providers, and browser tooling, then records evidence and derives the CLI exit status. The PR repairs several runtime paths exercised by that harness and changes the final suite gate so it distinguishes required failures from declared optional integrations.

flowchart LR
A[Scenario catalog] --> B[QA Lab runner]
B --> C[Gateway and agent runtime]
C --> D[QA channel and mock providers]
D --> E[Scenario evidence and summaries]
E --> F[Required versus optional classification]
F --> G[QA CLI exit status]
Loading

Decision needed

Question Recommendation
Should this 46-file QA and runtime repair remain a single coordinated PR after rebasing, or should maintainers require a narrower split before it can merge? Rebase and review as one repair set: Recommended: preserve the linked regression coverage, refresh the exact head onto current main, and merge only after the applicable checks complete.

Why: The changes deliberately couple scenario assertions to their underlying channel, agent, provider, and suite-gating repairs; deciding the acceptable review and landing boundary is maintainer judgment rather than a mechanical defect fix.

Before merge

  • Resolve merge risk (P1) - The PR couples QA suite semantics with channel delivery, agent recovery, session-lock cleanup, and provider-stream handling; maintainers should judge the 46-file bundle as an integrated change rather than land isolated portions without its matching regression coverage.
  • Resolve merge risk (P1) - The branch is behind current main and exact-head CI is incomplete, so the final merge decision needs current-base validation of the combined delivery, session, and QA paths.
Agent review details

Security

None.

PR surface

Source +381, Tests +1380, Other +59. Total +1820 across 46 files.

View PR surface stats
Area Files Added Removed Net
Source 16 498 117 +381
Tests 15 1401 21 +1380
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 15 138 79 +59
Total 46 2037 217 +1820

Review metrics

Metric Value Why it matters
Cross-owner repair surface 46 files across QA Lab, QA Channel, agent runtime, AI transport, and scenarios The size reflects an intentionally integrated behavior-and-proof repair, so final validation must cover the combined paths rather than only unit-level edits.
Claimed product proof 118 scenarios: 110 passed, 0 failed, 8 report-only optional skips The claimed after-fix run directly exercises the changed suite-exit contract and provides a concrete baseline for exact-head refresh.

Stored data model

Persistent data-model change detected: serialized state: extensions/qa-lab/src/cli.runtime.test.ts, serialized state: extensions/qa-lab/src/providers/mock-openai/mock-openai-events.ts, serialized state: qa/scenarios/media/native-image-generation.yaml, serialized state: qa/scenarios/memory/remember-across-conversations.yaml, serialized state: qa/scenarios/memory/session-memory-ranking.yaml, serialized state: src/agents/session-write-lock.test.ts, and 6 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Refresh exact-head proof before merge (recommended)
    Rebase onto current main and require the remaining exact-head build, type, lint, QA-smoke, and topology checks to finish before landing the coupled repair.
  2. Split runtime and QA changes
    Pause this bundle and separate the agent/channel runtime repairs from scenario and suite-gating changes if ownership review cannot accept the coupled surface.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Rebase onto current main, preserve the focused QA regressions, and wait for all applicable exact-head checks to pass before merge.

Technical review

Best possible solution:

Retain this focused full-stack repair as one reviewed unit, refresh it onto current main, and land only after the exact head completes the applicable checks and owners accept the cross-surface coupling.

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

No independent high-confidence reproduction was performed in this review. The changed paths are source-reproducible from the supplied focused regression command and scenario definitions, and the PR includes after-fix product-run output.

Is this the best way to solve the issue?

Unclear: the individual changes follow the existing owner boundaries and have targeted regressions, but maintainers must decide whether the broad integrated bundle is the best landing shape after current-main refresh.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add merge-risk: 🚨 session-state: The change adjusts restart recovery and session-key SQLite lease cleanup during termination, which can affect in-flight session ownership.
  • add merge-risk: 🚨 availability: The suite CLI exit gate and graceful SIGTERM lease behavior affect whether QA automation and active agent work complete reliably.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body supplies after-fix real product evidence from a Gateway/channel/Chromium QA run with an actual process exit and a separately stated focused regression run; the deterministic mock provider is disclosed rather than presented as live-provider proof.
  • remove rating: 🦐 gold shrimp: 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:

  • P1: The PR repairs agent/channel and QA workflows whose regressions can hide or misreport real failures for operators.
  • merge-risk: 🚨 message-delivery: QA-channel outbound batching and agent recovery now attach generated media to visible replies, affecting delivery ordering and attachment behavior.
  • merge-risk: 🚨 session-state: The change adjusts restart recovery and session-key SQLite lease cleanup during termination, which can affect in-flight session ownership.
  • merge-risk: 🚨 availability: The suite CLI exit gate and graceful SIGTERM lease behavior affect whether QA automation and active agent work complete reliably.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body supplies after-fix real product evidence from a Gateway/channel/Chromium QA run with an actual process exit and a separately stated focused regression run; the deterministic mock provider is disclosed rather than presented as live-provider proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies after-fix real product evidence from a Gateway/channel/Chromium QA run with an actual process exit and a separately stated focused regression run; the deterministic mock provider is disclosed rather than presented as live-provider proof.

Evidence

What I checked:

  • Current PR scope: The exact head changes QA-channel media batching, QA suite optional-skip classification, agent restart recovery, session-lock termination behavior, streamed OpenAI response recovery, and regression scenarios/tests. (extensions/qa-lab/src/cli.runtime.ts, 2ce01f55a8e9)
  • Suite gate contract: The suite-summary change only exempts skipped scenarios whose names are catalog-confirmed optional entries and whose details identify them as report-only; unknown, selected, empty, and unverified skips remain blocking. (extensions/qa-lab/src/suite-summary.ts, 2ce01f55a8e9)
  • Real behavior proof: The PR body reports an after-fix Gateway/channel/Chromium product run with deterministic mock OpenAI: 118 scenarios, 110 passed, 0 failed, 8 catalog-confirmed report-only optional skips, and process exit 0; it also reports 521 focused regression tests passing. (2ce01f55a8e9)
  • Current review state: GitHub context reports the PR as mergeable but behind main, with multiple exact-head build, lint, type, QA-smoke, and topology checks still in progress. This is not a correctness finding, but it requires a refreshed merge decision on the exact head. (2ce01f55a8e9)
  • Related work boundary: The PR explicitly scopes itself away from the broader open QA/gateway/channel bundle and references the closed sender-policy report only through its live QA scenarios, so neither related item safely supersedes this PR. (2ce01f55a8e9)

Likely related people:

  • steipete: Authored both commits on this focused QA/runtime repair branch and the related broader full-stack QA repair work cited by the PR. (role: recent area contributor; confidence: medium; commits: 0fd7e8598132, 2ce01f55a8e9; files: extensions/qa-lab/src/cli.runtime.ts, extensions/qa-channel/src/channel.ts, src/agents/session-write-lock.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Rebase the branch onto current main and let the remaining exact-head checks complete.
  • Keep the QA-channel, session-recovery, and suite-summary regressions together if the PR remains a single landing unit.

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.

@steipete

Copy link
Copy Markdown
Contributor Author

Landing verification for the exact head 2ce01f5:

  • Full hosted pull-request CI run 30378981851 is successful, including the required openclaw/ci-gate and both initially failing QA plugin-boundary and agent recovery shards.
  • Corrected focused regressions: 173 passing tests; the public plugin-test boundary and formatting both pass.
  • Full deterministic product proof: 118 scenarios; 110 passed, zero failed, and eight catalog-declared report-only optional skips.
  • Broader frozen owner proof: 521 passing regressions, successful all-project changed gate, and successful private-QA/core/AI build.
  • Canonical scripts/pr review artifacts are validated with zero accepted findings, and OPENCLAW_TESTBOX=1 scripts/pr prepare-run 115290 independently verified the successful exact-head hosted evidence.
  • ClawSweeper rank-up move 1, rebase onto moving main: intentionally not applied. The repository-native maintainer policy makes behind-main drift advisory; GitHub confirms the current head is mergeable, and its exact synthetic-merge CI and aggregate gate already passed. Rebasing would invalidate the verified hosted evidence without resolving a conflict.
  • ClawSweeper rank-up move 2, keep QA-channel, session-recovery, and suite-summary regressions together: satisfied. All 46 reviewed paths remain in one integrated landing.
  • Live-provider limitation: the authenticated openai/gpt-5.4 run had one pass and two live-policy timeouts. The successful 118-scenario product run uses mock-openai and is not represented as successful live-provider proof.

@steipete
steipete merged commit 641c82b into main Jul 28, 2026
129 of 137 checks passed
@steipete
steipete deleted the codex/auto-qa-live-64991433137 branch July 28, 2026 17:00
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 28, 2026
…etwork-none

* origin/main:
  feat(macos): enable Computer Control by default and diagnose stale Accessibility grants (#115280)
  fix(qa): restore full-stack scenarios and truthful suite exits (#115290)
vincentkoc added a commit that referenced this pull request Jul 28, 2026
…-20260728

* origin/main:
  fix(tui): order delayed prompts before completed replies (#115219)
  feat(macos): enable Computer Control by default and diagnose stale Accessibility grants (#115280)
  fix(qa): restore full-stack scenarios and truthful suite exits (#115290)
  feat(memory): backfill past sessions from Control UI (#115266)
  docs: link macOS onboarding pages to app download (#111361)
  feat(skills): shared authoring standards make learned skills routable (#115103)
  fix(matrix): suppress previews for modifying hooks
  fix: prevent node gateway hangs and runaway local inference (#115248)
  refactor(ui): adopt @lit/task across remaining page surfaces (#115274)
vincentkoc added a commit to christian-lallo/openclaw that referenced this pull request Jul 28, 2026
* origin/main: (62 commits)
  feat(macos): enable Computer Control by default and diagnose stale Accessibility grants (openclaw#115280)
  fix(qa): restore full-stack scenarios and truthful suite exits (openclaw#115290)
  feat(memory): backfill past sessions from Control UI (openclaw#115266)
  docs: link macOS onboarding pages to app download (openclaw#111361)
  feat(skills): shared authoring standards make learned skills routable (openclaw#115103)
  fix(matrix): suppress previews for modifying hooks
  fix: prevent node gateway hangs and runaway local inference (openclaw#115248)
  refactor(ui): adopt @lit/task across remaining page surfaces (openclaw#115274)
  fix(slack): cap chat.update edit text at the 4000-char limit, not the 8000 send limit (openclaw#115027)
  [AI-assisted] docs: recommend Node 26 in quickstart, landing, and platform install docs (openclaw#115064)
  refactor(workboard): tidy Control UI card execution helpers (openclaw#115195)
  perf(agents): amortize history-limit eviction with hysteresis (openclaw#115273) (openclaw#115281)
  fix: schema-version refusal blames a downgrade that never happened and cannot identify the stale install (openclaw#115232)
  fix: restore Fish completion after global CLI options (openclaw#115222)
  refactor(agents): collapse the client-tool catalog branch (openclaw#115212)
  fix(macos): signed rebuild no longer stalls on app shutdown (openclaw#103957)
  fix(agents): prevent repeated Code Mode output across waits (openclaw#115213)
  refactor(ui): split Profile (identity) from Usage (statistics) (openclaw#115245)
  fix(channels): report a channel that cannot receive as unhealthy instead of connected (openclaw#115229)
  fix(cli): reject malformed infer model refs (openclaw#115225)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
…law#115290)

* fix(qa): restore full-stack scenarios and truthful suite exits

* test(qa): respect plugin boundaries and atomic media delivery
steipete added a commit that referenced this pull request Oct 14, 2026
…of diagnostics (#171606)

## What Problem This Solves

Older channel-plugin code duplicates shared SDK ownership and carries defensive machinery for unsupported internal inputs, synthetic clocks, and throwing diagnostic hooks. Several normal inbound paths also put message content or pairing codes into diagnostics.

## User Impact

Message delivery, account/security policy, conversation identity, provider features, and ordinary shutdown/restart durability remain supported. Inbound message text, malformed Teams consent payloads and pairing codes no longer appear in the repaired diagnostic paths. No configuration, CLI, protocol, SDK export, dependency, schema, retention, or permission changes are required.

## Why This Change Was Made

This is the second old-code channel-plugin pass. Only production files with no origin/main commit in the preceding seven days are included; eligibility is refreshed before every push. The overlapping Feishu Markdown fence repair was removed from this branch once main independently landed it in #171222.

The packet removes **512 net production lines** (+503/-1015; tests, fixtures, test support, generated files, and declarations excluded). It reuses existing public SDK owners for plugin setup composition, secret-contract wiring, receipts, status summaries, process-global maps, error traversal, and account-scoped DM policy. There are no private-core or cross-plugin imports.

## Best-effort tradeoffs accepted

Each removed mechanism below was checked against callers, dependency behavior, and introducing history. Synthetic tests and hypothetical PR race descriptions are not treated as human production reports. Actual incident fixes, live security authority, FIFO, resource bounds, and accepted-write settlement are retained.

- Discord identify clock-skew observation (`c767b37e3b2`): the only added proof jumps the clock from a trillion milliseconds to zero; no human report is linked. A drastic backward clock jump can now prolong reconnect until clock recovery/restart; ordinary five-second parallel identify spacing remains.
- WhatsApp second synchronous close observation (#109886, `bf413374cca`): native Baileys uses EventEmitter and cannot asynchronously close between synchronous check/listener registration. A nonstandard reentrant `newListener` hook can reach the existing bounded timeout; transport-confirmed close and cleanup remain.
- Tlon formatter fallback (#1837, `51720980736`): validated decimal BigInt input cannot fail the pinned @ud formatter. A broken dependency now fails visibly instead of sending the incorrect raw ID that the original threading fix rejected.
- Matrix second private sync waiter (#62779, `0c00c3c2306`): the actual monitor waits once; only a synthetic test calls twice. An unsupported second call may replace the first callbacks; real outage/fatal/abort settlement remains.
- ClickClack outer setup catches (`752567dbc8e`): network/config failures are already caught by their owners; the extra path catches a broken logger/formatter then invokes the same logger again. Such internal failures now surface; ordinary setup diagnostics remain.
- ClickClack second workspace snapshot (`3e352d67278`): verification now resolves ID/name/slug from one provider response. A concurrent rename/removal is observed on the next verification/runtime request rather than an opportunistic second fetch.
- SMS generated-fragment revalidation (#118665, `0758316883f`): raw URL validation stays; only URLSearchParams-generated fragment bytes were checked twice. A monkeypatched/broken encoder is no longer revalidated; length, auth, URL and retry bounds remain.
- Feishu timeout-warning catch (`0028e6040a7`): the cited stuck-task/FIFO issues concern the retained five-minute cap, not a throwing logger. A broken warning hook now rejects that queue call visibly; subsequent same-key work continues.
- Feishu private timeout customization (`0028e6040a7`, `fab8d29d211`, #101949): only tests passed disabled/oversized/custom values. Unsupported direct imports can no longer tune/disable the private cap; all production callers retain five-minute progress/FIFO behavior.
- Reef logger-fatal deferred/race (#162669; synthetic hook in #110870): ordinary transport-error containment and shutdown from the recorded live relay incident stay. A throwing error logger is reported by the scheduler instead of intentionally killing an otherwise healthy inbox.
- Matrix nonfinite media size fallback (`9b71382efb6`, #149128): the sole production producer passes Buffer.byteLength; NaN cases were synthetic cleanup fixtures. Unsupported private NaN calls now carry that supplied value; MIME, encryption, image fields and duration remain.
- Buzz subscription count coercion (`6c7a96e588e`): the sole caller supplies array.length. Unsupported negative/fractional private values are not repaired; the actual room/resource cap remains.
- Teams upload-byte coercion (#104120, `0c8220ebf9a`): both callers supply Buffer.length. Unsupported malformed private counts follow transfer arithmetic; timer clamping and upload budgets stay.
- Nostr zero-count score fallback (`7b6cbf58697`): private entries are synchronously created and incremented together. An unsupported new zero-outcome insertion could score NaN; actual outage/circuit-breaker/failover behavior stays.
- Buzz profile-limit coercion (`ba2510e8fa8`): the only explicit producer supplies the bounded integer budget. Unsupported direct malformed limits are not normalized; ordinary caps, zero-budget and untrusted-event checks stay.
- Feishu card-launcher clock injection/max-Date guard (`05634708e05`): only a synthetic year-275760 test supplies the private clock. A corrupt clock may create an unusable expiry until recovery/restart; effect-side expiry, actor/chat and approval validation stay.
- QA private empty media-batch guard (#115290, `641c82b5bd0`): all three callers prove a nonempty batch. Unsupported direct empty calls take the ordinary text path; real media caps and atomic loading remain.
- Slack private global-map slot revalidation (original sharing fix `55318df83ff`): normal module sharing/replacement is retained. No human private-slot corruption report is linked; third-party mutation/deletion of our private Symbol slot is no longer checked on every read, and restart repairs unsupported corruption.
- Buzz synchronous subscription-construction compensation (`b48984792f4`, `828f88c5ca5`, #130300): native nostr-tools construction emits no callbacks and authored filters are plain/nonempty. Unsupported throwing/cyclic private filters or replaced constructors surface without immediate count/generation/timer compensation; close/deadline/restart recovers temporary state.
- Buzz post-construction inline-EOSE/abort retry (same provenance): native callbacks are asynchronous. A non-native constructor emitting EOSE inline no longer gets a second cleanup attempt; real EOSE-before-CLOSE, late EOSE, close-once, deadlines, queued slots, abort listeners, membership authority and shutdown remain. Fixtures now schedule EOSE with queueMicrotask while retaining assertions.
- Signal clean-end recovery duplication (#10240, `dff4a04c1f5`): clean EOF and transient failures share one backoff tail. An impossible non-abort internal sleep rejection or broken status/logger callback now surfaces rather than entering compensating reconnect; real sleep rejects on abort and actual recovery stays.
- WhatsApp optional native socket-end fallback (`69225003820`): actual callers use WASocket with required end(). An unsupported fake without end fails plainly; normal teardown and its error reporting stay.
- Nextcloud post-synchronous-route abort check (#159067, `5fd7c3d95e0`): the old awaited server-start path became synchronous route registration. A reentrant registry callback abort may briefly publish ready; installed abort cleanup, post-spool-ready check, auth and durable settlement stay.
- Buzz history-count clamps (`132e39bff64`): the actual positive room count and queue-capacity invariant guarantee the result. Unsupported private negative/oversized counts are not repaired; actual FIFO/resource reservations remain.
- LINE frozen-error wrapper (#100996, `f859d78b612`): native SDK HTTPFetchError is mutable; Object.freeze was a synthetic fixture, not a cited human incident. An unsupported frozen replacement error can now fail annotation with TypeError; actual partial-send/recovery contracts stay.
- LINE duplicate missing-receipt invariant (`05eda57b3c7`, #99600, #142092, #165718): all native sends return validated IDs and required receipts. Unsupported fake results use canonical bridge normalization instead of the former private throw; physical-send progress, caption quoting, receipt order and declared capabilities stay. The bridge also preserves already-sanctioned chatId metadata.
- Feishu display-cache extreme-clock guards (`23e1aac9b2c`): introduced with a synthetic max-Date test, no linked human report. Corrupt clocks follow ordinary arithmetic; account scope, positive/negative TTL and the 500-entry bound remain.
- Mattermost reaction-identity extreme-clock guards (`77b334a9845`): only invalid/max-Date tests support the machinery, no linked human report. Corrupt clocks follow arithmetic; token/base-URL scope, ten-minute expiry, delegated conversation/post/self-DM checks and request authority remain.

Other cuts remove duplicate facts/checks under one existing owner and introduce no additional failure tradeoff: Signal subscription/abort state, Zalouser Promise settlement and DM setter, Nextcloud claimed version/lane validation, Teams media/header validation and empty-array merging, Buzz refresh-state identity, Nostr flush identity, Matrix encryption gating, Mattermost runtime-config guard, immutable plugin setup bases, and private Discord/iMessage test overrides.

Matrix's private zero-answer poll fallback is also removed: its sole caller has already passed the shared minimum-two-options validator (`c49b6cc241a`, #163574). No reachable input loses a fallback. Teams attachment header rejection remains owned by the canonical bounded media saver; malformed/oversize headers now use the existing `attachmentView save failed` warning instead of the special malformed-header tag or silent oversized-header skip. The unavailable result and byte protection remain unchanged.

## Evidence

Focused owning-boundary/sibling tests and independent isolated reviews were run per checkpoint. Latest batches passed: Discord/LINE/Matrix/Synology 76 cases (157.00s wrapper), LINE/Feishu/Mattermost 66 cases (132.62s), Mattermost reaction 12 cases, Zalo Personal setup 17 cases (48.97s), and Teams consent/parser/lifecycle 52 cases (29.18s). The Teams malformed-content regression failed on the original handler before the one-line repair. The new Zalo test fixture initially assumed the wrong promotion target; source inspection and an explicit two-account fixture corrected it without changing production behavior or weakening retained assertions.

Production/test extension typechecks and targeted type-aware lint/format pass. Runtime and Madge checks report zero cycles. Existing SDK export checks pass. Earlier fresh cliStartup build and affected built-entry import proof passed; no performance improvement is claimed from dirty-tree profiling. No live accounts, operator state, driver installation, Gateway or remote lease was used.

Final Matrix poll/send/shared-normalization proof passes 55 cases across three shards (138.50s wrapper). Independent full-branch review and the supplemental poll review found no actionable P0–P2 findings.

Two local baseline gates are inherited from the branch base: suppression inventory expects 87 versus the untouched proxy's 88 (current main has repaired the entry); aggregate check-changed stops on stale untouched max-lines entry src/agents/btw.ts after conflict/line-cap gates pass. No allowlist/budget expansion was made. Earlier cold-start timing-sensitive failures remain observations, not claimed repaired/inherited; the complete changed cold-start file subsequently passed all eight cases with unchanged timers/assertions.

The first exact-head hosted run [38503961141](https://github.com/openclaw/openclaw/actions/runs/38503961141) completed in 643 seconds: 51 jobs passed, 25 planned jobs skipped, and the baseline ratchet plus its aggregate gate failed. The defect was ours: removed Slack/Twitch assertions and two removed ClickClack mocks needed exact inventory shrinkage. Those four inventory items are corrected without adding allowances or changing behavior. All actual tests, types, lint, architecture, package boundaries, QA and security jobs passed on that production patch. Final exact-head run [38505676106](https://github.com/openclaw/openclaw/actions/runs/38505676106) passed on `86922ccf92825d4b53b77005119590d1e7759a32`: 55 successful jobs, 25 planned skips, zero failed/cancelled jobs, 643 seconds wall time and 9,679 summed reported job seconds. The exact-head required CI/security gate passes. CodeQL also reports a neutral warning for unselected main configurations; those skipped configurations are not claimed as proof. No CI rerun, inherited-failure admin exception, or green-seeking push was used.

<details>
<summary>Round-2 largest-first coverage log</summary>

Setup/runtime composition is consolidated for Buzz, Nostr, A2A and Google Chat; setup stays dependency-light. Matrix/Feishu secret activation uses the existing factory with activation/order/owner rules unchanged. IRC shares parsing/status owners. LINE shares receipt/progress mapping without routing through legacy media behavior. Zalo Personal shares the existing account-scoped DM policy owner. Privacy regressions reach real WhatsApp/iMessage/Synology inbound and Feishu pairing diagnostic paths while asserting complete dispatch/challenge behavior.

Largest old owners retained after source/caller/history review include iMessage catchup/conversation repair; Matrix formatting/actions/crypto/shutdown; Mattermost interactive access/draft boundary/final receipts; Signal approvals/transport setup; Slack ingress FIFO/thread visibility/workspace identity/streaming; WhatsApp paid-STT/admission/quoted identity/partial delivery; Teams Graph/Bot Framework/upload consent security; Buzz signed membership/archival authority/resource budgets; Nostr circuit breakers/profile mutation auth; LINE provider caps/reply-token/media ordering; Twitch listener/auth resource ownership; SMS callback/API ordering; Synology auth/rate limits/durable acknowledgments; Reef encryption/transport error containment; FaceTime trust/rollback/permissions; and paid X request accounting.

Recent files were deferred, including remaining Teams inbound-body, Tlon admin/approval-text and WhatsApp outbound-content diagnostics; recently landed feature foundations were not treated as dead code. QA setup-base consolidation was held because completing its runtime caller would exceed the one-line recent-file exception. No Phase E standalone memory code was touched. Detailed per-mechanism provenance and checkpoint evidence is retained in the requested round-2 lane ledger.

</details>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…of diagnostics (openclaw#171606)

## What Problem This Solves

Older channel-plugin code duplicates shared SDK ownership and carries defensive machinery for unsupported internal inputs, synthetic clocks, and throwing diagnostic hooks. Several normal inbound paths also put message content or pairing codes into diagnostics.

## User Impact

Message delivery, account/security policy, conversation identity, provider features, and ordinary shutdown/restart durability remain supported. Inbound message text, malformed Teams consent payloads and pairing codes no longer appear in the repaired diagnostic paths. No configuration, CLI, protocol, SDK export, dependency, schema, retention, or permission changes are required.

## Why This Change Was Made

This is the second old-code channel-plugin pass. Only production files with no origin/main commit in the preceding seven days are included; eligibility is refreshed before every push. The overlapping Feishu Markdown fence repair was removed from this branch once main independently landed it in openclaw#171222.

The packet removes **512 net production lines** (+503/-1015; tests, fixtures, test support, generated files, and declarations excluded). It reuses existing public SDK owners for plugin setup composition, secret-contract wiring, receipts, status summaries, process-global maps, error traversal, and account-scoped DM policy. There are no private-core or cross-plugin imports.

## Best-effort tradeoffs accepted

Each removed mechanism below was checked against callers, dependency behavior, and introducing history. Synthetic tests and hypothetical PR race descriptions are not treated as human production reports. Actual incident fixes, live security authority, FIFO, resource bounds, and accepted-write settlement are retained.

- Discord identify clock-skew observation (`fa56d13411c`): the only added proof jumps the clock from a trillion milliseconds to zero; no human report is linked. A drastic backward clock jump can now prolong reconnect until clock recovery/restart; ordinary five-second parallel identify spacing remains.
- WhatsApp second synchronous close observation (openclaw#109886, `ca60d105ece`): native Baileys uses EventEmitter and cannot asynchronously close between synchronous check/listener registration. A nonstandard reentrant `newListener` hook can reach the existing bounded timeout; transport-confirmed close and cleanup remain.
- Tlon formatter fallback (openclaw#1837, `a898f3d7bb5`): validated decimal BigInt input cannot fail the pinned @ud formatter. A broken dependency now fails visibly instead of sending the incorrect raw ID that the original threading fix rejected.
- Matrix second private sync waiter (openclaw#62779, `aec73fd9ca4`): the actual monitor waits once; only a synthetic test calls twice. An unsupported second call may replace the first callbacks; real outage/fatal/abort settlement remains.
- ClickClack outer setup catches (`9079efe9026`): network/config failures are already caught by their owners; the extra path catches a broken logger/formatter then invokes the same logger again. Such internal failures now surface; ordinary setup diagnostics remain.
- ClickClack second workspace snapshot (`188ce1e28e9`): verification now resolves ID/name/slug from one provider response. A concurrent rename/removal is observed on the next verification/runtime request rather than an opportunistic second fetch.
- SMS generated-fragment revalidation (openclaw#118665, `37690fb4f4b`): raw URL validation stays; only URLSearchParams-generated fragment bytes were checked twice. A monkeypatched/broken encoder is no longer revalidated; length, auth, URL and retry bounds remain.
- Feishu timeout-warning catch (`7a2ce698b8c`): the cited stuck-task/FIFO issues concern the retained five-minute cap, not a throwing logger. A broken warning hook now rejects that queue call visibly; subsequent same-key work continues.
- Feishu private timeout customization (`7a2ce698b8c`, `491abe564ce`, openclaw#101949): only tests passed disabled/oversized/custom values. Unsupported direct imports can no longer tune/disable the private cap; all production callers retain five-minute progress/FIFO behavior.
- Reef logger-fatal deferred/race (openclaw#162669; synthetic hook in openclaw#110870): ordinary transport-error containment and shutdown from the recorded live relay incident stay. A throwing error logger is reported by the scheduler instead of intentionally killing an otherwise healthy inbox.
- Matrix nonfinite media size fallback (`96ff92e82bb`, openclaw#149128): the sole production producer passes Buffer.byteLength; NaN cases were synthetic cleanup fixtures. Unsupported private NaN calls now carry that supplied value; MIME, encryption, image fields and duration remain.
- Buzz subscription count coercion (`d656588ae32`): the sole caller supplies array.length. Unsupported negative/fractional private values are not repaired; the actual room/resource cap remains.
- Teams upload-byte coercion (openclaw#104120, `6d759fe8b17`): both callers supply Buffer.length. Unsupported malformed private counts follow transfer arithmetic; timer clamping and upload budgets stay.
- Nostr zero-count score fallback (`25838b5d7de`): private entries are synchronously created and incremented together. An unsupported new zero-outcome insertion could score NaN; actual outage/circuit-breaker/failover behavior stays.
- Buzz profile-limit coercion (`67bce4fe0d7`): the only explicit producer supplies the bounded integer budget. Unsupported direct malformed limits are not normalized; ordinary caps, zero-budget and untrusted-event checks stay.
- Feishu card-launcher clock injection/max-Date guard (`207f045b11c`): only a synthetic year-275760 test supplies the private clock. A corrupt clock may create an unusable expiry until recovery/restart; effect-side expiry, actor/chat and approval validation stay.
- QA private empty media-batch guard (openclaw#115290, `4dbddeefcc9`): all three callers prove a nonempty batch. Unsupported direct empty calls take the ordinary text path; real media caps and atomic loading remain.
- Slack private global-map slot revalidation (original sharing fix `564ccc6f56a`): normal module sharing/replacement is retained. No human private-slot corruption report is linked; third-party mutation/deletion of our private Symbol slot is no longer checked on every read, and restart repairs unsupported corruption.
- Buzz synchronous subscription-construction compensation (`2bd60a2e983`, `eb99a1b3432`, openclaw#130300): native nostr-tools construction emits no callbacks and authored filters are plain/nonempty. Unsupported throwing/cyclic private filters or replaced constructors surface without immediate count/generation/timer compensation; close/deadline/restart recovers temporary state.
- Buzz post-construction inline-EOSE/abort retry (same provenance): native callbacks are asynchronous. A non-native constructor emitting EOSE inline no longer gets a second cleanup attempt; real EOSE-before-CLOSE, late EOSE, close-once, deadlines, queued slots, abort listeners, membership authority and shutdown remain. Fixtures now schedule EOSE with queueMicrotask while retaining assertions.
- Signal clean-end recovery duplication (openclaw#10240, `1b2dfffddeb`): clean EOF and transient failures share one backoff tail. An impossible non-abort internal sleep rejection or broken status/logger callback now surfaces rather than entering compensating reconnect; real sleep rejects on abort and actual recovery stays.
- WhatsApp optional native socket-end fallback (`3294ef6f0cb`): actual callers use WASocket with required end(). An unsupported fake without end fails plainly; normal teardown and its error reporting stay.
- Nextcloud post-synchronous-route abort check (openclaw#159067, `af36cf97537`): the old awaited server-start path became synchronous route registration. A reentrant registry callback abort may briefly publish ready; installed abort cleanup, post-spool-ready check, auth and durable settlement stay.
- Buzz history-count clamps (`bbde46b881f`): the actual positive room count and queue-capacity invariant guarantee the result. Unsupported private negative/oversized counts are not repaired; actual FIFO/resource reservations remain.
- LINE frozen-error wrapper (openclaw#100996, `a2aad76fdba`): native SDK HTTPFetchError is mutable; Object.freeze was a synthetic fixture, not a cited human incident. An unsupported frozen replacement error can now fail annotation with TypeError; actual partial-send/recovery contracts stay.
- LINE duplicate missing-receipt invariant (`15be48ecd0e`, openclaw#99600, openclaw#142092, openclaw#165718): all native sends return validated IDs and required receipts. Unsupported fake results use canonical bridge normalization instead of the former private throw; physical-send progress, caption quoting, receipt order and declared capabilities stay. The bridge also preserves already-sanctioned chatId metadata.
- Feishu display-cache extreme-clock guards (`ab53c2998a1`): introduced with a synthetic max-Date test, no linked human report. Corrupt clocks follow ordinary arithmetic; account scope, positive/negative TTL and the 500-entry bound remain.
- Mattermost reaction-identity extreme-clock guards (`6199cc7df89`): only invalid/max-Date tests support the machinery, no linked human report. Corrupt clocks follow arithmetic; token/base-URL scope, ten-minute expiry, delegated conversation/post/self-DM checks and request authority remain.

Other cuts remove duplicate facts/checks under one existing owner and introduce no additional failure tradeoff: Signal subscription/abort state, Zalouser Promise settlement and DM setter, Nextcloud claimed version/lane validation, Teams media/header validation and empty-array merging, Buzz refresh-state identity, Nostr flush identity, Matrix encryption gating, Mattermost runtime-config guard, immutable plugin setup bases, and private Discord/iMessage test overrides.

Matrix's private zero-answer poll fallback is also removed: its sole caller has already passed the shared minimum-two-options validator (`306de68c026`, openclaw#163574). No reachable input loses a fallback. Teams attachment header rejection remains owned by the canonical bounded media saver; malformed/oversize headers now use the existing `attachmentView save failed` warning instead of the special malformed-header tag or silent oversized-header skip. The unavailable result and byte protection remain unchanged.

## Evidence

Focused owning-boundary/sibling tests and independent isolated reviews were run per checkpoint. Latest batches passed: Discord/LINE/Matrix/Synology 76 cases (157.00s wrapper), LINE/Feishu/Mattermost 66 cases (132.62s), Mattermost reaction 12 cases, Zalo Personal setup 17 cases (48.97s), and Teams consent/parser/lifecycle 52 cases (29.18s). The Teams malformed-content regression failed on the original handler before the one-line repair. The new Zalo test fixture initially assumed the wrong promotion target; source inspection and an explicit two-account fixture corrected it without changing production behavior or weakening retained assertions.

Production/test extension typechecks and targeted type-aware lint/format pass. Runtime and Madge checks report zero cycles. Existing SDK export checks pass. Earlier fresh cliStartup build and affected built-entry import proof passed; no performance improvement is claimed from dirty-tree profiling. No live accounts, operator state, driver installation, Gateway or remote lease was used.

Final Matrix poll/send/shared-normalization proof passes 55 cases across three shards (138.50s wrapper). Independent full-branch review and the supplemental poll review found no actionable P0–P2 findings.

Two local baseline gates are inherited from the branch base: suppression inventory expects 87 versus the untouched proxy's 88 (current main has repaired the entry); aggregate check-changed stops on stale untouched max-lines entry src/agents/btw.ts after conflict/line-cap gates pass. No allowlist/budget expansion was made. Earlier cold-start timing-sensitive failures remain observations, not claimed repaired/inherited; the complete changed cold-start file subsequently passed all eight cases with unchanged timers/assertions.

The first exact-head hosted run [38503961141](https://github.com/openclaw/openclaw/actions/runs/38503961141) completed in 643 seconds: 51 jobs passed, 25 planned jobs skipped, and the baseline ratchet plus its aggregate gate failed. The defect was ours: removed Slack/Twitch assertions and two removed ClickClack mocks needed exact inventory shrinkage. Those four inventory items are corrected without adding allowances or changing behavior. All actual tests, types, lint, architecture, package boundaries, QA and security jobs passed on that production patch. Final exact-head run [38505676106](https://github.com/openclaw/openclaw/actions/runs/38505676106) passed on `86922ccf92825d4b53b77005119590d1e7759a32`: 55 successful jobs, 25 planned skips, zero failed/cancelled jobs, 643 seconds wall time and 9,679 summed reported job seconds. The exact-head required CI/security gate passes. CodeQL also reports a neutral warning for unselected main configurations; those skipped configurations are not claimed as proof. No CI rerun, inherited-failure admin exception, or green-seeking push was used.

<details>
<summary>Round-2 largest-first coverage log</summary>

Setup/runtime composition is consolidated for Buzz, Nostr, A2A and Google Chat; setup stays dependency-light. Matrix/Feishu secret activation uses the existing factory with activation/order/owner rules unchanged. IRC shares parsing/status owners. LINE shares receipt/progress mapping without routing through legacy media behavior. Zalo Personal shares the existing account-scoped DM policy owner. Privacy regressions reach real WhatsApp/iMessage/Synology inbound and Feishu pairing diagnostic paths while asserting complete dispatch/challenge behavior.

Largest old owners retained after source/caller/history review include iMessage catchup/conversation repair; Matrix formatting/actions/crypto/shutdown; Mattermost interactive access/draft boundary/final receipts; Signal approvals/transport setup; Slack ingress FIFO/thread visibility/workspace identity/streaming; WhatsApp paid-STT/admission/quoted identity/partial delivery; Teams Graph/Bot Framework/upload consent security; Buzz signed membership/archival authority/resource budgets; Nostr circuit breakers/profile mutation auth; LINE provider caps/reply-token/media ordering; Twitch listener/auth resource ownership; SMS callback/API ordering; Synology auth/rate limits/durable acknowledgments; Reef encryption/transport error containment; FaceTime trust/rollback/permissions; and paid X request accounting.

Recent files were deferred, including remaining Teams inbound-body, Tlon admin/approval-text and WhatsApp outbound-content diagnostics; recently landed feature foundations were not treated as dead code. QA setup-base consolidation was held because completing its runtime caller would exceed the one-line recent-file exception. No Phase E standalone memory code was touched. Detailed per-mechanism provenance and checkpoint evidence is retained in the requested round-2 lane ledger.

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

Labels

agents Agent runtime and tooling channel: qa-channel Channel integration: qa-channel extensions: qa-lab maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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