Repository navigation
fix(compaction): complete session boundary repairs - #6
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🔵 Needs a closer look
The diff spans many subsystems (core runtime, Gateway, plugin SDK/public surfaces, multiple bundled plugins, docs, CI), making it hard to fully validate integration and compatibility from diff review alone.
Pull request overview
This PR completes a broad set of “session boundary / compaction” repairs across core runtime, Gateway/session contracts, plugin SDK seams, and bundled plugins, with accompanying focused regression tests and documentation updates.
Changes:
- Tightens and extends session/history and compaction-related contracts (Gateway/session utilities, pending delivery states, runtime status formatting, CSP allowances, protocol constants).
- Refactors/migrates multiple private seams to their owning modules and updates plugin/plugin-SDK public surfaces (new runtime barrels, renamed/adjusted exports, config-doctor API shims).
- Updates tests, docs, and a set of dependency/tooling versions to align with the new boundaries and contracts.
File summaries
| File | Description |
|---|---|
| ui/src/components/settings-workspace.ts | Ensures settings CSS is loaded for workspace rendering. |
| ui/src/components/session-glyph.ts | Makes glyph content type internal (non-exported). |
| ui/src/components/native-link-menu.ts | Adds a data attribute for new-tab action handling. |
| ui/src/components/markdown-details.ts | Consolidates markdown-it type imports for v15. |
| ui/src/components/config-form.tiers.ts | Switches JsonSchema utilities import to shared lib helper. |
| ui/src/components/config-form.array-items.ts | Switches JsonSchema utilities import to shared lib helper. |
| ui/src/build-info.test.ts | Extends build-info comparison coverage to include buildId. |
| ui/src/app/navigation-surface.browser.test.ts | Updates floating update card render params for new layout flag. |
| ui/src/app/initial-user-message-handoff.ts | Makes initial message type internal (non-exported). |
| ui/src/app-routes.test.ts | Removes an obsolete route assertion. |
| ui/public/provider-icons/ProviderIcon-vercel.svg | Adds Vercel provider icon asset. |
| test/vitest/vitest.plugin-sdk-paths.d.mts | Removes unused/obsolete exported source-file list. |
| test/vitest/vitest.commands-light-paths.d.mts | Removes unused/obsolete exported source-file list. |
| test/scripts/bench-model.test.ts | Adjusts arg-validation expectations for bench-model. |
| src/worker/worker-deploy-json5-runtime.mjs | Adds build-only JSON5 bridge module for worker deployments. |
| src/worker/worker-deploy-json5-runtime.d.mts | Adds minimal typing shim for JSON5 bridge. |
| src/worker/worker-deploy-highlight-runtime.mjs | Adds build-only highlight.js bridge module for worker deployments. |
| src/worker/worker-deploy-highlight-runtime.d.mts | Adds minimal typing shim for highlight.js bridge. |
| src/worker/node-workspace-transfer-protocol.ts | Adds attachments-only download mode option to transfer input. |
| src/wizard/setup.default-agent.test.ts | Updates gateway config mock shape (removes tailscaleResetOnExit). |
| src/utils/github-login.ts | Adds GitHub login normalizer/validator helper. |
| src/utils.test.ts | Removes undefined/null input test for resolveUserPath. |
| src/tasks/cron-history-retention.ts | Simplifies terminal-task prune logic using always-number cleanup value. |
| src/talk/realtime-session-harness.ts | Consolidates agent-talkback imports into a single statement. |
| src/state/openclaw-database-verify.impl.ts | Ensures worker protocol errors reject as structured error objects. |
| src/skills/workshop/tool-policy-diagnostic.ts | Drops debug audit log level parameter in policy availability resolver. |
| src/skills/workshop/policy.runtime.ts | Adds a runtime barrel re-export for workshop policy resolution. |
| src/skills/loading/skill-version.ts | Removes prior prompt-version helper implementation. |
| src/skills/loading/session.test.ts | Adds displayName assertion for JSON5 metadata skill. |
| src/shared/node-desktop-stream.ts | Adds portal attach path constant. |
| src/security/audit.types.ts | Makes SecurityAuditSeverity internal while keeping findings exported. |
| src/security/audit-extra.async.ts | Stops including archived skills when loading workspace skills for auditing. |
| src/runtime.ts | Tightens console.log mock typing for runtime log decision. |
| src/process/supervisor/cancellation-policy.ts | Adds shared graceful cancel timeout constant. |
| src/process/kill-tree.ts | Exposes PTY session signaling; adjusts exported surface. |
| src/plugins/status.test-helpers.ts | Updates plugin record fixture shape (removes memoryEmbeddingProviderIds). |
| src/plugins/runtime/runtime-config.test.ts | Updates config mock target to io.runtime seam. |
| src/plugins/restart-recovery-hook-safety.test.ts | Updates hook safety API call signature to include kind. |
| src/plugins/registry.test-fixtures.ts | Removes memory embedding provider registry type export. |
| src/plugins/provider-catalog-outcome.ts | Adds rejectionScope to distinguish catalog-only auth rejections. |
| src/plugins/plugin-install-default-choice.ts | Adds normalizer for plugin install defaultChoice values. |
| src/plugins/host-hooks.ts | Documents bundled native route placement convention. |
| src/plugins/hooks.test-fixtures.ts | Extends hook fixture options with requiresToolAuthority flag. |
| src/plugins/contracts/runtime-seams.contract.test.ts | Removes explicit resolutionKey from seam contract test case. |
| src/plugin-state/plugin-state-store.runtime.test.ts | Updates plugin record fixture shape (removes memoryEmbeddingProviderIds). |
| src/plugin-sdk/web-content-extractor.ts | Moves stripInvisibleUnicode export to infra unicode module. |
| src/plugin-sdk/time-runtime.ts | Adds compact duration formatter to plugin SDK time runtime. |
| src/plugin-sdk/text-utility-runtime.ts | Exposes UTF-8 safe prefix truncation helper via SDK runtime. |
| src/plugin-sdk/test-fixtures.ts | Adds direct import smoke helper to SDK test fixtures barrel. |
| src/plugin-sdk/simple-completion-runtime.ts | Exposes isolated completion runner helper via SDK runtime. |
| src/plugin-sdk/setup-runtime.ts | Minor formatting/spacing adjustment in exports. |
| src/plugin-sdk/session-catalog-runtime.ts | Clarifies comment: active registered session catalogs. |
| src/plugin-sdk/session-binding-runtime.ts | Adds inspection export for session bindings by conversation. |
| src/plugin-sdk/sandbox.ts | Exposes SSH sandbox exec preparation helper via SDK barrel. |
| src/plugin-sdk/runtime-store.ts | Reorders type export to keep runtime-store imports narrow. |
| src/plugin-sdk/routing.ts | Exposes strict agent id normalizer via SDK routing barrel. |
| src/plugin-sdk/provider-http.ts | Exposes provider response error text helpers via SDK barrel. |
| src/plugin-sdk/provider-catalog-runtime.ts | Renames/aliases resolvePluginProvidersCore to resolvePluginProviders. |
| src/plugin-sdk/node-selection-runtime.ts | Adds internal SDK seam for shared node selection policy. |
| src/plugin-sdk/meeting-page-script-runtime.ts | Adds production-private seam for official meeting page scripts. |
| src/plugin-sdk/media-understanding.ts | Exposes OpenAI-compatible video description helper. |
| src/plugin-sdk/media-store.ts | Exposes saveMediaSource helper via SDK barrel. |
| src/plugin-sdk/gateway-config-runtime.ts | Adds private gateway config helper barrel for bundled cold-start. |
| src/plugin-sdk/diagnostic-flags.ts | Adds SDK barrel for diagnostic flag checks. |
| src/plugin-sdk/channel-test-helpers.ts | Adds channel config validation helper to test helper barrel. |
| src/plugin-sdk/channel-secret-owner-runtime.ts | Adds private seam for degraded secret-owner availability checks. |
| src/plugin-sdk/channel-message.ts | Removes extra blank line in header comment block. |
| src/plugin-sdk/channel-join-intro-runtime.ts | Adds seam for join-intro reporting and related types. |
| src/plugin-sdk/channel-config-schema.ts | Renames exported helper to buildChannelAccountSchemaParts. |
| src/plugin-sdk/browser-facades.test.ts | Removes per-test module reset in facade tests. |
| src/plugin-sdk/approval-runtime.ts | Exposes ApprovalScope type from infra via SDK runtime barrel. |
| src/plugin-sdk/acp-runtime.ts | Exposes ACP runtime config option result type. |
| src/plugin-sdk/account-helpers.ts | Exposes channel media max bytes helper via SDK account helpers. |
| src/meeting-bot/plugin-config.ts | Removes agentId from realtime config type. |
| src/media-understanding/audio-preflight.ts | Ensures only first audio is passed to transcription as attachments. |
| src/llm/utils/retry.ts | Adds error code/type into failover classification signal. |
| src/infra/secure-temp-root.ts | Adds re-export for secure temp root helper and its type. |
| src/infra/runtime-status.ts | Normalizes runtime status detail whitespace more aggressively. |
| src/infra/provider-usage.types.ts | Adds refreshing flag to usage summary shape. |
| src/infra/outbound/message-gateway-options.ts | Adds identity token resolver hook for outbound gateway options. |
| src/infra/embedded-plugin-approval-broker.ts | Sets approvalKind on plugin approval requests. |
| src/infra/dotenv.ts | Blocks APPDATA from workspace dotenv ingestion. |
| src/infra/channel-activity.ts | Removes test-only reset helper from runtime module. |
| src/image-generation/openai-compatible-image-provider.test.ts | Removes redundant image count assertion. |
| src/gateway/worker-environments/device-provider-identity.ts | Adds stable provider id constant for device worker envs. |
| src/gateway/test-helpers.ts | Exposes gateway reply runtime preparer helper for tests. |
| src/gateway/session-utils.ts | Removes sync listSessionsFromStore export; keeps async. |
| src/gateway/session-utils.search.test.ts | Adjusts row mock exports for search test. |
| src/gateway/server.agent.gateway-server-agent.mocks.ts | Removes fallback context resolver mock wiring. |
| src/gateway/server-methods/chat-abort-authorization.ts | Extends pre-registered payload parsing surface with goalFingerprint. |
| src/gateway/server-in-process-dispatch.types.ts | Adds dispatch response type for in-process method dispatch. |
| src/gateway/server-close.runtime.ts | Moves shutdown drain export to narrower module. |
| src/gateway/server-chat.persist-session-lifecycle.runtime.ts | Removes now-unused session lifecycle persistence runtime barrel. |
| src/gateway/server-chat.load-gateway-session-row.runtime.ts | Removes now-unused session row load runtime barrel. |
| src/gateway/server-channel-runtime.types.ts | Adds skipUnavailableAccounts option to start channel options. |
| src/gateway/restart-trace.ts | Adds test helper to reset restart trace globals. |
| src/gateway/operator-role-actor.ts | Adds leaf type for operator/system role authority in gateway internals. |
| src/gateway/control-ui-csp.test.ts | Allows GitHub avatar domain in Control UI CSP tests. |
| src/gateway/config-reload-status.types.ts | Adds applied-restart-required status type for hot reload application. |
| src/gateway/chat-display-projection.ts | Removes recent message projection export from barrel. |
| src/gateway/agent-runtime-session-spawn-context.ts | Adds spawn context type for agent session runtime inheritance. |
| src/docker-healthcheck.ts | Makes resolveDockerHealthcheckPort internal to module. |
| src/cron/service/run-receipts.ts | Threads consistent nowMs into receipt adjudication preparation. |
| src/cron/own-record.ts | Adds helper to snapshot own-properties only for cron record persistence. |
| src/cron/isolated-agent/run-context.runtime.ts | Updates isolated-agent seam export to resolveContextTokensForModel. |
| src/cron/isolated-agent/run-auth-profile.runtime.ts | Updates isolated-agent seam export to resolveSessionAuthSelection. |
| src/config/types.ts | Adds telemetry types export to config types barrel. |
| src/config/types.telemetry.ts | Introduces telemetry config type for consented anonymous stats. |
| src/config/types.channel-messaging-common.ts | Removes mention patterns config type alias. |
| src/config/sessions/terminal-status.ts | Clears lastRunId during terminal entry recovery for visible turns. |
| src/config/sessions/session-tool-overrides.ts | Adds session tool override shape for mcp/skills/websearch toggles. |
| src/config/sessions/session-history.ts | Exposes read-only transcript archive listing helper. |
| src/config/sessions/pending-final-delivery-types.ts | Adds acknowledged state to pending delivery notice. |
| src/config/sessions/legacy-main-session-migration.contract.ts | Adds ownerStorePath to physical store contract. |
| src/config/sessions.ts | Exposes context-token provenance via sessions barrel. |
| src/config/redact-argv.ts | Updates explicit secret flag names set (adds provider-env). |
| src/config/plugin-install-record-map.ts | Adds accepted surface fields to normalized string fields list. |
| src/config/io.ts | Removes preserveConfigSnapshotAsClobbered from public IO exports. |
| src/config/io.observe-recovery.ts | Makes preserveConfigSnapshotAsClobberedCore internal (non-exported). |
| src/config/github-identity-profile-id.ts | Adds managed GitHub profile id predicate. |
| src/config/channel-config-keys.ts | Adds kernel-owned channel config key predicate helper. |
| src/commands/status.update.ts | Drops “deps stale” status fragment from update one-liner. |
| src/commands/status.scan-result.ts | Excludes runtimeDegradation from scan result type. |
| src/commands/sessions.plugin-metadata.test.ts | Updates sessions plugin metadata fixture (removes contextTokens default). |
| src/commands/sessions-tail.test.ts | Switches sessions store test to SQLite filename. |
| src/commands/onboard-channels.ts | Re-exports channel setup transaction seam instead of old collector. |
| src/commands/models/load-config.runtime.ts | Removes now-unused models load-config runtime seam module. |
| src/commands/models/list.auth-index.test.ts | Stubs external CLI sync provider ids for auth index tests. |
| src/commands/gateway-readiness.ts | Uses structured loadState status for service installation detection. |
| src/commands/gateway-install-token.persist.runtime.ts | Removes now-unused gateway install token persistence seam module. |
| src/commands/doctor-gateway-auth-token.windows.test.ts | Updates Windows auth token diagnostic call params. |
| src/commands/auth-choice.apply.types.ts | Adds workspaceDir to auth choice application params. |
| src/commands/agents.binding-format.ts | Adds roles display to binding description formatting. |
| src/cli/update-cli/status.ts | Uses detached dev upstream behavior for dev channel. |
| src/cli/program/message/register.send.ts | Simplifies commander action handler to direct return. |
| src/cli/plugins-update-selection.ts | Allows npm-spec parsing even when selector kind is “none”. |
| src/cli/plugins-install-preflight.ts | Renames install preflight opt flag to acceptCapabilities. |
| src/cli/plugin-install-plan.ts | Marks bundled origin in plugin install source plan. |
| src/cli/gateway-rpc.types.ts | Adds port option field to gateway RPC opts. |
| src/cli/daemon-cli/register.ts | Adds --json option to daemon CLI group. |
| src/cli/container-target.ts | Throws on spawnSync error rather than returning exit status. |
| src/claws/packages.test.ts | Updates claw package install test opts (drops acknowledgeClawHubRisk). |
| src/channels/plugins/message-action-names.ts | Adds conversation-open to channel message action names. |
| src/channels/plugins/directory-adapters.ts | Fixes self default precedence in directory adapter construction. |
| src/channels/message/runtime.ts | Exposes “may have reached recipient” helper in runtime barrel. |
| src/channels/inbound-event/media.ts | Adds optional fileName to inbound media input shape. |
| src/channels/direct-dm-access.ts | Consolidates imports from channel-access-compat. |
| src/channels/chat-meta-shared.ts | Removes selectionDocsPrefixMode param when building chat meta. |
| src/channels/bundled-channel-catalog.types.ts | Adds type for bundled channel catalog entries. |
| src/auto-reply/reply/reply-operation-run-state.ts | Adds messageInjectionAborted marker to run state. |
| src/auto-reply/reply/dispatch-from-config.lifecycle.test.ts | Adds lifecycle-focused dispatch-from-config split test file. |
| src/auto-reply/reply/dispatch-from-config.delivery.test.ts | Adds delivery-focused dispatch-from-config split test file. |
| src/audit/audit-recorder.test.ts | Updates writer stub to include recordExecutionDecisionWork. |
| src/agents/web-search-tool-policy.ts | Passes sessionKey into sender web search tool policy resolution. |
| src/agents/tools/model-config.helpers.test.ts | Stubs external CLI sync provider ids for model config tests. |
| src/agents/tool-outcome-instructions.ts | Adds a shared failure instruction constant for tool outcomes. |
| src/agents/tool-images.runtime.ts | Adds runtime seam for image sanitization. |
| src/agents/templates/HEARTBEAT.md | Removes prior heartbeat template content (file emptied/removed). |
| src/agents/sessions/tools/ls.ts | Keeps directory entries even when stat metadata cannot be read. |
| src/agents/sessions/resolve-config-value.ts | Removes exported test-only cache clear helper. |
| src/agents/sandbox.ts | Exposes SSH sandbox exec preparation helper in agent sandbox barrel. |
| src/agents/runtime/internal-hooks.ts | Adds internal tool result acknowledgement hooks. |
| src/agents/runtime/index.ts | Removes AfterToolOutcomeContext type export. |
| src/agents/requester-tool-policy.ts | Passes sessionKey into sender tool policy resolver. |
| src/agents/openclaw-tools.runtime.ts | Removes now-unused OpenClaw tools runtime seam module. |
| src/agents/models-config.providers.ts | Removes native streaming usage compat export from providers barrel. |
| src/agents/model-thinking-default.ts | Renames runtime-catalog resolver to core-suffixed export. |
| src/agents/model-runtime-policy.test.ts | Adds forcedByEnvironment expectation to policy test. |
| src/agents/github-tool-account.ts | Adds a shared type for GitHub tool account projection. |
| src/agents/command/attempt-execution.runtime.ts | Renames session content predicate export. |
| src/agents/auth-profiles/effective-oauth.test.ts | Stubs external CLI sync provider ids for oauth tests. |
| src/agents/auth-profiles.ts | Exposes persistAuthProfileBatch from upsert implementation. |
| src/agents/auth-health.ts | Minor cleanup: removes unused destructured key in filter predicate. |
| src/agents/agent-tools.abort.ts | Exports raceWithAbortSignal helper. |
| src/agents/agent-runtime-config.ts | Threads config into secret target id resolution. |
| src/acp/types.ts | Reorders exports/imports for ACP types module. |
| src/acp/translator.tool-streaming.test.ts | Removes test-only session store clear call. |
| src/acp/runtime/session-meta.ts | Ensures persisted updatedAt is used when writing ACP session meta row. |
| src/acp/control-plane/manager.utils.ts | Removes default ACP idle TTL constant export. |
| src/acp/control-plane/manager.initialize-session.test.ts | Updates test docstring description. |
| scripts/ui.js | Switches to native UI CLI imports for faster startup. |
| scripts/test-perf-budget.mts | Removes parseBudgetNumber from exported testing helpers. |
| scripts/prepublish-plugin-registry-artifact.mjs | Hardens “isMain” detection with argv path existence check. |
| scripts/package-source-dependencies.d.mts | Adds typings for bundled dependency alignment validator. |
| scripts/lib/record-shared.d.mts | Adds typings for record/string helper exports. |
| scripts/lib/plugin-sdk-doc-metadata.ts | Adds doc metadata entry for conversation binding inspection runtime. |
| scripts/lib/plugin-sdk-deprecated-public-subpaths.json | Removes messaging-targets from deprecated subpaths list. |
| scripts/lib/canonical-json.d.mts | Adds typings for canonical JSON helpers. |
| scripts/k8s/manifests/deployment.yaml | Updates init container busybox image tag. |
| scripts/cloudflare/package.json | Bumps Wrangler dev dependency version. |
| scripts/ci-hydrate-live-auth.sh | Adds DEEPSEEK_API_KEY to live auth hydration allowlist. |
| scripts/bench-gateway-startup.ts | Removes validateCliArgs from exported testing helpers. |
| qa/scenarios/channels/matrix-thread-nested-reply-shape.yaml | Removes explicit timeoutMs from matrix scenario. |
| qa/scenarios/channels/matrix-inbound-edit-no-duplicate-trigger.yaml | Removes explicit timeoutMs from matrix scenario. |
| qa/scenarios/channels/matrix-e2ee-thread-follow-up.yaml | Removes explicit timeoutMs from matrix scenario. |
| packages/sdk/package.json | Adds gateway-protocol as an SDK dependency. |
| packages/plugin-sdk/src/node-selection-runtime.ts | Adds public package facade for node selection runtime seam. |
| packages/net-policy/package.json | Bumps ipaddr.js dependency version. |
| packages/llm-core/package.json | Bumps typebox dependency version. |
| packages/gateway-protocol/src/schema/chat-history-constants.ts | Adds pending-input message prefix constant. |
| packages/gateway-client/src/index.ts | Exposes cloudflare-access module via client package barrel. |
| packages/ai/src/utils/provider-error.test.ts | Removes redundant error length cap assertion. |
| packages/ai/src/providers/transform-messages.test.ts | Removes redundant transformed length assertion. |
| packages/ai/src/internal/runtime.ts | Exposes terminal tool call argument parsing helper. |
| packages/ai/src/host.test.ts | Removes redundant provider defined assertion. |
| packages/agent-core/package.json | Bumps typebox dependency version. |
| extensions/zoom-meetings/package.json | Bumps typebox dependency version. |
| extensions/zalouser/package.json | Bumps typebox dependency version. |
| extensions/zalouser/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/zalo/src/send.test.ts | Adds assertion that proxy fetch is invoked for send. |
| extensions/zalo/src/runtime.ts | Aligns runtime PluginRuntime type import with SDK. |
| extensions/zalo/src/accounts.ts | Propagates credential diagnostics when present. |
| extensions/zalo/package.json | Updates configured env requirements (drops webhook secret). |
| extensions/xiaomi/openclaw.plugin.json | Adds additional speech provider contract alias (“mimo”). |
| extensions/xiaomi/index.ts | Threads workspaceDir through auth flow. |
| extensions/workboard/src/store-inputs.ts | Extends board input shape with automationJobId. |
| extensions/workboard/package.json | Bumps typebox dependency version. |
| extensions/whatsapp/src/auto-reply/monitor/audio-transcript.ts | Removes WhatsApp audio transcript formatting helper. |
| extensions/whatsapp/openclaw.plugin.json | Adds whatsapp_login tool contract. |
| extensions/whatsapp/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/whatsapp/call-tool-api.ts | Removes WhatsApp call tool facade barrel. |
| extensions/whatsapp/api.ts | Removes legacy flat inbound message types from API barrel. |
| extensions/voyage/openclaw.plugin.json | Renames memoryEmbeddingProviders contract to embeddingProviders. |
| extensions/voyage/index.ts | Switches registration to embedding provider API. |
| extensions/volcengine/openclaw.plugin.json | Adds additional speech provider aliases. |
| extensions/twitch/src/twitch-ingress.ts | Wires deferred heartbeat callback in ingress lifecycle. |
| extensions/tlon/doctor-contract-api.ts | Routes doctor contract API through new config-doctor API. |
| extensions/tlon/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/telegram/src/thread-spec.ts | Adds canonical telegram thread identity type. |
| extensions/telegram/src/send.ts | Exposes allowed reactions helper in send barrel. |
| extensions/telegram/src/bot-native-commands.ts | Adds dispatchReplyFromConfig param to command registration params. |
| extensions/telegram/src/bot-message-dispatch.agent.runtime.ts | Exposes resolveHumanDelayConfig from agent-runtime barrel. |
| extensions/telegram/src/bot-handlers.runtime.test.ts | Updates handler registration expectations to include my_chat_member. |
| extensions/telegram/session-binding-contract-api.ts | Removes old telegram session binding contract API barrel. |
| extensions/telegram/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/teams-meetings/package.json | Bumps typebox dependency version. |
| extensions/tavily/package.json | Bumps typebox dependency version. |
| extensions/sms/src/config-schema.ts | Adds per-account mediaMaxMb config option. |
| extensions/slack/src/monitor/media-types.ts | Adds fileName to slack media result type. |
| extensions/slack/src/message-actions.ts | Adds conversation-open slack action when messages enabled. |
| extensions/slack/src/channel-actions.ts | Marks slack actions as provider-owned read gates. |
| extensions/slack/src/account-reply-mode.ts | Aligns SlackAccountConfig type import with SDK config contracts. |
| extensions/slack/doctor-contract-api.ts | Routes doctor contract API through new config-doctor API. |
| extensions/slack/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/signal/package.json | Bumps ws dependency patch version. |
| extensions/reef/runtime-api.ts | Removes setActiveReef export from runtime API barrel. |
| extensions/qa-lab/src/suite-runtime-agent.ts | Exposes seedQaSessionEntries via suite runtime agent barrel. |
| extensions/qa-lab/src/suite-runtime-agent-process.ts | Adds taskTracking option to agent prompt runner. |
| extensions/qa-lab/src/errors.ts | Adds new QA suite artifact error codes. |
| extensions/qa-channel/src/gateway.ts | Conditionally threads channelRuntime into start flow. |
| extensions/qa-channel/package.json | Bumps typebox dependency version. |
| extensions/pixverse/onboard.ts | Threads workspaceDir through auth flow. |
| extensions/openai/index.ts | Switches registration to embedding provider API. |
| extensions/openai/default-models.ts | Consolidates provider-onboard imports for ensureModelAllowlistEntry usage. |
| extensions/open-prose/skills/prose/examples/01-hello-world.prose | Removes example prose file content. |
| extensions/open-prose/runtime-api.ts | Removes Open Prose runtime API barrel. |
| extensions/ollama/package.json | Bumps typebox dependency version. |
| extensions/oc-path/package.json | Bumps markdown-it dependency version to v15. |
| extensions/nostr/setup-entry.ts | Adds secrets contract export to bundled channel setup entry. |
| extensions/nostr/secret-contract-api.ts | Adds secret contract API export shim. |
| extensions/nostr/package.json | Bumps nostr-tools dependency patch version. |
| extensions/nostr/doctor-contract-api.test.ts | Resets plugin state store in teardown. |
| extensions/nextcloud-talk/doctor-contract-api.ts | Routes doctor contract API through new config-doctor API. |
| extensions/nextcloud-talk/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/mistral/openclaw.plugin.json | Renames memoryEmbeddingProviders contract to embeddingProviders. |
| extensions/microsoft/openclaw.plugin.json | Adds edge alias to speechProviders contract. |
| extensions/microsoft-foundry/shared.ts | Removes unsafe cast in provider config projection. |
| extensions/microsoft-foundry/cli.ts | Adds killSignal for execAz timeouts. |
| extensions/microsoft-foundry/auth.ts | Threads workspaceDir through auth flow. |
| extensions/memory-wiki/cli-metadata.test.ts | Sets api.runtime in test to satisfy runtime usage. |
| extensions/memory-core/src/memory/search-manager.ts | Adds inspectSources option to search manager params. |
| extensions/memory-core/src/cli.runtime.ts | Exposes runMemoryForget in CLI runtime barrel. |
| extensions/memory-core/doctor-health-api.ts | Adds doctor health API export shim. |
| extensions/media-understanding-core/runtime-api.ts | Removes media-understanding-core runtime API barrel. |
| extensions/mattermost/package.json | Bumps ws dependency patch version. |
| extensions/mattermost/doctor-contract-api.ts | Routes doctor contract API through new config-doctor API. |
| extensions/mattermost/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/matrix/src/runtime.ts | Aligns runtime PluginRuntime type import with SDK. |
| extensions/matrix/src/matrix/sdk/types.ts | Adds membershipProvenance field to raw event shape. |
| extensions/matrix/src/matrix/monitor/task-runner.ts | Aligns RuntimeLogger type import with SDK. |
| extensions/matrix/session-binding-contract-api.ts | Removes test reset export from matrix session binding contract API. |
| extensions/matrix/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/matrix/api.ts | Removes resetMatrixThreadBindingsForTests from API barrel. |
| extensions/logbook/src/service.test.ts | Consolidates fs imports in test module. |
| extensions/lobster/package.json | Bumps typebox dependency version. |
| extensions/lmstudio/openclaw.plugin.json | Renames memoryEmbeddingProviders contract to embeddingProviders. |
| extensions/llm-task/package.json | Bumps typebox dependency version. |
| extensions/linux-canvas/api.ts | Removes linux-canvas API barrel export. |
| extensions/irc/runtime-api.test.ts | Switches to runDirectImportSmoke from SDK test fixtures. |
| extensions/imessage/package.json | Bumps typebox dependency version. |
| extensions/imessage/api.ts | Routes target parsing helpers import through SDK channel-targets. |
| extensions/googlechat/src/auth.ts | Removes body cancel on non-ok fetch response. |
| extensions/googlechat/doctor-contract-api.ts | Routes doctor contract API through new config-doctor API. |
| extensions/googlechat/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/google/thinking-api.ts | Routes thinking helpers through SDK provider stream shared barrel. |
| extensions/google/provider-registration.ts | Skips catalog run when providerIds filters exclude google. |
| extensions/google/package.json | Bumps @google/genai dependency version. |
| extensions/google/openclaw.plugin.json | Renames memoryEmbeddingProviders contract to embeddingProviders. |
| extensions/google-meet/test-api.ts | Adds test API export shim for google-meet. |
| extensions/geolocation/tsconfig.json | Adds package-boundary tsconfig for extension. |
| extensions/firecrawl/package.json | Adds zod dependency and bumps typebox dependency version. |
| extensions/feishu/src/reply-dispatcher-runtime-api.ts | Removes feishu reply dispatcher runtime API barrel. |
| extensions/feishu/src/outbound-runtime-api.ts | Removes feishu outbound runtime API barrel. |
| extensions/feishu/src/comment-handler-runtime-api.ts | Removes feishu comment handler runtime API barrel. |
| extensions/feishu/src/comment-dispatcher-runtime-api.ts | Removes feishu comment dispatcher runtime API barrel. |
| extensions/feishu/session-binding-contract-api.ts | Removes feishu thread binding testing export from contract API. |
| extensions/feishu/doctor-contract-api.ts | Routes doctor contract API through new config-doctor API. |
| extensions/feishu/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/feishu/api.ts | Removes feishu subagent spawning hook from API barrel. |
| extensions/document-extract/package.json | Bumps clawpdf dependency patch version. |
| extensions/discord/src/monitor/threading.ts | Removes discord thread starter cache reset export. |
| extensions/discord/src/components.ts | Exposes component param coercion helper. |
| extensions/discord/src/channel-type.ts | Adds helper for identifying discord thread channel types. |
| extensions/discord/src/api-barrel.test.ts | Updates API barrel surface expectations (removes spawning hook). |
| extensions/discord/openclaw.plugin.json | Removes tools contract entries for discord widget tools. |
| extensions/discord/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/discord/api.ts | Removes discord subagent spawning hook from API barrel. |
| extensions/diffs/src/url.ts | Switches gateway port resolution import to new gateway-config runtime seam. |
| extensions/cua-computer/src/execution-state.ts | Adds execution state type for CUA computer extension. |
| extensions/cua-computer/api.ts | Adds API shim exposing CUA doctor checks. |
| extensions/copilot/src/attempt-mode.ts | Adds helper to detect raw Copilot model run mode. |
| extensions/copilot/package.json | Bumps @github/copilot-sdk dependency version. |
| extensions/copilot-proxy/README.md | Updates enablement instructions to reflect default-enabled state. |
| extensions/comfy/music-generation-provider.ts | Threads timeoutMs into provider run call. |
| extensions/codex/src/session-catalog-pty.runtime.ts | Adds narrow PTY seam for codex session catalog tests. |
| extensions/cloudflare-ai-gateway/index.ts | Threads workspaceDir through auth flow. |
| extensions/clickclack/package.json | Bumps ws dependency patch version. |
| extensions/clickclack/doctor-contract-api.ts | Routes doctor contract API through new config-doctor API. |
| extensions/clickclack/config-doctor-api.ts | Adds config doctor API export shim. |
| extensions/canvas/test-api.ts | Removes canvas test API barrel export. |
| extensions/browser/src/config/paths.ts | Removes redundant gateway port path helper export. |
| extensions/browser/src/config/config.ts | Removes BrowserConfig type re-export from config barrel. |
| extensions/browser/src/browser/profiles.ts | Switches parseBrowserHttpUrl import to browser-cdp SDK seam. |
| extensions/browser/src/browser/playwright-core-bundle.runtime.d.mts | Adds minimal typings for playwright core bundle runtime. |
| extensions/browser/src/browser-proxy-upload-cleanup.runtime.ts | Adds runtime seam for browser proxy upload cleanup. |
| extensions/browser/src/attached-browser-tool-runtime.ts | Stops deleting extensionRelayToken field during attach-only runtime setup. |
| extensions/bonjour/package.json | Bumps @homebridge/ciao dependency patch version. |
| extensions/bonjour/index.ts | Removes canvasPort field from bonjour gateway discovery payload. |
| extensions/anthropic/session-catalog-types.ts | Adds optional color field to anthropic session catalog shape. |
| extensions/anthropic/api.ts | Exposes anthropic CLI backend builder via API barrel. |
| extensions/amazon-bedrock/openclaw.plugin.json | Renames memoryEmbeddingProviders contract to embeddingProviders. |
| extensions/acpx/runtime-api.ts | Exposes ACP runtime config option result type. |
| extensions/acpx/index.ts | Narrows eligible dispatch kinds for reply_dispatch hook registration. |
| extensions/acpx/doctor-contract-api.test.ts | Resets plugin state store in teardown. |
| extensions/a2a/tsconfig.json | Adds package-boundary tsconfig for extension. |
| extensions/a2a/src/runtime-api.ts | Adds runtime API type re-exports for A2A channel module. |
| extensions/a2a/src/channel.setup.ts | Adds A2A channel setup plugin implementation. |
| extensions/a2a/setup-plugin-api.ts | Adds setup-plugin API export shim for A2A. |
| extensions/a2a/runtime-api.ts | Adds runtime API export surface for A2A. |
| extensions/a2a/channel-plugin-api.ts | Adds channel plugin API export shim for A2A. |
| docs/plugins/reference/zoom-meetings.md | Documents CLI command surface alongside contracts. |
| docs/plugins/reference/voice-call.md | Documents CLI command surface alongside contracts/skills. |
| docs/plugins/reference/vault.md | Documents CLI command surface. |
| docs/plugins/reference/teams-meetings.md | Documents CLI command surface alongside contracts. |
| docs/plugins/reference/talk-voice.md | Updates wording to “slash commands” for voice selection. |
| docs/plugins/reference/reef.md | Documents CLI command surface alongside channel surface. |
| docs/plugins/reference/qa-lab.md | Documents CLI command surface alongside contracts. |
| docs/plugins/reference/policy.md | Documents CLI command surface. |
| docs/plugins/reference/onepassword.md | Documents CLI command surface alongside contracts. |
| docs/plugins/reference/ollama.md | Updates docs to embeddingProviders contract naming. |
| docs/plugins/reference/oc-path.md | Documents CLI command surface. |
| docs/plugins/reference/mistral.md | Updates docs to embeddingProviders contract naming. |
| docs/plugins/reference/memory-wiki.md | Documents CLI command surface alongside contracts/skills. |
| docs/plugins/reference/memory-lancedb.md | Documents CLI command surface alongside contracts. |
| docs/plugins/reference/memory-core.md | Documents CLI command surface alongside slash commands/contracts. |
| docs/plugins/reference/matrix.md | Documents CLI command surface alongside channel surface. |
| docs/plugins/reference/lmstudio.md | Updates docs to embeddingProviders contract naming. |
| docs/plugins/reference/google-meet.md | Documents CLI command surface alongside contracts. |
| docs/plugins/reference/github-copilot.md | Updates docs to embeddingProviders contract naming. |
| docs/plugins/reference/discord.md | Updates docs to reflect removed tools contract surface. |
| docs/plugins/reference/diffs.md | Clarifies ClawHub install route string. |
| docs/plugins/reference/device-pair.md | Updates wording to “slash commands” for pairing. |
| docs/plugins/reference/browser.md | Documents CLI command surface alongside contracts/skills. |
| docs/plugins/reference/amazon-bedrock.md | Updates docs to embeddingProviders contract naming. |
| docs/plugins/reference.md | Updates generated plugin reference count. |
| docs/.generated/config-baseline.counts.json | Updates config baseline counts to match new schema surface. |
| apps/shared/OpenClawMLXTTSProtocol/Package.swift | Bumps swift-tools-version to 6.3. |
| apps/shared/OpenClawKit/Package.swift | Bumps swift-tools-version to 6.3. |
| apps/macos-mlx-tts/Package.swift | Bumps swift-tools-version to 6.3. |
| apps/linux/src-tauri/src/quickchat_widgets.rs | Gates session_snapshot helper behind cfg(test). |
| apps/ios/Gemfile | Adds Ruby/Fastlane toolchain pin for iOS workflows. |
| apps/ios/CHANGELOG.md | Notes new session color selection feature. |
| apps/ios/.ruby-version | Adds Ruby version pin file for iOS tooling. |
| apps/android/wear/src/debug/res/values/strings.xml | Adds debug app_name override (“OpenClaw Dev”). |
| apps/android/wear/build.gradle.kts | Adds debug applicationId/versionName suffixes. |
| apps/android/app/src/debug/res/values/strings.xml | Adds debug app_name override (“OpenClaw Dev”). |
| .qmdignore | Adds Quarto ignore rules for common build/env directories. |
| .github/workflows/install-smoke.yml | Updates workflow input description for broader smoke coverage. |
| .github/release/clawhub-cli/package.json | Bumps clawhub release tool dependency version. |
| .github/dependabot.yml | Increases cooldown and excludes codex packages from updates. |
| .github/codeql/openclaw-boundary/tests/network-runtime/raw-socket-callsite-classification.qlref | Adds CodeQL test query reference file. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/unrelated/src/client.ts | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/tools/client.ts | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/src/client-ts.ts | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/src/client-mts.test.mts | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/src/client-mts.mts | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/src/client-mjs.test.mjs | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/src/client-mjs.mjs | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/src/client-js.test.js | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/packages/net-policy/src/client-js.js | Adds CodeQL boundary test fixture for raw socket usage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/options | Adds extractor options for CodeQL boundary test coverage. |
| .github/codeql/openclaw-boundary/tests/network-runtime/managed-proxy-runtime-mutation.qlref | Adds CodeQL test query reference file. |
| .github/actions/detect-docs-changes/action.yml | Treats markdownlint config changes as docs changes. |
Review details
- Files reviewed: 136/18712 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Record the existing sessions_history compactionId parameter and description in the generated Codex prompt fixtures. Refresh the derived size metadata and SHA-bound prompt deltas without changing runtime behavior.
Provide input metadata for each selected or fallback model in memory flush unit fixtures. This keeps compaction accounting, thinking, maintenance routing and harness assertions isolated from unrelated cold provider catalog discovery.
openclaw#166738) Builds on openclaw#166737 (merged: curated `scripts/lib/recommended-models.json` + shared `canonicalModelKey`/`canonicalModelFamily`/`compareModelRecency`); this PR only adds the helper script and its test. ## What Problem This Solves The recommended-models list is now curated by hand, so a maintainer needs a daily, reviewable signal for what to change: new releases, Arena reorderings, and entries that are retired or no longer served. ## User Impact No user-visible change. Maintainers (and later a daily draft-PR agent) can run ``` OPENROUTER_API_KEY=... node --import ./scripts/tsx.mjs scripts/suggest-recommended-models.mts [--list <path>] ``` and get a markdown report ending in a unified diff against `scripts/lib/recommended-models.json`. The list file is never written; a human edits it. ## Why This Change Was Made TypeScript port of the recv2 prototype's ranking: LMArena Agent Arena score first; equal scores, and models without one, order by OpenRouter 30-day usage. The newest served family member without its own Arena row takes the slot of its newest ranked older sibling, counting at least that sibling's usage, so it sorts directly ahead of it (release date decides recency, so grok-4.20 does not outrank grok-4.7). DeepSWE is dropped; `-fast` and other serving variants fold into the base model. - Inputs: every run fetches each source fresh, with no cache; a failed request or a response that fails schema validation fails that run. Sources: LMArena Agent Arena `agent/latest` through the HF datasets-server JSON rows endpoint (no parquet dependency), OpenRouter `/api/v1/models`, OpenRouter `rankings-daily` (only when `OPENROUTER_API_KEY` is set; otherwise curated entries without an Arena score keep their order), Vercel `/v1/models`, and the hosted catalog v2. - Identity: each source id resolves once through the shared `canonicalModelKey`, with its display name, so dated aliases join their versioned model. Examples: `mistral-small-2603` is Mistral Small 4, OpenRouter `mistral-large-4-0` matches Vercel `mistral-large-4`, and usage arrives through OpenRouter `canonical_slug`. Non-chat models are excluded by gateway modality or type labels; `-latest` aliases are excluded. - Report sections: - **New models:** first seen within 7 days and not listed. Each shows its likely same-family predecessor and both prices, and is flagged `possible new class` when either price differs by more than 2x or the family has no predecessor. - **Arena moves:** rank changes among entries both lists keep, largest first. - **Gone or deprecated:** first-party retired with its replacement, no longer served, or no signal. - **Suggested list:** the full ordered list plus the diff. No overlap with Pash/Sarah changes (the PR adds one new file). ## Evidence - Port fidelity: on the live inputs, the helper reproduced the prototype's 86-id suggested list exactly before the review-driven identity fixes. Two differences remain, and openclaw#166737's seed list already includes both: `mistral-medium-2604` is folded into `mistral-medium-3.5` because they are the same model, and `ling-3.0-flash-*` is now spelled `ling-3-flash-*` because zero minor versions fold. - Typecheck: `node scripts/run-tsgo.mjs -p tsconfig.scripts.json` and `tsgo:test:root` report no errors; scoped oxlint and oxfmt are clean. `canonical-model-key.test.ts` passed 32/32. - Ordering: `test/scripts/suggest-recommended-models.test.ts` feeds stubbed sources through the real entry point. Two models tied on Arena score order by usage (the higher-usage one first, against alphabetical order), and a successor that inherits its sibling's Arena slot still sorts ahead of that higher-usage sibling. With the previous alphabetical tiebreak the test fails. - Cost: `pnpm test test/scripts/suggest-recommended-models.test.ts --maxWorkers=1` takes 2.2 s wall end to end (Vitest 0.78 s; the test itself 9 ms). CI on this head: run 37692398322, green in 595 s wall and 5,717 job-seconds across 58 jobs for the whole PR; the new test adds about 9 ms of that. - Error and fallback paths: a list containing `claude-opus-4.8` reported "retired by its first-party provider; replaced by claude-opus-5", and `nonexistent-model-9` reported "no host serves it". A missing `--list` file exits 1 with a clear message. Without a key, the report states that usage was skipped and keeps unscored curated entries. With an invalid `OPENROUTER_API_KEY`, the run exits 1 with `https://openrouter.ai/api/v1/datasets/rankings-daily returned HTTP 401` and prints no report. - Live run: all inputs were fetched fresh (5 requests, 3.9 s wall). Both outputs below are copied verbatim. In the live data the only exact Arena ties are successor/sibling pairs (`gpt-5.6`/`gpt-5.4`, `mimo-v2.6-pro`/`mimo-v2.5-pro`), and each successor sorts first. Run against the curated list in openclaw#166737, using the default path: # Recommended models suggestion, 2026-10-07 ## Sources - LMArena Agent Arena, published 2026-10-02: 50 rows, 48 models. Source: LMArena Agent Arena (lmarena-ai/leaderboard-dataset), CC BY 4.0. - OpenRouter rankings-daily 2026-09-07..2026-10-06. Source: OpenRouter (openrouter.ai/rankings), as of 2026-10-07T21:06:52.590Z. Licensed under CC BY 4.0. - Catalog v2 generated 2026-09-29 (1039 rows), OpenRouter models (467), Vercel AI Gateway models (415): 490 served chat models. ## New models (first seen in the last 7 days, not listed) | model | first seen | suggested | price in/out per 1M | predecessor | predecessor price | note | | --- | --- | --- | --- | --- | --- | --- | | glyph-cluster | 2026-10-07 | no signal yet | ? | none | | possible new class: no predecessor | | mistral-large-4 | 2026-10-06 | no signal yet | $0.68 / $2.09 | mistral-large-3 | $0.5 / $1.5 | | | apodex-1.1-mini | 2026-10-01 | no signal yet | ? | none | | possible new class: no predecessor | | pareto-26.10-preview | 2026-10-01 | no signal yet | $0.8 / $3.2 | none | | possible new class: no predecessor | ## Arena moves None. ## Gone or deprecated None. ## Suggested list <details><summary>85 models</summary> | # | model | signal | | --- | --- | --- | | 1 | claude-fable-5.1 | Arena 0.143 (#1) | | 2 | claude-opus-5.5 | Arena 0.138 (#2) | | 3 | claude-sonnet-5.5 | Arena 0.125 (#3) | | 4 | gpt-6-astra | Arena 0.123 (#4) | | 5 | gpt-6.1-sol | Arena 0.112 (#5) | | 6 | gpt-6-sol | Arena 0.097 (#6) | | 7 | claude-opus-5 | Arena 0.087 (#7) | | 8 | claude-fable-5 | Arena 0.082 (#8) | | 9 | gpt-5.6-sol | Arena 0.065 (#12) | | 10 | claude-sonnet-5 | Arena 0.044 (#13) | | 11 | kimi-k3 | Arena 0.042 (openclaw#14) | | 12 | grok-4.7 | Arena 0.040 (openclaw#16) | | 13 | deepseek-v4.1-flash | Arena 0.040 (openclaw#17) | | 14 | muse-spark-1.3 | Arena 0.040 (openclaw#18) | | 15 | hy4-preview | Arena 0.040 (openclaw#19) | | 16 | glm-5.2 | Arena 0.035 (openclaw#20) | | 17 | gemini-3.8-flash | Arena 0.030 (openclaw#21) | | 18 | qwen3.8-max | Arena 0.025 (openclaw#22) | | 19 | glm-5.3 | Arena 0.024 (openclaw#23) | | 20 | gpt-6-luna | Arena 0.014 (openclaw#24) | | 21 | grok-4.6 | Arena 0.013 (openclaw#25) | | 22 | grok-4.5 | Arena 0.012 (openclaw#26) | | 23 | deepseek-v4-pro | Arena 0.012 (openclaw#27) | | 24 | gpt-5.6 | Arena 0.011 (openclaw#28) via gpt-5.4 | | 25 | gpt-5.4 | Arena 0.011 (openclaw#28) | | 26 | step-5-preview | Arena 0.005 (openclaw#30) | | 27 | gpt-5.6-terra | Arena 0.004 (openclaw#31) | | 28 | glm-5.3-flash | Arena -0.004 (openclaw#32) | | 29 | mimo-v2.6-flash | Arena -0.006 (openclaw#33) | | 30 | gpt-5.6-luna | Arena -0.012 (openclaw#35) | | 31 | gemini-3.7-flash | Arena -0.015 (openclaw#36) | | 32 | qwen3.8-27b | Arena -0.017 (openclaw#37) | | 33 | muse-spark-1.2 | Arena -0.033 (openclaw#38) | | 34 | muse-spark-1.1 | Arena -0.049 (openclaw#39) | | 35 | qwen3.7-max | Arena -0.051 (openclaw#40) | | 36 | hy3 | Arena -0.054 (openclaw#41) | | 37 | minimax-m3 | Arena -0.069 (openclaw#42) | | 38 | qwen3.7-plus | Arena -0.072 (openclaw#43) | | 39 | mimo-v2.6-pro | Arena -0.075 (openclaw#44) via mimo-v2.5-pro | | 40 | mimo-v2.5-pro | Arena -0.075 (openclaw#44) | | 41 | gemini-3.6-flash | Arena -0.077 (openclaw#45) | | 42 | gemini-3.1-pro-preview | Arena -0.077 (openclaw#46) | | 43 | inkling-small | Arena -0.103 (openclaw#47) | | 44 | inkling | Arena -0.109 (openclaw#48) | | 45 | mistral-medium-3.5 | Arena -0.124 (openclaw#49) | | 46 | solar-pro4 | Arena -0.159 (openclaw#50) | | 47 | space-bunny-alpha | OpenRouter 56.7T | | 48 | deepseek-v4-flash | OpenRouter 53.3T | | 49 | nemotron-3-ultra-550b-a55b | OpenRouter 21.1T | | 50 | mimo-v2.5 | OpenRouter 18.9T | | 51 | laguna-s-2.1 | OpenRouter 4.6T | | 52 | gemini-3-flash-preview | OpenRouter 3.4T | | 53 | ling-3-flash-fin | OpenRouter 3.4T | | 54 | gemini-2.5-flash-lite | OpenRouter 3.0T | | 55 | nemotron-3.5-lightning | OpenRouter 2.7T | | 56 | gpt-oss-120b | OpenRouter 2.5T | | 57 | dots-3-note-preview | OpenRouter 2.4T | | 58 | gemini-3.1-flash-lite | OpenRouter 2.1T | | 59 | gemini-2.5-flash | OpenRouter 2.0T | | 60 | qwen3.8-flash | OpenRouter 1.8T | | 61 | gemma-4-31b | OpenRouter 1.7T | | 62 | claude-sonnet-4.6 | OpenRouter 1.4T | | 63 | deepseek-v3.2 | OpenRouter 1.4T | | 64 | qwen3.7-flash | OpenRouter 1.4T | | 65 | ling-3-flash-sante | OpenRouter 1.2T | | 66 | nemotron-3-super-120b-a12b | OpenRouter 1.2T | | 67 | nex-n2.5-pro | OpenRouter 1.1T | | 68 | ling-3-flash-vl | OpenRouter 1.0T | | 69 | gpt-6-luna-pro | OpenRouter 853B | | 70 | gemma-4-26b-a4b | OpenRouter 845B | | 71 | gpt-5.6-luna-pro | OpenRouter 566B | | 72 | solar-mini4 | OpenRouter 510B | | 73 | deepseek-v4-flash-vision-exp | OpenRouter 430B | | 74 | mistral-nemo | OpenRouter 384B | | 75 | ling-3.1-flash | OpenRouter 298B | | 76 | glm-5.3-flashx | OpenRouter 187B | | 77 | gpt-oss-20b | OpenRouter 127B | | 78 | gemini-3.5-flash-lite | OpenRouter 124B | | 79 | minimax-m2.7 | OpenRouter 113B | | 80 | gpt-4o-mini | OpenRouter 89B | | 81 | claude-haiku-5.5 | OpenRouter 82B via claude-haiku-4.5 | | 82 | claude-haiku-4.5 | OpenRouter 82B | | 83 | claude-opus-4.7 | OpenRouter 55B | | 84 | step-3.7-flash | OpenRouter 50B | | 85 | claude-sonnet-4.5 | OpenRouter 46B | </details> No changes to the curated list. <details><summary>Same inputs against the 2026-09-27 list (shows Arena moves, a drop, a 10x price flag and the diff)</summary> # Recommended models suggestion, 2026-10-07 ## Sources - LMArena Agent Arena, published 2026-10-02: 50 rows, 48 models. Source: LMArena Agent Arena (lmarena-ai/leaderboard-dataset), CC BY 4.0. - OpenRouter rankings-daily 2026-09-07..2026-10-06. Source: OpenRouter (openrouter.ai/rankings), as of 2026-10-07T21:07:02.742Z. Licensed under CC BY 4.0. - Catalog v2 generated 2026-09-29 (1039 rows), OpenRouter models (467), Vercel AI Gateway models (415): 490 served chat models. ## New models (first seen in the last 7 days, not listed) | model | first seen | suggested | price in/out per 1M | predecessor | predecessor price | note | | --- | --- | --- | --- | --- | --- | --- | | claude-haiku-5.5 | 2026-10-07 | openclaw#81 | $0.1 / $0.5 | claude-haiku-4.5 | $1 / $5 | possible new class: price 10.0x | | glyph-cluster | 2026-10-07 | no signal yet | ? | none | | possible new class: no predecessor | | mistral-large-4 | 2026-10-06 | no signal yet | $0.68 / $2.09 | mistral-large-3 | $0.5 / $1.5 | | | apodex-1.1-mini | 2026-10-01 | no signal yet | ? | none | | possible new class: no predecessor | | pareto-26.10-preview | 2026-10-01 | no signal yet | $0.8 / $3.2 | none | | possible new class: no predecessor | ## Arena moves | model | listed | suggested | signal | | --- | --- | --- | --- | | mimo-v2.6-flash | openclaw#47 | openclaw#29 | Arena -0.006 (openclaw#33) | | gpt-6-luna | openclaw#24 | openclaw#20 | Arena 0.014 (openclaw#24) | | grok-4.7 | openclaw#15 | #12 | Arena 0.040 (openclaw#16) | | deepseek-v4-pro | openclaw#16 | openclaw#23 | Arena 0.012 (openclaw#27) | | gemini-3.8-flash | #11 | openclaw#17 | Arena 0.030 (openclaw#21) | | hy4-preview | #10 | openclaw#15 | Arena 0.040 (openclaw#19) | | mimo-v2.6-pro | openclaw#32 | openclaw#39 | Arena -0.075 (openclaw#44) via mimo-v2.5-pro | | mimo-v2.5-pro | openclaw#33 | openclaw#40 | Arena -0.075 (openclaw#44) | | gemini-3.1-pro-preview | openclaw#35 | openclaw#42 | Arena -0.077 (openclaw#46) | | solar-pro4 | openclaw#45 | openclaw#46 | Arena -0.159 (openclaw#50) | | gpt-6-sol | #6 | #6 | Arena 0.097 (#6) | | muse-spark-1.3 | openclaw#14 | openclaw#14 | Arena 0.040 (openclaw#18) | | qwen3.8-max | openclaw#18 | openclaw#18 | Arena 0.025 (openclaw#22) | | gpt-5.6-terra | openclaw#21 | openclaw#27 | Arena 0.004 (openclaw#31) | | qwen3.7-plus | openclaw#36 | openclaw#38 | Arena -0.072 (openclaw#43) | | claude-opus-5.5 | #3 | #2 | Arena 0.138 (#2) | | gpt-6-astra | #2 | #4 | Arena 0.123 (#4) | | claude-opus-5 | #4 | #7 | Arena 0.087 (#7) | | claude-fable-5 | #5 | #8 | Arena 0.082 (#8) | | deepseek-v4.1-flash | #12 | #13 | Arena 0.040 (openclaw#17) | | glm-5.2 | #13 | openclaw#16 | Arena 0.035 (openclaw#20) | | grok-4.6 | openclaw#20 | openclaw#21 | Arena 0.013 (openclaw#25) | | grok-4.5 | openclaw#19 | openclaw#22 | Arena 0.012 (openclaw#26) | | glm-5.3-flash | openclaw#23 | openclaw#28 | Arena -0.004 (openclaw#32) | | gpt-5.6-luna | openclaw#25 | openclaw#30 | Arena -0.012 (openclaw#35) | | gemini-3.7-flash | openclaw#26 | openclaw#31 | Arena -0.015 (openclaw#36) | | qwen3.8-27b | openclaw#27 | openclaw#32 | Arena -0.017 (openclaw#37) | | muse-spark-1.2 | openclaw#28 | openclaw#33 | Arena -0.033 (openclaw#38) | | muse-spark-1.1 | openclaw#29 | openclaw#34 | Arena -0.049 (openclaw#39) | | qwen3.7-max | openclaw#30 | openclaw#35 | Arena -0.051 (openclaw#40) | | hy3 | openclaw#31 | openclaw#36 | Arena -0.054 (openclaw#41) | | minimax-m3 | openclaw#34 | openclaw#37 | Arena -0.069 (openclaw#42) | | inkling-small | openclaw#38 | openclaw#43 | Arena -0.103 (openclaw#47) | | inkling | openclaw#39 | openclaw#44 | Arena -0.109 (openclaw#48) | | mistral-medium-3.5 | openclaw#40 | openclaw#45 | Arena -0.124 (openclaw#49) | 29 usage-ranked entries also move; see the diff. ## Gone or deprecated - ling-3.0-flash-fin: no host serves it - ling-3.0-flash-vl: no host serves it - ling-3.0-flash-sante: no host serves it - kimi-k2.6: no Arena score and no OpenRouter usage in the window ## Suggested list <details><summary>85 models</summary> | # | model | signal | | --- | --- | --- | | 1 | claude-fable-5.1 | Arena 0.143 (#1) | | 2 | claude-opus-5.5 | Arena 0.138 (#2) | | 3 | claude-sonnet-5.5 | Arena 0.125 (#3) | | 4 | gpt-6-astra | Arena 0.123 (#4) | | 5 | gpt-6.1-sol | Arena 0.112 (#5) | | 6 | gpt-6-sol | Arena 0.097 (#6) | | 7 | claude-opus-5 | Arena 0.087 (#7) | | 8 | claude-fable-5 | Arena 0.082 (#8) | | 9 | gpt-5.6-sol | Arena 0.065 (#12) | | 10 | claude-sonnet-5 | Arena 0.044 (#13) | | 11 | kimi-k3 | Arena 0.042 (openclaw#14) | | 12 | grok-4.7 | Arena 0.040 (openclaw#16) | | 13 | deepseek-v4.1-flash | Arena 0.040 (openclaw#17) | | 14 | muse-spark-1.3 | Arena 0.040 (openclaw#18) | | 15 | hy4-preview | Arena 0.040 (openclaw#19) | | 16 | glm-5.2 | Arena 0.035 (openclaw#20) | | 17 | gemini-3.8-flash | Arena 0.030 (openclaw#21) | | 18 | qwen3.8-max | Arena 0.025 (openclaw#22) | | 19 | glm-5.3 | Arena 0.024 (openclaw#23) | | 20 | gpt-6-luna | Arena 0.014 (openclaw#24) | | 21 | grok-4.6 | Arena 0.013 (openclaw#25) | | 22 | grok-4.5 | Arena 0.012 (openclaw#26) | | 23 | deepseek-v4-pro | Arena 0.012 (openclaw#27) | | 24 | gpt-5.6 | Arena 0.011 (openclaw#28) via gpt-5.4 | | 25 | gpt-5.4 | Arena 0.011 (openclaw#28) | | 26 | step-5-preview | Arena 0.005 (openclaw#30) | | 27 | gpt-5.6-terra | Arena 0.004 (openclaw#31) | | 28 | glm-5.3-flash | Arena -0.004 (openclaw#32) | | 29 | mimo-v2.6-flash | Arena -0.006 (openclaw#33) | | 30 | gpt-5.6-luna | Arena -0.012 (openclaw#35) | | 31 | gemini-3.7-flash | Arena -0.015 (openclaw#36) | | 32 | qwen3.8-27b | Arena -0.017 (openclaw#37) | | 33 | muse-spark-1.2 | Arena -0.033 (openclaw#38) | | 34 | muse-spark-1.1 | Arena -0.049 (openclaw#39) | | 35 | qwen3.7-max | Arena -0.051 (openclaw#40) | | 36 | hy3 | Arena -0.054 (openclaw#41) | | 37 | minimax-m3 | Arena -0.069 (openclaw#42) | | 38 | qwen3.7-plus | Arena -0.072 (openclaw#43) | | 39 | mimo-v2.6-pro | Arena -0.075 (openclaw#44) via mimo-v2.5-pro | | 40 | mimo-v2.5-pro | Arena -0.075 (openclaw#44) | | 41 | gemini-3.6-flash | Arena -0.077 (openclaw#45) | | 42 | gemini-3.1-pro-preview | Arena -0.077 (openclaw#46) | | 43 | inkling-small | Arena -0.103 (openclaw#47) | | 44 | inkling | Arena -0.109 (openclaw#48) | | 45 | mistral-medium-3.5 | Arena -0.124 (openclaw#49) | | 46 | solar-pro4 | Arena -0.159 (openclaw#50) | | 47 | space-bunny-alpha | OpenRouter 56.7T | | 48 | deepseek-v4-flash | OpenRouter 53.3T | | 49 | nemotron-3-ultra-550b-a55b | OpenRouter 21.1T | | 50 | mimo-v2.5 | OpenRouter 18.9T | | 51 | laguna-s-2.1 | OpenRouter 4.6T | | 52 | gemini-3-flash-preview | OpenRouter 3.4T | | 53 | ling-3-flash-fin | OpenRouter 3.4T | | 54 | gemini-2.5-flash-lite | OpenRouter 3.0T | | 55 | nemotron-3.5-lightning | OpenRouter 2.7T | | 56 | gpt-oss-120b | OpenRouter 2.5T | | 57 | dots-3-note-preview | OpenRouter 2.4T | | 58 | gemini-3.1-flash-lite | OpenRouter 2.1T | | 59 | gemini-2.5-flash | OpenRouter 2.0T | | 60 | qwen3.8-flash | OpenRouter 1.8T | | 61 | gemma-4-31b | OpenRouter 1.7T | | 62 | claude-sonnet-4.6 | OpenRouter 1.4T | | 63 | deepseek-v3.2 | OpenRouter 1.4T | | 64 | qwen3.7-flash | OpenRouter 1.4T | | 65 | ling-3-flash-sante | OpenRouter 1.2T | | 66 | nemotron-3-super-120b-a12b | OpenRouter 1.2T | | 67 | nex-n2.5-pro | OpenRouter 1.1T | | 68 | ling-3-flash-vl | OpenRouter 1.0T | | 69 | gpt-6-luna-pro | OpenRouter 853B | | 70 | gemma-4-26b-a4b | OpenRouter 845B | | 71 | gpt-5.6-luna-pro | OpenRouter 566B | | 72 | solar-mini4 | OpenRouter 510B | | 73 | deepseek-v4-flash-vision-exp | OpenRouter 430B | | 74 | mistral-nemo | OpenRouter 384B | | 75 | ling-3.1-flash | OpenRouter 298B | | 76 | glm-5.3-flashx | OpenRouter 187B | | 77 | gpt-oss-20b | OpenRouter 127B | | 78 | gemini-3.5-flash-lite | OpenRouter 124B | | 79 | minimax-m2.7 | OpenRouter 113B | | 80 | gpt-4o-mini | OpenRouter 89B | | 81 | claude-haiku-5.5 | OpenRouter 82B via claude-haiku-4.5 | | 82 | claude-haiku-4.5 | OpenRouter 82B | | 83 | claude-opus-4.7 | OpenRouter 55B | | 84 | step-3.7-flash | OpenRouter 50B | | 85 | claude-sonnet-4.5 | OpenRouter 46B | </details> ```diff --- a/../../../../../../tmp/recprobe/list-20260927.json +++ b/../../../../../../tmp/recprobe/list-20260927.json @@ -1,80 +1,87 @@ [ "claude-fable-5.1", - "gpt-6-astra", "claude-opus-5.5", + "claude-sonnet-5.5", + "gpt-6-astra", + "gpt-6.1-sol", + "gpt-6-sol", "claude-opus-5", "claude-fable-5", - "gpt-6-sol", "gpt-5.6-sol", "claude-sonnet-5", "kimi-k3", - "hy4-preview", - "gemini-3.8-flash", + "grok-4.7", "deepseek-v4.1-flash", - "glm-5.2", "muse-spark-1.3", - "grok-4.7", - "deepseek-v4-pro", - "glm-5.3", + "hy4-preview", + "glm-5.2", + "gemini-3.8-flash", "qwen3.8-max", - "grok-4.5", + "glm-5.3", + "gpt-6-luna", "grok-4.6", - "gpt-5.6-terra", + "grok-4.5", + "deepseek-v4-pro", + "gpt-5.6", "gpt-5.4", + "step-5-preview", + "gpt-5.6-terra", "glm-5.3-flash", - "gpt-6-luna", + "mimo-v2.6-flash", "gpt-5.6-luna", "gemini-3.7-flash", "qwen3.8-27b", "muse-spark-1.2", "muse-spark-1.1", "qwen3.7-max", "hy3", - "mimo-v2.6-pro", - "mimo-v2.5-pro", "minimax-m3", - "gemini-3.1-pro-preview", "qwen3.7-plus", + "mimo-v2.6-pro", + "mimo-v2.5-pro", "gemini-3.6-flash", + "gemini-3.1-pro-preview", "inkling-small", "inkling", "mistral-medium-3.5", + "solar-pro4", + "space-bunny-alpha", "deepseek-v4-flash", - "mimo-v2.5", "nemotron-3-ultra-550b-a55b", - "space-bunny-alpha", - "solar-pro4", + "mimo-v2.5", "laguna-s-2.1", - "mimo-v2.6-flash", - "ling-3.0-flash-fin", "gemini-3-flash-preview", - "nemotron-3.5-lightning", + "ling-3-flash-fin", "gemini-2.5-flash-lite", - "claude-sonnet-4.6", + "nemotron-3.5-lightning", "gpt-oss-120b", - "gemini-2.5-flash", - "gemini-3.1-flash-lite", "dots-3-note-preview", - "deepseek-v3.2", - "gemma-4-31b", + "gemini-3.1-flash-lite", + "gemini-2.5-flash", "qwen3.8-flash", + "gemma-4-31b", + "claude-sonnet-4.6", + "deepseek-v3.2", + "qwen3.7-flash", + "ling-3-flash-sante", "nemotron-3-super-120b-a12b", + "nex-n2.5-pro", + "ling-3-flash-vl", + "gpt-6-luna-pro", "gemma-4-26b-a4b", "gpt-5.6-luna-pro", - "qwen3.7-flash", - "ling-3.0-flash-vl", - "minimax-m2.7", + "solar-mini4", "deepseek-v4-flash-vision-exp", - "gpt-oss-20b", - "ling-3.0-flash-sante", - "step-3.7-flash", - "claude-haiku-4.5", "mistral-nemo", - "gpt-4o-mini", + "ling-3.1-flash", "glm-5.3-flashx", + "gpt-oss-20b", "gemini-3.5-flash-lite", - "gpt-6-luna-pro", + "minimax-m2.7", + "gpt-4o-mini", + "claude-haiku-5.5", + "claude-haiku-4.5", "claude-opus-4.7", - "claude-sonnet-4.5", - "kimi-k2.6" + "step-3.7-flash", + "claude-sonnet-4.5" ] ``` </details> ## Merge danger This is a two-way door: it adds one new dev script and its test, writes no files, and is never wired into CI or publishing. A revert removes it completely. If it is wrong, the impact is limited to a misleading suggestion report that a human reviews before editing the list. Co-authored-by: Ayaan Zaidi <[email protected]>
openclaw#182140 carried worker commits back on reclaim, but repository sessions never used it: their upload and checkpoint handoff did not request Git history, the Gateway's compact bare store deliberately holds no upstream history (so it lacks the base the worker's delta pack builds on), and adoption returned silently. Repository sessions now capture the worker's bounded, strictly verified delta pack and retain it as an opaque object with the existing checkpoint; restore, restart, fork and Gateway materialization fetch the pinned base as before, import the delta, verify ancestry, and put the managed branch at the worker head when the base is unchanged. Commits that cannot be retained (oversize, missing history, non-descending) now record the visible not-adopted note instead of disappearing. The store still keeps no upstream history. Live: on main a worker commit in an octocat/Hello-World session vanished after reclaim (parentless result commits only); with this change the checkpoint records base 7fd1a60 -> head 7cf381c and the next turn, restored onto a fresh AWS worker, showed git log '7cf381c cloudmatrix proof1024b-repo-aws' on top of '7fd1a60 Merge pull request #6'. Refs openclaw#110498 openclaw#182140.
## What Problem This Solves A message steered into a running turn can carry a document attachment. The model sees the message with its media note and the rendered document text. The transcript stored only the typed text. The next run replayed the shorter message, so its bytes changed in the middle of history. That broke the provider's prompt-cache prefix from that point on, and later runs lost the document text. Normal sent turns did not have this problem. ## User Impact After you steer a message with a document into a running turn, later runs replay the same message the model first saw. They keep the document text, and the cached prefix stays intact. Nothing changes in config, and no new storage field is added: the existing `__openclaw.modelPromptProjection` field holds the text. ## Why This Change Was Made One owner already freezes what the model saw for a sent turn: `installModelPromptProjection` (`attempt-llm-boundary.ts`). It captures the text into the turn recorder's `modelPromptProjection` before the request leaves. It only ever looked at the recorder that started the attempt. A steered message has its own recorder, so its row kept plain text. The change makes the same owner capture steers too: - The attempt's transcript-context registry now keeps each queued user message's recorder (`attempt-user-transcript-context-registry.ts`, `attempt-session-prepare.ts`). - `installModelPromptProjection` walks those contexts. It captures each steered message's expanded text through that message's own recorder, with the same `captureModelPromptProjection` contract a sent turn uses. - Send and steer now share one projection path. No steer-only builder was added. - **Second cause, found once continuation was on (openclaw#203568):** on OpenAI Responses, the steered message carries a runtime-context carrier that is marked `retained`. A later prompt update moved that carrier ahead of the cached assistant tool call, so the next continued request failed the prefix check (`history_changed`) and sent full history. Retained carriers now keep their position. The carrier-anchoring logic moved into its own module (`openai-responses-carrier-anchoring.ts`) so the replay file stays under its line cap. Out of scope, recorded as a follow-up: the live steer request describes each attachment twice. `chat-attachments.ts:457` appends a portable marker, and `chat-send-message-injection.ts:305` prepends a staged note. Replay now equals the live bytes, so this PR does not change that. **Production LOC:** +112 / −43, net **+69**, measured against main after openclaw#203568. This is the real number. It covers the registry field, the projection loop over queued recorders, and the retained-carrier fix. About 40 of the added lines are the anchoring logic moved into its own module. ## Evidence **Prefix journey (openclaw#201723).** The existing steer step now steers with a `text/plain` document (`STEER-DOC-BODY`). The journey checks that the steered request contains the document text, and that every later request extends earlier ones byte for byte. | Journey | base 8d1e59c | head | |---|---|---| | anthropic-messages | **red**: break at step `cron`, message 38 (the steered message). Live: media note + text + document; replay: typed text only. | green | | openai-responses | not run on base | green (continuation stays on across the steer) | | openai-completions, google, bedrock | not run separately; CI runs all five | — | **Responses replay regression:** `openai-responses-async-replay.test.ts` adds a test where a prompt update follows a retained steering carrier. **Focused regression:** `agent-session-steering-context.test.ts`, test "replays a steered document attachment with the bytes the model first saw". It steers expanded text whose stored turn is the plain text, reopens the session from durable storage, and asserts the replay keeps the first request's bytes. Red on base (replay holds only the plain text), green on head. **Mutation:** the projection loop skips queued recorders (only the attempt's own recorder is captured, as on base). Both the focused regression and the anthropic journey turn red. Run in a scratch copy of head. **Scratch Gateway E2E.** Native `https://api.openai.com/v1`, `openai/gpt-6.2-astra`, SSE. The driver runs a turn, starts a turn with an 8-second exec, steers a message with a `text/plain` document into it, and then sends one more turn. A scratch-only capture saved every request body and its `response.completed` usage. Base is main after openclaw#203568. | request | base: `previous_response_id` / items / input / cached | head: `previous_response_id` / items / input / cached | |---|---|---| | #4 first request after the steer | no / 12 / 17,601 / 15,815 | **yes / 3** / 17,610 / 15,812 | | #6 next run | no / 17 / **17,546** / 15,815 | **yes / 2** / **18,454** / 17,796 | - On base the next run sends full history, and its input is smaller than the turn before it (17,546 < 17,787): the document text is gone. - On head every request continues. The next run keeps the document (18,454 input) and reads 17,796 of those tokens from cache. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Compaction could exceed its corrective-feedback budget or audit a summary before the native 16,000-character persistence limit removed important facts. Finalize the saved summary before quality checks, bound escaped feedback at its producer, and report omitted identifiers explicitly.
Why This Change Was Made
This replaces the legacy beta-target work in #5 on the stable
upgrade-v2026.8.1base. It also exposes optional session profile metadata for scheduler inheritance, preserves the channel dispatch Error contract, and fixes validation failures found while testing the combined changes.The validation repairs include model-catalog owner selection, memory refresh and embedding failure handling, dependency and iOS WebRTC pins, generated prompt snapshots, and test fixture/lifecycle cleanup. Public plugin SDK compatibility surfaces remain available, with migration blockers documented.
User Impact
Compaction checks the artifact that will actually be saved and replayed. Session metadata can expose a profile identifier without credentials. Channel dispatch and exhausted embedding endpoints preserve the expected Error contract. Model-catalog helpers respect the selected agent owner.
Evidence
Base:
upgrade-v2026.8.1at1b6e6e8b33b80d086c2c9af2f8c9aad3aa5862e4.Head:
356d8629cc1ed26fd6e0ba0c6be616d678cbe66c.5e0c438a; later repairs include a rejection mock correction (8 tests pass), the provider scaffold public-SDK repair, and the prepared-harness retry fixture described below.No workflow or database schema change is included; dependency lock and native dependency pins are included. This targets the installed stable upgrade branch and does not advance the fork's legacy default main.