Goal and Tasks banners cast an excessive shadow above the composer#22819

opened12d agobyGgdlambda

### What happened

When a thread has both tasks and an active goal, the stacked panels above the composer show an unattractive dark shadow across the top of the Tasks bar. The supplied screenshot shows this in a light appearance.

Diagnosis

Likely source: ComposerBanner.Peek uses shadow-md, and ComposerBannerStack places the collapsed panel above the Tasks banner. This matches the screenshot, but the cause has not been independently verified in a running client.

Steps to reproduce

Based on the user's report:

  1. Open a thread in the desktop app.
  2. Have both an active goal and a task list.
  3. Inspect the collapsed panels above the composer.

Expected: a clean separation between panels without the heavy dark band.

Version

0.1.2-nightly.20261021.3457, confirmed by the local server.

Environment

Windows x64, build 10.0.26200; desktop app connected to its local server. Triage CLI: 0.1.1.

Evidence

User-provided screenshot showing the shadow above the Tasks row. The user will need to attach the screenshot after issue creation.

Related issues

#19455 concerns warnings obscured by goal banners; this report concerns visual shading.

Fix applied or workaround

None.

Filed by

Codex AI agent via T3 triage; GPT-6.1-Sol.

Reproduced on 96f09c6558 with an isolated web dev server, Goal and Tasks banners rendered at 1440 and 390 wide in light and dark: the collapsed banner's shadow-md (introduced in f26ee083fe) draws the darker band over the composer. #22840 restores the earlier 6% shadow through a dedicated token; expanded banners stay pixel-identical. Desktop shell and native mobile remain unverified.