* 🔐 fix: Skip Reasoning Labels for Encrypted Reasoning
OpenAI models on Bedrock (and Claude's redacted thinking on Bedrock) return
reasoning as encrypted `redactedContent` bytes. The current agents SDK
base64-encodes those bytes into the reasoning stream, so they arrive as THINK
text: the reasoning-label wiring summarized the blob ("Inspecting an encoded
data snapshot"), activity and phase labels quoted it as reasoning evidence, and
the UI rendered it as thinking.
Add a shared `stripOpaqueReasoning` / `isOpaqueReasoning` predicate in
data-provider that recognizes long unbroken base64/base64url runs (Bedrock
redactedContent, Anthropic redacted_thinking data, OpenAI encrypted_content,
Gemini thought signatures) and keep them out of every label path:
- reasoning labels drop encoded deltas, ignore persisted payloads on resume,
and re-check the accumulated text before a billed label call
- activity-label and phase-summary evidence carries readable excerpts only;
phase anchoring still uses the raw excerpt
- the THINK renderer, grouped reasoning rows and the live header show a
neutral "Reasoning (encrypted)" marker instead of the payload, and ignore
labels previously generated from it
Readable reasoning on every provider, including readable text mixed with an
encoded payload in the same step, is still labeled.
* fix: Classify streamed and persisted payloads by readable content
- isOpaqueReasoning / stripOpaqueReasoning ignore the persisted `<think>`
wrapper, so stored encrypted reasoning renders as the encrypted marker and
never reaches label evidence as tags-only "text"
- add advanceOpaqueReasoning, a streaming cursor that holds a trailing
payload-alphabet run until it settles as a word or grows into a payload,
so a payload split across sub-threshold deltas is dropped as it streams
- reasoning labels count only settled readable characters plus a word-sized
pending tail, so ciphertext fragments never advance the minChars or
updateChars gates or trigger extra billed label calls
* fix: Show readable reasoning around payloads and settle words before counting
- the reasoning disclosures, grouped rows, live header and conversation
export render and copy the readable text of a THINK part with encoded
payloads removed; the encrypted marker stays for parts with nothing readable
- reasoning labels count and send only settled readable text: an undecided
trailing run never advances minChars/updateChars or reaches the prompt,
whatever the configured thresholds, and a short final word settles when the
step closes
* fix: Classify reasoning before every bound and across resume
- once a run is classified as a payload, it continues through the next
non-payload character even when that arrives in the same delta as readable
text, so no tail fragment of the payload is released as readable
- add sliceReasoningTail: the activity-phase rolling reasoning window (and its
snapshot/restore bounds) never starts inside an unbroken run, so a payload cut
by the window cannot leave a fragment too short to classify; the window stays
a substring of the raw THINK text, so phase anchoring is unchanged
- a resumed reasoning step replays its persisted text through the stream
filter and keeps the resulting cursor, so a payload prefix that was still
undecided at the snapshot is dropped once the continuation classifies it
* fix: Classify phase evidence while it streams and mask payloads while pending
- activity phases classify each reasoning delta with the stream cursor and keep
a readable rolling window beside the raw anchor window; tracked activities
carry readableExcerpts as prompt evidence, so a window cut into a payload can
never forward a fragment (older snapshots fall back to stripping); the
cursor-free sliceReasoningTail is removed
- add readableReasoning / flushOpaqueReasoning: while reasoning streams, the
disclosures and live header hold back a trailing run that could still grow
into a payload instead of showing its first characters
- the message editor offers no field for payload-only reasoning and shows only
the readable text of mixed reasoning; an unchanged part is never written, so
its stored payload stays intact
* fix: Replay legacy phase snapshots through the reasoning stream filter
A pending-reasoning lane restored from a snapshot without a readable window
or cursor is replayed through advanceOpaqueReasoning instead of stripped, so a
payload prefix that was still undecided at the snapshot stays in the cursor
and is dropped once the continuation classifies it.
* fix: Drop the cut leading run of a full legacy phase window
A legacy pending-reasoning window that filled the 600-char bound may have been
cut inside a payload, so its leading payload-alphabet run is dropped before the
replay; a shorter window is the whole lane and is replayed as is.
* fix: Keep payload-bearing reasoning read-only and drop payload-derived titles on resume
- reasoning that carries an encoded payload is not offered in the message
editor: the edit endpoint replaces the whole value and the payload cannot be
positioned in an edited draft, so editing would silently delete it
- a resumed reasoning step whose persisted text has no readable reasoning
drops its existing title (which could only describe the payload) instead of
carrying it forward where a short readable continuation would revive it
* fix: Reset a resumed payload-derived title on the client, only for payload-only steps
- a resumed step drops its title only when its persisted reasoning is entirely
an encoded payload, so a short readable token (still undecided for the
stream cursor) keeps a valid title
- dropping it emits a same-step on_reasoning_label reset, which the client
already applies, so a resumed client clears the snapshot title too
* fix: release OpenID delivery lease when the client disconnected before delivery
A refresh whose client disconnects before the response is sent claims the
delivery lease and then arms finish/close listeners on a response that has
already closed. Neither event fires again, so the lease is never released and
every later refresh for the same generation polls until the 30-second lease
expires.
Arm the listeners only while the response is open; otherwise release the lease
directly after the send.
* fix: defer the silent refresh until a prerendered page is shown
A prerendered page runs the startup silent refresh before the user sees it.
When the browser discards the prerender, the refresh is aborted mid-flight
after the server has already rotated the refresh token, and the page the user
actually opens has to recover from a session it never received.
Wait for prerenderingchange before refreshing so a prerender has no effect on
the session.
* refactor: move OpenID response delivery into packages/api
* fix: Mask Email Addresses and Drop Personal Identifiers from Logs
* fix: Log User IDs in OpenID Admin Role and LDAP Domain Block Messages
* fix: Mask Unicode Email Addresses in Log Redaction
* test: Add Log Email Masking Scenarios
* fix: Bound the Email Redaction Matcher and Handle Quoted Local Parts
* fix: Mask Quoted and Special-Character Email Local Parts
* fix: Redact Whole Email Tokens, Top-Level Log Fields and Metadata Keys
* fix: Redact Top-Level Metadata Keys and Escaped Quotes in Email Local Parts
* fix: Redact Truncated Emails, Address Literals and Request Paths in Logs
* fix: Redact the Full Log String Before Truncating
* fix: Preserve Colliding and Object Keys When Redacting Log Metadata
* fix: Bound Log Redaction to a Window Past the Truncation Limit
* fix: Redact the Truncation Window Without a Whitespace Cut
* fix: Redact Serialized Quoted Addresses and Keep Key Collisions Linear
* fix: Bound Every Log Redaction Path and the URL Credential Pattern
* fix: Keep Long-Scheme Credential Redaction and Serialized Escaped Quotes
* test: Cover Every Secret Shape Across the Log Truncation Cap
* fix: Drop Unfinished Window Tokens, Mask Short TLDs and Redact Direct Error Stacks
* fix: Treat Input End as a Token Boundary and Mask Parenthesized Identifiers
* fix: Remove the Quoted Local Part Length Cap Without Quadratic Scans
* fix: Drop an Unfinished Quoted Address at the Window Edge
* fix: Check Quoted Locals Before Accepting a Window Delimiter
* fix: Count Only Opening Quotes When Trimming the Window
* fix: Track Unmatched Quoted Locals Instead of Counting Closing Quotes
* fix: Lift Residual Email Caps, Keep Punctuated Credential URIs Masked and Move OBO Log Id to the API Package
* fix: Mask Empty Quoted Locals and Tolerate Read-Only Log Fields
* fix: Return a Sanitized Copy When a Log Field Cannot Be Replaced
* fix: Treat a Failed Key Removal as a Failed Replacement and Guard Stack Writes
* fix: Skip Heavy Error Graphs and Accept Escaped Backslashes in Serialized Locals
* fix: Accept Lone Escaped Backslashes in Serialized Locals Without Rescans
* fix: Compact Axios Request Info Before Redaction and Skip Heavy Splat Error Graphs
* fix: Redact Address Keys on Nested Error Objects
* fix: Materialize and Redact Enumerable Getters on Nested Errors
* fix: Guard Throwing Top-Level Getters and Skip Heavy Fields Only on Error Records
* fix: Skip Serialized Quotes When Trimming an Unfinished Address
* fix: Bound Redaction With a Per-Record Node Budget and Accept JSON Control Escapes
* fix: Match Credential URIs From the Separator So Scheme Length Is Unbounded
* fix: Count Strings Against the Redaction Budget and Guard Nested Getters
* fix: Rebuild the Log Record When a Top-Level Accessor Ignores Writes
* fix: Rebuild the Log Record When a Stack Accessor Ignores Writes
* fix: Guard the Initial Stack Read on Direct Error Logs
* fix: Accept Escaped Solidus and Preserve the Outer Budget on Reentrant Logging
* fix: Guard the Axios Marker and Error-Like Probes Against Throwing Getters
* fix: Guard the Axios Marker on Nested Errors
* fix: Replace Skipped Heavy Fields Up Front, Budget Top-Level Fields and Mask Encoded Emails
* fix: Mask Encoded Address Keys and Guard Nested Axios Config Compaction
* fix: Redact URL Objects in Compact Request Info
* fix: Remove Encoded Email Caps and Strip Serializer Hooks From Clones
* fix: Strip Serializer Hooks From Error Clones and Top-Level Records
* fix: Neutralize Inherited Serializer Hooks on Log Records
* fix: Guard the Serializer Hook Probe
* fix: Replace Function Values in Log Records
* fix: Mask Percent-Encoded Domain Separators in Logged URLs
* fix: Bound the Encoded Email Domain at URL Delimiters
* fix: Shadow Throwing Serializer Getters on Nested Errors
* fix: Rebuild Accessor Messages and Mask Doubly Encoded Addresses
* fix: Redact Multiply Encoded Address Keys
* feat: Make the Log Redaction Node Budget Configurable
* fix: Guard Message and Serializer Property Reads
* fix: Contain Proxy Failures and Redact the Compact Request Method
* fix: Remove Group Dependents Before Deleting the Group
* feat: Audit Code Worker Pairing and Langfuse Connection Changes
* feat: Audit Skill Sync Credential Changes
* feat: Audit Passkey Enrolment and Removal
* feat: Audit Audit Log Reads and CSV Exports
* feat: Audit Audit Log Retention Purges
* feat: Audit MCP Server Create, Update and Delete
* fix: Keep Purge Result When the Purge Audit Write Fails
* test: Cover Admin Integration Audit Scenarios
* fix: Tighten Admin Integration Audit Scope and Group Cleanup Order
* fix: Run Security Fences Before Awaiting Audit Writes
* fix: Move MCP Post-Commit Audit Ordering Into the Auditor and Audit Verify Reads
* fix: Fail Closed When Recording Audit Log Access
* fix: Audit Group Deletion Before the Cascade and Restore Dependents on Failure
* fix: Restore Only Config Overrides When Group Deletion Fails
* fix: Audit Worker Pairing and Export Before the Work and Append Failures
* fix: Record Group Deletion as Pending Without Delaying Revocation
* fix: Skip Config Restore When a Concurrent Delete Removed the Group
* fix: Restore Group Config When the Existence Recheck Fails
* fix: Keep Group Config Restricted When Delete State Is Unknown
* fix: Record Worker Pairing and Revocation as Pending Until Confirmed
* fix: Deliver the Pairing Code Before the Terminal Audit Write
* test: Assert Pairing Code Delivery Precedes the Terminal Audit Write
* fix: Send Revocation and Group Deletion Responses Before the Terminal Audit Write
* fix: Snapshot Group Config Before the Destructive Cascade Step
* refactor: Type the Group Config Snapshot Dependency Without Mongoose Shapes
* fix: Fence Shared MCP Users Before the Deletion Audit and Correlate Audit Attempts
* fix: Diff MCP Server Audits Against the Committed Config
* fix: Read the Committed MCP Config at Commit Time for the Audit Diff
* refactor: Start the Committed MCP Config Read Inside the Auditor
* fix: Audit Langfuse Patches When Activation Fails and Surface Failed Group Config Restores
* fix: Record Member Removals When Group Deletion Completes After a Failed Restore
* test: Serve the Committed Config on the MCP Update Audit Reread
* fix: Audit the Group Returned by the Compensating Deletion
* fix: Keep Member Removal Audits Fail-Open During Group Deletion
* fix: Retry ACL Cleanup After a Compensating Group Deletion
* fix: Mark Unavailable Audit Detail and Order Member Removals After the Pending Deletion
* fix: Guard Synchronous Committed-Config Read Failures in the MCP Auditor
* fix: Return the Persisted MCP Config and Audit Commits That Outlive Cache Invalidation
* style: Sort Imports in MCP Audit Files
* style: Sort Imports After Restack
* fix: Audit MCP Commits That Outlive Any Post-Write Step and Pend Audit Exports Until Complete
* test: Provide the Fail-Closed Setting in the Code Route Mock
* fix: Refresh MCP Read Caches When a Repository Step Fails After the Write
* fix: Finish Audit Exports on Response Completion and Keep Error Details Out of Messages and Logs
* fix: Watch Response Completion Before the Truncation Footer Write
* fix: Skip Audit for No-op MCP Deletes and Close Remaining Post-Failure Audit Gaps
* fix: Keep Causes Out of Structured Logs and Treat a Lost Compensating Delete as Not Found
* fix: Mark Failed MCP Post-Commit Steps and Null Langfuse Activation in Audits
* feat: Audit Resource ACL Changes and Fail Closed by Default
* fix: Keep Non-Reversible Admin Audit Handlers Fail-Open
* docs: Narrow AUDIT_LOG_FAIL_CLOSED Description
* fix: Audit and Restore ACL and Insights Changes in One Pass
* fix: Break Audit and Insights Permission Type Cycle
* test: Cover Resource ACL Audit Scenarios
* refactor: Audit Resource Permission Changes Before Writing
* test: Align Concurrent Revoke Audit Expectation
* fix: Skip Deleting ACL Entries That Were Not Audited
* fix: Read ACL Snapshots Through the Write Session
* fix: Never Block Revocations on Audit Outages and Normalize Principal Keys
* fix: Let an Explicit Public Disable Win Over a Public Update
* fix: Audit Duplicate ACL Rows as Combined Permissions
* fix: Audit Permission Changes Under One Target and Dedupe Revokes
* fix: Audit Capability Grants Before Writing Them
* feat: Serialize Resource Permission Updates With a Per-Resource Lease
* fix: Fence the Resource Lease Before Writes and Always Audit Grant Assignments
* fix: Renew the Resource Lease Before Each ACL Write Phase
* fix: Serialize System Grant Assignment and Revocation With a Per-Grant Lease
* fix: Keep Leases Alive During Audits, Bound Lock Index Wait, Canonicalize Audit Target IDs
* fix: Retry Deferred Revoke Audits Under the Lease and Audit Canonical Principal and Role IDs
* test: Expect Role IDs in Permission Audit Metadata
* fix: Read Mutation Snapshots From the Primary Outside Transactions
* fix: Flush Deferred Audits Before Cache Invalidation, Keep Renewals Monotonic, Keep Role Case in Grant Lease Keys
* refactor: Map the Busy Permission Error to Its Code in the API Package
* style: Sort Lease Imports and Type the Renewal Spec Read
* fix: Keep Success Audits After Commit, Report Downgrades as Revocations, Code Audit Outages
* refactor: Move the Audit Outage Code to Its Own Module
* fix: Translate Lock Failures, Lease Non-Transactional Sessions, and Code Grant Audit Outages
* fix: Sanitize Lease Renewal Failures at the Permission Boundary
* fix: Annotate the Unavailable Error Code for Isolated Declarations
* fix: Keep the Admin Route Fail-Closed Opt-In and Document Lease Clock Skew Safety
* fix: Translate Grant Lease Store Failures to a Retryable 503
* fix: Log Failed Grant Audit Writes With Safe Metadata Only
* test: Detect Raw Error Arguments in the Grant Audit Log Spec
* feat: Make Permission Lease Limits Configurable and Localize Retryable Sharing Failures
* fix: Bound Lock Index Readiness by the Lease Wait and Carry the Resource ID in Every Audit Entry
* test: Cover Lease Config Reaching the Leases and the Sharing Dialog Failure Messages
* fix: Load App Config on the Sharing and Grant Routes and Log Failed Lease Releases
* perf: Load App Config Only on the Grant Mutation Routes
* feat: Extend the Audit Action Vocabulary to Admin, Sync and Credential Mutations
* feat: Audit Admin Role, Group and Config Mutations
Role deletion now removes the role's grants, ACL entries and config
overrides before the role itself and returns ROLE_CLEANUP_FAILED instead
of success when any of them fails, so a recreated role cannot inherit
leftover privileges.
* feat: Audit IdP and Startup Role Changes
* fix: Keep the Startup Role Sync Running When Its Audit Verification Read Fails
* test: Cover Admin Role Audit Trail End to End
* fix: Audit a Remote Agent Role Sync Only After It Persists
* fix: Restore Role Dependents When Role Deletion Fails Midway
* fix: Restore Role Dependents Only When the Role Still Exists
* style: Sort Role Admin Imports
* fix: Keep the ACL Snapshot When Role Cleanup Fails Ambiguously
* test: Read Role Audit Entries From the Audit Log Route
* fix: Audit Only Real Membership Changes and Restore Deleted Role Config in Full
* fix: Restore Deleted Role Grants in Full and Sanitize Audit Write Logging
* fix: Audit and Report a Role Deletion Confirmed After a Lost Response
* fix: Never Restore Dependents Onto a Recreated Role
* fix: Snapshot Role Dependents Before Deleting and Detect Membership Changes Atomically
* fix: Restore From the Data a Cascade Step Actually Removed
* fix: Restore Only Config Overrides When a Role Delete Fails
* fix: Log Only Safe Metadata When the Startup Audit Read Fails
* fix: Audit Grants Removed by a Failed Role Delete
* fix: Audit Removed Grants on Unverifiable Role Delete Exits
* fix: Honor Fail-Closed Auditing in the Admin Config, Group and Role Routes
* fix: Bind Role Deletion to the Captured Id and Audit Only Atomic Role and Config Changes
* fix: Skip the Config Restore When the Targeted Role Is Gone
* fix: Audit Initial Group Members and Skip No-Op Role Description Updates
* fix: Record Role Deletion as Pending Before Cleanup and Append Its Outcome
* fix: Audit Reassigned Role Members and Return the Persisted Config After a Tracked Toggle
* fix: Keep a Committed Role Deletion Successful When Cascade Audit Writes Fail
* fix: Decide Group Update Audits From the Atomic Write and Sanitize Permission Update Logs
* fix: Audit Grants From a Snapshot, Fail on Member Lookup Errors and Chunk Member Audit Entries
* fix: Audit Group Deletion Members and Previous Role Removal, Abort on Grant Snapshot Failure
* fix: Invalidate Config Caches After Partial Secret Writes
* fix: Retry Failed Cascade Restores, Report Changed Group Fields and Audit Every Reassigned Member
* fix: Log Safe Metadata When Cache Invalidation Fails After a Partial Write
* fix: Keep Error Messages Out of the Audit Write Failure Log
* style: Sort Audit Log Spec Imports
* fix: Sanitize Admin Handler Error Logs and Dispatch System Audit Writes Without Waiting
* fix: Run the Erasure Cascade in Admin User Deletion
* refactor: Share Generation Stop Logic Between Self-Service and Admin Deletion
* refactor: Move Admin Erasure Dependency Assembly Into packages/api
* fix: Bind getCleanupJob When Waiting for Generation Persistence
* test: Pin the Deletion Fence Before Admin Generation Stop
* fix: Resolve the Erasure Target Config Fail Closed
* fix: Carry the Target Profile Into Admin Erasure Storage Cleanup
* fix: Keep the Erasure Target Contract Storage Neutral and Reuse the Loaded Identity
* fix: Refuse New Generations Once Account Deletion Has Begun
* fix: Enforce Account Deletion Admission Once in createJob and Narrow the Erasure File Type
* fix: Install the Admission Guard in Every Entrypoint and Purge Refused Jobs
* fix: Guarantee Refused Job Purge and Sanitize Admission Failures
* fix: Route Remote Admission Through createJob and Keep Refusal Cleanup Sanitized
* fix: Log Admission Cleanup Failures With Safe Error Metadata
* refactor: Check Account Deletion Before Creating a Generation and Drain Twice
* refactor: Order Admission Against the Deletion Marker Without a Grace Period
* fix: Sanitize Post-Commit Admission Retirement Failures
* fix: Wire Shared-Server MCP OAuth Cleanup Into Admin Erasure
* fix: Scope Admin Erasure Lookups to the Target Tenant and Await Shared-Link Cleanup
* fix: Resolve the Erasure Target Config Under the Target Tenant
* fix: Run Admin Erasure OAuth Fencing in the Target Tenant
* fix: Match the Split OAuth Invalidate and Disconnect Hooks in Admin Erasure
* refactor: Inject the Tenant Executor Into the Erasure Resolver
* fix: Route Delete-User CLI Through the Shared Account Erasure Cascade
The operator CLI ran raw deleteMany calls that dropped File metadata while leaving storage objects, skipped skills, MCP servers and agent checkpoints, and used the wrong field for agent API keys. Account self-deletion and the CLI now share eraseUserData in packages/api, so both remove stored file objects before metadata, open checkpoint deletion around conversations, and clear skills, MCP servers and shared links with ACL cleanup.
* fix: Erase Favorites, Projects, Queued Turns and Refresh Bridges With the Account
Account erasure left tool favorites, chat projects, queued agent turns and their sequences, and OpenID refresh token bridges behind. The shared eraseUserData cascade now clears them, adding deleteUserToolFavorites and deleteUserChatProjects where no delete-by-user method existed.
* fix: Move MCP Server Erasure Queries Into Data Methods and Propagate Their Failures
* test: Cover Delete-User CLI and Self-Service Erasure Scenarios
* fix: Delete Stored Files When Account Deletion Arrives Without a Body
* fix: Delete Stored Files Before User Keys and Keep Provider Failures Best Effort
* fix: Propagate Agent and Prompt Erasure Failures Before Deleting the User
* fix: Delete Erasure Retry Anchors Last When Removing User-Owned Resources
* fix: Retire Session Hint From the Shared Erasure Cascade After Sessions Are Revoked
* fix: Propagate Skill and Agent Reference Cleanup Failures Before Deleting the User
* fix: Scope CLI Account Erasure to the Deleted User's Tenant and Legacy Refresh Bridges
* fix: Clean Shared-User MCP OAuth State When Account Erasure Removes a Server
* fix: Keep CLI Erasure System-Scoped Except ID-Keyed Cleanup and Await Shared-Link ACL Cleanup
* fix: Scope CLI MCP OAuth Lookups to the Tenant and Fail Erasure When Shared-User Cleanup Fails
* fix: Run CLI MCP OAuth Teardown and Allowlist Resolution Per User in the Tenant
* fix: Tear Down Shared-User MCP OAuth State Before Removing the Server Retry Anchors
* fix: Pin Agent Reference and MCP Token Cleanup to the Deleted User's Own Tenant
* refactor: Move text-like message parts into @librechat/chat
Text, EmptyText, CollapsibleText, Summary and AgentUpdate move into the package's components entry with their unit specs and read the app only through MessagePartsHost, which gains renderMarkdown, useSmoothStreaming, useAgent and renderAgentIcon. The app's markdown and agent-icon renderers register from the Parts barrel, so the host module keeps its import graph.
The design-suppression runner compares a moved file's diagnostics by their first sentence: the remedy that follows names app-only compositions for client paths, so the same violation read as new after a move.
* test: Cover text-like parts rendered from @librechat/chat in the browser
* fix: Enable Bundled Database Auth and Warn On Plain-HTTP Ingress
* fix: Render the Env ConfigMap When librechat.configEnv Is Unset
* fix: Respect User-Supplied Mongo and Redis Credentials Over Generated Ones
* docs: Add Upgrade Notice for Bundled MongoDB Auth Default
* fix: Order Supplied Credentials First and Split Bundled Credential Opt-Outs
* fix: Percent-Encode the Bundled MongoDB Root Username in MONGO_URI
* fix: Warn Per Ingress Host Without TLS Coverage and Document Credential Rotation
* docs: Document Password Persistence and Release the Auth Default as a Major Chart Version
* fix: Fail Render When a Supplied Redis Password Does Not Match the Bundled Redis
* fix: Validate Supplied MongoDB Root Password Against the Bundled Server
* docs: Include the Langfuse Fanout Deployment in the Rotation Restart
* fix: Derive Ingress URL Scheme Per Host and Document the MongoDB Replica Set Key
* fix: Validate configEnv Mongo Password and Keep Upgrade Passwords as Strings
* fix: Reject Supplied Database Passwords That Differ From the Bundled Subchart
* fix: Ignore Inherited Literals When a Secret Reference Overrides the Password
* fix: Skip Password Comparison When an Existing Secret Supplies Credentials
* fix: Deny Placeholder Expansion of the Bundled MongoDB Root Password
* fix: Expire Dead-Lettered Trigger Deliveries After a Review Window
* fix: Delete Stored Image Uploads When Record Creation Fails
* fix: Clean Up Stored Objects on Every Storage-Before-Record Upload Path
* refactor: Resolve the Delete Strategy Lazily in Stored Upload Cleanup
* test: Cover Dead Letter Expiry After the Review Window
* fix: Carry Owner to Stored Upload Cleanup and Keep Batch Dead Letter Deadlines
* refactor: Select the Stored Upload Cleanup Target in the API Package
* fix: Check for a Committed Record Before Deleting an Upload and Keep Dead Letters Unless Configured
* fix: Check the Persisted Record Id for Converted Assistants Images
* fix: Arm a Dead Batch Root Deadline After Its Members Settle
* fix: Settle Expired Dead Batches and Skip the Record Guard Before the File Write
* fix: Skip the Record Guard for Pre-Write Failures and Build the Lookup in packages/api
* fix: Build the Record Lookup Lazily in the Upload Service
* fix: Pass the Dead-Letter Retention Window Through Experimental Startup
* fix: Carry the Vector Copy Into Failed-Upload Cleanup
* fix: Cover the Code Environment and Indeterminate Vector Copies in Upload Cleanup
* fix: Give URL-Upload Cleanup a Request When the Caller Omits One
* fix: Route Failed-Upload Cleanup Through Secondary-Storage Deletion
* fix: Attempt Every Copy Independently When Cleaning Up a Failed Upload
* fix: Track the Record Write in Every Upload Path Whose Retention Lookup Can Fail
* fix: Enforce Terms Acceptance on the Server When modalAcceptance Is On
* fix: Mark Backfilled Terms Acceptance Timestamps
* test: Cover Server-Enforced Terms Acceptance in the Mock Harness
* fix: Gate Management Routes and Skill Sync and Resolve Terms Policy Fail-Closed
* fix: Evict Cached Auth Documents When Terms Acceptance Is Reset
* fix: Guard Skill Sync Behind Terms Acceptance for Every Skill List Route
* fix: Move Terms Skill-Sync Guard Into the API Package and Evict All Users on Reset
* fix: Batch Terms Reset Cache Eviction and Sign the Spec User In Fresh
* fix: Let Stop Through the Terms Gate, Refresh Startup Config, and Wait Out Failed Eviction
* refactor: Narrow the Terms Exemptions and Share One Refusal Path Across Clients
* refactor: Compose the JWT Terms Gate Through an API Package Helper
* style: Sort Imports for the Shared Terms Refusal Helper
* test: Expose the Terms Gate Helper in the JWT Auth Spec Mock
* test: Cover the Terms Refusal Code on Pre-Stream Upload Errors
* feat: Paint the Operator Theme on a First-Ever Visit
The server embeds the deployment's base interface.theme in the HTML shell, with both modes the build resolved for a bundled name, so the boot script and the first commit of DeploymentTheme paint it before /api/config answers. A tab's owned cache still outranks it, shared links skip it, and a request scoped by a trusted X-Tenant-Id header gets the shell without it.
* test: Type the Inline Shell Theme Fixture as Raw JSON
* test: Tag the First-Visit Scenarios Literally
* fix: Ignore a Theme Boot File That Is Not an Object
* fix: Keep the Base Theme for a Tenant Header the Config Rejects
* fix: Report a Theme Boot File That Exists but Cannot Be Read
* fix: Embed the Base Config Theme in the Experimental Shell
* test: Stand In the Shell Theme for an Owned Copy Whose Session Ended
* fix: Boot-Paint a Cached Theme Only for the Tab's Signed-In Owner
The boot script and DeploymentTheme's first commit replayed the deployment-theme cache without checking its owner, so a browser that last held one identity's theme painted it for another until the config answered. The tab now records its signed-in owner in session storage and both paths replay the cache only when it matches.
* test: Assert Session Ends Forget the Tab Theme Owner
* test: Hold the First-Paint Config Answer Until the App Paints
* fix: Skip the Boot-Painted Theme Cache Once the Session Has Ended
* fix: Bind the Readable Session Hint to the Signed-In Owner
* test: End the Session for Real in the Expired-Hint Scenarios
* fix: Clear the Session Hint When a Local Refresh Finds No Session
* test: Give the Refresh Specs the Cookie Surface the Session Hint Uses
* test: Count the Signed-Out Config Answer in the No-Cached-Paint Scenarios
* fix: Retire the Session Hint on Every Rejected OpenID Refresh
* fix: Retire the Session Hint When a Refresh Carries No Token
* fix: Retire the Session Hint on Account Deletion and Password Reset
* refactor: Own the Session Hint Lifecycle in the Typed Auth Cookies
* fix: Write User Provider Keys With Random-IV v3 Format
* fix: Reject Undelimited Input in decryptV2 Instead of Returning It
* fix: Default 2FA Backup Codes to the Strong Format
* fix: Limit Admin Secret Preview to the Last Four Characters
* fix: Re-Derive Stored Secret Previews Under the Last-Four Policy
* test: Build Legacy Credential Fixtures With the Server Key
* fix: Load Request Config for User Key Writes and Mask Legacy Previews
* fix(prompts): include command in prompt group list projections
* test(prompts): add regression tests for command in list projections
* test(prompts): add required production ID to list fixture
---------
Co-authored-by: Atef Bellaaj <atef.bellaaj@clickhouse.com>
* fix: Log User IDs Instead of Emails in Admin Panel Auth Flow
* fix: Sort Imports in Admin Middleware Spec
* test: Cover Admin Exchange and Access Denial in Mock Scenarios
* test: Remove the Generated User After the Admin Denial Scenario
* fix: Hold Button Heights and the Dialog Close Button at the 24px Target
* fix: Write a Zero Button Height as a Length the Target Floor Can Compare
* test: Let the Delete Dialog Settle Before Measuring Its Close Glyph
* test: Pin the Theme Cache Digest the Rebased Resolver Emits
* feat: Add a Connected Account Setting for Pull Requests
* fix: Watch an Open Account Sign-In and Keep the Retry Button Named
* fix: Name the Disconnect Confirmation and Show the Provider the Server Reports
* feat: Tell the Client How Long a Pull Request Account Sign-In Lasts
* fix: Follow the Sign-In Lifetime and Keep Account Actions Settled Past Settings
* fix: Watch an Account Sign-In Until Its Window Closes, Even After Settings Closes
* fix: Refresh Pull Requests Once per Change of the Credential They Were Fetched With
* fix: Record Every Status the Sign-In Watch Reads
* fix: Keep Watching a Severed Sign-In Through Its Landing Page and End Watches With the Session
* fix: Drop a Sign-In Begun Before the Session Ended
* fix: Keep a Surviving Grant Removable and Tie a Sign-In Watch to Its Own Flow
* fix: Ask for the Pull Request Account Wherever Pull Requests Are On
* fix: Refresh Pull Requests on a Session's First Status and End a Failed Sign-In's Watch
* fix: Ignore an OAuth Failure That Names No Sign-In Flow
* fix: Start No Sign-In for a Window Closed Before the Server Answered
* fix: Keep a Known Grant Removable While the Status Check Fails
* fix: Name a Grant Without a Current App Only as an Account
* fix: Keep the Pull Request Account Row Readable on a Phone
* fix: Show a Grant Whose App Is Off as Not in Use
* fix: Apply a Sign-In Status Asked For Before the Flow Expired
* fix: Keep Focus When Removing the Last Pull Request Grant and Reuse Its Status
* fix: Resync Pull Request Credentials After Failed Sign-Ins and Disconnects
* fix: Ask for the Connection Status Afresh Once a Sign-In Settles
* fix: Resync Pull Requests From the Settings Visibility Status
* fix: Reconcile Pull Request Credentials Until a Status Read Succeeds
* fix: Keep Pull Request Sign-In State Accurate Across Failures and Account Switches
* fix: Drop Replaced Sign-In Answers and Reset Status When the Account Changes
* fix: Reset Unwatched Connection Status and Keep Focus When a Retry Hides the Row
* fix: Hear Late Sign-In Settlements and Explain Connect Failures After Settings Closes
* fix: Listen Until a Sign-In Settles and Keep Focus After a Dismissed Disconnect
* fix: Encrypt User Plugin Credentials With Random-IV v3 Format
* test: Cover Credential Encryption Formats in Mock E2E Scenarios
* test: Round-Trip Real Credential Helpers in PluginService Spec
* 🙈 fix: Remove SharePoint Picker Payload Logging (#16997)
* fix: Add credentials.writeFormat to Gate v3 Credential Writes During Rollouts
* test: Expect 201 When the Legacy Write Format Override Is Created
* 🔊 fix: Clear TTS Audio Cache On Session End and Hash Its Keys (#16998)
* fix: Clear TTS Audio Cache On Session End and Hash Its Keys
* fix: Read Manual TTS Replays From the Hashed Cache Key
* fix: Purge Legacy TTS Cache Keys and Fence Writes Across Logout
* fix: Keep TTS Cache Writes Off the Playback Path
* test: Expect Hashed Keys in the StreamAudio Cache Lookup
* test: Use a Single-Token Reply Label in the TTS Cache Scenario
* fix: Settle TTS Cache Clear Before IdP Logout and Across Tabs
* test: Cover the TTS Cache Fence When Another Tab Logs Out
* test: Wait for the Second Tab Before Logging Out in the TTS Scenario
* fix: Latch TTS Cache Writes Shut Until the Tab Authenticates Again
* fix: Reopen TTS Cache Writes When Authentication Completes In Place
* fix: Leave for the IdP Even When TTS Cache Cleanup Fails
* fix: Retry a Failed Legacy TTS Purge and Fence Other Tabs on Manual Clear
* fix: Rerun the Legacy TTS Purge After Each Clear and Sign-In
* fix: Rerun the Legacy TTS Purge When Another Tab Clears
* fix: Fence Pre-Auth TTS Writes, Retry Failed Clears, and Fall Back to Storage Events
* fix: Version the Hashed TTS Cache Key Path
* fix: Move TTS Audio to a New Cache and Keep It Closed Until a Failed Clear Succeeds
* fix: Persist a Pending TTS Cache Delete Across Navigation
* fix: Reopen TTS Caching Only on Session Start and Fence Cache Reads
* fix: Keep the TTS Delete Fence in Cache Storage and Close Reads After Logout
* refactor: Keep Read-Aloud Audio in Tab Memory Instead of Cache Storage
* test: Return to the Conversation After Re-Login in the TTS Logout Scenario
* test: Close the Phone Sidebar Before Replaying in the TTS Logout Scenario
* fix: Bound the In-Memory TTS Cache by Size as Well as Count
* fix: Scope Cached TTS Audio to the Signed-In User
* fix: Keep the Settings Cache Delete Available While Legacy Audio Remains
* fix: Recheck Legacy TTS Audio After a Settings Clear and on Unowned Handoff
* fix: Fence TTS Writes Started Before an Account Signs In
* test: Opt the Fresh TTS Account Into Enter-to-Send
* feat: Add Approval-Responded, Output-Denied and Ask-User Parts to the UI Message View
* refactor: Accept the Ask-User Pause in the Part Mapper Input Type
* fix: Keep the Reviewer's Output on a Respond Decision
* fix: Keep a Respond Decision's Output Successful When It Reads Like an Error