You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subagent & Primary Agent Unified Lifecycle Hooks. Lifetime Cutoff Propagation to New Sessions and Conversations
Subagent & Primary Agent Unified Lifecycle Hooks: PreToolUse now evaluates all lifecycle checks (un-paged file reads, unbounded command dumps, active cutoffs, and file category exemptions) identically across both primary agents and subagents.
Shared Conversation Dashboard for Subagents: Interceptions and metrics generated by subagents now resolve to the root/parent conversation ID (resolveSharedSessionId), feeding directly into the active conversation dashboard in real-time. Added dedicated subagent badges in the recent activity feed to indicate which subagent triggered the event.
Session Lifecycle Overrides Reset: Added clearSessionOverrides() to ContextModeStore. Wired into the SessionStart hook and server process initialization so that when a new application session begins (app restart), transient session overrides are cleared and the session starts fresh with the Lifetime default.
Direct Indexing Telemetry (ctx_index): ctx_index now records an event in the events journal upon successful indexing, immediately updating dashboard call counts and crediting kept-out tokens.
Fixed
Lifetime Cutoff Propagation to New Sessions and Conversations: Changing the cutoff in Lifetime scope ("all", "lifetime", or null) now updates cutoff:global in SQLite and clears any transient session-level (cutoff:session:app) and fallback default (cutoff:session:default) overrides. New sessions and new conversations automatically inherit the new Lifetime cutoff as their default.
Accurate Context Saved Calculations (Eliminated Double-Counting): Refactored getStats() to prevent execution outputs from being counted twice across events (sandbox_bytes) and sources (bytes_total). Raw, returned, and kept-out bytes are now computed on a per-event basis with MAX(sandbox_bytes, bytes, returned_bytes), ensuring passthrough commands with full returns do not penalize the savings of other tools.
MCP Server Root Session Binding: server.js and createTools now bind session ID resolution to process.env.ANTIGRAVITY_ROOT_CONVERSATION_ID and process.env.ANTIGRAVITY_PARENT_CONVERSATION_ID, ensuring MCP tool calls from subagents share indexed chunks and search states with the primary conversation.