Skip to content

Key Claude limits cache by CLAUDE_CONFIG_DIR - #9411

Open
Chessing234 wants to merge 2 commits into
omacom:quattrofrom
Chessing234:fix/claude-limits-cache-per-config-dir
Open

Key Claude limits cache by CLAUDE_CONFIG_DIR#9411
Chessing234 wants to merge 2 commits into
omacom:quattrofrom
Chessing234:fix/claude-limits-cache-per-config-dir

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • Scan caches were already per-projects-path; the limits probe used a fixed claude-limits.json.
  • Key the probe cache by a digest of config_dir() so multi-account setups do not reuse another account’s numbers.

Test plan

  • test/shell.d/agent-usage-claude-limits-test.sh
  • Two CLAUDE_CONFIG_DIR values get distinct cache files

scan caches were already per-projects-path; the limits probe used a
fixed claude-limits.json, so account B could reuse account A’s numbers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant