Scratchpad section is missing from the sidebar until a projectless session exists
Reported via the AO orchestrator chat (relayed by an AO coding agent on the reporter's behalf).
The Scratchpad section isn't visible in the desktop sidebar on my machine; only Projects is listed. I've never started a session without a project. I expected the option to make a Scratchpad session to be visible regardless of that.
- Where: desktop app, left sidebar (macOS)
- Screenshot: the sidebar shows Search, Automations, Artifacts, Usage, then Projects with several projects and no Scratchpad section (screenshot provided in chat; it couldn't be attached by the bot account that filed this)
Agent-collected evidence
Collected 2026-11-13T09:26Z from a source checkout of main at bb90515d7e (not the reporter's installed build; the reporter's AO version wasn't captured). Read-only code reading, no reproduction run.
What the code does. The Scratchpad section is rendered only when there's a standalone workspace to show:
frontend/src/renderer/hooks/useWorkspaceQuery.ts:324-336builds the local Scratchpad workspace (kind: "standalone") from projectless sessions, but adds it to the workspace list only whenstandalone.sessions.length > 0.frontend/src/renderer/components/Sidebar.tsx:921-934(standaloneWorkspace) returnsundefinedwhen there's no local standalone workspace and none of the user's own Cloud standalone agents has a listed or archived session.frontend/src/renderer/components/Sidebar.tsx:1345renders<ScratchpadSection>only whenstandaloneWorkspaceis defined, so the section header and its+button disappear for a user with no projectless sessions.
What this supports. It matches the report: a user who has never started a projectless session gets no Scratchpad section and no + entry point in the sidebar. The only remaining way in is the project picker on the New chat page, which offers Scratchpad (frontend/src/renderer/components/NewChatPage.tsx ~597-611). Hypothesis, not confirmed against the reporter's install: this is the cause; it isn't a rendering failure.
History. The section was introduced in #5759 ("give ad hoc agents their own Scratchpad section", with a + that opens a new ad hoc agent); the sessions-required condition predates it (#5547). #8186 (merged 2026-11-12) kept this behaviour for local and added the same hiding for Cloud standalone agents with no sessions.
Duplicate search (OrchestratorInc/agent-orchestrator, gh issue list/gh pr list and the search API for "scratchpad", "scratchpad sidebar", "scratchpad missing", "standalone sidebar"). No matching issue. gh issue list returned empty rows in this environment, and search-API "is:issue" results came back as PRs, so the issue search may be incomplete. Related but distinct PRs: #7460 (keep a closed Scratchpad closed), #7360 (remember section open state), #5759, #8186.
Working on this: keep the local Scratchpad entry and its new-agent action available before the first projectless session, with a regression test and desktop verification.
Fixed by #8323, which merged a few hours after this report. The sidebar section, now named Sessions and shown above Projects, renders whether or not any projectless session exists, and its "+" starts the first one. Before that change, the section was rendered only when a standalone session already existed. Please reopen if it's still missing on a current build.