Files
gemini-cli/packages/cli
Abhijit Balaji 7bf08065f7 feat(core): implement Narrative Progress Protocol via update_topic tool
- 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.
2026-03-23 12:12:49 -07:00
..
2026-02-24 09:43:22 +00:00