Skip to content

fix(memory): keep session reconciliation off search path - #120837

Merged
fuller-stack-dev merged 2 commits into
openclaw:mainfrom
sunlit-deng:sunlit/fix/issue-120671
Aug 13, 2026
Merged

fuller-stack-dev merged 2 commits into
openclaw:mainfrom
sunlit-deng:sunlit/fix/issue-120671

Conversation

@sunlit-deng

@sunlit-deng sunlit-deng commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where memory_search could spend the entire request budget reconciling a large session transcript corpus before querying an already usable builtin index.

Fixes #120671

Why This Change Was Made

MemoryIndexManager.search now backgrounds only session-only reconciliation (sessionsDirty && !dirty) while continuing to await ordinary dirty-memory synchronization. This keeps an existing indexed search responsive during session catch-up without allowing ordinary memory-file edits to be queried before their index update completes.

The existing synchronous empty-index bootstrap, sync admission/close ownership, and query cancellation behavior are unchanged.

User Impact

Searches over an existing valid index can return while session reconciliation continues, so session results may be temporarily stale. Ordinary indexed-memory edits remain fresh because search still waits for their synchronization.

Evidence

  • Before-fix baseline proof was captured on 0a6a1d94192b5ffe3532df0195ac383f53b4b772; exact rebased head proof was rerun on 25bf4eb2cc2d7ec0de1e1f8b4b7ba62402c9ab30.
  • Base: session-only search did not return before the delayed sync gate (elapsedBeforeReleaseMs=701, returnedBeforeSyncRelease=false); ordinary dirty search also waited.
  • Rebased head: session-only search returned one real indexed result in 4ms before the sync gate released (returnedBeforeSyncRelease=true); ordinary dirty search waited 701ms and returned one result. The unchanged negative control returned zero results.
  • Focused regression: node scripts/run-vitest.mjs extensions/memory-core/src/memory/manager-async-state.test.ts extensions/memory-core/src/memory/manager-search-orchestration.test.ts — 2 files passed, including session-only background sync, background error reporting, and ordinary dirty sync waiting.

Reproduction from the repository root (copy the source below into builtin-real-proof.mjs first):

$ OPENCLAW_BUILTIN_PROOF_EXPECT_FIX=0 node --import tsx builtin-real-proof.mjs
base 0a6a1d94192: session returnedBeforeSyncRelease=false; ordinary returnedBeforeSyncRelease=false; negativeControl=0
$ node --import tsx builtin-real-proof.mjs
head 25bf4eb2cc2: session returnedBeforeSyncRelease=true; ordinary returnedBeforeSyncRelease=false; negativeControl=0
Exact production proof source
import fs from "node:fs/promises";
import os from "node:os";
import path from "node:path";
import { pathToFileURL } from "node:url";

const repoRoot = process.cwd();
const expectSessionBackground = process.env.OPENCLAW_BUILTIN_PROOF_EXPECT_FIX !== "0";
const proofRoot = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-120837-builtin-real-"));
const workspaceDir = path.join(proofRoot, "workspace");
const stateDir = path.join(proofRoot, "state");
await fs.mkdir(workspaceDir, { recursive: true });
await fs.writeFile(
  path.join(workspaceDir, "MEMORY.md"),
  "# Memory\n\nopenclaw builtin proof marker\n",
);
process.env.OPENCLAW_STATE_DIR = stateDir;

const { configureMemoryCoreDreamingState } = await import(
  pathToFileURL(path.join(repoRoot, "extensions/memory-core/src/dreaming-state.ts")).href
);
const { createPluginStateKeyedStoreForTests } = await import(
  "openclaw/plugin-sdk/plugin-state-test-runtime"
);
configureMemoryCoreDreamingState((options) =>
  createPluginStateKeyedStoreForTests("memory-core", { ...options, env: process.env }),
);

const { closeAllMemorySearchManagers, getMemorySearchManager } = await import(
  pathToFileURL(path.join(repoRoot, "extensions/memory-core/src/memory/index.ts")).href
);

const cfg = {
  agents: {
    defaults: { workspace: workspaceDir },
    list: [{ id: "main", default: true, workspace: workspaceDir }],
  },
  memory: {
    search: {
      provider: "none",
      model: "none",
      sources: ["memory", "sessions"],
      rememberAcrossConversations: true,
      store: { vector: { enabled: false } },
      query: { minScore: 0.01, maxResults: 5 },
      sync: { onSearch: true, onSessionStart: false, watch: false },
    },
  },
  plugins: { enabled: false },
};

function deferred() {
  let release;
  const promise = new Promise((resolve) => {
    release = resolve;
  });
  return { promise, release };
}

async function createManager() {
  const result = await getMemorySearchManager({ cfg, agentId: "main" });
  if (!result.manager) {
    throw new Error(`builtin memory manager did not initialize: ${result.error ?? "unknown error"}`);
  }
  return result.manager;
}

async function runCase({ dirty, sessionsDirty }) {
  const manager = await createManager();
  await manager.sync({ reason: "proof-initial", force: true });
  const internal = manager;
  const originalSyncAdmitted = internal.syncAdmitted;
  const syncGate = deferred();
  let syncCalls = 0;
  let syncPromise;
  internal.syncAdmitted = async () => {
    syncCalls += 1;
    syncPromise = syncGate.promise;
    await syncPromise;
  };
  internal.dirty = dirty;
  internal.sessionsDirty = sessionsDirty;
  const startedAt = Date.now();
  const searchPromise = manager.search("openclaw builtin proof marker");
  const earlyResult = await Promise.race([
    searchPromise.then((results) => ({ settled: true, results })),
    new Promise((resolve) => setTimeout(() => resolve({ settled: false }), 700)),
  ]);
  const elapsedBeforeReleaseMs = Date.now() - startedAt;
  syncGate.release();
  const results = earlyResult.settled ? earlyResult.results : await searchPromise;
  await syncPromise;
  internal.syncAdmitted = originalSyncAdmitted;
  await manager.close();
  return {
    dirty,
    sessionsDirty,
    elapsedBeforeReleaseMs,
    returnedBeforeSyncRelease: earlyResult.settled === true,
    syncCalls,
    resultCount: results.length,
    resultPath: results[0]?.path ?? null,
  };
}

try {
  const headSha = (await import("node:child_process")).execFileSync(
    "git",
    ["rev-parse", "HEAD"],
    { cwd: repoRoot, encoding: "utf8" },
  ).trim();
  const sessionOnly = await runCase({ dirty: false, sessionsDirty: true });
  const ordinaryDirty = await runCase({ dirty: true, sessionsDirty: false });
  const negativeControl = await (async () => {
    const manager = await createManager();
    await manager.sync({ reason: "proof-negative", force: true });
    const results = await manager.search("zzzz-no-match-120837");
    await manager.close();
    return { resultCount: results.length };
  })();
  if (
    (expectSessionBackground && !sessionOnly.returnedBeforeSyncRelease) ||
    (!expectSessionBackground && sessionOnly.returnedBeforeSyncRelease) ||
    sessionOnly.resultCount < 1 ||
    ordinaryDirty.returnedBeforeSyncRelease ||
    ordinaryDirty.resultCount < 1 ||
    negativeControl.resultCount !== 0
  ) {
    throw new Error("builtin production proof did not observe the expected sync boundary");
  }
  console.log(
    JSON.stringify(
      {
        headSha,
        expectSessionBackground,
        boundary: "getMemorySearchManager -> MemoryIndexManager.search -> SQLite FTS",
        sessionOnly,
        ordinaryDirty,
        negativeControl,
      },
      null,
      2,
    ),
  );
} finally {
  await closeAllMemorySearchManagers().catch(() => undefined);
  await fs.rm(proofRoot, { recursive: true, force: true });
}

AI-assisted: built with Codex

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Aug 9, 2026
@clawsweeper

clawsweeper Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 13, 2026, 12:24 AM ET / 04:24 UTC.

ClawSweeper review

What this changes

This PR lets an already-indexed Memory Core search proceed while session-only transcript reconciliation continues in the background, while ordinary dirty memory still waits for synchronization.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

No blocking findings. This active PR remains necessary: current main and the latest release await all search-triggered synchronization, while this branch backgrounds only session-only reconciliation; the assigned reviewer has explicitly accepted the temporary session freshness tradeoff and localized production growth.

Priority: P1
Reviewed head: 5ecafd5499311a107119dfbfe333e12d0d5b6dd2

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Strong production-boundary evidence, focused regression coverage, and a narrow owner-boundary implementation support an above-average review rating.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body provides after-fix terminal evidence through the production Memory Core manager: session-only search returns before a delayed reconciliation gate, while ordinary dirty-memory search remains blocked and the no-match control remains empty.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body provides after-fix terminal evidence through the production Memory Core manager: session-only search returns before a delayed reconciliation gate, while ordinary dirty-memory search remains blocked and the no-match control remains empty.
Evidence reviewed 6 items Current main still blocks the reported path: The current helper awaits search synchronization whenever either dirty flag is set, so a session-only reconciliation remains on the interactive search path.
PR narrows the asynchronous policy: The PR head backgrounds synchronization only when sessions are dirty and ordinary memory is clean; all other dirty states retain the existing awaited path.
Search owner preserves bootstrap and admission boundaries: Search still synchronously bootstraps an empty index, then invokes the helper through the existing sync-admission owner; close waits for the admitted sync before database teardown.
Findings None None.
Security None None.

How this fits together

Memory Core indexes workspace memory and session transcripts for the memory-search tool. Searches enter the manager, synchronize when needed, then query the existing SQLite-backed index for results.

flowchart LR
  A[Memory search request] --> B[Memory Core manager]
  B --> C{Index state}
  C -->|No indexed content| D[Run synchronous bootstrap]
  C -->|Only sessions stale| E[Start session reconciliation]
  C -->|Memory files dirty| F[Wait for synchronization]
  D --> G[Query index]
  E --> G
  F --> G
  G --> H[Memory search results]
Loading

Before merge

  • Resolve merge risk (P1) - Session-transcript hits may briefly lag behind the transcript store until the detached reconciliation completes; the assigned reviewer explicitly accepted this tradeoff.
  • Complete next step (P2) - No actionable repair remains; this is an active implementation PR with accepted product tradeoffs, awaiting the normal exact-head merge gates.
Agent review details

Security

None.

PR surface

Source +6, Tests +75. Total +81 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 1 6 0 +6
Tests 2 75 0 +75
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 81 0 +81

Review metrics

Metric Value Why it matters
Production versus test LOC production +6, tests +75 The six production lines express the single session-only policy branch at the existing search-sync owner; the added tests cover detached errors, session non-blocking behavior, and ordinary-memory freshness.

Stored data model

Persistent data-model change detected: vector/embedding metadata: extensions/memory-core/src/memory/manager-async-state.test.ts, vector/embedding metadata: extensions/memory-core/src/memory/manager-search-orchestration.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #120671
Summary: This PR is the concrete candidate fix for the linked report that large session reconciliation exhausts the interactive memory-search budget.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Land with accepted session freshness tradeoff (recommended)
    Allow session-only reconciliation to finish after a search when an existing index is available, while retaining the tested blocking path for ordinary memory changes.

Technical review

Best possible solution:

Keep the policy at the shared search-sync helper: query a valid existing index during session-only catch-up, retain synchronous empty-index bootstrap and ordinary-memory freshness, and land after exact-head CI is green.

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

Yes, source-reproducible: current main awaits session-only synchronization before querying, and the PR body records a before/after production-boundary run with a delayed reconciliation gate and an existing indexed result.

Is this the best way to solve the issue?

Yes. The helper is the canonical search-sync policy boundary; alternatives such as increasing the tool timeout or changing retention do not preserve responsive indexed search while retaining ordinary-memory freshness.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P1: The PR addresses memory search becoming unusable for agents with large session transcript stores.
  • merge-risk: 🚨 session-state: Merging intentionally permits temporarily stale session-derived search results while reconciliation completes.
  • 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 PR body provides after-fix terminal evidence through the production Memory Core manager: session-only search returns before a delayed reconciliation gate, while ordinary dirty-memory search remains blocked and the no-match control remains empty.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides after-fix terminal evidence through the production Memory Core manager: session-only search returns before a delayed reconciliation gate, while ordinary dirty-memory search remains blocked and the no-match control remains empty.

Evidence

What I checked:

Likely related people:

  • steipete: Current-main blame attributes the central search-sync helper to this recent commit. (role: recent area contributor; confidence: medium; commits: 9992b893e790; files: extensions/memory-core/src/memory/manager-async-state.ts)
  • fuller-stack-dev: Assigned to this PR and supplied the explicit acceptance of the freshness and LOC tradeoffs. (role: assigned reviewer and decision owner; confidence: high; files: extensions/memory-core/src/memory/manager-async-state.ts, extensions/memory-core/src/memory/manager-search-orchestration.ts)

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 (4 earlier review cycles)
  • reviewed 2026-08-09T02:42:00.624Z sha 598db90ec67061edb532c8d8f2929cb1e84f517a :: needs real behavior proof before merge. :: [P1] Preserve freshness for ordinary QMD collection changes
  • reviewed 2026-08-10T10:53:50.419Z sha 21603632d18f30f2747706d21784c55fbcd5535b :: needs maintainer review before merge. :: none
  • reviewed 2026-08-10T14:57:27.516Z sha 9c9e273f209133e140ae43016f144f298861a469 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-12T13:01:51.992Z sha 25bf4eb :: needs maintainer review before merge. :: none

@sunlit-deng
sunlit-deng force-pushed the sunlit/fix/issue-120671 branch from 598db90 to 2160363 Compare August 10, 2026 10:47
@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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 10, 2026
@sunlit-deng
sunlit-deng force-pushed the sunlit/fix/issue-120671 branch from 2160363 to 9c9e273 Compare August 10, 2026 14:34
@fuller-stack-dev

Copy link
Copy Markdown
Member

@clawsweeper re-review

Maintainer resolution of the existing before-merge items:

  • Accept the intentional temporary session-transcript freshness lag: session-only reconciliation runs in the background so search can use the valid existing index, while ordinary memory dirtiness still blocks for synchronization.
  • Accept the +6 production LOC at the existing search-sync owner boundary: a net-neutral alternative would either move the same policy elsewhere, duplicate it, or weaken ordinary-memory freshness.

@clawsweeper

clawsweeper Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 13, 2026
@fuller-stack-dev
fuller-stack-dev merged commit b05d230 into openclaw:main Aug 13, 2026
94 checks passed
@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

fuller-stack-dev added a commit to fuller-stack-dev/openclaw that referenced this pull request Aug 13, 2026
…0837)

* fix(memory): keep session reconciliation off search path

* test(memory): decouple reconciliation test from provider fixture

---------

Co-authored-by: Jason (Json) <[email protected]>
fuller-stack-dev added a commit that referenced this pull request Aug 13, 2026
* fix: stop bundled plugin startup refresh loops

* feat: continue web sessions in the terminal (#122870)

* feat: continue sessions in terminal

Add a credential-free Control UI continuation command and allow openclaw resume to reuse current-profile authentication only for byte-exact configured Gateway targets.

* fix(gateway): separate public origin TLS ownership

Allow exact public-origin resume targets to reuse local authentication without inheriting the direct local listener certificate fingerprint.

* fix(gateway): scope exact targets to gateway mode

Prevent remote profiles from reusing dormant local Gateway authentication for explicit loopback or public-origin targets.

* fix(cli): encode terminal resume handoffs

Replace shell-specific quoting with a strict credential-free base64url handoff, gate configured auth reuse to validated handoffs, and skip unused session discovery.

* fix(gateway): isolate handoff auth identity

Suppress ambient Gateway auth fallback for validated handoffs while preserving explicit credentials, configured SecretRefs, stored device auth, and exact-target TLS ownership.

* fix(cli): harden terminal resume handoffs

* fix(cli): parse terminal handoff outcomes

* fix(cli): bind handoffs to resolved agent

* test(ui): align terminal continuation proof

* docs(plan): track terminal continuation

* refactor(ui): keep terminal handoff result local

* fix(ui): keep composer capability menus within the viewport (#122296)

* fix(ui): constrain composer capability menus

* fix(ui): cap composer capability menu height

* test(ui): cover long capability menu states

* test(ui): capture capability menu interaction states

* fix(ui): keep dark capability states legible

* test(cron): focus runtime config composition (#122867)

Co-authored-by: Amp <[email protected]>

* feat(cli): allow editing automation display names (#122702)

* feat(cli): allow editing automation display names

* feat(cli): allow clearing automation display names

* fix(ui): show progress during new session startup (#122713)

* fix(ui): show progress during new session startup

Refs #122703

* oc-1fa: keep new-session progress through handoff

* fix(ui): keep new-session handoff live

* fix(ui): preserve navigation callback contract

* fix: make live updater checkout portable (oc-237) (#122873)

* refactor(media): remove orphan generation facades (#122874)

* refactor(agents): split subagent-control.ts into owner modules (#122875)

* fix(ui): archived sessions leave sidebar after navigation (#122876)

* oc-ad0.1: fix archived child session retention

* oc-37c: evict archived child on navigation

* fix(ci): expose AI pack diagnostics (#122786)

* fix(recovery): reclaim proven-stale reply-only ownership with zero queued backlog (#122265)

* fix(recovery): reclaim proven-stale reply-only ownership with zero queued backlog

Stuck-session recovery kept reply-only ownership forever when the queued
backlog was empty: isActiveRunProgressStale short-circuits to false at
queueDepth 0, so stale active_reply_work was never reclaimed even after
the durable session became killed. Evaluate staleness for reply-only
ownership without the queue gate (the gate stays for run-handle paths),
so proven-stale reply work expires through the existing abort-and-drain
owner path while global-lane and deferred-maintenance exemptions and
live reply work with recent progress are preserved.

Closes #122227

* fix(recovery): keep maintenance phases out of zero-backlog stale reclaim

The zero-backlog reclaim path (requireQueueBacklog: false) applied to
every reply-only operation, including preflight_compacting and
memory_flushing. Those phases are explicitly recognized as compaction
and may honor a configured timeout above the stale threshold, so a valid
long-running maintenance operation could be force-cleared early.

Restore the queue-backlog guard for the maintenance phases so an
unqueued compaction or memory flush is never reclaimed by this path;
ordinary reply-only ownership keeps the zero-backlog expiry. Adds
regressions for both maintenance phases.

* fix(ci): ignore zombie-only Vitest process groups (#122759)

* test(agents): scope extension fixtures to explicit owners (#122883)

* ci: fingerprint preferred pnpm hooks (#122852)

Co-authored-by: Amp <[email protected]>

* fix(ci): record startup JS growth in the Control UI budget baseline

Startup JS gzip reached 329483 B on main (build-artifacts, af49764),
1198 B over the 328285 B baseline + 1024 B tolerance, after cumulative
chat/session UI growth landed in #122296, #122713, #122870, and #122876.
Record the CI-measured bytes (within the 4096 B ratchet) to restore green
build-artifacts and QA Smoke lanes.

* fix(codex): keep sessionless mirror warnings out of onboarding (#122831)

* fix(codex): skip mirrors for sessionless runs

* fix(codex): restore openai model provider on media understanding turns

PR #122163 made thread/start modelProvider caller-supplied and updated the
web-search caller but missed media understanding, breaking its tests on main
full runs (cross-lane gap). Pass the provider explicitly and export the
retire binding prod now touches from the shared-client test mock.

* test(codex): align prompt assertions with reworded guidance

PR #121522 reworded the Skill Workshop guidance and cd7b7f6 reworded
the message-tool final-reply text; both updated core tests but missed
these codex mirror assertions (cross-lane gap breaking main full runs).

* test(codex): scope agent-projection fixture session to its agent

PR #114388 made multi-agent session ownership explicit; the atlas-scoped
projection test still used the shared main-scoped session key and now
trips AgentSelectionRequiredError (fourth cross-lane escape on main).

* fix(telegram): prevent multi-agent startup migration false positives (#122877)

* fix(telegram): resolve legacy state owners explicitly

* docs(changelog): note Telegram migration ownership fix

* Revert "docs(changelog): note Telegram migration ownership fix"

This reverts commit e02962eb4b2e2475854adf8c2a2915bcfd1cf65a.

* fix(reef): redact relay errors containing credentials (#119603)

* feat: let limited browsers request admin access (#121459)

* feat(gateway): add live device scope upgrades

* feat(ui): add limited-access upgrade flow

* fix(protocol): refresh Swift scope upgrade models

* perf(ui): lazy-load device scope upgrades

* fix(ci): complete scope upgrade generated surfaces

* perf(ui): lazy-load GitHub link hovercards

* fix(ui): keep admin repair guidance focusable

* fix(ui): gate and refresh scope upgrade banner

* refactor(ui): keep gateway client within line budget

* fix(ci): align rebased scope upgrade checks

* fix(ui): resolve scope upgrade in browser tests

* fix(gateway): honor refreshed scope upgrade deadline

* fix(gateway): honor refreshed scope upgrade deadline

* fix(gateway): coalesce scope upgrade waiters

* fix(ui): gate scope upgrade actions

* chore(plugin-sdk): refresh rebased API baseline

* fix(scope-upgrade): return canonical request ids

* fix(ui): preserve gateway event type binding

* fix(protocol): generate scope upgrade result models

* fix(ui): preserve scope upgrade recovery guidance

* chore(plugin-sdk): refresh rebased API baseline

* test(ui): avoid scope upgrade navigation race

* docs(control-ui): clarify scope upgrade approver

* test(gateway): align appended method counts

* chore(plugin-sdk): refresh rebased API baseline

* refactor(ui): keep place picker within line budget

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* fix(gateway): preserve scope-upgrade browser origin

* fix(matrix): retain previews when replacement delivery fails

* test(matrix): tighten replacement proof

* test(matrix): bind live replacement marker

* test(matrix): type redaction ledger

* test(matrix): observe nonvisible cleanup

* fix(matrix): retain visible drafts on handler abort

* test(commands): stub plugin metadata snapshot in onboard-inference test (#122901)

The configured-model case lacked a current plugin metadata snapshot, so model normalization cold-discovered every bundled manifest; the prepared empty snapshot keeps the test on its intended boundary and reduced Vitest file wall time from 26.72s to 2.57s (the shell measurements were 194.45s and 56.21s including unrelated lock queues).

* docs(skills): document session and transcript fetching in openclaw-debugging (#122904)

Adds a Fetching Sessions and Transcripts section: sessions CLI first, then
the per-agent SQLite data plane (session_nodes lookup from chat URL
fragments, transcript_events shape, __openclaw sender provenance,
session_transcript_fts, media://inbound mapping) and a dependency-free
node:sqlite read-only recipe for hosts without sqlite3. Read-only-against-
live-gateway rule stated inline.

* fix: preserve compaction history when final audit fails

* fix: redact compaction rejection diagnostics

* fix: redact compaction retry errors

* fix: isolate compaction structure audit

* fix(ui): preserve picked image previews (#122905)

Fall back to stored attachment data URLs when object URL previews are unavailable in the shared composer surface.

* fix(zalo): keep packaged setup wizard loadable (#122902)

* fix(zalo): package setup runtime surface

* fix(tooling): track setup surface artifacts

* fix(ci): run affected extension suites when changed-test planning falls back (#122885)

The PR-changed test planner fails safe to the compact full-suite plan for any diff touching packages/**, but that compact plan excludes all extension test configs, so mixed package+extension PRs landed with zero extension test execution (escapes: PR #120534 breaking extensions/codex run-attempt.native-hook-relay.test.ts, PRs #122163/#121522 and cd7b7f6 breaking media-understanding-provider.test.ts and thread-lifecycle.test.ts on main full runs). The preflight now appends whole-config shards for the diff's touched extensions whenever the precise plan fails safe; whole configs (not precise targets) because the fail-safe cause leaves the non-extension diff's extension impact unbounded.

* fix(gateway): resolve agent list model identity (#122907)

Publish canonical resolved primary models with matching runtime and thinking metadata in agents.list.

* test(microsoft-foundry): remove global test bridge (#122881)

* test(microsoft-foundry): remove global test bridge

* test(microsoft-foundry): type boundary fixtures

* perf(ui): keep route transition out of startup

* fix(e2e): verify suspend control over WebSocket (#122888)

* fix(slack): prevent duplicate Socket Mode connections after reconnect errors (#122624)

* fix(codex): read canonical transcript session targets (#1)

* test(slack): reproduce reconnect timer surviving shutdown

* fix(slack): keep reconnects within one socket lifecycle

* test(slack): exercise native reconnect over loopback

* test(slack): satisfy reconnect integration checks

* fix(msteams): honor inbound channel media limit (#122315)

* fix(msteams): honor inbound channel media limit

* test(msteams): update lifecycle runtime mock

* style(msteams): avoid resolver config shadowing

* style(msteams): format lifecycle resolver mock

* refactor(msteams): inline media fallback

---------

Co-authored-by: DanielCardenas <[email protected]>
Co-authored-by: Jason (Json) <[email protected]>

* improve: speed up CLI spawn tests (#122891)

* test(agents): trim cli spawn test imports

* test(agents): distinguish prerelease policies

---------

Co-authored-by: Amp <[email protected]>

* fix(plugins): repair status and CLI fixtures (#122925)

* fix: internal recovery prompts appear as operator-authored messages (#122908)

* fix(agents): hide recovery prompts from transcripts

Suppress settled-turn finalization and reasoning/empty-response control prompts at the session writer boundary.

* test(agents): align hidden recovery prompt expectations

* fix(ci): rotate stale dependency snapshot (#122921)

Co-authored-by: Amp <[email protected]>

* docs(gateway): clarify dynamic operator scopes (#122931)

* fix: code mode dead-ends on oversized tool results instead of returning bounded output (#122924)

* fix(agents): bound code mode bridge results

Return oversized bridge, guest output, and final values as bounded successful projections with actionable narrowing guidance.

* refactor(agents): absorb code mode output bounds

* fix(ci): prevent channel add command test timeout (#122879)

* test(channels): isolate add env setup contracts

* test(channels): cover adapter env setup

* fix(parallels): preserve plugin inventory during updates (#122912)

* fix(parallels): preserve plugin inventory during updates

* fix(parallels): preserve dev update plugin inventory

* fix(ui): contain OAuth wizard modal content (#122892)

* fix(ui): contain OAuth wizard modal content

* test(ui): poll OAuth modal containment

* refactor(ai): internalize ChatGPT SSE protocol (#122930)

* feat(ui): show useful environment facts in the picker (#122923)

* feat(ui): show environment facts in Where picker

Preserve environment platform, trust, session-host, and capability metadata through new-session discovery while keeping placement availability tied to live executable nodes. Render bounded quiet device/cloud facts and add mocked browser coverage for task #33.

* docs(plan): track picker environment facts

* refactor(ui): split place browser rendering

* docs(agents): require screenshot/video proof for UI-visible and gateway-behavior changes (#122920)

Adds hard policy: UI-visible changes need before/after screenshots or a
short video as PR evidence; gateway-behavior changes provable in the
Control UI need an isolated dev-gateway live run with a recorded video.
Documents the verified video upload flow (user-attachments endpoint,
mp4/webm both served) and the bare-URL embed rule for GitHub's player.

* fix(tools): preserve partial web fetch status (#122866)

* fix(ui): deliver failed steer retries as a new turn when the session is idle (#122919)

A steer rejected on the run/leaf fence parks as a failed steered queue row.
Retry previously refused whenever the target run was gone, leaving the
user's message permanently stuck with 'that run is no longer active'.
Retry now converts the parked row into a plain queued send when the session
is idle, so the text delivers as a fresh turn; active-run retries keep the
original steer binding, and disconnected retries keep the existing error.

* fix: stopping a session leaves subagents running with no stop control (#122909)

* fix(gateway): cascade session stop to subagents

Cascade exact and session-wide aborts through the subagent registry and keep Control UI Stop visible while descendants remain active.

* refactor(gateway): absorb stop cascade orchestration

* chore(gateway): refresh plugin SDK API contract for abort refactor

Regenerates the export-closure contract after the stop-cascade refactor
moved gateway abort orchestration exports, and drops a redundant Boolean()
wrapper flagged by lint. Public SDK surface gate is unchanged.

* chore(gateway): regenerate plugin SDK API baseline

* fix(qa): preserve Code Mode reads in model-switch mock (#122935)

* fix(ci): prevent flaky extension wrapper SIGTERM test (#122917)

* test(scripts): wait for valid wrapper pids

* test(scripts): harden PID marker reads

* fix: session model selection replaced by response aliases and fallback wins (#122910)

* fix(agents): keep session model selection canonical

Preserve configured session model identity across response aliases and turn-local fallbacks.

* fix(gateway): align session model projection consumers

* test(gateway): mark session event model selection

* test(gateway): stabilize sender avatar fixture (#122942)

* perf(test): cut workflow guard import overhead (#122940)

Co-authored-by: Amp <[email protected]>

* test(extensions): remove duplicate runtime replays (#122949)

* fix(ui): fence stale recovery scope work (#122944)

* docs(deploy): add verification, cost, observability, and troubleshooting to the Cloudflare guide (#122932)

The template shipped without the operator-facing half: no way to prove the
restore path works before depending on it, no cost signal for the always-on
versus webhook-only choice, no log surfaces, and no failure-mode index.

Adds an architecture diagram, a restore rehearsal, measured recovery numbers
from the real-R2 proof, provisioned-resource cost guidance, wrangler tail
observability, and a troubleshooting index covering image architecture,
Litestream S3 credentials, the startupz/readyz split, and ephemeral-disk
config loss.

* fix: prompt caching breaks on Claude Opus 5 and Sonnet 5 (#121283)

* fix: prompt caching breaks on Claude Opus 5 and Sonnet 5

shouldPreserveThinkingBlocks() matched modern Claude ids with a hardcoded
family list plus /claude-[5-9]/ future-proofing. That regex assumes the
generation follows the prefix (claude-5-x), but shipped generation-5 ids
place the family in between (claude-opus-5, claude-sonnet-5, claude-mythos-5),
so none matched and dropThinkingBlocks flipped to true. Signed thinking blocks
were stripped from replayed history, diverging every request and invalidating
the Anthropic prompt cache on the default opus/sonnet aliases.

Read the generation from the id instead, preserving blocks for generation 4
and newer. This handles both id shapes and matches the idiom already used in
audit-extra.sync.ts and live-model-filter.ts.

Closes #121251

* fix: correct Claude thinking replay contract

Use the canonical Claude model identity and exact Anthropic preservation contract when deciding whether replay may retain prior thinking blocks. Carry deployment metadata through provider-family and fallback paths, and include canonicalModelId in the transcript policy cache key.

Release note: Restore prompt-cache reuse for Claude Opus 5 and Sonnet 5 while continuing to strip unsupported Sonnet and Haiku 4.5 thinking history.

* refactor: remove unused replay compatibility helper

Use the canonical Claude drop predicate at the remaining test call sites and remove the unconsumed preservation export so the dependency/dead-code gate stays clean.

* fix: keep Claude replay contract internal

Use canonical llm-core identity resolution without exporting a new llm-core capability, avoiding unintended Plugin SDK API drift.

---------

Co-authored-by: FullerStackDev <[email protected]>

* fix(sessions): highWaterBytes 0 no longer deletes all session history (#119909)

* fix(sessions): zero highWaterBytes no longer clears all session history

resolveHighWaterBytes passed an explicit non-positive highWaterBytes through
verbatim. The resolved value is the disk-budget cleanup loop's stop condition,
so a zero target made enforce mode evict every unprotected session and prune
its extracted archives instead of trimming to the documented 80% default.

Route the non-positive case to the function's existing unusable-value branch
(computeDefault). Not null: that disables the budget and permits unbounded
growth, which is right for a cap but wrong for a target.

Sibling of #119422, which fixed the same harm for maxDiskBytes and guarded
only resolveMaxDiskBytes.

* test(infra): isolate worktree migration discovery

Keep worktree migration coverage focused on its real filesystem, Git, and SQLite owner while avoiding unrelated channel and plugin doctor cold starts on fork CI.

Co-authored-by: masatohoshino <[email protected]>

* test(ci): carry owner-approved SDK and doctor gate repairs

Carry the already-approved plugin SDK contract manifest and focused doctor-flow test isolation from the maintainer-owned CI repair. Preserve real config migration, persistence, snapshot, and SQLite cleanup coverage; no production behavior changes.

Co-authored-by: masatohoshino <[email protected]>

* fix(sessions): use the renamed withTestDir helper in the new budget test

* fix(sessions): align high-water zero contract

* style(sessions): format high-water changes

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: FullerStackDev <[email protected]>

* fix(ui): model picker shifts when another user starts typing (#122809)

* fix(ui): keep composer model picker stable while typing

* test(ui): prove typing keeps model picker stable

Co-authored-by: Colin Johnson <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>

* feat(ui): split new session place picker (#122938)

* feat(ui): split new session place picker

* test(ui): cover three-chip session picker

* fix(gateway): allow downloading zero-byte artifacts (#122928)

* fix(gateway): preserve zero-byte artifacts

* fix(gateway): keep non-string data out of artifact lists

* test(gateway): compact zero-byte artifact coverage

* feat(ui): open subagent details in chat sidebar (#122941)

* feat(ui): open subagent details in chat sidebar

* chore: drop changelog edit (release generation owns it)

* refactor(ui): drop duplicate close in subagent detail panel

The sidebar region header already owns a Close Details control in both
wide and narrow layouts; the panel-local X duplicated it 40px away.

* fix(ui): stop subagent transcript loader when pane presentation retires

Pane retention wipes sidebarContent directly, so the detail slot's
render-time reset can never run again; a pending refresh timer plus
incoming task events kept refetching chat.history for a hidden panel.

* docs(ui): note close-control ownership in subagent detail header

* fix(ui): break transcript renderer import cycle

* fix(ui): use shared action cursor for subagent rows

* fix: install or review the publisher you picked when ClawHub skills share a slug (#121697)

* fix(skills): keep ClawHub publisher identity from search through install

ClawHub search returns one entry per publisher, so several results can share a
slug. Every client collapsed the selection to that bare slug before calling
skills.detail and skills.install, and ClawHub answered 409 AMBIGUOUS_SKILL_SLUG
with no in-product way forward.

searchClawHubSkills now records the publisher-qualified reference once, on the
result that carries it, and the Gateway protocol documents it. skills.detail
parses the same reference grammar skills.install already accepted, so review and
install cannot resolve to different publishers. Control UI carries that one
reference through row actions, detail, busy state, and acknowledgement retries,
and shows it so otherwise identical rows are distinguishable.

Fixes #117633

* fix(apps): send the ClawHub publisher reference from native skill browsers

macOS, iOS, and Android read the qualified reference from search results and use
it for skills.detail, install, busy state, installed matching, and list identity,
so two publishers sharing a slug stay distinct instead of collapsing into one
ambiguous request.

* fix(skills): refuse external-source skill detail instead of reading a same-slug skill

ClawHub has no source-qualified read endpoint, so a skills-sh reference parsed
down to its bare slug would have returned a registry skill's card while install
resolved the external artifact. Review and install could name different skills.

skills.detail now fails closed on any reference that carries a source, and the
macOS and AgentPro rows show the publisher reference next to the summary instead
of only when a summary is missing, so same-slug rows stay distinguishable.

* chore(apps): refresh native i18n source baseline for the skill row references

* refactor(skills): drop the unread search-result ownerHandle field

installRef is the one reference clients send back, and no client reads the
publisher handle separately, so the protocol and Control UI carry one field
instead of two.

* fix(skills): name the next step when external skill detail is refused

Clients that gate install behind a successful review would otherwise see only a
refusal, so the error names the direct install path and the CLI equivalent.

* fix(macos): use a doc comment on the ClawHub row subtitle

swift-format's docComments rule requires doc comments on declarations; the
subtitle property carried a regular comment and failed macos-swift.

* fix(skills): carry ClawHub trust state to clients that can install

Forwarding installRef let clients install the exact publisher the operator
picked, including external skills-sh sources. It did not forward the trust
state that says ClawHub never scanned that source, so iOS AgentPro — the one
surface that installs in a single tap with no review step — could install an
unscanned artifact with nothing on screen saying so. The CLI already labels
these (docs/clawhub/cli.md, docs/cli/skills.md); native clients could not,
because trustState was never on the wire.

trustState becomes an optional field on SkillsSearchResultSchema. It is purely
additive: older clients ignore an unknown key and the field is absent for
registry results, so downgraded readers are unaffected and no protocol version
moves.

Every client that renders a search row now shows "Not scanned by ClawHub",
matching the CLI wording exactly: iOS AgentPro in the row above the install
button, macOS and Android beside the review action, and Control UI on the row
that explains why review is refused for these sources.

Covered by a wire assertion that the state reaches clients for an external
source and stays absent for registry rows, plus decode-and-label tests on the
shared Swift kit and the Android parser, and a Control UI render assertion.

* fix(ui): size the ClawHub detail dialog to a refusal message

Refusing detail for an external source made an error-only dialog reachable.
The shared preview panel reserves a tall reader height for skill documents, so
a two-line refusal rendered in a mostly empty dialog and read as broken rather
than deliberate. Found by inspecting the review captures.

* revert(ui,apps): drop the ClawHub trust label layer

Maintainer product decision: skills.sh runs its own scanners, so OpenClaw does
not add a second alert layer in the apps. Removes the label from Control UI,
iOS, macOS and Android, and drops the trustState wire field that nothing would
render. The CLI keeps its existing label; changing that is a separate call.

Publisher identity, the fail-closed detail refusal, and the message-only dialog
are unchanged. Splits the oversized skills view test file to satisfy max-lines
without a suppression.

* test(ui): fix ClawHub skill fixture checks

* chore(plugin-sdk): refresh API baseline

---------

Co-authored-by: Patrick Erichsen <[email protected]>

* oc-e35: restore explicit multi-agent UI ownership (#122889)

* fix(agents): hydrate CLI images from agent workspaces (#122684)

* fix(agents): hydrate CLI images from agent workspace

* fix(agents): preserve resolved CLI workspace owner

* fix(agents): keep workspace owner in prepared params

* fix(agents): resolve CLI owner before preparation

* fix(agents): preserve CLI runtime policy owner

---------

Co-authored-by: Adkid-Zephyr <[email protected]>
Co-authored-by: FullerStackDev <[email protected]>

* fix(ai): honor embedded transport policy (#122946)

* refactor: remove residual normalization aliases (#122956)

* refactor: remove residual normalization aliases

* test(gateway): isolate approval authority handshake

* fix(qa): isolate staged auth state (#122958)

* fix(wizard): honor gateway overrides in manual flow (#122961)

* refactor(config): retire dead streaming.progress.render key (#122927)

* refactor(config): retire dead streaming.progress.render key

The key had zero runtime consumers after #122552. Core doctor now strips it via stripRetiredTuningKnobs, and production LOC is net -13.

* fix(tooling): pin plugin SDK surface counts to the reduced export set

The retired progress-draft render reader counted twice via channel-outbound and channel-message's wildcard re-export.

* fix(projects): avoid stale GitHub results after token rotation (#122613)

* fix(projects): avoid stale GitHub results after token rotation

* fix(gateway): scope GitHub caches by credential

* style(gateway): format GitHub credential scope

---------

Co-authored-by: FullerStackDev <[email protected]>

* fix(cli): avoid restart hint for unchanged config (#122953)

* fix(cli): avoid restart hint for unchanged config

* docs(cli): clarify no-op restart guidance

* fix(onboard): allow imports after runtime scaffolding (#122967)

* fix(cli): fail fast when onboarding profile is busy (#122968)

* fix: GitHub project selection cloned repos before Start Session (#122906)

* fix(ui): defer GitHub project clone until submit

Keep remote project selection as draft state and materialize it before sessions.create on Start Session.

* fix(ui): consolidate deferred project selection

* test(ui): drop duplicate remote project assertion

* fix(deploy): repair probes that silently pass and a blueprint that cannot boot (#122963)

Three defects proven by running the shipped configs:

Kubernetes probes checked only the status code against /startupz, but the
pinned image predates that route and the Control UI answers unknown paths
with a catch-all 200. A wedged pod was therefore marked Ready forever.
Probes now assert the JSON probe contract and target routes the pinned
image actually serves; verified in a kind cluster where the old command
exits 0 on the missing route and the new one exits 1.

render.yaml set no dockerCommand, so the image CMD ran without
--allow-unconfigured and a fresh Render disk exited 78 with 'Missing
config' before binding. Reproduced locally with Render's exact env.

The Cloudflare Container readiness poll had the same route mismatch
against operator-supplied official image digests; it now polls /healthz,
which every published image serves.

Also replaces an R2 verification step that could never fail: wrangler
cannot list object keys, so the documented command 404'd into || true.

* docs: repair spellcheck and anchor drift (#122960)

* docs: repair spellcheck and anchor drift

* docs: satisfy markdown anchor lint

* docs(hosting): fix unsafe deployment instructions (#122971)

* test(agents): remove global test APIs (#122972)

* fix(slack): accept org-wide user IDs in Enterprise Grid policies (#122934)

* test(slack): accept org-wide enterprise users

* fix(slack): allow org-wide enterprise users

* style(slack): format enterprise user policy

* test(slack): preserve enterprise user identity scope

* fix(slack): preserve enterprise user identity scope

* fix(slack): import workspace identity normalizer

* fix(slack): normalize enterprise owner ids

---------

Co-authored-by: Sarah Fortune <[email protected]>

* refactor(state): simplify schema migration validation (#122959)

* perf(test): avoid embedded runtime imports in btw suite (#122957)

Co-authored-by: Amp <[email protected]>

* fix(agents): preserve setup inference auth owner (#122975)

* feat(ui): open bare pair command without a chat turn (#120855)

Co-authored-by: Patrick Erichsen <[email protected]>

* test(extensions): repair stale full-config extension tests (#122978)

clickclack inbound mention gating: #114388 (1ca60fb) made multi-agent fallback ownership explicit, so the #115484 fixture now declares its clickclack:default service-bot binding.

policy CLI: #114388 (1ca60fb) removed ambient ownership from normalized multi-agent configs, so the #111087 routing-probe fixture uses the sole main agent and still reaches the intended findings exit.

Teams and Zoom node invoke policy: #118451 (7d40666) added trusted audio backend, buffer size, and format forwarding; assert those fields alongside the configured commands.

Teams node host: #118451 (7d40666) made default audio commands platform-dependent at import time after #111455 added the sox dedupe test; reset modules and mock Darwin before importing defaults.

* fix(cli): rejected profile commands no longer create state (#122970)

* fix(cli): defer profile state creation past argument validation

* test(cli): use tracked profile temp directory

* test(doctor): align checkpoint expectation with pristine roots

* fix(agents): report recovered compaction runs as completed (#122974)

* refactor(gateway): remove suspension mock replay (#122977)

* test(gateway): remove suspension mock replay

* test(agents): stabilize headless timeout assertion

* feat(node-host): add negotiated private worker controls (#122939)

* feat(node-host): add private worker supervisor controls

* refactor(node-host): harden private worker controls

* refactor(node-host): simplify private worker controls

* docs(plan): track private worker controls

* fix(node-host): satisfy private control CI guards

* test(gateway): follow worker service construction boundary

* test(gateway): register private control release train

* fix(gateway): retain worker dialect across reapproval

* fix(sessions): preserve durable transcript ownership (#122729)

Resolve transcript writes through the durable SQLite session-window owner, reject owner changes transactionally, and repair unambiguous stolen-owner aliases with Doctor.

Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Thorsten Stresow <[email protected]>

* feat(xai): add Grok 4.6 catalog and preserve OAuth xhigh (#122762)

* feat(xai): add Grok 4.6 catalog and preserve OAuth xhigh

Add first-class Grok 4.6 discovery, pricing, and reasoning metadata while
keeping the existing Grok 4.3 API-key and server-tool defaults unchanged.
Preserve xhigh only for Grok 4.6 so OAuth auto no longer inherits the
Grok 4.5 high downgrade.

Closes nothing; tracks #122734.

* fix(xai): resolve the OAuth auto alias to its canonical model in the thinking policy

The OAuth catalog row keeps id "auto" and records the provider-selected
target in params.canonicalModelId; judging the raw alias collapsed the
default OAuth route to an off-only thinking picker for every model.

Co-Authored-By: Claude Fable 5 <[email protected]>

* test(xai): refresh catalog-order assertions and restore stream deadlines for Grok 4.6

Exact-order catalog and onboarding arrays now include the new row with its
metadata assertion; payload-capture timeouts return to their original
values, Grok 4.5 off-clamp and Grok 4.3 modern-model coverage are
restored, and the Grok 4.6 xhigh boundary test passes its id explicitly.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(agents): add Grok 4.6 to the curated high-signal live matrix

xai is a curated-only high-signal provider, so the new flagship was
structurally excluded from default live sweeps; add it alongside
Grok 4.5 with its test and docs mirrors, matching the 4.5 precedent.

Co-Authored-By: Claude Fable 5 <[email protected]>

* fix(xai): align Grok frontier metadata

* fix(xai): align Grok 4.6 catalog contract

Remove the unsupported moving alias, centralize OAuth auto target resolution, correct cached pricing, and keep live coverage on the stable xhigh completion path.

Co-authored-by: Kiran Magic <[email protected]>

---------

Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Kiran <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>

* test(plugins): refresh fixture contracts (#122986)

* improve: one channel picker and one model picker across the Control UI (#122964)

* fix(ui): unify channel pickers with icons

Preserve channel values and mutation ownership across Automations, pairing, setup, and Workboard while sharing accessible picker rendering and artwork.

* refactor(ui): unify model pickers

Share provider-aware model selection across chat, new sessions, Automations, Agents, model defaults, Session Observer, Talk, and Memory while preserving owner-specific values and locks.

* fix(ui): keep picker change callbacks value-only

Keep the Web Awesome element private to model-picker custom-mode handling while preserving one-argument callbacks for every picker consumer.

* fix(ui): satisfy model picker types

Keep custom sentinel options within the shared model option shape and guard optional Memory placeholder translation keys.

* refactor(ui): remove obsolete model option template import

Drop the Lit import after Agents model options became pure shared-picker data.

* fix(ui): satisfy picker lint gates

Use explicit model option mapping, remove stale E2E locals, and keep the Cron behavior suite within its enforced line budget.

* test(ui): target unified session model picker

* fix(ci): rename state migration assertion map off the env-var pattern

OPENCLAW_STATE_MIGRATION_ASSERTIONS (a module-local const introduced by
#122959) matches the OPENCLAW_[A-Z0-9_]+ source scan in
scripts/check-env-var-count.mts, pushing the env-var ratchet to 503/502
and failing check:env-var-count on every branch based on current main.
It is not an environment variable; rename it to STATE_MIGRATION_ASSERTIONS
so the ratchet stays an honest env-var count.

* test(oc-path): make perf budgets robust to CI scheduler noise (#122994)

* fix(memory): keep session reconciliation off search path (#120837)

* fix(memory): keep session reconciliation off search path

* test(memory): decouple reconciliation test from provider fixture

---------

Co-authored-by: Jason (Json) <[email protected]>

* fix(agents): preserve headless timeout ownership (#122997)

* fix(gateway): preserve system agent ownership (#122987)

* fix(gateway): preserve system agent ownership

* chore(plugin-sdk): refresh ownership API baseline

* fix(gateway): preserve global system event routing

* refactor(ui): one task-detail surface for rail and subagent clicks (#123003)

* refactor(ui): unify task details in sidebar panel

* docs(ui): describe task detail sidebar

* refactor(ui): collapse onSelectTask into onOpenTaskDetail

Two names for the same open-the-panel action; rows now call the
callback directly.

* fix(ui): clear rail open-task highlight when detail slot closes

openTaskId derived from sidebarContent alone, but region close only
collapses the layout and retains content, leaving a stale
aria-current row; gate the highlight on detail-slot visibility.

* fix(ui): keep requester sessions out of subagent transcripts and let reopen retry failed lookups

A queued subagent has no child session yet; falling back to its
sessionKey rendered the requester's conversation as the task
transcript. And a failed tasks.get permanently suppressed the panel's
render-driven load; selection now clears the recorded error so
reopening retries, matching the old rail behavior.

* test(buzz): add opt-in thread QA coverage (#116081)

* test(buzz): add opt-in thread QA coverage

* fix(buzz): preserve QA conversation kind

---------

Co-authored-by: Dallin Romney <[email protected]>

* perf(test): avoid unrelated runtime imports in MCP suite (#122998)

Remove duplicate adversarial filter integration coverage, replace broad plugin/auth imports with contract-complete test leaves, and repair the main env-var ratchet broken by an unrelated newly added internal constant.

Amp-Thread-ID: https://ampcode.com/threads/T-019fee8d-665d-707b-a380-23f2a6a1ce03

Co-authored-by: Amp <[email protected]>

* fix(ci): sanitize AI manifest during installer pack (#122952)

* test(agents): move recovery transcript proof to QA (#123006)

* fix(discord): chunk long thread initial messages (#117354)

Discord rejected over-limit starter messages and could leave ordinary threads empty after creation.

Split initial content through the existing Discord chunking and nonce-retry path while preserving confirmed-versus-ambiguous partial-delivery results.

Co-authored-by: zhang-guiping <[email protected]>

* refactor(plugin-sdk): remove retired Copilot login chain (#122988)

* refactor(plugin-sdk): remove retired Copilot login chain

* chore(plugin-sdk): refresh generated API baselines

* build(github-copilot): remove unused prompt dependency

* chore(plugin-sdk): reconcile API baselines after rebase

* fix(e2e): declare agents-delete fixture owners (#123000)

* fix(sessions): preserve pinned sessions during maintenance (#122990)

* fix(state): accept shipped commitments schema (#122945)

* fix(parallels): recover migration-refused gateway startup

* fix(signal): fail probe when RPC verification fails (#123001)

* feat(worker): expose supervised terminal outcomes (#123013)

* feat(worker): expose supervised terminal outcomes

* docs(plan): track supervisor terminal outcomes

* test: speed up attempt execution helpers (#123012)

Co-authored-by: Amp <[email protected]>

* fix(replies): keep approval-unavailable notices durable (#121179)

Punchcard-Session: clear-lantern-summit-v2

* fix(ui): stop misreporting limited Custodian access (#123011)

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Co-authored-by: Amp <[email protected]>
Co-authored-by: Jacqueline Henriksen <[email protected]>
Co-authored-by: Josh Lehman <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: licheer-zte <[email protected]>
Co-authored-by: sunlit-deng <[email protected]>
Co-authored-by: joshavant <[email protected]>
Co-authored-by: Calin Laurentiu Ilie <[email protected]>
Co-authored-by: Daniel Cárdenas <[email protected]>
Co-authored-by: DanielCardenas <[email protected]>
Co-authored-by: Colin Johnson <[email protected]>
Co-authored-by: Chinmay Rawat <[email protected]>
Co-authored-by: Masato Hoshino <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
Co-authored-by: Feng <[email protected]>
Co-authored-by: Adkid-Zephyr <[email protected]>
Co-authored-by: PIYUSH RATHORE <[email protected]>
Co-authored-by: Sarah Fortune <[email protected]>
Co-authored-by: Sarah Fortune <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Thorsten Stresow <[email protected]>
Co-authored-by: kiranmagic7 <[email protected]>
Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Kiran <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: xingzhou <[email protected]>
Co-authored-by: Leon-SK668 <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 14, 2026
…0837)

* fix(memory): keep session reconciliation off search path

* test(memory): decouple reconciliation test from provider fixture

---------

Co-authored-by: Jason (Json) <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 14, 2026
* fix: stop bundled plugin startup refresh loops

* feat: continue web sessions in the terminal (openclaw#122870)

* feat: continue sessions in terminal

Add a credential-free Control UI continuation command and allow openclaw resume to reuse current-profile authentication only for byte-exact configured Gateway targets.

* fix(gateway): separate public origin TLS ownership

Allow exact public-origin resume targets to reuse local authentication without inheriting the direct local listener certificate fingerprint.

* fix(gateway): scope exact targets to gateway mode

Prevent remote profiles from reusing dormant local Gateway authentication for explicit loopback or public-origin targets.

* fix(cli): encode terminal resume handoffs

Replace shell-specific quoting with a strict credential-free base64url handoff, gate configured auth reuse to validated handoffs, and skip unused session discovery.

* fix(gateway): isolate handoff auth identity

Suppress ambient Gateway auth fallback for validated handoffs while preserving explicit credentials, configured SecretRefs, stored device auth, and exact-target TLS ownership.

* fix(cli): harden terminal resume handoffs

* fix(cli): parse terminal handoff outcomes

* fix(cli): bind handoffs to resolved agent

* test(ui): align terminal continuation proof

* docs(plan): track terminal continuation

* refactor(ui): keep terminal handoff result local

* fix(ui): keep composer capability menus within the viewport (openclaw#122296)

* fix(ui): constrain composer capability menus

* fix(ui): cap composer capability menu height

* test(ui): cover long capability menu states

* test(ui): capture capability menu interaction states

* fix(ui): keep dark capability states legible

* test(cron): focus runtime config composition (openclaw#122867)

Co-authored-by: Amp <[email protected]>

* feat(cli): allow editing automation display names (openclaw#122702)

* feat(cli): allow editing automation display names

* feat(cli): allow clearing automation display names

* fix(ui): show progress during new session startup (openclaw#122713)

* fix(ui): show progress during new session startup

Refs openclaw#122703

* oc-1fa: keep new-session progress through handoff

* fix(ui): keep new-session handoff live

* fix(ui): preserve navigation callback contract

* fix: make live updater checkout portable (oc-237) (openclaw#122873)

* refactor(media): remove orphan generation facades (openclaw#122874)

* refactor(agents): split subagent-control.ts into owner modules (openclaw#122875)

* fix(ui): archived sessions leave sidebar after navigation (openclaw#122876)

* oc-ad0.1: fix archived child session retention

* oc-37c: evict archived child on navigation

* fix(ci): expose AI pack diagnostics (openclaw#122786)

* fix(recovery): reclaim proven-stale reply-only ownership with zero queued backlog (openclaw#122265)

* fix(recovery): reclaim proven-stale reply-only ownership with zero queued backlog

Stuck-session recovery kept reply-only ownership forever when the queued
backlog was empty: isActiveRunProgressStale short-circuits to false at
queueDepth 0, so stale active_reply_work was never reclaimed even after
the durable session became killed. Evaluate staleness for reply-only
ownership without the queue gate (the gate stays for run-handle paths),
so proven-stale reply work expires through the existing abort-and-drain
owner path while global-lane and deferred-maintenance exemptions and
live reply work with recent progress are preserved.

Closes openclaw#122227

* fix(recovery): keep maintenance phases out of zero-backlog stale reclaim

The zero-backlog reclaim path (requireQueueBacklog: false) applied to
every reply-only operation, including preflight_compacting and
memory_flushing. Those phases are explicitly recognized as compaction
and may honor a configured timeout above the stale threshold, so a valid
long-running maintenance operation could be force-cleared early.

Restore the queue-backlog guard for the maintenance phases so an
unqueued compaction or memory flush is never reclaimed by this path;
ordinary reply-only ownership keeps the zero-backlog expiry. Adds
regressions for both maintenance phases.

* fix(ci): ignore zombie-only Vitest process groups (openclaw#122759)

* test(agents): scope extension fixtures to explicit owners (openclaw#122883)

* ci: fingerprint preferred pnpm hooks (openclaw#122852)

Co-authored-by: Amp <[email protected]>

* fix(ci): record startup JS growth in the Control UI budget baseline

Startup JS gzip reached 329483 B on main (build-artifacts, d242f6a),
1198 B over the 328285 B baseline + 1024 B tolerance, after cumulative
chat/session UI growth landed in openclaw#122296, openclaw#122713, openclaw#122870, and openclaw#122876.
Record the CI-measured bytes (within the 4096 B ratchet) to restore green
build-artifacts and QA Smoke lanes.

* fix(codex): keep sessionless mirror warnings out of onboarding (openclaw#122831)

* fix(codex): skip mirrors for sessionless runs

* fix(codex): restore openai model provider on media understanding turns

PR openclaw#122163 made thread/start modelProvider caller-supplied and updated the
web-search caller but missed media understanding, breaking its tests on main
full runs (cross-lane gap). Pass the provider explicitly and export the
retire binding prod now touches from the shared-client test mock.

* test(codex): align prompt assertions with reworded guidance

PR openclaw#121522 reworded the Skill Workshop guidance and 184b5fa reworded
the message-tool final-reply text; both updated core tests but missed
these codex mirror assertions (cross-lane gap breaking main full runs).

* test(codex): scope agent-projection fixture session to its agent

PR openclaw#114388 made multi-agent session ownership explicit; the atlas-scoped
projection test still used the shared main-scoped session key and now
trips AgentSelectionRequiredError (fourth cross-lane escape on main).

* fix(telegram): prevent multi-agent startup migration false positives (openclaw#122877)

* fix(telegram): resolve legacy state owners explicitly

* docs(changelog): note Telegram migration ownership fix

* Revert "docs(changelog): note Telegram migration ownership fix"

This reverts commit e02962eb4b2e2475854adf8c2a2915bcfd1cf65a.

* fix(reef): redact relay errors containing credentials (openclaw#119603)

* feat: let limited browsers request admin access (openclaw#121459)

* feat(gateway): add live device scope upgrades

* feat(ui): add limited-access upgrade flow

* fix(protocol): refresh Swift scope upgrade models

* perf(ui): lazy-load device scope upgrades

* fix(ci): complete scope upgrade generated surfaces

* perf(ui): lazy-load GitHub link hovercards

* fix(ui): keep admin repair guidance focusable

* fix(ui): gate and refresh scope upgrade banner

* refactor(ui): keep gateway client within line budget

* fix(ci): align rebased scope upgrade checks

* fix(ui): resolve scope upgrade in browser tests

* fix(gateway): honor refreshed scope upgrade deadline

* fix(gateway): honor refreshed scope upgrade deadline

* fix(gateway): coalesce scope upgrade waiters

* fix(ui): gate scope upgrade actions

* chore(plugin-sdk): refresh rebased API baseline

* fix(scope-upgrade): return canonical request ids

* fix(ui): preserve gateway event type binding

* fix(protocol): generate scope upgrade result models

* fix(ui): preserve scope upgrade recovery guidance

* chore(plugin-sdk): refresh rebased API baseline

* test(ui): avoid scope upgrade navigation race

* docs(control-ui): clarify scope upgrade approver

* test(gateway): align appended method counts

* chore(plugin-sdk): refresh rebased API baseline

* refactor(ui): keep place picker within line budget

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* chore(plugin-sdk): refresh rebased API baseline

* fix(gateway): preserve scope-upgrade browser origin

* fix(matrix): retain previews when replacement delivery fails

* test(matrix): tighten replacement proof

* test(matrix): bind live replacement marker

* test(matrix): type redaction ledger

* test(matrix): observe nonvisible cleanup

* fix(matrix): retain visible drafts on handler abort

* test(commands): stub plugin metadata snapshot in onboard-inference test (openclaw#122901)

The configured-model case lacked a current plugin metadata snapshot, so model normalization cold-discovered every bundled manifest; the prepared empty snapshot keeps the test on its intended boundary and reduced Vitest file wall time from 26.72s to 2.57s (the shell measurements were 194.45s and 56.21s including unrelated lock queues).

* docs(skills): document session and transcript fetching in openclaw-debugging (openclaw#122904)

Adds a Fetching Sessions and Transcripts section: sessions CLI first, then
the per-agent SQLite data plane (session_nodes lookup from chat URL
fragments, transcript_events shape, __openclaw sender provenance,
session_transcript_fts, media://inbound mapping) and a dependency-free
node:sqlite read-only recipe for hosts without sqlite3. Read-only-against-
live-gateway rule stated inline.

* fix: preserve compaction history when final audit fails

* fix: redact compaction rejection diagnostics

* fix: redact compaction retry errors

* fix: isolate compaction structure audit

* fix(ui): preserve picked image previews (openclaw#122905)

Fall back to stored attachment data URLs when object URL previews are unavailable in the shared composer surface.

* fix(zalo): keep packaged setup wizard loadable (openclaw#122902)

* fix(zalo): package setup runtime surface

* fix(tooling): track setup surface artifacts

* fix(ci): run affected extension suites when changed-test planning falls back (openclaw#122885)

The PR-changed test planner fails safe to the compact full-suite plan for any diff touching packages/**, but that compact plan excludes all extension test configs, so mixed package+extension PRs landed with zero extension test execution (escapes: PR openclaw#120534 breaking extensions/codex run-attempt.native-hook-relay.test.ts, PRs openclaw#122163/openclaw#121522 and 184b5fa breaking media-understanding-provider.test.ts and thread-lifecycle.test.ts on main full runs). The preflight now appends whole-config shards for the diff's touched extensions whenever the precise plan fails safe; whole configs (not precise targets) because the fail-safe cause leaves the non-extension diff's extension impact unbounded.

* fix(gateway): resolve agent list model identity (openclaw#122907)

Publish canonical resolved primary models with matching runtime and thinking metadata in agents.list.

* test(microsoft-foundry): remove global test bridge (openclaw#122881)

* test(microsoft-foundry): remove global test bridge

* test(microsoft-foundry): type boundary fixtures

* perf(ui): keep route transition out of startup

* fix(e2e): verify suspend control over WebSocket (openclaw#122888)

* fix(slack): prevent duplicate Socket Mode connections after reconnect errors (openclaw#122624)

* fix(codex): read canonical transcript session targets (#1)

* test(slack): reproduce reconnect timer surviving shutdown

* fix(slack): keep reconnects within one socket lifecycle

* test(slack): exercise native reconnect over loopback

* test(slack): satisfy reconnect integration checks

* fix(msteams): honor inbound channel media limit (openclaw#122315)

* fix(msteams): honor inbound channel media limit

* test(msteams): update lifecycle runtime mock

* style(msteams): avoid resolver config shadowing

* style(msteams): format lifecycle resolver mock

* refactor(msteams): inline media fallback

---------

Co-authored-by: DanielCardenas <[email protected]>
Co-authored-by: Jason (Json) <[email protected]>

* improve: speed up CLI spawn tests (openclaw#122891)

* test(agents): trim cli spawn test imports

* test(agents): distinguish prerelease policies

---------

Co-authored-by: Amp <[email protected]>

* fix(plugins): repair status and CLI fixtures (openclaw#122925)

* fix: internal recovery prompts appear as operator-authored messages (openclaw#122908)

* fix(agents): hide recovery prompts from transcripts

Suppress settled-turn finalization and reasoning/empty-response control prompts at the session writer boundary.

* test(agents): align hidden recovery prompt expectations

* fix(ci): rotate stale dependency snapshot (openclaw#122921)

Co-authored-by: Amp <[email protected]>

* docs(gateway): clarify dynamic operator scopes (openclaw#122931)

* fix: code mode dead-ends on oversized tool results instead of returning bounded output (openclaw#122924)

* fix(agents): bound code mode bridge results

Return oversized bridge, guest output, and final values as bounded successful projections with actionable narrowing guidance.

* refactor(agents): absorb code mode output bounds

* fix(ci): prevent channel add command test timeout (openclaw#122879)

* test(channels): isolate add env setup contracts

* test(channels): cover adapter env setup

* fix(parallels): preserve plugin inventory during updates (openclaw#122912)

* fix(parallels): preserve plugin inventory during updates

* fix(parallels): preserve dev update plugin inventory

* fix(ui): contain OAuth wizard modal content (openclaw#122892)

* fix(ui): contain OAuth wizard modal content

* test(ui): poll OAuth modal containment

* refactor(ai): internalize ChatGPT SSE protocol (openclaw#122930)

* feat(ui): show useful environment facts in the picker (openclaw#122923)

* feat(ui): show environment facts in Where picker

Preserve environment platform, trust, session-host, and capability metadata through new-session discovery while keeping placement availability tied to live executable nodes. Render bounded quiet device/cloud facts and add mocked browser coverage for task openclaw#33.

* docs(plan): track picker environment facts

* refactor(ui): split place browser rendering

* docs(agents): require screenshot/video proof for UI-visible and gateway-behavior changes (openclaw#122920)

Adds hard policy: UI-visible changes need before/after screenshots or a
short video as PR evidence; gateway-behavior changes provable in the
Control UI need an isolated dev-gateway live run with a recorded video.
Documents the verified video upload flow (user-attachments endpoint,
mp4/webm both served) and the bare-URL embed rule for GitHub's player.

* fix(tools): preserve partial web fetch status (openclaw#122866)

* fix(ui): deliver failed steer retries as a new turn when the session is idle (openclaw#122919)

A steer rejected on the run/leaf fence parks as a failed steered queue row.
Retry previously refused whenever the target run was gone, leaving the
user's message permanently stuck with 'that run is no longer active'.
Retry now converts the parked row into a plain queued send when the session
is idle, so the text delivers as a fresh turn; active-run retries keep the
original steer binding, and disconnected retries keep the existing error.

* fix: stopping a session leaves subagents running with no stop control (openclaw#122909)

* fix(gateway): cascade session stop to subagents

Cascade exact and session-wide aborts through the subagent registry and keep Control UI Stop visible while descendants remain active.

* refactor(gateway): absorb stop cascade orchestration

* chore(gateway): refresh plugin SDK API contract for abort refactor

Regenerates the export-closure contract after the stop-cascade refactor
moved gateway abort orchestration exports, and drops a redundant Boolean()
wrapper flagged by lint. Public SDK surface gate is unchanged.

* chore(gateway): regenerate plugin SDK API baseline

* fix(qa): preserve Code Mode reads in model-switch mock (openclaw#122935)

* fix(ci): prevent flaky extension wrapper SIGTERM test (openclaw#122917)

* test(scripts): wait for valid wrapper pids

* test(scripts): harden PID marker reads

* fix: session model selection replaced by response aliases and fallback wins (openclaw#122910)

* fix(agents): keep session model selection canonical

Preserve configured session model identity across response aliases and turn-local fallbacks.

* fix(gateway): align session model projection consumers

* test(gateway): mark session event model selection

* test(gateway): stabilize sender avatar fixture (openclaw#122942)

* perf(test): cut workflow guard import overhead (openclaw#122940)

Co-authored-by: Amp <[email protected]>

* test(extensions): remove duplicate runtime replays (openclaw#122949)

* fix(ui): fence stale recovery scope work (openclaw#122944)

* docs(deploy): add verification, cost, observability, and troubleshooting to the Cloudflare guide (openclaw#122932)

The template shipped without the operator-facing half: no way to prove the
restore path works before depending on it, no cost signal for the always-on
versus webhook-only choice, no log surfaces, and no failure-mode index.

Adds an architecture diagram, a restore rehearsal, measured recovery numbers
from the real-R2 proof, provisioned-resource cost guidance, wrangler tail
observability, and a troubleshooting index covering image architecture,
Litestream S3 credentials, the startupz/readyz split, and ephemeral-disk
config loss.

* fix: prompt caching breaks on Claude Opus 5 and Sonnet 5 (openclaw#121283)

* fix: prompt caching breaks on Claude Opus 5 and Sonnet 5

shouldPreserveThinkingBlocks() matched modern Claude ids with a hardcoded
family list plus /claude-[5-9]/ future-proofing. That regex assumes the
generation follows the prefix (claude-5-x), but shipped generation-5 ids
place the family in between (claude-opus-5, claude-sonnet-5, claude-mythos-5),
so none matched and dropThinkingBlocks flipped to true. Signed thinking blocks
were stripped from replayed history, diverging every request and invalidating
the Anthropic prompt cache on the default opus/sonnet aliases.

Read the generation from the id instead, preserving blocks for generation 4
and newer. This handles both id shapes and matches the idiom already used in
audit-extra.sync.ts and live-model-filter.ts.

Closes openclaw#121251

* fix: correct Claude thinking replay contract

Use the canonical Claude model identity and exact Anthropic preservation contract when deciding whether replay may retain prior thinking blocks. Carry deployment metadata through provider-family and fallback paths, and include canonicalModelId in the transcript policy cache key.

Release note: Restore prompt-cache reuse for Claude Opus 5 and Sonnet 5 while continuing to strip unsupported Sonnet and Haiku 4.5 thinking history.

* refactor: remove unused replay compatibility helper

Use the canonical Claude drop predicate at the remaining test call sites and remove the unconsumed preservation export so the dependency/dead-code gate stays clean.

* fix: keep Claude replay contract internal

Use canonical llm-core identity resolution without exporting a new llm-core capability, avoiding unintended Plugin SDK API drift.

---------

Co-authored-by: FullerStackDev <[email protected]>

* fix(sessions): highWaterBytes 0 no longer deletes all session history (openclaw#119909)

* fix(sessions): zero highWaterBytes no longer clears all session history

resolveHighWaterBytes passed an explicit non-positive highWaterBytes through
verbatim. The resolved value is the disk-budget cleanup loop's stop condition,
so a zero target made enforce mode evict every unprotected session and prune
its extracted archives instead of trimming to the documented 80% default.

Route the non-positive case to the function's existing unusable-value branch
(computeDefault). Not null: that disables the budget and permits unbounded
growth, which is right for a cap but wrong for a target.

Sibling of openclaw#119422, which fixed the same harm for maxDiskBytes and guarded
only resolveMaxDiskBytes.

* test(infra): isolate worktree migration discovery

Keep worktree migration coverage focused on its real filesystem, Git, and SQLite owner while avoiding unrelated channel and plugin doctor cold starts on fork CI.

Co-authored-by: masatohoshino <[email protected]>

* test(ci): carry owner-approved SDK and doctor gate repairs

Carry the already-approved plugin SDK contract manifest and focused doctor-flow test isolation from the maintainer-owned CI repair. Preserve real config migration, persistence, snapshot, and SQLite cleanup coverage; no production behavior changes.

Co-authored-by: masatohoshino <[email protected]>

* fix(sessions): use the renamed withTestDir helper in the new budget test

* fix(sessions): align high-water zero contract

* style(sessions): format high-water changes

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: FullerStackDev <[email protected]>

* fix(ui): model picker shifts when another user starts typing (openclaw#122809)

* fix(ui): keep composer model picker stable while typing

* test(ui): prove typing keeps model picker stable

Co-authored-by: Colin Johnson <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>

* feat(ui): split new session place picker (openclaw#122938)

* feat(ui): split new session place picker

* test(ui): cover three-chip session picker

* fix(gateway): allow downloading zero-byte artifacts (openclaw#122928)

* fix(gateway): preserve zero-byte artifacts

* fix(gateway): keep non-string data out of artifact lists

* test(gateway): compact zero-byte artifact coverage

* feat(ui): open subagent details in chat sidebar (openclaw#122941)

* feat(ui): open subagent details in chat sidebar

* chore: drop changelog edit (release generation owns it)

* refactor(ui): drop duplicate close in subagent detail panel

The sidebar region header already owns a Close Details control in both
wide and narrow layouts; the panel-local X duplicated it 40px away.

* fix(ui): stop subagent transcript loader when pane presentation retires

Pane retention wipes sidebarContent directly, so the detail slot's
render-time reset can never run again; a pending refresh timer plus
incoming task events kept refetching chat.history for a hidden panel.

* docs(ui): note close-control ownership in subagent detail header

* fix(ui): break transcript renderer import cycle

* fix(ui): use shared action cursor for subagent rows

* fix: install or review the publisher you picked when ClawHub skills share a slug (openclaw#121697)

* fix(skills): keep ClawHub publisher identity from search through install

ClawHub search returns one entry per publisher, so several results can share a
slug. Every client collapsed the selection to that bare slug before calling
skills.detail and skills.install, and ClawHub answered 409 AMBIGUOUS_SKILL_SLUG
with no in-product way forward.

searchClawHubSkills now records the publisher-qualified reference once, on the
result that carries it, and the Gateway protocol documents it. skills.detail
parses the same reference grammar skills.install already accepted, so review and
install cannot resolve to different publishers. Control UI carries that one
reference through row actions, detail, busy state, and acknowledgement retries,
and shows it so otherwise identical rows are distinguishable.

Fixes openclaw#117633

* fix(apps): send the ClawHub publisher reference from native skill browsers

macOS, iOS, and Android read the qualified reference from search results and use
it for skills.detail, install, busy state, installed matching, and list identity,
so two publishers sharing a slug stay distinct instead of collapsing into one
ambiguous request.

* fix(skills): refuse external-source skill detail instead of reading a same-slug skill

ClawHub has no source-qualified read endpoint, so a skills-sh reference parsed
down to its bare slug would have returned a registry skill's card while install
resolved the external artifact. Review and install could name different skills.

skills.detail now fails closed on any reference that carries a source, and the
macOS and AgentPro rows show the publisher reference next to the summary instead
of only when a summary is missing, so same-slug rows stay distinguishable.

* chore(apps): refresh native i18n source baseline for the skill row references

* refactor(skills): drop the unread search-result ownerHandle field

installRef is the one reference clients send back, and no client reads the
publisher handle separately, so the protocol and Control UI carry one field
instead of two.

* fix(skills): name the next step when external skill detail is refused

Clients that gate install behind a successful review would otherwise see only a
refusal, so the error names the direct install path and the CLI equivalent.

* fix(macos): use a doc comment on the ClawHub row subtitle

swift-format's docComments rule requires doc comments on declarations; the
subtitle property carried a regular comment and failed macos-swift.

* fix(skills): carry ClawHub trust state to clients that can install

Forwarding installRef let clients install the exact publisher the operator
picked, including external skills-sh sources. It did not forward the trust
state that says ClawHub never scanned that source, so iOS AgentPro — the one
surface that installs in a single tap with no review step — could install an
unscanned artifact with nothing on screen saying so. The CLI already labels
these (docs/clawhub/cli.md, docs/cli/skills.md); native clients could not,
because trustState was never on the wire.

trustState becomes an optional field on SkillsSearchResultSchema. It is purely
additive: older clients ignore an unknown key and the field is absent for
registry results, so downgraded readers are unaffected and no protocol version
moves.

Every client that renders a search row now shows "Not scanned by ClawHub",
matching the CLI wording exactly: iOS AgentPro in the row above the install
button, macOS and Android beside the review action, and Control UI on the row
that explains why review is refused for these sources.

Covered by a wire assertion that the state reaches clients for an external
source and stays absent for registry rows, plus decode-and-label tests on the
shared Swift kit and the Android parser, and a Control UI render assertion.

* fix(ui): size the ClawHub detail dialog to a refusal message

Refusing detail for an external source made an error-only dialog reachable.
The shared preview panel reserves a tall reader height for skill documents, so
a two-line refusal rendered in a mostly empty dialog and read as broken rather
than deliberate. Found by inspecting the review captures.

* revert(ui,apps): drop the ClawHub trust label layer

Maintainer product decision: skills.sh runs its own scanners, so OpenClaw does
not add a second alert layer in the apps. Removes the label from Control UI,
iOS, macOS and Android, and drops the trustState wire field that nothing would
render. The CLI keeps its existing label; changing that is a separate call.

Publisher identity, the fail-closed detail refusal, and the message-only dialog
are unchanged. Splits the oversized skills view test file to satisfy max-lines
without a suppression.

* test(ui): fix ClawHub skill fixture checks

* chore(plugin-sdk): refresh API baseline

---------

Co-authored-by: Patrick Erichsen <[email protected]>

* oc-e35: restore explicit multi-agent UI ownership (openclaw#122889)

* fix(agents): hydrate CLI images from agent workspaces (openclaw#122684)

* fix(agents): hydrate CLI images from agent workspace

* fix(agents): preserve resolved CLI workspace owner

* fix(agents): keep workspace owner in prepared params

* fix(agents): resolve CLI owner before preparation

* fix(agents): preserve CLI runtime policy owner

---------

Co-authored-by: Adkid-Zephyr <[email protected]>
Co-authored-by: FullerStackDev <[email protected]>

* fix(ai): honor embedded transport policy (openclaw#122946)

* refactor: remove residual normalization aliases (openclaw#122956)

* refactor: remove residual normalization aliases

* test(gateway): isolate approval authority handshake

* fix(qa): isolate staged auth state (openclaw#122958)

* fix(wizard): honor gateway overrides in manual flow (openclaw#122961)

* refactor(config): retire dead streaming.progress.render key (openclaw#122927)

* refactor(config): retire dead streaming.progress.render key

The key had zero runtime consumers after openclaw#122552. Core doctor now strips it via stripRetiredTuningKnobs, and production LOC is net -13.

* fix(tooling): pin plugin SDK surface counts to the reduced export set

The retired progress-draft render reader counted twice via channel-outbound and channel-message's wildcard re-export.

* fix(projects): avoid stale GitHub results after token rotation (openclaw#122613)

* fix(projects): avoid stale GitHub results after token rotation

* fix(gateway): scope GitHub caches by credential

* style(gateway): format GitHub credential scope

---------

Co-authored-by: FullerStackDev <[email protected]>

* fix(cli): avoid restart hint for unchanged config (openclaw#122953)

* fix(cli): avoid restart hint for unchanged config

* docs(cli): clarify no-op restart guidance

* fix(onboard): allow imports after runtime scaffolding (openclaw#122967)

* fix(cli): fail fast when onboarding profile is busy (openclaw#122968)

* fix: GitHub project selection cloned repos before Start Session (openclaw#122906)

* fix(ui): defer GitHub project clone until submit

Keep remote project selection as draft state and materialize it before sessions.create on Start Session.

* fix(ui): consolidate deferred project selection

* test(ui): drop duplicate remote project assertion

* fix(deploy): repair probes that silently pass and a blueprint that cannot boot (openclaw#122963)

Three defects proven by running the shipped configs:

Kubernetes probes checked only the status code against /startupz, but the
pinned image predates that route and the Control UI answers unknown paths
with a catch-all 200. A wedged pod was therefore marked Ready forever.
Probes now assert the JSON probe contract and target routes the pinned
image actually serves; verified in a kind cluster where the old command
exits 0 on the missing route and the new one exits 1.

render.yaml set no dockerCommand, so the image CMD ran without
--allow-unconfigured and a fresh Render disk exited 78 with 'Missing
config' before binding. Reproduced locally with Render's exact env.

The Cloudflare Container readiness poll had the same route mismatch
against operator-supplied official image digests; it now polls /healthz,
which every published image serves.

Also replaces an R2 verification step that could never fail: wrangler
cannot list object keys, so the documented command 404'd into || true.

* docs: repair spellcheck and anchor drift (openclaw#122960)

* docs: repair spellcheck and anchor drift

* docs: satisfy markdown anchor lint

* docs(hosting): fix unsafe deployment instructions (openclaw#122971)

* test(agents): remove global test APIs (openclaw#122972)

* fix(slack): accept org-wide user IDs in Enterprise Grid policies (openclaw#122934)

* test(slack): accept org-wide enterprise users

* fix(slack): allow org-wide enterprise users

* style(slack): format enterprise user policy

* test(slack): preserve enterprise user identity scope

* fix(slack): preserve enterprise user identity scope

* fix(slack): import workspace identity normalizer

* fix(slack): normalize enterprise owner ids

---------

Co-authored-by: Sarah Fortune <[email protected]>

* refactor(state): simplify schema migration validation (openclaw#122959)

* perf(test): avoid embedded runtime imports in btw suite (openclaw#122957)

Co-authored-by: Amp <[email protected]>

* fix(agents): preserve setup inference auth owner (openclaw#122975)

* feat(ui): open bare pair command without a chat turn (openclaw#120855)

Co-authored-by: Patrick Erichsen <[email protected]>

* test(extensions): repair stale full-config extension tests (openclaw#122978)

clickclack inbound mention gating: openclaw#114388 (15a3514) made multi-agent fallback ownership explicit, so the openclaw#115484 fixture now declares its clickclack:default service-bot binding.

policy CLI: openclaw#114388 (15a3514) removed ambient ownership from normalized multi-agent configs, so the openclaw#111087 routing-probe fixture uses the sole main agent and still reaches the intended findings exit.

Teams and Zoom node invoke policy: openclaw#118451 (0325bbf) added trusted audio backend, buffer size, and format forwarding; assert those fields alongside the configured commands.

Teams node host: openclaw#118451 (0325bbf) made default audio commands platform-dependent at import time after openclaw#111455 added the sox dedupe test; reset modules and mock Darwin before importing defaults.

* fix(cli): rejected profile commands no longer create state (openclaw#122970)

* fix(cli): defer profile state creation past argument validation

* test(cli): use tracked profile temp directory

* test(doctor): align checkpoint expectation with pristine roots

* fix(agents): report recovered compaction runs as completed (openclaw#122974)

* refactor(gateway): remove suspension mock replay (openclaw#122977)

* test(gateway): remove suspension mock replay

* test(agents): stabilize headless timeout assertion

* feat(node-host): add negotiated private worker controls (openclaw#122939)

* feat(node-host): add private worker supervisor controls

* refactor(node-host): harden private worker controls

* refactor(node-host): simplify private worker controls

* docs(plan): track private worker controls

* fix(node-host): satisfy private control CI guards

* test(gateway): follow worker service construction boundary

* test(gateway): register private control release train

* fix(gateway): retain worker dialect across reapproval

* fix(sessions): preserve durable transcript ownership (openclaw#122729)

Resolve transcript writes through the durable SQLite session-window owner, reject owner changes transactionally, and repair unambiguous stolen-owner aliases with Doctor.

Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Thorsten Stresow <[email protected]>

* feat(xai): add Grok 4.6 catalog and preserve OAuth xhigh (openclaw#122762)

* feat(xai): add Grok 4.6 catalog and preserve OAuth xhigh

Add first-class Grok 4.6 discovery, pricing, and reasoning metadata while
keeping the existing Grok 4.3 API-key and server-tool defaults unchanged.
Preserve xhigh only for Grok 4.6 so OAuth auto no longer inherits the
Grok 4.5 high downgrade.

Closes nothing; tracks openclaw#122734.

* fix(xai): resolve the OAuth auto alias to its canonical model in the thinking policy

The OAuth catalog row keeps id "auto" and records the provider-selected
target in params.canonicalModelId; judging the raw alias collapsed the
default OAuth route to an off-only thinking picker for every model.

Co-Authored-By: Claude Fable 5 <[email protected]>

* test(xai): refresh catalog-order assertions and restore stream deadlines for Grok 4.6

Exact-order catalog and onboarding arrays now include the new row with its
metadata assertion; payload-capture timeouts return to their original
values, Grok 4.5 off-clamp and Grok 4.3 modern-model coverage are
restored, and the Grok 4.6 xhigh boundary test passes its id explicitly.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(agents): add Grok 4.6 to the curated high-signal live matrix

xai is a curated-only high-signal provider, so the new flagship was
structurally excluded from default live sweeps; add it alongside
Grok 4.5 with its test and docs mirrors, matching the 4.5 precedent.

Co-Authored-By: Claude Fable 5 <[email protected]>

* fix(xai): align Grok frontier metadata

* fix(xai): align Grok 4.6 catalog contract

Remove the unsupported moving alias, centralize OAuth auto target resolution, correct cached pricing, and keep live coverage on the stable xhigh completion path.

Co-authored-by: Kiran Magic <[email protected]>

---------

Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Kiran <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>

* test(plugins): refresh fixture contracts (openclaw#122986)

* improve: one channel picker and one model picker across the Control UI (openclaw#122964)

* fix(ui): unify channel pickers with icons

Preserve channel values and mutation ownership across Automations, pairing, setup, and Workboard while sharing accessible picker rendering and artwork.

* refactor(ui): unify model pickers

Share provider-aware model selection across chat, new sessions, Automations, Agents, model defaults, Session Observer, Talk, and Memory while preserving owner-specific values and locks.

* fix(ui): keep picker change callbacks value-only

Keep the Web Awesome element private to model-picker custom-mode handling while preserving one-argument callbacks for every picker consumer.

* fix(ui): satisfy model picker types

Keep custom sentinel options within the shared model option shape and guard optional Memory placeholder translation keys.

* refactor(ui): remove obsolete model option template import

Drop the Lit import after Agents model options became pure shared-picker data.

* fix(ui): satisfy picker lint gates

Use explicit model option mapping, remove stale E2E locals, and keep the Cron behavior suite within its enforced line budget.

* test(ui): target unified session model picker

* fix(ci): rename state migration assertion map off the env-var pattern

OPENCLAW_STATE_MIGRATION_ASSERTIONS (a module-local const introduced by
openclaw#122959) matches the OPENCLAW_[A-Z0-9_]+ source scan in
scripts/check-env-var-count.mts, pushing the env-var ratchet to 503/502
and failing check:env-var-count on every branch based on current main.
It is not an environment variable; rename it to STATE_MIGRATION_ASSERTIONS
so the ratchet stays an honest env-var count.

* test(oc-path): make perf budgets robust to CI scheduler noise (openclaw#122994)

* fix(memory): keep session reconciliation off search path (openclaw#120837)

* fix(memory): keep session reconciliation off search path

* test(memory): decouple reconciliation test from provider fixture

---------

Co-authored-by: Jason (Json) <[email protected]>

* fix(agents): preserve headless timeout ownership (openclaw#122997)

* fix(gateway): preserve system agent ownership (openclaw#122987)

* fix(gateway): preserve system agent ownership

* chore(plugin-sdk): refresh ownership API baseline

* fix(gateway): preserve global system event routing

* refactor(ui): one task-detail surface for rail and subagent clicks (openclaw#123003)

* refactor(ui): unify task details in sidebar panel

* docs(ui): describe task detail sidebar

* refactor(ui): collapse onSelectTask into onOpenTaskDetail

Two names for the same open-the-panel action; rows now call the
callback directly.

* fix(ui): clear rail open-task highlight when detail slot closes

openTaskId derived from sidebarContent alone, but region close only
collapses the layout and retains content, leaving a stale
aria-current row; gate the highlight on detail-slot visibility.

* fix(ui): keep requester sessions out of subagent transcripts and let reopen retry failed lookups

A queued subagent has no child session yet; falling back to its
sessionKey rendered the requester's conversation as the task
transcript. And a failed tasks.get permanently suppressed the panel's
render-driven load; selection now clears the recorded error so
reopening retries, matching the old rail behavior.

* test(buzz): add opt-in thread QA coverage (openclaw#116081)

* test(buzz): add opt-in thread QA coverage

* fix(buzz): preserve QA conversation kind

---------

Co-authored-by: Dallin Romney <[email protected]>

* perf(test): avoid unrelated runtime imports in MCP suite (openclaw#122998)

Remove duplicate adversarial filter integration coverage, replace broad plugin/auth imports with contract-complete test leaves, and repair the main env-var ratchet broken by an unrelated newly added internal constant.

Amp-Thread-ID: https://ampcode.com/threads/T-019fee8d-665d-707b-a380-23f2a6a1ce03

Co-authored-by: Amp <[email protected]>

* fix(ci): sanitize AI manifest during installer pack (openclaw#122952)

* test(agents): move recovery transcript proof to QA (openclaw#123006)

* fix(discord): chunk long thread initial messages (openclaw#117354)

Discord rejected over-limit starter messages and could leave ordinary threads empty after creation.

Split initial content through the existing Discord chunking and nonce-retry path while preserving confirmed-versus-ambiguous partial-delivery results.

Co-authored-by: zhang-guiping <[email protected]>

* refactor(plugin-sdk): remove retired Copilot login chain (openclaw#122988)

* refactor(plugin-sdk): remove retired Copilot login chain

* chore(plugin-sdk): refresh generated API baselines

* build(github-copilot): remove unused prompt dependency

* chore(plugin-sdk): reconcile API baselines after rebase

* fix(e2e): declare agents-delete fixture owners (openclaw#123000)

* fix(sessions): preserve pinned sessions during maintenance (openclaw#122990)

* fix(state): accept shipped commitments schema (openclaw#122945)

* fix(parallels): recover migration-refused gateway startup

* fix(signal): fail probe when RPC verification fails (openclaw#123001)

* feat(worker): expose supervised terminal outcomes (openclaw#123013)

* feat(worker): expose supervised terminal outcomes

* docs(plan): track supervisor terminal outcomes

* test: speed up attempt execution helpers (openclaw#123012)

Co-authored-by: Amp <[email protected]>

* fix(replies): keep approval-unavailable notices durable (openclaw#121179)

Punchcard-Session: clear-lantern-summit-v2

* fix(ui): stop misreporting limited Custodian access (openclaw#123011)

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Co-authored-by: Amp <[email protected]>
Co-authored-by: Jacqueline Henriksen <[email protected]>
Co-authored-by: Josh Lehman <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: licheer-zte <[email protected]>
Co-authored-by: sunlit-deng <[email protected]>
Co-authored-by: joshavant <[email protected]>
Co-authored-by: Calin Laurentiu Ilie <[email protected]>
Co-authored-by: Daniel Cárdenas <[email protected]>
Co-authored-by: DanielCardenas <[email protected]>
Co-authored-by: Colin Johnson <[email protected]>
Co-authored-by: Chinmay Rawat <[email protected]>
Co-authored-by: Masato Hoshino <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
Co-authored-by: Feng <[email protected]>
Co-authored-by: Adkid-Zephyr <[email protected]>
Co-authored-by: PIYUSH RATHORE <[email protected]>
Co-authored-by: Sarah Fortune <[email protected]>
Co-authored-by: Sarah Fortune <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Thorsten Stresow <[email protected]>
Co-authored-by: kiranmagic7 <[email protected]>
Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Kiran Magic <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Kiran <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: xingzhou <[email protected]>
Co-authored-by: Leon-SK668 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: memory-core Extension: memory-core 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: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: S 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.

memory_search unusable on large session stores: full session reconciliation exceeds the hardcoded 15s tool timeout

3 participants