Implement conversation state management #10922

Merged
HAL9000 merged 6 commits from issue-1-conversation-state into master 2026-06-18 14:53:56 +00:00

6 Commits

Author SHA1 Message Date
controller-ci-rerun dd1bd6b011 chore: re-trigger CI [controller]
CI / load-versions (pull_request) Successful in 18s
CI / push-validation (pull_request) Successful in 23s
CI / lint (pull_request) Successful in 44s
CI / helm (pull_request) Successful in 44s
CI / build (pull_request) Successful in 45s
CI / quality (pull_request) Successful in 1m19s
CI / typecheck (pull_request) Successful in 1m27s
CI / security (pull_request) Successful in 1m25s
CI / unit_tests (pull_request) Successful in 5m47s
CI / docker (pull_request) Successful in 2m11s
CI / integration_tests (pull_request) Successful in 9m5s
CI / coverage (pull_request) Successful in 10m13s
CI / status-check (pull_request) Successful in 3s
2026-06-18 10:10:25 -04:00
CleverAgents Bot de9f9929c3 fix(langgraph): recognize fallback tool agents
CI / load-versions (pull_request) Successful in 14s
CI / push-validation (pull_request) Successful in 24s
CI / lint (pull_request) Successful in 49s
CI / integration_tests (pull_request) Successful in 10m24s
CI / helm (pull_request) Failing after 12m58s
CI / build (pull_request) Failing after 13m37s
CI / unit_tests (pull_request) Failing after 13m39s
CI / quality (pull_request) Failing after 13m39s
CI / security (pull_request) Failing after 13m40s
CI / typecheck (pull_request) Failing after 13m40s
CI / coverage (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
CI / status-check (pull_request) Has been cancelled
2026-06-18 09:49:41 -04:00
CleverAgents Bot b10750bcb3 style(langgraph): format conversation state changes 2026-06-18 09:49:41 -04:00
CleverAgents Bot 4b6547b114 fix(langgraph): preserve state history coverage semantics 2026-06-18 09:49:41 -04:00
HAL9000 fcf1306817 fix(langgraph): resolve conversation state management review issues
Fixed all issues identified in PR review:

1. Fixed self.history property/attribute conflict in ConversationStateManager:
   - Renamed internal snapshot list from self.history to self._snapshots
   - The @property history now correctly returns conversation messages
   - Added public snapshots property for time-travel snapshot access
   - Updated existing tests to use manager.snapshots instead of manager.history

2. Removed unused variable full_history and dead code self._node_executors
   noqa comment from graph.py execute() method

3. Fixed ambiguous NON-BREAKING HYPHEN in state.py docstring

4. Restored removed public methods to ConversationStateManager:
   - clear_history(), load_checkpoint(), get_latest_checkpoint()
   - time_travel(), replace_state()
   - Added state property for backward compatibility

5. Fixed reset() to properly restore metadata from initial_state

6. Added BDD feature file and step definitions for conversation state
   management covering all 6 changed files

ISSUES CLOSED: #1
2026-06-18 09:49:41 -04:00
HAL9000 eba64663d1 Implement conversation state management 2026-06-18 09:49:41 -04:00