Files
orca/src
Brennan Benson 79b6bad7bd Offer Claude's own / commands (like /goal) in a chat before Claude starts (#29026)
* Ask Claude for a resting chat's / menu instead of rebuilding it from folders

A Claude chat whose Claude isn't running (a new chat, or any chat after a
restart) offered only clear/compact plus folder commands and skills, so
Claude's own built-ins like /goal, /init and /review were missing until the
first message started Claude.

The at-rest catalog now sends Claude one initialize control request in the
chat's launch folder, through the same sessionless path the model list uses
(same binary, env, account pin and supervised runner), and shows the list
Claude answers. Hooks and MCP servers are off for that one process. Results
are cached per workspace and account for 5 minutes, and at most two probes
run at once. If Claude can't answer, the folder scan is used as before.

* fix(claude): keep Claude's own / list when a later refresh fails

* fix(claude): preserve CLI commands across overlapping fallback scans

* fix(claude): keep overlapping command refreshes eligible

* test(claude): await fallback settlement in overlap case
2026-10-16 10:50:51 -07:00
..