docs/design/web-shell-session-source-filter.md
Web Shell sessions are currently created without source metadata, and every session-list request is unfiltered. This lets sessions created by other features, such as scheduled tasks, appear in Web Shell. Existing Web Shell sessions also have no source metadata, so an exact source filter would hide historical data.
sourceType: 'default'.sourceType: 'default' to filtered Web Shell session-list requests. The
Sidebar remains unfiltered because it is the all-session catalog.sourceType=default as a compatibility filter that matches both
sourceType: 'default' and sessions without sourceType. Other source
filters remain exact matches.Older sessions remain visible in Web Shell because missing source metadata is
included only for the default filter. Sessions attributed to another source
remain excluded. Callers that omit sourceType retain the current unfiltered
behavior.