entelligence-cli 0.1.263__tar.gz → 0.1.264__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/PKG-INFO +1 -1
  2. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/insights.py +53 -18
  3. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli.egg-info/PKG-INFO +1 -1
  4. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/pyproject.toml +1 -1
  5. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_sync_pushes_built_sessions.py +161 -9
  6. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/README.md +0 -0
  7. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/__init__.py +0 -0
  8. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/__init__.py +0 -0
  9. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/__init__.py +0 -0
  10. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/__init__.py +0 -0
  11. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/__init__.py +0 -0
  12. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_paths.py +0 -0
  13. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_segmentation_prompts/system.j2 +0 -0
  14. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_segmentation_prompts/user.j2 +0 -0
  15. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/__init__.py +0 -0
  16. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/_base.py +0 -0
  17. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/_jsonl_utils.py +0 -0
  18. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/__init__.py +0 -0
  19. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/git_reader.py +0 -0
  20. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/models.py +0 -0
  21. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/parser.py +0 -0
  22. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/entireio/source.py +0 -0
  23. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/factory.py +0 -0
  24. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/__init__.py +0 -0
  25. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/__init__.py +0 -0
  26. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/base.py +0 -0
  27. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/claude_code.py +0 -0
  28. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/codex.py +0 -0
  29. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/copilot.py +0 -0
  30. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/cursor_agent_transcript.py +0 -0
  31. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/cursor_store.py +0 -0
  32. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/kiro.py +0 -0
  33. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/parsers/opencode.py +0 -0
  34. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/_sources/local/source.py +0 -0
  35. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/behavior_signals.py +0 -0
  36. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/edit_lines.py +0 -0
  37. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/file_paths.py +0 -0
  38. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/metrics.py +0 -0
  39. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/segment_orchestrator.py +0 -0
  40. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/segment_pure.py +0 -0
  41. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/session_pure.py +0 -0
  42. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/skill_names.py +0 -0
  43. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/ingestion/coding_agent/spans.py +0 -0
  44. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/pricing.py +0 -0
  45. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/vocabulary/__init__.py +0 -0
  46. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/vocabulary/categories.py +0 -0
  47. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/vocabulary/edges.py +0 -0
  48. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/_vendor/memory_core/vocabulary/nodes.py +0 -0
  49. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/agent_insights_proxy.py +0 -0
  50. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/agent_insights_segment.py +0 -0
  51. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/api_client.py +0 -0
  52. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/ascii-art.txt +0 -0
  53. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/browser_login.py +0 -0
  54. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/cli.py +0 -0
  55. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/__init__.py +0 -0
  56. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/auth.py +0 -0
  57. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/budget.py +0 -0
  58. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/config.py +0 -0
  59. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/cursor_doctor.py +0 -0
  60. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/incident.py +0 -0
  61. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/mcp.py +0 -0
  62. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/reset.py +0 -0
  63. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/review.py +0 -0
  64. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/router.py +0 -0
  65. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/security.py +0 -0
  66. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/skills.py +0 -0
  67. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/commands/update.py +0 -0
  68. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/config.py +0 -0
  69. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/cursor_path_a_usage.py +0 -0
  70. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/diagnostics.py +0 -0
  71. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/exceptions.py +0 -0
  72. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/facts_envelope.py +0 -0
  73. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/git_operations.py +0 -0
  74. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/hooks/__init__.py +0 -0
  75. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/hooks/capacity_emit.py +0 -0
  76. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/hooks/session_brief.py +0 -0
  77. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/hooks/standup_emit.py +0 -0
  78. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/insights_log.py +0 -0
  79. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/mcp_inventory.py +0 -0
  80. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/platform_env.py +0 -0
  81. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/__init__.py +0 -0
  82. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/bedrock.py +0 -0
  83. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/catalog.py +0 -0
  84. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/claude_settings.py +0 -0
  85. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/codex_auth.py +0 -0
  86. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/codex_settings.py +0 -0
  87. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/compress.py +0 -0
  88. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/copilot_launcher.py +0 -0
  89. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/copilot_settings.py +0 -0
  90. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/daemon.py +0 -0
  91. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/engine.py +0 -0
  92. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/gateway.py +0 -0
  93. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/gemini_translate.py +0 -0
  94. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/openai_translate.py +0 -0
  95. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/proxy.py +0 -0
  96. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/router/state.py +0 -0
  97. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/scheduling.py +0 -0
  98. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/session_inventory.py +0 -0
  99. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/textual_ui.py +0 -0
  100. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/ui/__init__.py +0 -0
  101. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/ui/interactive.py +0 -0
  102. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/ui/keys.py +0 -0
  103. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/ui/loaders.py +0 -0
  104. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/ui/output.py +0 -0
  105. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/ui/styles.py +0 -0
  106. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/update_checker.py +0 -0
  107. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/__init__.py +0 -0
  108. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/conductor.py +0 -0
  109. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/config.py +0 -0
  110. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/cursor_usage.py +0 -0
  111. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/discovery.py +0 -0
  112. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/manifest.py +0 -0
  113. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/models.py +0 -0
  114. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/pii.py +0 -0
  115. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/runner.py +0 -0
  116. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/secrets.py +0 -0
  117. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/upload/stores.py +0 -0
  118. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli/wrapped_game.py +0 -0
  119. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli.egg-info/SOURCES.txt +0 -0
  120. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli.egg-info/dependency_links.txt +0 -0
  121. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli.egg-info/entry_points.txt +0 -0
  122. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli.egg-info/requires.txt +0 -0
  123. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/entelligence_cli.egg-info/top_level.txt +0 -0
  124. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/setup.cfg +0 -0
  125. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_agent_insights_proxy.py +0 -0
  126. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_agent_insights_proxy_api_client.py +0 -0
  127. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_agent_insights_segment.py +0 -0
  128. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_attach_fix_smoke.py +0 -0
  129. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_attach_ticket_smoke.py +0 -0
  130. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_budget_smoke.py +0 -0
  131. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_capacity_emit.py +0 -0
  132. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_codex_auth.py +0 -0
  133. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_codex_settings.py +0 -0
  134. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_conductor.py +0 -0
  135. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_copilot_launcher.py +0 -0
  136. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_copilot_parser_tokens.py +0 -0
  137. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_composer_mtime_stamp.py +0 -0
  138. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_doctor.py +0 -0
  139. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_path_a_usage.py +0 -0
  140. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_path_regex_and_heartbeat.py +0 -0
  141. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_self_heal_loop.py +0 -0
  142. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_usage.py +0 -0
  143. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_usage_archive.py +0 -0
  144. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_usage_heal.py +0 -0
  145. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_usage_recapture.py +0 -0
  146. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_cursor_usage_state.py +0 -0
  147. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_detached_background_work.py +0 -0
  148. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_diagnostics.py +0 -0
  149. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_discovery_head_unicode.py +0 -0
  150. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_discovery_opencode.py +0 -0
  151. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_eligibility_state.py +0 -0
  152. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_endpoint_scheme_enforcement.py +0 -0
  153. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_entropy_secret_detection.py +0 -0
  154. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_error_body_decode.py +0 -0
  155. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_facts_envelope.py +0 -0
  156. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_gemini_key_header.py +0 -0
  157. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_git_operations_copilot.py +0 -0
  158. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_heartbeat_api_client.py +0 -0
  159. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_identity_cache_refresh.py +0 -0
  160. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_incident_refs.py +0 -0
  161. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_incident_smoke.py +0 -0
  162. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_cadence_heartbeat.py +0 -0
  163. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_checkpoint_resume.py +0 -0
  164. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_copilot_prompts.py +0 -0
  165. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_cursor_composer_home.py +0 -0
  166. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_index_failure.py +0 -0
  167. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_kiro_prompts.py +0 -0
  168. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_log.py +0 -0
  169. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_me_smoke.py +0 -0
  170. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_path_a_default.py +0 -0
  171. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_produced_prs.py +0 -0
  172. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_redrain.py +0 -0
  173. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_repo_attribution.py +0 -0
  174. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_schedule.py +0 -0
  175. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_schedule_arm.py +0 -0
  176. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_insights_structured_payload.py +0 -0
  177. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_legacy_encoding_recovery.py +0 -0
  178. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_login_token_stdin.py +0 -0
  179. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_machine_fingerprint.py +0 -0
  180. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_mcp_install.py +0 -0
  181. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_mcp_inventory.py +0 -0
  182. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_multipart_backoff.py +0 -0
  183. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_pii.py +0 -0
  184. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_presigned_skip_index.py +0 -0
  185. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_processing_checkpoint_api_client.py +0 -0
  186. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_release_directive.py +0 -0
  187. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_reset_command.py +0 -0
  188. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_review_redaction.py +0 -0
  189. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_rosetta_self_heal.py +0 -0
  190. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_router_commands.py +0 -0
  191. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_router_dead_proxy_guard.py +0 -0
  192. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_router_stats.py +0 -0
  193. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_scheduling_cron_env.py +0 -0
  194. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_schtasks_integration.py +0 -0
  195. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_secrets_redaction_boundary.py +0 -0
  196. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_security_commands.py +0 -0
  197. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_segment_chunking.py +0 -0
  198. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_segment_session_timeout.py +0 -0
  199. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_segmentation_window_scope.py +0 -0
  200. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_session_brief.py +0 -0
  201. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_session_inventory.py +0 -0
  202. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_sessions_status_chunking.py +0 -0
  203. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_sessions_status_safe_default.py +0 -0
  204. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_skills_command.py +0 -0
  205. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_sync_partial_schema.py +0 -0
  206. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_sync_runs_full_pipeline.py +0 -0
  207. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_update_command.py +0 -0
  208. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_upload_copilot.py +0 -0
  209. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_upload_cursor_store.py +0 -0
  210. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_upload_home_backfill.py +0 -0
  211. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_upload_kiro.py +0 -0
  212. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_upload_repo_filter.py +0 -0
  213. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_upload_repo_roots.py +0 -0
  214. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_windows_compat.py +0 -0
  215. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_wrap_retry.py +0 -0
  216. {entelligence_cli-0.1.263 → entelligence_cli-0.1.264}/tests/test_wsl_support.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entelligence-cli
3
- Version: 0.1.263
3
+ Version: 0.1.264
4
4
  Summary: AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes
5
5
  Author-email: EntelligenceAI <info@entelligence.ai>
6
6
  Project-URL: Homepage, https://entelligence.ai
@@ -2711,26 +2711,43 @@ def _sync_cmd(
2711
2711
  # a reset so it never reaches the older sessions it means to re-process.
2712
2712
  # `pending_generation` is the directive being obeyed (or None); it is recorded
2713
2713
  # to local state ONLY after the push below succeeds, so a failed/partial run
2714
- # re-obeys instead of consuming it. `--all` bypasses the resolver.
2715
- if push_all:
2716
- hwm, pending_generation, pending_client_generation, pending_client_user = (
2717
- None,
2718
- None,
2719
- None,
2720
- None,
2721
- )
2722
- else:
2723
- (
2724
- hwm,
2725
- pending_generation,
2726
- pending_client_generation,
2727
- pending_client_user,
2728
- ) = _resolve_high_water_mark(api_client, org_uuid, user_uuid=user_uuid)
2714
+ # re-obeys instead of consuming it.
2715
+ #
2716
+ # ENT-4436 (review-caught in production, 2026-09-03): `--all` used to skip
2717
+ # this call entirely, on the theory that a full re-push makes the resume
2718
+ # point moot. It doesn't — a per-client directive (backfill, or a sweep's
2719
+ # tail/seg entry) is never CONSULTED OR STAMPED without this call, so on
2720
+ # every machine whose only sync path is the scheduled `--agent` fire
2721
+ # (which always runs `sync --all`, see `_run_full_pipeline`), directives
2722
+ # sat un-obeyed forever: CloudWatch showed zero `checkpoint_resolved`
2723
+ # events across dozens of scheduled runs on affected machines. `--all`'s
2724
+ # actual, load-bearing job is bypassing the incremental watermark (line
2725
+ # below), not skipping directive resolution — so the resolver always
2726
+ # runs now, and the returned resume point is discarded for `--all` only
2727
+ # when nothing pending needs it kept (see the comment just below).
2728
+ (
2729
+ hwm,
2730
+ pending_generation,
2731
+ pending_client_generation,
2732
+ pending_client_user,
2733
+ ) = _resolve_high_water_mark(api_client, org_uuid, user_uuid=user_uuid)
2734
+ if push_all and pending_generation is None and pending_client_generation is None:
2735
+ # Review-caught: nulling `hwm` unconditionally under `--all` also
2736
+ # collapsed a PENDING directive's own, deliberately narrower resume
2737
+ # point. A tail directive resolves `hwm` to the efficient local
2738
+ # watermark on purpose (its target is force-included separately,
2739
+ # by id — see `tail_targets` below — never by widening the window);
2740
+ # a window-mode directive resolves `hwm` to its own `resume_from`,
2741
+ # which the cutoff-widening logic just below already folds in
2742
+ # correctly. `--all`'s own job — skip the PER-SESSION incremental
2743
+ # watermark check — happens later (`not push_all` there) regardless
2744
+ # of what `hwm` holds, so leaving it alone here costs nothing.
2745
+ hwm = None
2729
2746
  # ENT-4419 (cli slice 6): the pending directive's tail targets, by session
2730
2747
  # id — force-included below regardless of the watermark and the look-back
2731
2748
  # (a truncated projection is exactly a session the watermark already
2732
2749
  # passed). Popped, so a later run in this process never inherits them.
2733
- tail_targets: dict[str, dict] = {} if push_all else _PENDING_TAIL_ENTRIES.pop(org_uuid, {})
2750
+ tail_targets: dict[str, dict] = _PENDING_TAIL_ENTRIES.pop(org_uuid, {})
2734
2751
  if tail_targets:
2735
2752
  runlog.line(
2736
2753
  "discover", f"resume directive: {len(tail_targets)} tail target(s) force-included"
@@ -2752,7 +2769,19 @@ def _sync_cmd(
2752
2769
  window_cutoff: datetime | None = None
2753
2770
  if hours:
2754
2771
  cutoff: datetime | None = datetime.now(UTC) - timedelta(hours=hours)
2755
- if pending_generation is not None or pending_client_generation is not None:
2772
+ # Review-caught: a per-client generation pending SOLELY because of
2773
+ # tail targets (`tail_targets` non-empty) is not a window-mode
2774
+ # directive at all — `_resolve_high_water_mark` deliberately resolves
2775
+ # its `hwm` to the plain local watermark (never "from the beginning"),
2776
+ # which can easily be OLDER than the routine --hours cutoff on a
2777
+ # machine that only ever syncs via the scheduled `--all` fire. Folding
2778
+ # THAT into `min(cutoff, hwm)` would widen the window for every other
2779
+ # session too, exactly the unrelated-history reprocessing this
2780
+ # mechanism exists to avoid — the tail's own target reaches the build
2781
+ # loop regardless, via `tail_targets` below, never by widening.
2782
+ if pending_generation is not None or (
2783
+ pending_client_generation is not None and not tail_targets
2784
+ ):
2756
2785
  cutoff = None if hwm is None else min(cutoff, hwm)
2757
2786
  window_cutoff = cutoff
2758
2787
  if cutoff is not None:
@@ -2915,7 +2944,13 @@ def _sync_cmd(
2915
2944
  # would silently drop it from the heal set without a push, freezing
2916
2945
  # its $0 row forever (review finding).
2917
2946
  _parsed_end = session.get("end_time")
2918
- if window_cutoff is not None and _parsed_end:
2947
+ # Review-caught (CRITICAL): the pre-filter above exempts a tail
2948
+ # target by id regardless of age, but this guard re-checked the
2949
+ # SAME cutoff against the just-parsed content time with no such
2950
+ # exemption — a tail target old enough to need resuming (the whole
2951
+ # reason it was targeted) could pass the pre-filter and then be
2952
+ # silently dropped here, omitting the directive's actual work.
2953
+ if window_cutoff is not None and _parsed_end and disc.session_id not in tail_targets:
2919
2954
  with suppress(ValueError, TypeError):
2920
2955
  _end_dt = datetime.fromisoformat(_parsed_end)
2921
2956
  if _end_dt.tzinfo is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entelligence-cli
3
- Version: 0.1.263
3
+ Version: 0.1.264
4
4
  Summary: AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes
5
5
  Author-email: EntelligenceAI <info@entelligence.ai>
6
6
  Project-URL: Homepage, https://entelligence.ai
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "entelligence-cli"
7
- version = "0.1.263"
7
+ version = "0.1.264"
8
8
  description = "AI-powered code review assistant for your terminal - Get instant, intelligent feedback on your code changes"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -32,6 +32,9 @@ ins = sys.modules["entelligence_cli.commands.insights"]
32
32
  ORG = "org-A"
33
33
  NOW = datetime.now(UTC)
34
34
  RECENT = NOW - timedelta(hours=3)
35
+ OLD = NOW - timedelta(days=400) # well outside the default --hours window
36
+ STALE_WATERMARK = NOW - timedelta(days=60) # older than the default 30-day window
37
+ MID = NOW - timedelta(days=40) # older than the 30-day window, newer than STALE_WATERMARK
35
38
 
36
39
 
37
40
  def _spans(sid: str, when: datetime = RECENT) -> list[SpanData]:
@@ -111,12 +114,20 @@ def harness(tmp_path, monkeypatch):
111
114
  monkeypatch.setattr(
112
115
  "entelligence_cli.upload.cursor_usage.fetch_cursor_usage", lambda start, end, **kw: {}
113
116
  )
114
- state = {"source": _Source(["s1"]), "hwm": None, "gen": None}
115
- monkeypatch.setattr(
116
- ins,
117
- "_resolve_high_water_mark",
118
- lambda api, org, user_uuid=None: (state["hwm"], state["gen"], None, None),
119
- )
117
+ state = {
118
+ "source": _Source(["s1"]),
119
+ "hwm": None,
120
+ "gen": None,
121
+ "client_gen": None,
122
+ "client_user": None,
123
+ }
124
+ resolver_calls = {"n": 0}
125
+
126
+ def _resolver(api, org, user_uuid=None):
127
+ resolver_calls["n"] += 1
128
+ return (state["hwm"], state["gen"], state["client_gen"], state["client_user"])
129
+
130
+ monkeypatch.setattr(ins, "_resolve_high_water_mark", _resolver)
120
131
  fake_factory = types.ModuleType("memory_core.ingestion.coding_agent._sources.factory")
121
132
  fake_factory.get_source = lambda *a, **k: state["source"]
122
133
  monkeypatch.setitem(
@@ -129,9 +140,9 @@ def harness(tmp_path, monkeypatch):
129
140
  }
130
141
  api.ingest_agent_insights_session_commits.return_value = {"stored": 0}
131
142
 
132
- def run():
143
+ def run(extra_args=()):
133
144
  ins._sync_cmd.main(
134
- args=["--metrics-only", "--no-schedule"],
145
+ args=["--metrics-only", "--no-schedule", *extra_args],
135
146
  obj={"api_client": api, "user_info": {"OrgUUID": ORG}},
136
147
  standalone_mode=False,
137
148
  )
@@ -142,7 +153,9 @@ def harness(tmp_path, monkeypatch):
142
153
  out.extend(call.args[1]["sessions"])
143
154
  return out
144
155
 
145
- return SimpleNamespace(state=state, api=api, run=run, pushed=pushed)
156
+ return SimpleNamespace(
157
+ state=state, api=api, run=run, pushed=pushed, resolver_calls=resolver_calls
158
+ )
146
159
 
147
160
 
148
161
  def test_first_sync_pushes_every_discovered_session(harness):
@@ -408,3 +421,142 @@ def test_a_tail_target_whose_anchor_changed_pushes_the_whole_session(harness, mo
408
421
  assert [(a["outcome"], a["reason"], a["count"]) for a in applied] == [
409
422
  ("skipped", "hash_mismatch_full", 2)
410
423
  ]
424
+
425
+
426
+ def test_all_still_consults_and_stamps_a_pending_org_directive(harness):
427
+ # ENT-4436 (review-caught in production): `--all` used to skip the resolver
428
+ # entirely, so a machine whose only sync path is the scheduled `--agent`
429
+ # fire (always `--all`) never obeyed or recorded ANY per-run directive —
430
+ # CloudWatch showed zero checkpoint_resolved events across dozens of runs.
431
+ harness.state["gen"] = 7 # a pending org-wide directive
432
+ harness.run(extra_args=["--all"])
433
+ assert harness.resolver_calls["n"] == 1
434
+ # Review-caught: without this, an empty-build regression (`_sync_cmd`'s
435
+ # own "0 sessions, stamp anyway" branch) would satisfy this test too —
436
+ # prove the generation was recorded AFTER a real push, not instead of one.
437
+ assert [s["session_id"] for s in harness.pushed()] == ["local:claude-code:s1"]
438
+ assert ins._read_sync_state(ORG)[1] == 7 # the generation actually persisted
439
+
440
+
441
+ def test_all_still_stamps_a_pending_client_directive(harness):
442
+ harness.state["client_gen"] = 9
443
+ harness.state["client_user"] = "user-1"
444
+ harness.run(extra_args=["--all"])
445
+ assert harness.resolver_calls["n"] == 1
446
+ assert [s["session_id"] for s in harness.pushed()] == ["local:claude-code:s1"]
447
+ assert ins._read_client_directive_generation("metrics_generation", ORG, "user-1") == 9
448
+
449
+
450
+ def test_all_still_discards_only_the_resume_point_not_directive_consultation(harness):
451
+ # The one thing `--all` must keep doing: bypass the incremental watermark
452
+ # so every local session is re-pushed, even when the (now-always-called)
453
+ # resolver returns a recent hwm that would otherwise filter s1 out.
454
+ harness.state["hwm"] = NOW # newer than s1's RECENT last_span_time
455
+ harness.state["gen"] = None # no directive pending — isolates the hwm behavior
456
+ harness.run(extra_args=["--all"])
457
+ assert harness.resolver_calls["n"] == 1
458
+ assert [s["session_id"] for s in harness.pushed()] == ["local:claude-code:s1"]
459
+
460
+
461
+ def test_all_with_a_pending_tail_directive_does_not_reprocess_unrelated_history(harness):
462
+ # Review-caught (major): nulling `hwm` unconditionally under `--all` also
463
+ # collapsed the routine --hours window for every OTHER session whenever
464
+ # ANY directive was pending — a scheduled run would reprocess a
465
+ # machine's entire local history instead of the normal window plus the
466
+ # one specific session the tail directive named. `hwm=RECENT` models an
467
+ # established machine's real local watermark (what the resolver actually
468
+ # returns for a tail-only directive — the resume point stays the
469
+ # efficiency watermark on purpose); `client_gen` models the tail's own
470
+ # pending per-client generation, the thing that only reaches the window-
471
+ # widening formula at all once the resolver is consulted under `--all`.
472
+ harness.state["source"] = _Source(["old", "young"], last=OLD)
473
+ harness.state["hwm"] = RECENT
474
+ harness.state["client_gen"] = 9
475
+ harness.state["client_user"] = "user-1"
476
+ ins._PENDING_TAIL_ENTRIES[ORG] = {
477
+ "local:claude-code:young": {
478
+ "session_id": "local:claude-code:young",
479
+ "mode": "tail",
480
+ "resume_from": {
481
+ "turn_id": "x",
482
+ "kind": "jsonl",
483
+ "hash": "h",
484
+ "offset": 0,
485
+ "base_hash": "base",
486
+ },
487
+ }
488
+ }
489
+ harness.run(extra_args=["--all"])
490
+ # Review-caught: this test seeds _PENDING_TAIL_ENTRIES directly, so it
491
+ # would still pass if --all skipped the resolver entirely — the build
492
+ # loop pops the seeded target on its own. Assert the resolver actually
493
+ # ran, not just that its manually-seeded side effect took hold.
494
+ assert harness.resolver_calls["n"] == 1
495
+ ids = {s["session_id"] for s in harness.pushed()}
496
+ # "old" is neither recent nor a tail target — the window must still
497
+ # exclude it. "young" is the tail target — force-included regardless of
498
+ # its own (equally old, in this fixture) last_span_time.
499
+ assert ids == {"local:claude-code:young"}
500
+
501
+
502
+ def test_a_tail_only_directive_does_not_widen_the_cutoff_via_a_stale_local_watermark(harness):
503
+ # Review-caught (major, second round): the resolver deliberately resolves
504
+ # a tail-only directive's hwm to the plain LOCAL watermark (never "from
505
+ # the beginning") -- but on a machine that only ever syncs via the
506
+ # scheduled --all fire, that watermark can be genuinely stale (older
507
+ # than the routine --hours window). Folding it into the widening
508
+ # formula's min(cutoff, hwm) would widen the window for every OTHER
509
+ # session too, exactly the unrelated-history reprocessing this whole
510
+ # mechanism exists to avoid.
511
+ harness.state["source"] = _Source(["untargeted", "target"], last=MID)
512
+ harness.state["hwm"] = STALE_WATERMARK
513
+ harness.state["client_gen"] = 9
514
+ harness.state["client_user"] = "user-1"
515
+ ins._PENDING_TAIL_ENTRIES[ORG] = {
516
+ "local:claude-code:target": {
517
+ "session_id": "local:claude-code:target",
518
+ "mode": "tail",
519
+ "resume_from": {
520
+ "turn_id": "x",
521
+ "kind": "jsonl",
522
+ "hash": "h",
523
+ "offset": 0,
524
+ "base_hash": "base",
525
+ },
526
+ }
527
+ }
528
+ harness.run(extra_args=["--all"])
529
+ ids = {s["session_id"] for s in harness.pushed()}
530
+ # "untargeted" is 40 days old -- outside the normal 30-day window, and
531
+ # NOT the tail target -- the window must not have widened to admit it.
532
+ assert ids == {"local:claude-code:target"}
533
+
534
+
535
+ def test_a_tail_target_survives_the_parsed_time_guard_even_when_genuinely_old(harness):
536
+ # Review-caught (CRITICAL, third round): the pre-filter above exempts a
537
+ # tail target by id regardless of age -- but a SEPARATE, later guard
538
+ # re-checks the same cutoff against the just-PARSED content time (ENT-4183,
539
+ # since discovery's mtime estimate can be wrong), with no such exemption.
540
+ # A tail target old enough to need resuming -- the whole reason it was
541
+ # targeted -- could pass the pre-filter and then be silently dropped
542
+ # here, omitting the directive's actual work entirely.
543
+ harness.state["source"] = _Source(["target"], last=RECENT, span_time={"target": OLD})
544
+ harness.state["client_gen"] = 9
545
+ harness.state["client_user"] = "user-1"
546
+ ins._PENDING_TAIL_ENTRIES[ORG] = {
547
+ "local:claude-code:target": {
548
+ "session_id": "local:claude-code:target",
549
+ "mode": "tail",
550
+ "resume_from": {
551
+ "turn_id": "x",
552
+ "kind": "jsonl",
553
+ "hash": "h",
554
+ "offset": 0,
555
+ "base_hash": "base",
556
+ },
557
+ }
558
+ }
559
+ harness.run(extra_args=["--all"])
560
+ assert harness.resolver_calls["n"] == 1 # same gap: prove the resolver ran
561
+ ids = {s["session_id"] for s in harness.pushed()}
562
+ assert ids == {"local:claude-code:target"}