Improve project state caching with regular refresh and Claude hook integration #336
Labels
No labels
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#336
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Project state caching is flawed — cached data can become stale without the user noticing, leading to incorrect state being displayed or acted upon.
Proposed Solution
Two-pronged approach:
1. Regular refresh
2. Claude hooks for cache updates
iw dashboardto update the cacheContext
Currently the cache can drift from actual state, especially during active work sessions where state changes frequently via Claude Code interactions.