anthropics / anthropics/claude-code
[Bug] `/context all` no longer lists individual instruction files (regression, 2.1.277)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 147k
- Forks
- 24k
- PR merge metrics
- PR metrics pending
Description
Bug Description
Through v2.1.273, /context all listed every loaded instruction file (each CLAUDE.md, each .claude/rules/*.md, each @-imported file) as its own row with a token count. On v2.1.277 that section is gone. The output still shows a single summary line ("Memory files: {N} tokens") and still expands the MCP tools, Custom agents and Skills sections, but the per-file instruction breakdown is missing.
The files themselves do load. /memory lists them correctly, and the instructions take effect in the session.
Steps to reproduce
- Open a project that has a
CLAUDE.md, one or more.claude/rules/*.mdfiles, and at least one@import. - Start a session and run
/context all. - Observe the "Memory files" line shows only a token total. No per-file rows appear in the breakdown.
- Run
/memoryand observe the same files are listed as loaded.
Expected
/context all shows the per-file breakdown for instruction files, as it did through v2.1.273 and as it still does for MCP tools, agents and skills.
Actual
Only the summary line appears. The per-file rows are absent in both renderers.
Notes
- Reproduced with both
"tui": "fullscreen"and"tui": "default"(switched via/tui defaultand/tui fullscreen). - No entry in the CHANGELOG for v2.1.274 through v2.1.277 mentions a change to
/context, so this appears to be unannounced. - #94858 (and earlier #64996) asked for a more compact default
/contextwhile keeping/context allas the full listing. What shipped collapses the instruction-file section even underall, which goes further than those requests. This may be a side effect of that compaction work.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.277
- Feedback ID: 5a894aa7-a662-4999-a2b7-2ce24bec2a1b
Errors
[]
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with the /context all and /memory command entry points and compare the two renderers, including both fullscreen and default TUI modes. Reproduce with CLAUDE.md, .claude/rules/*.md, and an @ import; done means /context all restores one token-counted row per instruction file while retaining the summary and other sections.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100