mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-17 23:32:43 -07:00
7bf08065f7
- Rename `create_new_topic` to `update_topic` to support continuous narrative heartbeats. - Introduce `strategic_intent` parameter to capture tactical reasoning within tool-use turns. - Consolidate `previous_summary` and `current_summary` into a single `summary` parameter to simplify model narrative bridging. - Implement Smart Narrative Routing in `UpdateTopicTool` to dynamically toggle between full chapter headers and tactical intent-only heartbeats based on topic transitions. - Update `TopicState` to track both active topic and active intent session-wide. - Overhaul system prompt snippets to mandate the Heartbeat protocol, enforcing strictly granular, single-idea chapters and forbidding clubbed phases. - Gate all logic and tool accessibility behind the `topicUpdateNarration` experimental flag. - Update security policies (read-only and plan) to whitelist the heartbeat tool. - Refactor scheduler logic to prioritize `update_topic` as the first execution in any batch. - Synchronize all core and CLI configuration tests with the new tool schema and naming.