zikaron 0.4.0__tar.gz → 0.4.2__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 (454) hide show
  1. {zikaron-0.4.0/zikaron.egg-info → zikaron-0.4.2}/PKG-INFO +185 -120
  2. {zikaron-0.4.0 → zikaron-0.4.2}/README.md +184 -119
  3. {zikaron-0.4.0 → zikaron-0.4.2}/pyproject.toml +1 -1
  4. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_access_log.py +9 -4
  5. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_background_encoder.py +1 -1
  6. zikaron-0.4.2/tests/test_code_knowledge_kiro_live.py +264 -0
  7. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_code_knowledge_reminder.py +11 -7
  8. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_snapshot_planning.py +6 -2
  9. zikaron-0.4.2/tests/test_guard_kiro_live.py +131 -0
  10. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_main.py +168 -21
  11. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_nudge.py +1 -1
  12. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_rule_table.py +1 -1
  13. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_selfmatch_table.py +1 -1
  14. zikaron-0.4.2/tests/test_guard_texts.py +261 -0
  15. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_harness_detect.py +56 -13
  16. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_harness_table.py +91 -68
  17. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_components.py +27 -2
  18. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_connect.py +6 -4
  19. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_connect_edge_cases.py +15 -6
  20. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_connect_integration.py +1 -1
  21. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_connect_race.py +1 -1
  22. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_connect_real_service_integration.py +2 -2
  23. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_envelope.py +22 -29
  24. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_main.py +18 -16
  25. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_push.py +54 -24
  26. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_reminder.py +2 -0
  27. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_rpc.py +13 -10
  28. zikaron-0.4.2/tests/test_hook_session_relay.py +197 -0
  29. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_spawn_warm.py +3 -3
  30. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_stdlib_only.py +12 -1
  31. zikaron-0.4.2/tests/test_hook_tripwire.py +92 -0
  32. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_warm_helper_integration.py +1 -1
  33. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_write_policy.py +29 -46
  34. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_indexing_chunking.py +42 -8
  35. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_indexing_integration.py +16 -0
  36. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_assets.py +197 -73
  37. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_code_knowledge.py +300 -91
  38. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_components.py +22 -8
  39. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_e2e.py +49 -20
  40. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_harness.py +127 -23
  41. zikaron-0.4.2/tests/test_install_kiro_guards.py +278 -0
  42. zikaron-0.4.2/tests/test_install_kiro_live.py +315 -0
  43. zikaron-0.4.2/tests/test_install_limits.py +217 -0
  44. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_main.py +118 -36
  45. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_models.py +17 -43
  46. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_takeover.py +1 -1
  47. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_targets.py +45 -24
  48. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_writer.py +716 -280
  49. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_counters.py +13 -9
  50. zikaron-0.4.2/tests/test_knowledge_excerpts.py +136 -0
  51. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_groups.py +65 -1
  52. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_integration.py +5 -1
  53. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_linked_search.py +19 -10
  54. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_lock_race.py +7 -5
  55. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_registry.py +9 -4
  56. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_search.py +177 -16
  57. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_source_hash.py +27 -12
  58. zikaron-0.4.2/tests/test_loop_lateness.py +87 -0
  59. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_connection_integration.py +19 -14
  60. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_connection_labels.py +50 -24
  61. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_spill.py +36 -15
  62. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_context.py +2 -2
  63. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_context_assemble.py +1 -1
  64. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_diagnostics.py +20 -3
  65. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_lifecycle.py +20 -7
  66. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_lifecycle_integration.py +1 -1
  67. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_read_contention.py +41 -26
  68. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_surface_deadline.py +15 -8
  69. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_version_check.py +1 -0
  70. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_writer.py +63 -34
  71. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_store_pool.py +9 -4
  72. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/config/keys.py +8 -0
  73. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/chunking.py +35 -8
  74. zikaron-0.4.2/zikaron/core/knowledge/excerpts.py +75 -0
  75. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/groups.py +11 -9
  76. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/links.py +26 -11
  77. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/search.py +74 -55
  78. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/block.py +11 -11
  79. zikaron-0.4.2/zikaron/guard/__init__.py +2 -0
  80. zikaron-0.4.2/zikaron/guard/arguments.py +36 -0
  81. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/decision.py +5 -3
  82. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/main.py +75 -34
  83. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/messages.py +49 -18
  84. zikaron-0.4.2/zikaron/guard/start_text.py +63 -0
  85. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/harness/detect.py +23 -3
  86. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/harness/spec.py +114 -85
  87. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/connect.py +1 -1
  88. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/envelope.py +17 -38
  89. zikaron-0.4.2/zikaron/hook/limits.py +27 -0
  90. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/main.py +13 -5
  91. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/push.py +19 -14
  92. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/reminder.py +2 -2
  93. zikaron-0.4.2/zikaron/hook/session_relay.py +110 -0
  94. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/spawn_warm.py +13 -13
  95. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/tripwire.py +5 -14
  96. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/warm_helper.py +1 -1
  97. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/assets.py +124 -43
  98. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/code_knowledge.py +172 -119
  99. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/entries.py +233 -140
  100. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/harness.py +59 -4
  101. zikaron-0.4.2/zikaron/install/kiro_merge.py +837 -0
  102. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/main.py +9 -18
  103. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/models.py +10 -21
  104. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/targets.py +121 -84
  105. zikaron-0.4.2/zikaron/install/writer.py +470 -0
  106. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/connection.py +11 -5
  107. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/primary.py +27 -25
  108. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/server.py +9 -2
  109. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/spill.py +29 -17
  110. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/paths.py +16 -1
  111. {zikaron-0.4.0 → zikaron-0.4.2/zikaron.egg-info}/PKG-INFO +185 -120
  112. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron.egg-info/SOURCES.txt +11 -0
  113. zikaron-0.4.0/tests/test_guard_texts.py +0 -143
  114. zikaron-0.4.0/tests/test_hook_tripwire.py +0 -93
  115. zikaron-0.4.0/tests/test_install_limits.py +0 -313
  116. zikaron-0.4.0/zikaron/guard/__init__.py +0 -1
  117. zikaron-0.4.0/zikaron/guard/start_text.py +0 -19
  118. zikaron-0.4.0/zikaron/hook/limits.py +0 -63
  119. zikaron-0.4.0/zikaron/install/writer.py +0 -1058
  120. {zikaron-0.4.0 → zikaron-0.4.2}/LICENSE +0 -0
  121. {zikaron-0.4.0 → zikaron-0.4.2}/setup.cfg +0 -0
  122. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_agent_scan.py +0 -0
  123. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_asyncio_compat.py +0 -0
  124. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_check_gate.py +0 -0
  125. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_ci_workflow.py +0 -0
  126. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_cli_front_door.py +0 -0
  127. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_clock.py +0 -0
  128. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_code_knowledge_claude_live.py +0 -0
  129. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_code_knowledge_command.py +0 -0
  130. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_code_knowledge_plan.py +0 -0
  131. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_config_keys.py +0 -0
  132. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_config_resolution.py +0 -0
  133. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_grouping.py +0 -0
  134. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_invariants.py +0 -0
  135. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_observability.py +0 -0
  136. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_planning.py +0 -0
  137. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_refusals.py +0 -0
  138. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_serving.py +0 -0
  139. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_consolidation_verbs.py +0 -0
  140. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_ddl.py +0 -0
  141. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_definition_of_done_sites.py +0 -0
  142. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_design_pointers_resolve.py +0 -0
  143. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_design_tables.py +0 -0
  144. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_distribution.py +0 -0
  145. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_doctor.py +0 -0
  146. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_embedder.py +0 -0
  147. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_error_codes.py +0 -0
  148. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_event_kinds.py +0 -0
  149. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_claude_live.py +0 -0
  150. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_docstring_examples.py +0 -0
  151. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_malformed.py +0 -0
  152. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_properties.py +0 -0
  153. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_script_file.py +0 -0
  154. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_selfmatch.py +0 -0
  155. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_guard_selfmatch_premise.py +0 -0
  156. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_harness_store_scope.py +0 -0
  157. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_harness_tier_guard.py +0 -0
  158. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_failure.py +0 -0
  159. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_shell_search.py +0 -0
  160. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_subagent_policy.py +0 -0
  161. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_hook_warm_helper.py +0 -0
  162. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_indexing_acquisition.py +0 -0
  163. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_indexing_encoder.py +0 -0
  164. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_indexing_model_cache.py +0 -0
  165. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_indexing_writes.py +0 -0
  166. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_injected_prose_log.py +0 -0
  167. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_claude_live.py +0 -0
  168. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_install_snapshots.py +0 -0
  169. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_build_invariants.py +0 -0
  170. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_build_log.py +0 -0
  171. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_build_row_ordering.py +0 -0
  172. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_build_transactions.py +0 -0
  173. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_builds.py +0 -0
  174. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_chunking.py +0 -0
  175. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_cli.py +0 -0
  176. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_cli_integration.py +0 -0
  177. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_corpus_migration.py +0 -0
  178. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_database.py +0 -0
  179. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_ddl.py +0 -0
  180. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_detach.py +0 -0
  181. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_files.py +0 -0
  182. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_git.py +0 -0
  183. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_indexer.py +0 -0
  184. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_invariants.py +0 -0
  185. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_lifecycle.py +0 -0
  186. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_links.py +0 -0
  187. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_lock.py +0 -0
  188. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_meta.py +0 -0
  189. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_repair.py +0 -0
  190. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_reporting.py +0 -0
  191. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_roots.py +0 -0
  192. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_scan.py +0 -0
  193. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_scan_git.py +0 -0
  194. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_state.py +0 -0
  195. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_text.py +0 -0
  196. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_vectors.py +0 -0
  197. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_walk.py +0 -0
  198. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_knowledge_writes.py +0 -0
  199. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_markdown_renders_as_written.py +0 -0
  200. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_connection_ambiguous_failure.py +0 -0
  201. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_connection_cancellation.py +0 -0
  202. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_connection_concurrency.py +0 -0
  203. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_consolidator_bridge.py +0 -0
  204. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_errors.py +0 -0
  205. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_main.py +0 -0
  206. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_server.py +0 -0
  207. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_tool_descriptions.py +0 -0
  208. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_mcp_wire_contracts.py +0 -0
  209. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_meta.py +0 -0
  210. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_permissions.py +0 -0
  211. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_project_scope.py +0 -0
  212. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_publication_hygiene.py +0 -0
  213. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_quoted_design_prose_is_verbatim.py +0 -0
  214. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_readme_config_table.py +0 -0
  215. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_readme_internal_links.py +0 -0
  216. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_records_memory.py +0 -0
  217. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_records_receipts.py +0 -0
  218. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_records_supersession.py +0 -0
  219. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_retrieval_arms.py +0 -0
  220. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_retrieval_eligibility.py +0 -0
  221. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_retrieval_integration.py +0 -0
  222. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_retrieval_query.py +0 -0
  223. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_retrieval_ranking.py +0 -0
  224. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_retrieval_reads.py +0 -0
  225. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_diagnostics_integration.py +0 -0
  226. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_dispatch.py +0 -0
  227. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_dispatch_consolidation.py +0 -0
  228. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_dispatch_knowledge.py +0 -0
  229. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_encoder_failure_stop.py +0 -0
  230. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_envelope.py +0 -0
  231. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_knowledge_management.py +0 -0
  232. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_log.py +0 -0
  233. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_main.py +0 -0
  234. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_ownership.py +0 -0
  235. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_params.py +0 -0
  236. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_paths.py +0 -0
  237. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_reminder.py +0 -0
  238. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_rpc.py +0 -0
  239. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_security.py +0 -0
  240. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_server.py +0 -0
  241. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_spawned_builds.py +0 -0
  242. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_service_write_contention.py +0 -0
  243. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_signals_contention.py +0 -0
  244. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_signals_dedup.py +0 -0
  245. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_signals_horizon.py +0 -0
  246. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_signals_repair.py +0 -0
  247. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_signals_retirement.py +0 -0
  248. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_signals_sessions.py +0 -0
  249. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_signals_writes.py +0 -0
  250. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_socket_path_budget.py +0 -0
  251. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_spawned_interpreter.py +0 -0
  252. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_store.py +0 -0
  253. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_store_connection.py +0 -0
  254. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_store_migration.py +0 -0
  255. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_transaction_begin_sites.py +0 -0
  256. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_version_seam.py +0 -0
  257. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_write_dedup.py +0 -0
  258. {zikaron-0.4.0 → zikaron-0.4.2}/tests/test_write_tools.py +0 -0
  259. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/__init__.py +0 -0
  260. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/cli/__init__.py +0 -0
  261. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/cli/main.py +0 -0
  262. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/code_knowledge/__init__.py +0 -0
  263. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/code_knowledge/__main__.py +0 -0
  264. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/code_knowledge/apply.py +0 -0
  265. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/code_knowledge/main.py +0 -0
  266. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/code_knowledge/output.py +0 -0
  267. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/code_knowledge/survey.py +0 -0
  268. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/__init__.py +0 -0
  269. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/clock.py +0 -0
  270. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/code_knowledge/__init__.py +0 -0
  271. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/code_knowledge/document.py +0 -0
  272. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/code_knowledge/layout.py +0 -0
  273. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/code_knowledge/plan.py +0 -0
  274. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/code_knowledge/readme.py +0 -0
  275. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/code_knowledge/reminder.py +0 -0
  276. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/config/__init__.py +0 -0
  277. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/config/resolution.py +0 -0
  278. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/__init__.py +0 -0
  279. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/authorization.py +0 -0
  280. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/candidates.py +0 -0
  281. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/context.py +0 -0
  282. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/grouping.py +0 -0
  283. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/groups.py +0 -0
  284. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/payload.py +0 -0
  285. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/planning.py +0 -0
  286. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/rowstate.py +0 -0
  287. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/runs.py +0 -0
  288. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/serving.py +0 -0
  289. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/consolidation/verbs.py +0 -0
  290. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/errors.py +0 -0
  291. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/events.py +0 -0
  292. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/__init__.py +0 -0
  293. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/acquisition.py +0 -0
  294. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/encoder.py +0 -0
  295. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/lexical.py +0 -0
  296. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/model_cache.py +0 -0
  297. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/model_pin.py +0 -0
  298. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/vectors.py +0 -0
  299. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/indexing/writes.py +0 -0
  300. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/__init__.py +0 -0
  301. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/arms.py +0 -0
  302. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/builds.py +0 -0
  303. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/candidates.py +0 -0
  304. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/changes.py +0 -0
  305. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/chunking.py +0 -0
  306. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/counters.py +0 -0
  307. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/database.py +0 -0
  308. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/ddl.py +0 -0
  309. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/disposal.py +0 -0
  310. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/errors.py +0 -0
  311. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/files.py +0 -0
  312. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/git.py +0 -0
  313. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/lexical.py +0 -0
  314. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/lifecycle.py +0 -0
  315. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/link_store.py +0 -0
  316. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/lock.py +0 -0
  317. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/meta.py +0 -0
  318. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/migration.py +0 -0
  319. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/paths.py +0 -0
  320. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/pending.py +0 -0
  321. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/registry.py +0 -0
  322. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/repair.py +0 -0
  323. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/reporting.py +0 -0
  324. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/roots.py +0 -0
  325. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/scan.py +0 -0
  326. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/source_hash.py +0 -0
  327. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/state.py +0 -0
  328. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/text.py +0 -0
  329. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/vectors.py +0 -0
  330. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/walk.py +0 -0
  331. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/knowledge/writes.py +0 -0
  332. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/records/__init__.py +0 -0
  333. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/records/memory.py +0 -0
  334. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/records/receipts.py +0 -0
  335. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/records/supersession.py +0 -0
  336. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/__init__.py +0 -0
  337. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/arms.py +0 -0
  338. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/eligibility.py +0 -0
  339. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/query.py +0 -0
  340. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/ranking.py +0 -0
  341. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/reads.py +0 -0
  342. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/retrieve.py +0 -0
  343. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/retrieval/similarity.py +0 -0
  344. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/__init__.py +0 -0
  345. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/contention.py +0 -0
  346. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/dedup.py +0 -0
  347. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/horizon.py +0 -0
  348. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/repair.py +0 -0
  349. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/retirement.py +0 -0
  350. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/sessions.py +0 -0
  351. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/signals/writes.py +0 -0
  352. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/__init__.py +0 -0
  353. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/connection.py +0 -0
  354. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/ddl.py +0 -0
  355. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/deadline.py +0 -0
  356. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/embedder.py +0 -0
  357. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/holders.py +0 -0
  358. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/meta.py +0 -0
  359. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/migration.py +0 -0
  360. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/permissions.py +0 -0
  361. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/pool.py +0 -0
  362. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/store.py +0 -0
  363. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/store/transactions.py +0 -0
  364. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/version.py +0 -0
  365. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/write/__init__.py +0 -0
  366. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/write/dedup.py +0 -0
  367. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/core/write/tools.py +0 -0
  368. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/doctor/__init__.py +0 -0
  369. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/doctor/checks.py +0 -0
  370. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/doctor/main.py +0 -0
  371. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/chars.py +0 -0
  372. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/expression.py +0 -0
  373. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/forms.py +0 -0
  374. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/grammar.py +0 -0
  375. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/grep_filter.py +0 -0
  376. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/heredoc.py +0 -0
  377. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/inplace.py +0 -0
  378. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/interpreter.py +0 -0
  379. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/lexer.py +0 -0
  380. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/limits.py +0 -0
  381. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/literal_text.py +0 -0
  382. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/nudge.py +0 -0
  383. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/override.py +0 -0
  384. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/patterns.py +0 -0
  385. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/position.py +0 -0
  386. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/programs.py +0 -0
  387. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/quoting.py +0 -0
  388. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/redirects.py +0 -0
  389. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/scratch.py +0 -0
  390. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/script_file.py +0 -0
  391. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/selfmatch.py +0 -0
  392. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/guard/writes.py +0 -0
  393. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/harness/__init__.py +0 -0
  394. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/__init__.py +0 -0
  395. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/components.py +0 -0
  396. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/failure.py +0 -0
  397. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/rpc.py +0 -0
  398. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/shell_search.py +0 -0
  399. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/subagent_policy.py +0 -0
  400. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/hook/write_policy.py +0 -0
  401. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/__init__.py +0 -0
  402. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/__main__.py +0 -0
  403. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/agent_scan.py +0 -0
  404. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/ownership.py +0 -0
  405. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/install/settings_hooks.py +0 -0
  406. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/__init__.py +0 -0
  407. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/__main__.py +0 -0
  408. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/client.py +0 -0
  409. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/indexer/__init__.py +0 -0
  410. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/indexer/__main__.py +0 -0
  411. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/indexer/build_log.py +0 -0
  412. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/indexer/detach.py +0 -0
  413. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/indexer/main.py +0 -0
  414. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/main.py +0 -0
  415. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/knowledge/scope.py +0 -0
  416. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/__init__.py +0 -0
  417. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/consolidator.py +0 -0
  418. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/errors.py +0 -0
  419. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/main.py +0 -0
  420. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/mcp/tool_names.py +0 -0
  421. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/project/__init__.py +0 -0
  422. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/project/__main__.py +0 -0
  423. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/project/initialize.py +0 -0
  424. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/project/messages.py +0 -0
  425. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/project/report.py +0 -0
  426. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/project/resolve.py +0 -0
  427. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/py.typed +0 -0
  428. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/__init__.py +0 -0
  429. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/access_log.py +0 -0
  430. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/asyncio_compat.py +0 -0
  431. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/context.py +0 -0
  432. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/diagnostics.py +0 -0
  433. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/dispatch.py +0 -0
  434. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/dispatch_consolidation.py +0 -0
  435. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/dispatch_knowledge.py +0 -0
  436. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/dispatch_reminder.py +0 -0
  437. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/envelope.py +0 -0
  438. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/lifecycle.py +0 -0
  439. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/log.py +0 -0
  440. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/main.py +0 -0
  441. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/methods.py +0 -0
  442. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/ownership.py +0 -0
  443. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/params.py +0 -0
  444. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/reminders.py +0 -0
  445. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/rpc.py +0 -0
  446. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/security.py +0 -0
  447. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/serialize.py +0 -0
  448. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/serialize_knowledge.py +0 -0
  449. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/server.py +0 -0
  450. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron/service/spawned_builds.py +0 -0
  451. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron.egg-info/dependency_links.txt +0 -0
  452. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron.egg-info/entry_points.txt +0 -0
  453. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron.egg-info/requires.txt +0 -0
  454. {zikaron-0.4.0 → zikaron-0.4.2}/zikaron.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zikaron
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: Memory and searchable project knowledge for coding agents
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/nathan-shapiro/Zikaron
@@ -48,7 +48,8 @@ this as they go and read it back in later sessions.
48
48
 
49
49
  **Institutional knowledge — knowledge bases.** What the project *did* write down, indexed and made
50
50
  searchable: a docs tree, a directory of run books, design records, a vendored dependency's manual.
51
- The agent searches a named corpus and gets fragments back with real line ranges, quoted verbatim.
51
+ The agent searches a named corpus and gets fragments back with real line ranges, quoted verbatim —
52
+ the best few in full and the rest named, to read when it wants them.
52
53
 
53
54
  The two differ in where they come from and therefore in who maintains them. Memory accumulates
54
55
  without anybody curating it, and goes stale when the code moves under it — so the agent that a memory
@@ -61,12 +62,12 @@ yes, it is out of scope. That store is for what cost somebody time to discover,
61
62
  be discovered again by the next agent, at full price. A knowledge base has no such test — it is
62
63
  whatever corpus you point it at.
63
64
 
64
- **And, on request, guards for Claude Code** — two deterministic hooks, independent of both stores.
65
- One refuses two kinds of command: a find-replace edit to an authored file (`sed -i`, an inline
66
- script, a heredoc into the file), pointing the agent at `Read` and `Edit`, and a `pgrep -f` or
67
- `pkill -f` whose pattern matches the shell running it. The other reminds the agent, after each
68
- edit, to re-read what it changed. See [Guards](#guards-claude-code-on-request); a project may install the memory store, the
69
- guards, or both.
65
+ **And, on request, guards** — deterministic hooks, independent of both stores. One refuses two
66
+ kinds of command: a find-replace edit to an authored file (`sed -i`, an inline script, a heredoc
67
+ into the file), pointing the agent at the harness's read and edit tools, and a `pgrep -f` or
68
+ `pkill -f` whose pattern matches the shell running it. Under Claude Code a second reminds the
69
+ agent, after each edit, to re-read what it changed; kiro offers no route for such a reminder. See
70
+ [Guards](#guards-on-request); a project may install the memory store, the guards, or both.
70
71
 
71
72
  It runs entirely on your machine: SQLite databases under `.zikaron/`, a local embedding model, and a
72
73
  small background service on a Unix socket. **Zikaron reaches the network for exactly one thing** —
@@ -107,17 +108,17 @@ nothing is ever hard-deleted — a retired record stops surfacing but stays audi
107
108
  consolidation verbs and no way to search or fetch is handed groups of related entries that code
108
109
  selected for it, and decides for each whether to merge, promote or discard. Keeping it separate
109
110
  means a fresh context, and it cannot write outside the group it was handed — every verb refuses a
110
- uuid that was not served to it. Under kiro those four verbs are its whole surface. Under Claude Code
111
- it is also granted a file-reading tool, because a group too large to return is handed to it as a
112
- file instead; that grant cannot be restricted to one path there, so what keeps it off everything
113
- else is its prompt.
111
+ uuid that was not served to it. It is also granted a file-reading tool, because a group too large
112
+ to return is handed to it as a file instead. Under kiro its own rules hold that read to the directory
113
+ the file is written to and refuse every other read and search; under Claude Code the grant cannot be
114
+ restricted to one path in subagent config, so what keeps it off everything else is its prompt.
114
115
 
115
116
  **No agent can put its own words into the text a knowledge base searches.** The searchable content
116
117
  comes only from the files on disk: an indexer walks the tree you pointed it at, chunks them, and
117
118
  stores the text with its line ranges. What an agent *does* write is the corpus's **definition** —
118
119
  the name, description, root and filters it passes to `zikaron_knowledge_add`, of which
119
120
  `zikaron_knowledge_rename` changes the name alone, and the name and description come back on every
120
- search as the label on each group — plus a build's own metadata and the four search counters
121
+ search as the label on each group — plus a build's own metadata and the search counters
121
122
  described under [Files and logs](#files-and-logs). The agent reaches them through
122
123
  `zikaron_knowledge_search` and a handful of management verbs — every tool name carries its
123
124
  subsystem, `zikaron_memory_*` or `zikaron_knowledge_*`, so a model choosing between the two stores
@@ -131,7 +132,7 @@ reads which one it is addressing before it reads a description. Consolidation ne
131
132
  | **service** | A long-running process per project. Holds the embedding model in memory and the databases open, and answers requests over a Unix socket. Starts itself when needed and stops itself when idle. |
132
133
  | **MCP server** | Translates the agent's tool calls into requests to the service. One process per agent instance; loads no model. |
133
134
  | **hook** | A single-shot executable your agent runs on start, before each message, and — under Claude Code — when it spawns a subagent. Deliberately tiny; loads no model and never touches the databases directly. |
134
- | **guard** | Claude Code only, installed on request: a single-shot executable the harness runs before each `Bash` or `Monitor` call and after each edit. Regular expressions over the call, plus one bounded read of a script the call runs from a scratch directory — no model, no service, no store. |
135
+ | **guard** | Installed on request: a single-shot executable the harness runs before each shell call — `Bash` or `Monitor` under Claude Code, `execute_bash` under kiro — and, under Claude Code, after each edit. Regular expressions over the call, plus one bounded read of a script the call runs from a scratch directory — no model, no service, no store. |
135
136
  | **indexer** | A detached process started per knowledge-base build — by the service on every `add`/`refresh`, whether an agent asked or you did, or by you running it by hand. One the service started writes what it prints to the build log `zikaron knowledge status` names. It outlives the call that started it, loads a model, saturates a core for a minute or more, and exits when the build finishes. If you see one in `ps`, that is a corpus building, not a runaway. |
136
137
 
137
138
  The service exists for one measured reason: loading the embedding model costs about **780 ms**, and
@@ -158,7 +159,10 @@ and never fails your turn.
158
159
  hard install failure on the third, and Windows needs a second RPC transport rather than a flag.
159
160
  `design/distribution.md` §1 has the detail.
160
161
  - **Python 3.12 or newer.** Tested versions: 3.12, 3.13, 3.14.
161
- - **A supported harness installed: `kiro-cli` or Claude Code.** Zikaron installs hook and MCP
162
+ - **A supported harness installed: `kiro-cli` 2.35.1 or newer, on its V3 agent engine, or Claude
163
+ Code.** V3 is kiro-cli 3.0's default; on 2.35, start kiro with `--v3`. Under kiro's older V2
164
+ engine the shipped agents' first tool call asks for permission with nobody to answer it, and
165
+ the installer refuses a kiro-cli older than 2.35.1. Zikaron installs hook and MCP
162
166
  entries whose only reader is that harness's own binary, so the installer checks it is on your
163
167
  `PATH` and **refuses if it is not** — writing those files where nothing reads them would exit 0
164
168
  and leave you with no Zikaron tools and no error to search for. Pass `--print-only` to see exactly
@@ -175,8 +179,8 @@ and never fails your turn.
175
179
  set up yet, is the case where nothing says anything and `--harness` is required.
176
180
 
177
181
  Under kiro it additionally validates the shipped agents' model id against the binary, because kiro
178
- substitutes an unknown model silently; Claude Code refuses one itself, at spawn, so no such check
179
- is needed there.
182
+ replaces an unknown model with its default; Claude Code refuses one itself, at spawn, so no such
183
+ check is needed there.
180
184
 
181
185
  ## Install
182
186
 
@@ -243,8 +247,8 @@ cd /path/to/your/project
243
247
  zikaron install --project . --harness claude-code # or: --harness kiro
244
248
  ```
245
249
 
246
- Under Claude Code, `--components` adds the [guards](#guards-claude-code-on-request), or
247
- installs them alone; without it you get the memory store only, exactly as before:
250
+ `--components` adds the [guards](#guards-on-request), or installs them alone — under kiro
251
+ with `--agent` too; without it you get the memory store only, exactly as before:
248
252
 
249
253
  ```bash
250
254
  zikaron install --project . --harness claude-code --components both # memory and guards
@@ -268,6 +272,14 @@ Under **kiro**, also name the config for the agent you actually work in:
268
272
  zikaron install --project . --harness kiro --agent .kiro/agents/<your-agent>.json
269
273
  ```
270
274
 
275
+ That config has to be one kiro's V3 engine reads. One `kiro-cli agent create` writes is; one written
276
+ for V2 — `allowedTools` or a non-empty `toolsSettings`, and no `permissions` block — is refused, because V3 refuses
277
+ it, and the refusal names `kiro-cli agent upgrade <dir>`, which converts it. **A headless run needs
278
+ `--require-mcp-startup`**: kiro starts a session's first turn without waiting for its MCP servers, and
279
+ `zikaron-mcp` takes about two seconds to start, so without the flag that turn has no Zikaron tools. The
280
+ flag does not make an interactive session wait, even one given its first prompt on the command line, so
281
+ there a first prompt may find no Zikaron tools, as it may under Claude Code.
282
+
271
283
  If `zikaron` is not on your `PATH` — a source checkout whose virtualenv you have not activated —
272
284
  three commands have a module form you can run with that virtualenv's interpreter, and the spelling
273
285
  is not uniform:
@@ -292,7 +304,10 @@ earlier version wrote into your project, and a release can change a merged entry
292
304
  one such change. On both harnesses re-running upgrades those entries in place and needs no
293
305
  `--force`; it refuses only where another Zikaron install owns something, or, under Claude Code,
294
306
  where you have added a hook of your own inside Zikaron's group (both below), which is what `--force`
295
- exists for. `zikaron doctor` afterwards says whether a Claude Code project's Zikaron entries carry
307
+ exists for. **Under kiro it also refuses an agent config still in V2's shape** — every config an
308
+ install made before Zikaron supported kiro's V3 engine merged into, unless kiro has converted it
309
+ since. Run `kiro-cli agent upgrade <dir>` over that config's directory, then re-run the installer.
310
+ `zikaron doctor` afterwards says whether a Claude Code project's Zikaron entries carry
296
311
  `alwaysLoad` — the one thing about `.mcp.json` it judges.
297
312
 
298
313
  **What upgrading the package does not do by itself:**
@@ -376,11 +391,20 @@ What it writes under **kiro**, relative to the project:
376
391
 
377
392
  | Path | What |
378
393
  |---|---|
379
- | `.kiro/agents/zikaron-consolidator.json` | the consolidation subagent: its model, its four tools, its prompt |
394
+ | `.kiro/agents/zikaron-consolidator.json` | the consolidation subagent: its model, its four tools and a file read held by its rules to the directory a too-large group is written to, the rules allowing them, its prompt |
380
395
  | `.kiro/skills/zikaron-consolidate/SKILL.md` | how to run a consolidation, and how to recover a stuck one |
381
- | `.kiro/agents/zikaron-documenter.json` | the documentation subagent: its model, its four file tools and `@zikaron` with its own `mcpServers` entry, its prompt |
396
+ | `.kiro/agents/zikaron-documenter.json` | the documentation subagent: its model and effort, its four file tools and `@zikaron` with its own `mcpServers` entry, the rules allowing reading, writing and Zikaron's tools, its prompt ending with the write policy |
397
+ | `.kiro/agents/zikaron-code-orchestrator.json` | the subagent your session spawns, and waits for, to run a code-documentation run: its model and effort, its tools, the rules allowing them, its prompt ending with the write policy |
382
398
  | `.kiro/skills/zikaron-document-code/SKILL.md` | how to document a module of your code ([Code knowledge](#code-knowledge)) |
383
- | the agent config you named | `hooks` for start and per-message, an `mcpServers` entry, `@zikaron` in `tools` and `allowedTools`, the consolidator and the documenter in `toolsSettings.crew`, and both skills in `resources` |
399
+ | the agent config you named | hooks for session start and each message, an `mcpServers` entry, `@zikaron` in `tools`, two rules in `permissions.rules` — Zikaron's tools, and loading a skill — and both skills in `resources`; on a config that also carries `allowedTools`, as one `kiro-cli agent create` writes does, `@zikaron` there too and Zikaron's three agents in a `toolsSettings.crew.availableAgents` that already lists agents |
400
+
401
+ With `--components guards` a kiro install writes into the agent config you named alone, and in it
402
+ only two hooks: a session-start hook carrying a short note about the guards, and the guard itself,
403
+ before each `execute_bash` call. No agent, no skill, no server and no rule, and `--agent` is
404
+ required unless you pass `--print-only`, since without it nothing would be written. With
405
+ `--components both` you get all of the
406
+ above together, the note in a session-start hook of its own beside the write policy's, since kiro
407
+ cuts each hook's output at 3,000 characters.
384
408
 
385
409
  and under **Claude Code**:
386
410
 
@@ -403,7 +427,8 @@ the start hooks carry the write policy and the guards' note.
403
427
  **`settings.local.json`, not `settings.json`**, and it matters if you commit your settings: the hook
404
428
  entries name absolute paths inside *your* virtualenv, so they are meaningless in anyone else's clone.
405
429
  The third hook is the one with no kiro counterpart — it hands the write policy to each subagent you
406
- spawn, which kiro achieves by firing its ordinary hooks for subagent sessions instead.
430
+ spawn. kiro has no hook for a subagent's start, so there Zikaron's documenter and orchestrator carry
431
+ the policy at the end of their prompts, and a subagent of your own does not get it.
407
432
 
408
433
  It backs up any file it merges into (`<file>.bak`, and the first backup wins), leaving one that
409
434
  already carries every entry untouched, backup included, and **refreshes a shipped file whose
@@ -427,13 +452,19 @@ wins, so the `.bak` on disk may have been written before or after you added the
427
452
 
428
453
  Under kiro the same rules hold inside the agent config you name: the `mcpServers` entry merges per
429
454
  key, a Zikaron hook entry whose command is this install's is rewritten and its trigger named, and
430
- only an entry naming a different install's command, or another `--mode`, refuses. A hook of Zikaron's
431
- on a trigger this install does not write is left alone. Kiro's install also validates the
432
- consolidator's model id, because an unknown model would otherwise be silently replaced by the
433
- harness's default.
455
+ only an entry naming a different install's command, or another `--mode`, refuses. That includes an
456
+ entry `kiro-cli agent upgrade` converted from an older Zikaron install, under the upgrader's own
457
+ names and triggers: it is recognized and rewritten, not doubled. A hook of Zikaron's on a trigger
458
+ this install does not write is left alone, and so are the other selection's hooks: a memory install
459
+ leaves the guards' alone and the reverse, telling the memory store's session-start hook from the
460
+ guards' by the arguments each runs with. Hooks are written in the array form V3 reads; a config
461
+ whose `hooks` are in the older object form is rewritten if they are all Zikaron's, and refused,
462
+ showing your entries in the array form, if any is yours. Kiro's install also validates each shipped
463
+ agent's model id, because an unknown model would otherwise be replaced by the harness's default.
434
464
 
435
465
  `@zikaron` has to be in `tools` or Zikaron's tools are simply absent: the `mcpServers` entry
436
- *configures* the server and `tools` is what *selects* from it. It goes into `allowedTools` too, so the
466
+ *configures* the server and `tools` is what *selects* from it — unless `tools` is `["*"]`, which
467
+ selects everything already. A rule allowing Zikaron's tools goes into `permissions.rules` too, so the
437
468
  agent can record without interrupting you. That is deliberate rather than lax — the whole design leans
438
469
  on the agent writing freely, and a permission prompt per write both suppresses that and trains you to
439
470
  click through prompts. What it trusts is still narrow, but it is not only rows. The memory tools read
@@ -447,34 +478,38 @@ into your project outside `.zikaron/`. A mistaken memory write is *recoverable*
447
478
  undoable: `zikaron_memory_retire` withdraws a record from ordinary retrieval and leaves it
448
479
  auditable, while an amend overwrites prose that nothing restores. A mistaken
449
480
  `zikaron_knowledge_remove` destroys that corpus's index, which is rebuildable from the files it was
450
- built from but not instantly. Pass `--no-trust-tools` if you would rather approve each one.
481
+ built from but not instantly. The second rule lets the agent load a skill without asking; without it
482
+ either skill asks before it loads, and a headless run loads neither. Pass `--no-trust-tools` if you
483
+ would rather approve each one: it withholds both rules.
451
484
 
452
485
  **That trust stops at the primary agent's tools.** Spawning the consolidator is a separate grant — a
453
- subagent with its own model invocation, four mutation verbs and, under Claude Code, a file read —
454
- and the installer does not make it for you. **Under kiro** that grant is
455
- `toolsSettings.crew.trustedAgents`, which the installer only ever reads: starting a consolidation
456
- therefore asks your permission once, and adding `zikaron-consolidator` there yourself is what stops
457
- it. The documentation skill spawns `zikaron-documenter` once per file, so unless you add it there
458
- too you are asked before each spawn, unless kiro keeps the answer, which is unmeasured. Claude Code
459
- has no such key, so there is nothing to add and nothing withheld.
460
-
461
- **Three keys under kiro only, and Claude Code has none of them.** The consolidator and the
462
- documenter also have to be reachable by the `subagent` tool, so if your config already restricts
463
- which agents may be spawned (`toolsSettings.crew.availableAgents`), the installer adds
464
- `zikaron-consolidator` and `zikaron-documenter` to that list. If you have no such restriction it
465
- leaves it alone — an empty list means *every* agent is available, and writing entries into it would
466
- restrict you to just these. Both skills are also declared in the agent's `resources` unless
467
- something there already covers them. Skills normally arrive by inheritance, so those entries are
468
- usually redundant — but they are the only thing that makes the skills loadable if you have set
469
- `chat.disableInheritingDefaultResources`, and declaring a resource does not disable inheritance, so
470
- it can only help.
471
-
472
- **One thing the kiro install deliberately does not do:** add the `subagent` tool itself, which both
473
- skills need to spawn their agents, or `shell`, which the documentation skill needs to run its
474
- planner. Their reach is much wider than Zikaron's own tools, so those grants stay yours. The
475
- installer says so if either is missing. Under Claude Code none of this arises — the shipped skills
476
- are ordinary project files, and their agents are spawned through whatever subagent tool the harness
477
- already gives your agent.
486
+ subagent with its own model invocation, four mutation verbs and a file read — and the installer
487
+ does not make it for you. **Under kiro an agent your session spawns may do only what your agent's
488
+ rules allow** — its own allow rules add nothing to them, and only a deny in its own config narrows
489
+ them — so the rules your agent carries decide what Zikaron's agents may do. The consolidation skill
490
+ spawns the consolidator, and the documentation skill the code orchestrator, through the `subagent`
491
+ tool, which takes `subagent` in `tools` and a `{"capability": "subagent", "effect": "allow"}` rule;
492
+ the same rule decides the orchestrator's spawns of `zikaron-documenter`, one per file, and without it
493
+ kiro asks before each spawn. The orchestrator runs the planner as a shell command, which takes a
494
+ `{"capability": "shell", "effect": "allow"}` rule, and `shell` need not be in your `tools`. A
495
+ documenter writes its document only if your agent allows that write —
496
+ `{"capability": "fs_write", "match": ["./code-knowledge/**"], "effect": "allow"}` was measured to be
497
+ enough — and reads its source, and the consolidator a group too large to deliver inline, only if
498
+ your agent allows reads; the `./**` read rule `kiro-cli agent create` writes covers both. Their reach
499
+ is much wider than Zikaron's own tools, so those grants stay yours, and the installer says which is
500
+ missing. Claude Code has no such grant to make: the shipped skills are ordinary project files, and
501
+ their agents are spawned through whatever subagent tool the harness already gives your agent.
502
+
503
+ **Keys under kiro only.** If your config also carries kiro's older `allowedTools`, as one
504
+ `kiro-cli agent create` writes does, `@zikaron` goes there as well, and if it restricts which agents
505
+ may be spawned (`toolsSettings.crew.availableAgents`), the installer adds `zikaron-consolidator`,
506
+ `zikaron-documenter` and `zikaron-code-orchestrator` to that list — kiro documents rebuilding a converted config's permission rules
507
+ from those fields, so they carry Zikaron's grant too. If the list is empty it is left alone — an empty
508
+ list means *every* agent is available, and writing entries into it would restrict you to just these.
509
+ Both skills are also declared in the agent's `resources` unless something there already covers them.
510
+ Skills normally arrive by inheritance, so those entries are usually redundant — but they are the only
511
+ thing that makes the skills loadable if you have set `chat.disableInheritingDefaultResources`, and
512
+ declaring a resource does not disable inheritance, so it can only help.
478
513
 
479
514
  **Installing into a clone of the Zikaron repository itself** finds none of the files an install
480
515
  ships already tracked, under either harness: the repository keeps a snapshot of them under
@@ -496,8 +531,8 @@ they are present but every write interrupts you, it is `permissions.allow` that
496
531
  large for the harness to deliver, the group is written to a file and Claude Code asks whether the
497
532
  consolidator may read from the runtime directory. Allow it for the session — and expect it again in
498
533
  the next one, because session scope is the only scope that grant has. It is not pre-answered on
499
- purpose: a file-reading tool cannot be restricted to one path in subagent config, so this prompt is
500
- the only point at which that grant is put to you as a question.
534
+ purpose: Claude Code cannot restrict a file-reading tool to one path in subagent config, so this
535
+ prompt is the only point at which that grant is put to you as a question.
501
536
 
502
537
  `--no-trust-tools` withholds both written keys for *your* tools. It withholds them from the
503
538
  code-documentation run as well, whose orchestrator and documenters call the same server, so under
@@ -522,31 +557,39 @@ guard, the receipts and the lease are untouched — but an unauthorized consolid
522
557
  tokens and could write a poorly-judged long-term record. `permissions.deny` is **not** the fix: it is
523
558
  global and unregisters the tool, after which the consolidator itself refuses to start.
524
559
 
525
- ### Guards (Claude Code, on request)
560
+ ### Guards (on request)
526
561
 
527
- `--components guards` (or `both`) installs two deterministic hooks that hold an agent to three
528
- rules, with no model and no store behind them (`design/guards.md`):
562
+ `--components guards` (or `both`) installs deterministic hooks that hold an agent to three rules,
563
+ with no model and no store behind them (`design/guards.md`) — two hooks under Claude Code, and under
564
+ kiro one, carrying the two refusals alone:
529
565
 
530
566
  - **A find-replace edit to an authored file is refused** — `sed -i`, `perl -pi`, an inline Python
531
567
  or node script that writes a file, a heredoc or `echo` redirected into one, and a script in
532
568
  scratch that the command runs and that does any of these. The refusal reaches the
533
- agent as the tool's result and tells it to use `Read` and `Edit`, or `Write` for a new file.
534
- Paths under `/tmp`, `/var/tmp`, `$TMPDIR` and a background job's `$CLAUDE_JOB_DIR/tmp` are
535
- exempt, and so is a command carrying the override the refusal itself describes, for the files
536
- whose bytes a program owns.
569
+ agent as the tool's result and tells it to use the harness's read and edit tools — `Read` and
570
+ `Edit`, or `Write` for a new file, under Claude Code; `read_file` and `str_replace`, or
571
+ `fs_write`, under kiro. Paths under `/tmp`, `/var/tmp`, `$TMPDIR` and a Claude Code background
572
+ job's `$CLAUDE_JOB_DIR/tmp` are exempt, and so is a command carrying the override the refusal
573
+ itself describes, for the files whose bytes a program owns.
537
574
  - **After each edit, the agent is reminded** that the file has not been re-read, and asked for one
538
575
  re-read of the edited material once that file's editing is done. A Bash command gets no such
539
576
  reminder, so when the agent overrides a refusal, the guard's acknowledgement names what the
540
- command changes and asks for that re-read instead.
541
- - **A `pgrep -f` or `pkill -f` whose pattern matches its own command is refused.** Claude Code
542
- runs each command inside a shell whose command line carries the command's text, so on Linux such
577
+ command changes and asks for that re-read instead. **Claude Code only**: no output a kiro hook
578
+ gives after a tool runs reaches the model, so under kiro there is no reminder and no
579
+ acknowledgement, and the refusal itself says that an accepted override is not acknowledged and
580
+ asks for the re-read once the command has run.
581
+ - **A `pgrep -f` or `pkill -f` whose pattern matches its own command is refused.** Each harness
582
+ runs a command inside a shell whose command line carries the command's text, so on Linux such
543
583
  a pattern matches that shell: `pkill` kills it, and `pgrep` always finds it, so a check for a
544
584
  process that has exited never sees it gone. The refusal shows where the pattern matched and gives
545
585
  the fix: `-A`, where `pgrep` has it, or a bracketed character (`[m]onth_monitor.py`). On macOS,
546
586
  whose `pgrep` already leaves out the shell, only `-a` brings it back.
547
587
 
548
- Both refusals judge `Bash` and `Monitor` commands alike. An install made by an earlier version
549
- judges `Bash` alone; re-running it with the same `--components` adds `Monitor`.
588
+ Under Claude Code both refusals judge `Bash` and `Monitor` commands alike. An install made by an
589
+ earlier version judges `Bash` alone; re-running it with the same `--components` adds `Monitor`.
590
+ Under kiro they judge `execute_bash`, its shell tool, and the subagents your session spawns are
591
+ judged by your session's hook, so they meet a refusal too, though no subagent sees the session-start
592
+ note that comes first in a session.
550
593
 
551
594
  They are not a security boundary: a script the guard reads is one run from a scratch directory,
552
595
  and a script anywhere else — one of the project's own programs — is never read, by design. A guard
@@ -561,7 +604,9 @@ from a scratch directory such as `/tmp`, the same command is exempt and prints n
561
604
  printf '%s' '{"hook_event_name":"PreToolUse","tool_name":"Bash","cwd":"'"$PWD"'","tool_input":{"command":"sed -i s/a/b/ README.md"}}' | zikaron-guard
562
605
  ```
563
606
 
564
- It prints the deny the agent would read as the command's result. Asking an agent to run `sed -i`
607
+ It prints the deny the agent would read as the command's result. Kiro's install runs the guard as
608
+ `zikaron-guard --harness kiro`, which takes `"tool_name":"execute_bash"`, prints the deny to stderr
609
+ and exits 2, the one way a kiro hook refuses a call. Asking an agent to run `sed -i`
565
610
  usually shows something else: told the rule when its session starts, it reaches for `Read` and
566
611
  `Edit` without trying.
567
612
 
@@ -571,15 +616,14 @@ usually shows something else: told the rule when its session starts, it reaches
571
616
  |---|---|
572
617
  | `--project <dir>` | the project to install into. Also where the store lives (default: the current directory) |
573
618
  | `--harness {auto,kiro,claude-code}` | which harness to install for. `auto` reads the project, then the `CLAUDECODE` marker; it refuses when the project has **both** dotdirs, and when neither source says |
574
- | `--agent <path>` | **kiro only.** Merge the hook and MCP entries into that config, after backing it up |
619
+ | `--agent <path>` | **kiro only.** Merge the hook and MCP entries into that config, after backing it up; required by a guards-only install, unless `--print-only` |
575
620
  | `--print-only` | print what would be written and write nothing at all |
576
- | `--model <id>` | the model of every agent Zikaron ships whose own flag below is not given — the consolidator, the documenter and, under Claude Code, the code orchestrator (default: `claude-sonnet-5` under kiro; under Claude Code `haiku` for the documenter, `opus` for the orchestrator and `sonnet` for the consolidator) |
621
+ | `--model <id>` | the model of every agent Zikaron ships whose own flag below is not given — the consolidator, the documenter and the code orchestrator. Each defaults to the same model on both harnesses, as Claude Code names it by alias and kiro by id: `sonnet` / `claude-sonnet-5.5` for the consolidator, `haiku` / `claude-haiku-5.5` for the documenter, `opus` / `claude-opus-5.5` for the orchestrator |
577
622
  | `--consolidator-model <id>` | the consolidator's model, over `--model` |
578
623
  | `--documenter-model <id>` | the code documenter's model, over `--model` |
579
- | `--orchestrator-model <id>` | **Claude Code only.** The code orchestrator's model, over `--model`. Refused under kiro, which ships no orchestrator |
580
- | `--format {object,array}` | **kiro only.** Which hook format to write when the target config has none yet |
624
+ | `--orchestrator-model <id>` | the code orchestrator's model, over `--model` |
581
625
  | `--no-trust-tools` | do not pre-approve Zikaron's own tools, so every Zikaron tool call asks permission |
582
- | `--components {memory,guards,both}` | what to install: the memory store (the default), the guards below, or both. **Claude Code only** for `guards` and `both`; every model flag is refused with `guards`, which ships no agent |
626
+ | `--components {memory,guards,both}` | what to install: the memory store (the default), the guards above, or both; every model flag is refused with `guards`, which ships no agent |
583
627
  | `--force` | replace a symlink at a shipped path, and overwrite entries wired to a different Zikaron install that would otherwise be refused. It also stops merging: a server entry — `.mcp.json`'s, or kiro's `mcpServers` — is replaced **whole**, so a key you added to Zikaron's own entry goes, and under Claude Code a Zikaron hook group is replaced whole, so a hook of your own inside it goes too. Both are named in the output |
584
628
 
585
629
  A model id is the harness's own: under kiro, one `kiro-cli chat --list-models` lists, which the
@@ -587,9 +631,6 @@ install checks; under Claude Code, an alias such as `sonnet` or a full id, which
587
631
  refuses at spawn if it does not know it. An install is for one harness, so a project set up for
588
632
  both installs twice, each run with that harness's ids.
589
633
 
590
- Both hook formats kiro accepts are supported, and a config that already uses one keeps it: kiro
591
- rewrites a config in whichever format it read, so mixing them in one file has no defined meaning.
592
-
593
634
  ## Verify
594
635
 
595
636
  **Start with `zikaron doctor`**, which answers the questions that decide whether Zikaron can run on
@@ -656,7 +697,8 @@ If a run ever seems stuck, ask again: a second invocation takes the abandoned ru
656
697
  Memory holds the **tribal** knowledge agents learned by working here. A **knowledge base** is the
657
698
  **institutional** half: a named, indexed corpus of text files the project already has — a docs tree,
658
699
  a directory of run books, a vendored dependency's documentation. The agent searches it and gets back
659
- fragments with line ranges, quoted verbatim, so it can read further or quote them as they stand.
700
+ fragments with line ranges, quoted verbatim, so it can read further or quote them as they stand —
701
+ the best few in full, and the rest by path and line range, to read when it wants them.
660
702
 
661
703
  Ask the agent to create one and it will, without leaving the session: *"index the docs directory as
662
704
  a knowledge base called design docs"*. It has tools to list, create, rename, refresh, inspect and
@@ -753,9 +795,10 @@ installed skill, naming directories of your code, or none:
753
795
 
754
796
  With no directory named it updates every module you have documented, or, where you have documented
755
797
  none, documents the whole project, into one knowledge base of its own; globs and `--slice` need
756
- one module. **Under Claude Code the skill runs in the background**: your session spawns the
757
- `zikaron-code-orchestrator` subagent to run it, so your session stays free while it works and
758
- receives its report when it ends; under kiro it runs in your session. Either way it runs a **planner**, `zikaron code-knowledge plan`,
798
+ one module. Your session spawns the `zikaron-code-orchestrator` subagent to run it. **Under Claude
799
+ Code it runs in the background**, so your session stays free while it works and receives its report
800
+ when it ends; under kiro your session waits for it, busy until the run ends. Either way it runs a
801
+ **planner**, `zikaron code-knowledge plan`,
759
802
  which decides from hashes which documents are missing, out of date or malformed, removes the ones a
760
803
  deleted or renamed source left behind — moving a renamed file's document instead of rewriting it —
761
804
  and lists the rest. It then spawns a `zikaron-documenter` subagent per listed file, and runs the
@@ -790,20 +833,30 @@ Zikaron's tools — the project's memory, which it may search and add to, and it
790
833
  which it may search, code knowledge's own excepted since a document there can be stale, and
791
834
  changes none of — and nothing else; it has no shell. Under Claude Code the background run's
792
835
  permission prompts appear in your session, naming the subagent asking: you are asked to approve the
793
- planner's command when it first runs — allow it for the session, or you are asked again at later
794
- batches — and the first document a documenter writes. Under auto mode, the interactive default
795
- since Claude Code 2.1.283, neither is put to you: the classifier decides the command, and an edit
796
- inside the project is approved outright. One run at a time in a session: a second request while a
797
- run is out waits, and your session starts it when the first run reports. A headless run asks nothing and so is refused unless you
798
- give it the permission up front: `--permission-mode bypassPermissions`, best kept to a copy of the
799
- project, or
800
- `--allowedTools` naming the planner command, the subagent tool, the file tools and `mcp__zikaron`,
801
- since a headless run in a folder you never trusted interactively does not read the install's own
802
- allow rule — and `CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0`, without which a headless run that waits
803
- ten idle minutes on background work is stopped. Under kiro the agent you run needs `subagent` and
804
- `shell` among its tools — the installer says so if they are missing — and, unless you add
805
- `zikaron-documenter` to `toolsSettings.crew.trustedAgents`, you are asked before each documenter is
806
- spawned; the documenter's own config already allows its tools.
836
+ orchestrator's shell commands — the one it finds the project root with, then the planner's when it
837
+ first runs; allow that for the session, or you are asked again at later batches — and each
838
+ document a documenter writes, unless you allow edits for the session. Under auto mode, the
839
+ interactive default since Claude Code 2.1.283, none is put to you: the classifier decides the
840
+ commands, and an edit inside the project is approved outright. One run at a time in a session: a
841
+ second request while a run is out waits, and your session starts it when the first run reports. A
842
+ headless run asks nothing and so is refused unless you give it the permission up front:
843
+ `--permission-mode bypassPermissions`, best kept to a copy of the project, or `--allowedTools`
844
+ naming the planner command by the path the orchestrator runs it with —
845
+ `Bash(<venv>/bin/zikaron code-knowledge plan:*)`, the `zikaron` beside the install's
846
+ `zikaron-mcp`, never a bare `zikaron`, which it does not use — then `Bash(pwd:*)` and
847
+ `Bash(cat:*)` — the orchestrator has found the project root with `pwd -P && cat .mcp.json` in
848
+ every measured run, and a run without them writes nothing — `Agent`, `Skill`, the file tools
849
+ `Read`, `Grep`, `Glob`, `Write` and `Edit`, and `mcp__zikaron`, since a headless run in a folder you never trusted interactively does not read the
850
+ install's own allow rule — and `CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0`, without which a headless
851
+ run that waits ten idle minutes on background work is stopped. **Under kiro your agent's rules
852
+ decide what the orchestrator and its documenters may do**, since an agent your session spawns may
853
+ do only what your session's rules allow, whatever its own say. So the agent you run needs
854
+ `subagent` among its tools, to spawn the orchestrator, and allow rules for `subagent`, `shell`,
855
+ `fs_read`, and `fs_write` over `./code-knowledge/**`; it need not hold `shell` or `write` as tools. Unless the `subagent` rule
856
+ covers `zikaron-code-orchestrator` and `zikaron-documenter` — one with no `match`, or a `match` naming
857
+ them — you are asked before each spawn; without the `shell` rule, before each planner run; without
858
+ the `fs_write` rule, before each document write, and a headless run writes none. The installer says
859
+ which is missing.
807
860
 
808
861
  **Using it.** Ask for it in your prompt, naming the module's knowledge base to keep to one module:
809
862
 
@@ -815,7 +868,8 @@ Under Claude Code, a search of a documented module — `grep`, `rg` or `git grep
815
868
  the first such search after each prompt you send, and then at most once every five minutes for
816
869
  each agent by default (`retrieval.knowledge_reminder_interval`). It reminds an agent that is already
817
870
  searching; it does not make one use the documents, so the instruction in your prompt stays the way
818
- to have it do that. Kiro has no reminder.
871
+ to have it do that. Kiro has no reminder: no output a kiro hook gives after a tool runs reaches the
872
+ model.
819
873
 
820
874
  **Read every result as a lead, not as a fact.** Each one carries `source.state`: `fresh` means the
821
875
  file has not changed since its document was written — not that the document is right, since a
@@ -871,6 +925,7 @@ idle_timeout = 1800 # seconds of inactivity before the service stops itse
871
925
  | `retrieval` | `fts_query_max_terms` | `64` | 1–512 | the largest full-text query built from one prompt |
872
926
  | `retrieval` | `knowledge_max_chunks_per_file` | `2` | 1–20 | **knowledge bases:** how many fragments one file may contribute to a result set |
873
927
  | `retrieval` | `knowledge_snippet_max_chars` | `1200` | 80–24000 | **knowledge bases:** how much text a single returned fragment carries, counted in code points |
928
+ | `retrieval` | `knowledge_whole_results` | `3` | 1–20 | **knowledge bases:** how many of each corpus's results come back as fragments; the rest are named by path, line range and how the file opens, for the agent to read when it wants them. 20 returns every result as a fragment |
874
929
  | `retrieval` | `knowledge_reminder_interval` | `300` | 0–86400 | **code knowledge, Claude Code:** seconds an agent goes unreminded after a search of a documented module reminds it; `0` reminds on every such search |
875
930
  | `dedup` | `dedup_threshold` | `0.8` | 0.0–1.0 | how similar a new record must be to be offered back as a near-duplicate |
876
931
  | `dedup` | `dedup_max` | `3` | 0–20 | how many near-duplicates are handed back at once |
@@ -880,7 +935,7 @@ idle_timeout = 1800 # seconds of inactivity before the service stops itse
880
935
  | `consolidation` | `group_max` | `12` | 2–64 | members per group before it is split into shards |
881
936
  | `consolidation` | `max_group_serves` | `3` | 1–16 | how many times one group may be re-served before it is abandoned |
882
937
  | `consolidation` | `run_lease` | `1800` | 60–86400 | seconds a consolidation run holds the store |
883
- | `consolidation` | `spill_threshold` | `27000` | 4096–1048576 | **Claude Code only:** bytes past which a consolidator tool result is written beside the socket instead of returned inline. Nothing spills under kiro, where the key has no effect |
938
+ | `consolidation` | `spill_threshold` | `27000` | 4096–1048576 | bytes past which a consolidator tool result is written to a file instead of returned inline — beside the socket under Claude Code, in `.zikaron/spill/` under kiro. Under kiro a value of 30,000 or above lets a result kiro cuts through unspilled, and the consolidator gets kiro's preview of its two ends instead |
884
939
  | `service` | `idle_timeout` | `1800` | 60–86400 | seconds of inactivity before the service stops itself |
885
940
  | `signals` | `signal_horizon_days` | `30` | 1–3650 | the window the write-policy instrumentation reports over |
886
941
 
@@ -938,6 +993,8 @@ it is `0600` or `0700`. The **installer** also writes harness config — the fil
938
993
  code-knowledge/ the list of role lines the planner hands a module README's writer, one
939
994
  directory per module. Present only while that README is owed
940
995
  config.toml your per-project overrides, if you wrote any
996
+ spill/ under kiro, a consolidation group too large to deliver, while the
997
+ consolidator reads it
941
998
  service.log the background service: startup, resolved config, errors, why it stopped,
942
999
  any request running longer than 30 s, and the stack dumps below
943
1000
  hook.log one line per hook failure, missed cold start, write-policy-override note, or
@@ -966,7 +1023,8 @@ result also spills to a file beside them, carrying that group's record prose ver
966
1023
  the same store hash; it is deleted when the consolidator asks for its next group — or, if that
967
1024
  process is killed first, by the next one that starts. It is the one copy of memory text that lives
968
1025
  outside `.zikaron/`, which is why the erasure procedure under [Secrets](#secrets) removes it by hand.
969
- Nothing spills under kiro.
1026
+ **Under kiro** the same file goes to `.zikaron/spill/` instead, the one directory the consolidator's
1027
+ rules let it read, and is released and swept the same way; deleting `.zikaron/` reaches it.
970
1028
 
971
1029
  **What `service.log` tells you about a service that stopped, or stopped answering.** A clean stop
972
1030
  writes one `stopping: reason=…` line: `idle`, `store_replaced`, `socket_lost` (its socket file was
@@ -1026,12 +1084,13 @@ symptoms it cannot see.
1026
1084
  | nothing searchable works at all | `zikaron doctor` — extension loading, FTS5 and `sqlite-vec` are the three that fail this way, and all three are properties of the interpreter rather than of your project |
1027
1085
  | the MCP server starts and immediately dies | `zikaron doctor` — an over-long `$XDG_RUNTIME_DIR` makes the socket path exceed what the platform allows, and this is the only channel that says so |
1028
1086
  | no memories are being injected | `.zikaron/hook.log`, then `pgrep -af '[z]ikaron.service.main'` |
1087
+ | kiro: a session has none of Zikaron's hooks or tools, and nothing says why | kiro's V3 engine skipped your agent config and ran its default agent. Either the config is still in V2's shape — what an install made before Zikaron supported V3 left, and what kiro-cli 3.0's update finds — so run `kiro-cli agent upgrade <dir>` and then re-run the installer; or, interactively, the folder was not trusted at kiro's trust screen, which loads no workspace agent, hook or MCP server until it is |
1029
1088
  | the agent has no `zikaron_*` tools | kiro: `/tools`, and check `@zikaron` is in the agent's `tools`. Claude Code: `/mcp`, and check neither server is pending approval — then check whether that agent's own frontmatter sets `tools:`, which overrides the project-wide registration entirely (below) |
1030
- | every Zikaron tool call asks permission | kiro: add `@zikaron` to the agent's `allowedTools`. Claude Code: it is `permissions.allow` in `settings.local.json` that did not take |
1089
+ | every Zikaron tool call asks permission | kiro: the agent's `permissions.rules` lacks the `mcp` rule over `zikaron/*` — re-run the installer without `--no-trust-tools`, or add `{"capability": "mcp", "match": ["zikaron/*"], "effect": "allow"}` yourself. Claude Code: it is `permissions.allow` in `settings.local.json` that did not take |
1031
1090
  | a knowledge search returns nothing, or too little | `zikaron_knowledge_status` (or `zikaron knowledge status <name>`) — a corpus **refreshing** answers from what is already indexed, but one building for the first time answers nothing until it finishes. `reindex_required` means it has no usable index **right now**: never built, or a rebuild emptied it and was interrupted before it finished, or its database is gone, or the configured embedding model changed since it was built. `refresh` rebuilds it — and if it does not, the `log` line of `zikaron knowledge status <name>` names where that build wrote why |
1032
1091
  | knowledge results look wrong for the file on disk | the index has drifted; nothing refreshes it on a schedule. A result whose file changed since indexing is marked `stale` — run `refresh` |
1033
1092
  | `zikaron init` or `zikaron knowledge` refuses: "this project's service … runs …", or "… is older than this command … and names no version" | the running service is another version than the command — usually one started before an upgrade. Do what the message says: stop that process if the command is the newer install, or run the command from the install the project's hook and `.mcp.json` name |
1034
- | "Agents not available for crew stages: zikaron-consolidator" | add it to `toolsSettings.crew.availableAgents`, or re-run the installer |
1093
+ | "Agents not available for crew stages: zikaron-consolidator" | a profile that still carries kiro's `toolsSettings.crew.availableAgents` restricts which agents spawn: add `zikaron-consolidator`, `zikaron-documenter` and `zikaron-code-orchestrator` there yourself. The installer adds them only on a profile that also carries `allowedTools` beside `permissions`, the shape `kiro-cli agent create` writes, and leaves `toolsSettings` alone on any other |
1035
1094
  | consolidation seems stuck | ask to consolidate again — that takes the run over |
1036
1095
  | the service will not start | `.zikaron/service.log`; a change to a **hard** store-coupled key (`embed_model`, `embed_dim`) is the usual cause. A soft one never refuses **over what is already stored** — but any key set outside its range refuses at startup, whatever its coupling |
1037
1096
  | the service is running but stops answering | `.zikaron/service.log`'s last `long request:` lines name the request it is stuck in; `kill -USR2 <pid>` adds the requests in flight and every task's stack, and `kill -USR1 <pid>` every thread's stack if the loop itself is blocked (`pgrep -af '[z]ikaron.service.main'` gives the pid). A `memory_plan_groups` or `memory_next_group` under five minutes is a plan, not a wedge. `hook.log` says which kind it is: **`transport`** on every push, though the socket connects, is a blocked loop; **`deadline_passed`** — or `unanswered`, when the answer lost the race to the hook's deadline — on every push with **no `call` rows** behind them in the event table is a request holding the store's writer, and the same run **with** `call` rows is every read connection taken; **`unanswered`** alone is a push whose own request hangs. One kind looks healthy in `hook.log`: pushes succeed while every write answers `store_busy` after about five seconds — the writer's lock held with nothing running — and the `long request:` line names that one too |
@@ -1039,12 +1098,14 @@ symptoms it cannot see.
1039
1098
  | a hook command "not found" | the config names a different virtualenv than the one you installed from; re-run the installer with `--force` |
1040
1099
  | a memory looks half-written when injected | an over-long gist; see the note below |
1041
1100
 
1042
- **One known limit, now narrow.** kiro truncates a hook's output past a byte cap and says nothing
1043
- when it does. Gist length is bounded in *tokens*, and tokens bound neither characters nor bytes — a
1044
- single unbroken 4000-character string counts as one token — so a pathologically long gist could
1045
- once push the injected block past that cap and lose the tail of it silently. **New writes can no
1046
- longer do this:** a gist over 1,024 characters is rejected outright, which keeps a five-row block
1047
- comfortably inside every supported harness's budget. (Emoji and other characters outside the common
1101
+ **One known limit, now narrow.** kiro cuts a hook's output at 3,000 characters and marks the cut
1102
+ to the model alone; Claude Code cuts at 10,000, loudly. Gist length is bounded in *tokens*, and
1103
+ tokens bound neither characters nor bytes — a single unbroken 4000-character string counts as one
1104
+ token — so a pathologically long gist could once push the injected block past a cut and lose the
1105
+ tail of it. **New writes are bounded:** a gist over 1,024 characters is rejected outright, which
1106
+ keeps a five-row block inside Claude Code's budget. Under kiro a block fits while its five gists stay
1107
+ within 404 characters each — every gist in the stores this was measured on does, the longest being
1108
+ 246 — and an overrun is recorded as `push_oversize` in `.zikaron/hook.log`. (Emoji and other characters outside the common
1048
1109
  range count as two each, so a gist made mostly of them is capped nearer 512 — the matching count
1049
1110
  rather than a conservative one, because the injection budget was measured to count them the same
1050
1111
  way.) Only records written before that bound existed can still be over-long. If you see a
@@ -1075,13 +1136,13 @@ can corrupt the database. Two safe options, in order of preference:
1075
1136
  `service.idle_timeout`, so it is usually *not* running, and `pkill` exits 1 when nothing
1076
1137
  matched — which with `&&` skips the deletion silently, leaving the store you believe you
1077
1138
  just erased.
1078
- **The third command is the one that is easy to miss.** A consolidator group too large to return
1079
- is written to the runtime directory rather than into your project, with the record prose in it
1080
- verbatim, so `rm -rf .zikaron` does not reach it and a record erased from the store can survive
1081
- there until the next reboot. That glob takes every store's spill files rather than only this
1082
- one's, which is recoverable rather than free: a consolidation still in flight fails its next
1083
- read loudly and is re-served the group with a fresh copy. It is a Claude Code path — nothing
1084
- spills under kiro.
1139
+ **The third command is the one that is easy to miss.** Under Claude Code a consolidator group
1140
+ too large to return is written to the runtime directory rather than into your project, with the
1141
+ record prose in it verbatim, so `rm -rf .zikaron` does not reach it and a record erased from the
1142
+ store can survive there until the next reboot. That glob takes every store's spill files rather
1143
+ than only this one's, which is recoverable rather than free: a consolidation still in flight
1144
+ fails its next read loudly and is re-served the group with a fresh copy. Under kiro the group is
1145
+ written to `.zikaron/spill/`, which `rm -rf .zikaron` already reaches.
1085
1146
  2. Follow the ordered procedure in `design/write-policy.md` §"The emergency erasure procedure,
1086
1147
  exactly", which removes the index terms and vectors before the content row.
1087
1148
 
@@ -1094,18 +1155,19 @@ From the project directory, first the part that is the same on both harnesses:
1094
1155
 
1095
1156
  ```bash
1096
1157
  pkill -f '[z]ikaron.service.main' # or just let it idle out
1097
- rm -rf .zikaron # the memory store, every knowledge base, and the logs
1158
+ rm -rf .zikaron # the memory store, every knowledge base, the logs, kiro's spill
1098
1159
  rm -f "${XDG_RUNTIME_DIR:-/tmp}"/zikaron*/*.json # Claude Code only: spilled consolidator groups
1099
1160
  ```
1100
1161
 
1101
- The third line is there for the reason [Secrets](#secrets) gives: spill files sit outside the
1102
- project, so `rm -rf .zikaron` does not reach them.
1162
+ The third line is there for the reason [Secrets](#secrets) gives: under Claude Code spill files sit
1163
+ outside the project, so `rm -rf .zikaron` does not reach them; under kiro it does.
1103
1164
 
1104
1165
  Then the harness's own artefacts. Under **kiro**:
1105
1166
 
1106
1167
  ```bash
1107
1168
  rm -rf .kiro/skills/zikaron-consolidate .kiro/skills/zikaron-document-code
1108
1169
  rm .kiro/agents/zikaron-consolidator.json .kiro/agents/zikaron-documenter.json
1170
+ rm .kiro/agents/zikaron-code-orchestrator.json
1109
1171
  mv .kiro/agents/<your-agent>.json.bak .kiro/agents/<your-agent>.json
1110
1172
  ```
1111
1173
 
@@ -1126,11 +1188,14 @@ than deleted, because both hold settings that are not Zikaron's. **All three set
1126
1188
  the install writes three** — leaving `enabledMcpjsonServers` behind names two servers that no longer
1127
1189
  exist, which loads nothing and breaks nothing but is not an uninstall.
1128
1190
 
1129
- **The guards** live only in `.claude/settings.local.json`: remove the `PreToolUse` and
1130
- `PostToolUse` hook groups whose command is `zikaron-guard`, and the `SessionStart` and
1191
+ **The guards**, under Claude Code, live in `.claude/settings.local.json`: remove the `PreToolUse`
1192
+ and `PostToolUse` hook groups whose command is `zikaron-guard`, and the `SessionStart` and
1131
1193
  `SubagentStart` groups whose command is `zikaron-hook`. To keep the memory store and drop only the
1132
1194
  guards, re-running the installer will not do it — an install never removes a selection — so delete
1133
- the two guard groups and the `--components …` arguments from the two start groups' command.
1195
+ the two guard groups and the `--components …` arguments from the two start groups' command. Under
1196
+ kiro they are the two `hooks` entries named `zikaron-guards-SessionStart` and
1197
+ `zikaron-guards-PreToolUse` in the agent profile you passed as `--agent`; delete those two, and the
1198
+ memory store's two stay.
1134
1199
 
1135
1200
  Note that `rm -rf .zikaron` takes the knowledge bases with it. They are rebuildable — an index is a
1136
1201
  view onto files you still have — but rebuilding one takes minutes per corpus.