Command, agent and memory listings show a folder's project items when its project settings are not loaded
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, node.js
- Domain
- backend
Research direction
Start with computeSlashCommands and computeAgents in packages/server/src/ws-file-ops/browser.js and the memory listing in packages/server/src/ws-file-ops/memory.js, then look at getFolderTrustStateForDisplay and how launchedWithProject is recorded for claude-cli/claude-tui sessions. The issue leaves four decisions open (omit vs. mark, which trust check, running processes, Control Room scope), so agree on those before editing either client. Done means untrusted folders hide or mark project commands, agents and memory, the lists follow the trust toggle live and match the running process for launched sessions, with new tests on the server listing functions and a smoke run on an isolated daemon.
Written by the indexing model from the issue text.
Description
Context
Split from blamechris/chroxy#9250 (the second half of its last item), so that #9250 can close with mobile app support for the folder trust banner.
Description
For a session folder that is not trusted, Claude sessions load user settings only. The daemon's listings still include the folder's project entries, and both clients present them as available:
list_slash_commands:computeSlashCommandsinpackages/server/src/ws-file-ops/browser.jsscans<cwd>/.claude/commandsas sourceproject.list_agents:computeAgentsin the same file scans<cwd>/.claude/agents.memory_stack_result(dashboard Memory panel):packages/server/src/ws-file-ops/memory.jslists<cwd>/CLAUDE.mdandCLAUDE.local.mdwith their imports.
The mobile app shows them in its slash-command and agent lists; the dashboard shows them in its command picker, agent list and Memory panel. A listed project command does nothing useful in an untrusted folder, and the Memory panel describes files the session does not load.
Decisions to make
- Omit or mark. Omitting project entries is server-only. Keeping them marked as not loaded needs a protocol field and UI in both clients. The Memory panel probably wants "not loaded" rather than hidden.
- Which trust check. Listings are requested often, so the cached display state (
getFolderTrustStateForDisplay, 2 s cache) fits better than a launch-lane scan. - Running processes. claude-cli and claude-tui sessions launched with project settings keep them until they restart (
launchedWithProject). Their listing should follow the running process. - Scope. Only Claude-family providers are affected. The Control Room skills inventory (the
projectOnlysurvey, #5555) is a host survey of what exists and should not change.
Acceptance Criteria
- For an untrusted folder, a Claude session's command and agent lists and the Memory panel no longer present project items as loaded.
- Trusting the folder brings them back without a reconnect; stopping trusting removes them again.
- A claude-cli / claude-tui session launched with project settings lists what its running process has.
- Tests on the server listing functions; a smoke run on an isolated daemon.
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 1
- Avg merge
- 2h 3m
- Merged PRs (30d)
- 333
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from blamechris/chroxy
-
from-review tech-debt testing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
blamechris/chroxy#9520 ·
Maintainers usually reply within 1 day
-
priority: low server
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
blamechris/chroxy#9340 ·
Maintainers usually reply within 1 day
-
documentation from-review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
blamechris/chroxy#9237 ·
Maintainers usually reply within 1 day
-
agent-control client: notify() docstring should say the outbound gate applies only in principal modeOpenenhancement from-review
Difficulty 1/5 Under an hour Newbie friendliness 80/100
blamechris/chroxy#9227 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
blamechris/chroxy#9108 ·
Maintainers usually reply within 1 day
All issues in blamechris/chroxy
Similar issues
-
Documentation pleaseOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
Java Edition Tests
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JSPrismarine/JSPrismarine#4178 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Trac-Systems/main_settlement_bus#1278 ·
Maintainers usually reply within 1 day
-
documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apidly-ltd/apidly-mcp#5 ·