zikaron 0.3.1__tar.gz → 0.4.0__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.
- {zikaron-0.3.1 → zikaron-0.4.0}/PKG-INFO +312 -104
- {zikaron-0.3.1 → zikaron-0.4.0}/README.md +311 -103
- {zikaron-0.3.1 → zikaron-0.4.0}/pyproject.toml +7 -9
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_access_log.py +8 -8
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_agent_scan.py +10 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_cli_front_door.py +2 -1
- zikaron-0.4.0/tests/test_code_knowledge_claude_live.py +232 -0
- zikaron-0.4.0/tests/test_code_knowledge_command.py +817 -0
- zikaron-0.4.0/tests/test_code_knowledge_plan.py +488 -0
- zikaron-0.4.0/tests/test_code_knowledge_reminder.py +160 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_claude_live.py +65 -12
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_main.py +67 -13
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_malformed.py +5 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_nudge.py +15 -2
- zikaron-0.4.0/tests/test_guard_properties.py +107 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_rule_table.py +63 -19
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_script_file.py +1 -1
- zikaron-0.4.0/tests/test_guard_selfmatch.py +327 -0
- zikaron-0.4.0/tests/test_guard_selfmatch_premise.py +99 -0
- zikaron-0.4.0/tests/test_guard_selfmatch_table.py +92 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_texts.py +36 -14
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_harness_table.py +56 -6
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_components.py +13 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_connect.py +90 -22
- zikaron-0.4.0/tests/test_hook_connect_edge_cases.py +273 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_connect_integration.py +77 -25
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_connect_race.py +59 -47
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_connect_real_service_integration.py +71 -46
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_failure.py +13 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_main.py +49 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_push.py +268 -52
- zikaron-0.4.0/tests/test_hook_reminder.py +441 -0
- zikaron-0.4.0/tests/test_hook_rpc.py +320 -0
- zikaron-0.4.0/tests/test_hook_shell_search.py +167 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_spawn_warm.py +2 -2
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_stdlib_only.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_subagent_policy.py +9 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_warm_helper_integration.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_indexing_acquisition.py +4 -4
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_assets.py +7 -58
- zikaron-0.4.0/tests/test_install_code_knowledge.py +610 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_components.py +202 -14
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_e2e.py +6 -2
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_limits.py +20 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_main.py +13 -8
- zikaron-0.4.0/tests/test_install_models.py +219 -0
- zikaron-0.4.0/tests/test_install_snapshots.py +29 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_targets.py +76 -18
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_writer.py +101 -25
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_build_invariants.py +15 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_build_log.py +5 -4
- zikaron-0.4.0/tests/test_knowledge_build_transactions.py +179 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_builds.py +48 -17
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_cli.py +321 -45
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_cli_integration.py +21 -34
- zikaron-0.4.0/tests/test_knowledge_corpus_migration.py +397 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_counters.py +10 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_database.py +21 -9
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_detach.py +148 -13
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_files.py +8 -8
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_groups.py +65 -15
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_indexer.py +4 -5
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_integration.py +3 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_invariants.py +13 -8
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_lifecycle.py +47 -27
- zikaron-0.4.0/tests/test_knowledge_linked_search.py +267 -0
- zikaron-0.4.0/tests/test_knowledge_links.py +167 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_lock_race.py +3 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_meta.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_repair.py +7 -2
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_reporting.py +66 -30
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_search.py +6 -1
- zikaron-0.4.0/tests/test_knowledge_source_hash.py +473 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_writes.py +5 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_project_scope.py +24 -7
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_dispatch.py +36 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_dispatch_knowledge.py +2 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_encoder_failure_stop.py +20 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_knowledge_management.py +116 -26
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_lifecycle.py +144 -2
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_lifecycle_integration.py +16 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_main.py +214 -3
- zikaron-0.4.0/tests/test_service_ownership.py +123 -0
- zikaron-0.4.0/tests/test_service_reminder.py +280 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_server.py +25 -5
- zikaron-0.4.0/tests/test_service_spawned_builds.py +276 -0
- zikaron-0.4.0/tests/test_service_version_check.py +225 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_write_contention.py +3 -8
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_writer.py +4 -9
- zikaron-0.4.0/tests/test_spawned_interpreter.py +71 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_store_migration.py +49 -6
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/cli/main.py +15 -17
- zikaron-0.4.0/zikaron/code_knowledge/__init__.py +6 -0
- zikaron-0.4.0/zikaron/code_knowledge/__main__.py +11 -0
- zikaron-0.4.0/zikaron/code_knowledge/apply.py +84 -0
- zikaron-0.4.0/zikaron/code_knowledge/main.py +234 -0
- zikaron-0.4.0/zikaron/code_knowledge/output.py +76 -0
- zikaron-0.4.0/zikaron/code_knowledge/survey.py +169 -0
- zikaron-0.4.0/zikaron/core/code_knowledge/__init__.py +6 -0
- zikaron-0.4.0/zikaron/core/code_knowledge/document.py +163 -0
- zikaron-0.4.0/zikaron/core/code_knowledge/layout.py +74 -0
- zikaron-0.4.0/zikaron/core/code_knowledge/plan.py +308 -0
- zikaron-0.4.0/zikaron/core/code_knowledge/readme.py +70 -0
- zikaron-0.4.0/zikaron/core/code_knowledge/reminder.py +78 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/config/keys.py +10 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/events.py +3 -4
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/acquisition.py +3 -5
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/encoder.py +5 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/builds.py +34 -10
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/counters.py +37 -10
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/database.py +21 -11
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/ddl.py +4 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/disposal.py +9 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/files.py +34 -13
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/groups.py +60 -28
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/lifecycle.py +39 -20
- zikaron-0.4.0/zikaron/core/knowledge/link_store.py +140 -0
- zikaron-0.4.0/zikaron/core/knowledge/links.py +165 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/meta.py +24 -11
- zikaron-0.4.0/zikaron/core/knowledge/migration.py +90 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/paths.py +13 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/reporting.py +99 -17
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/scan.py +29 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/search.py +64 -2
- zikaron-0.4.0/zikaron/core/knowledge/source_hash.py +279 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/writes.py +5 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/holders.py +11 -10
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/migration.py +9 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/pool.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/store.py +3 -3
- zikaron-0.4.0/zikaron/core/version.py +31 -0
- zikaron-0.4.0/zikaron/guard/__init__.py +1 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/chars.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/decision.py +34 -29
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/expression.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/forms.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/grammar.py +1 -1
- zikaron-0.4.0/zikaron/guard/grep_filter.py +229 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/heredoc.py +9 -2
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/inplace.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/interpreter.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/lexer.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/limits.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/literal_text.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/main.py +37 -24
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/messages.py +55 -10
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/nudge.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/override.py +1 -1
- zikaron-0.4.0/zikaron/guard/patterns.py +47 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/position.py +5 -5
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/programs.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/quoting.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/redirects.py +19 -2
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/scratch.py +39 -12
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/script_file.py +2 -2
- zikaron-0.4.0/zikaron/guard/selfmatch.py +278 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/start_text.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/guard/writes.py +1 -1
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/harness/spec.py +72 -15
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/components.py +2 -2
- zikaron-0.4.0/zikaron/hook/connect.py +522 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/failure.py +71 -23
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/limits.py +4 -4
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/main.py +14 -5
- zikaron-0.4.0/zikaron/hook/push.py +190 -0
- zikaron-0.4.0/zikaron/hook/reminder.py +154 -0
- zikaron-0.4.0/zikaron/hook/rpc.py +192 -0
- zikaron-0.4.0/zikaron/hook/shell_search.py +211 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/spawn_warm.py +1 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/warm_helper.py +2 -1
- zikaron-0.4.0/zikaron/install/code_knowledge.py +660 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/entries.py +149 -17
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/main.py +28 -33
- zikaron-0.4.0/zikaron/install/models.py +122 -0
- zikaron-0.4.0/zikaron/install/settings_hooks.py +331 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/targets.py +96 -298
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/writer.py +103 -58
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/client.py +68 -4
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/indexer/build_log.py +3 -4
- zikaron-0.4.0/zikaron/knowledge/indexer/detach.py +163 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/indexer/main.py +9 -7
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/main.py +119 -94
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/scope.py +3 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/connection.py +33 -6
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/errors.py +4 -4
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/primary.py +46 -40
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/project/initialize.py +22 -15
- zikaron-0.4.0/zikaron/project/messages.py +27 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/project/report.py +6 -23
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/project/resolve.py +12 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/asyncio_compat.py +3 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/context.py +22 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/dispatch.py +37 -14
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/dispatch_knowledge.py +129 -28
- zikaron-0.4.0/zikaron/service/dispatch_reminder.py +75 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/lifecycle.py +121 -59
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/log.py +17 -3
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/main.py +87 -49
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/methods.py +18 -2
- zikaron-0.4.0/zikaron/service/ownership.py +109 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/params.py +27 -4
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/paths.py +7 -1
- zikaron-0.4.0/zikaron/service/reminders.py +42 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/serialize_knowledge.py +37 -30
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/server.py +32 -15
- zikaron-0.4.0/zikaron/service/spawned_builds.py +77 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron.egg-info/PKG-INFO +312 -104
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron.egg-info/SOURCES.txt +53 -1
- zikaron-0.3.1/tests/test_guard_properties.py +0 -78
- zikaron-0.3.1/tests/test_hook_connect_edge_cases.py +0 -104
- zikaron-0.3.1/tests/test_hook_rpc.py +0 -164
- zikaron-0.3.1/zikaron/guard/__init__.py +0 -1
- zikaron-0.3.1/zikaron/hook/connect.py +0 -379
- zikaron-0.3.1/zikaron/hook/push.py +0 -201
- zikaron-0.3.1/zikaron/hook/rpc.py +0 -91
- zikaron-0.3.1/zikaron/knowledge/indexer/detach.py +0 -122
- {zikaron-0.3.1 → zikaron-0.4.0}/LICENSE +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/setup.cfg +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_asyncio_compat.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_background_encoder.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_check_gate.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_ci_workflow.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_clock.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_config_keys.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_config_resolution.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_grouping.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_invariants.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_observability.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_planning.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_refusals.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_serving.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_snapshot_planning.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_consolidation_verbs.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_ddl.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_definition_of_done_sites.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_design_pointers_resolve.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_design_tables.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_distribution.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_doctor.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_embedder.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_error_codes.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_event_kinds.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_guard_docstring_examples.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_harness_detect.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_harness_store_scope.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_harness_tier_guard.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_envelope.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_tripwire.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_warm_helper.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_hook_write_policy.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_indexing_chunking.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_indexing_encoder.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_indexing_integration.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_indexing_model_cache.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_indexing_writes.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_injected_prose_log.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_claude_live.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_harness.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_install_takeover.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_build_row_ordering.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_chunking.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_ddl.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_git.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_lock.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_registry.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_roots.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_scan.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_scan_git.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_state.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_text.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_vectors.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_knowledge_walk.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_markdown_renders_as_written.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_connection_ambiguous_failure.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_connection_cancellation.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_connection_concurrency.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_connection_integration.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_connection_labels.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_consolidator_bridge.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_errors.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_main.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_server.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_spill.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_tool_descriptions.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_mcp_wire_contracts.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_meta.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_permissions.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_publication_hygiene.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_quoted_design_prose_is_verbatim.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_readme_config_table.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_readme_internal_links.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_records_memory.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_records_receipts.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_records_supersession.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_retrieval_arms.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_retrieval_eligibility.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_retrieval_integration.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_retrieval_query.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_retrieval_ranking.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_retrieval_reads.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_context.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_context_assemble.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_diagnostics.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_diagnostics_integration.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_dispatch_consolidation.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_envelope.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_log.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_params.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_paths.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_read_contention.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_rpc.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_security.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_service_surface_deadline.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_signals_contention.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_signals_dedup.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_signals_horizon.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_signals_repair.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_signals_retirement.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_signals_sessions.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_signals_writes.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_socket_path_budget.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_store.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_store_connection.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_store_pool.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_transaction_begin_sites.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_version_seam.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_write_dedup.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/tests/test_write_tools.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/cli/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/clock.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/config/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/config/resolution.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/authorization.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/candidates.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/context.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/grouping.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/groups.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/payload.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/planning.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/rowstate.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/runs.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/serving.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/consolidation/verbs.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/errors.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/chunking.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/lexical.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/model_cache.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/model_pin.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/vectors.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/indexing/writes.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/arms.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/candidates.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/changes.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/chunking.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/errors.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/git.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/lexical.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/lock.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/pending.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/registry.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/repair.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/roots.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/state.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/text.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/vectors.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/knowledge/walk.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/records/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/records/memory.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/records/receipts.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/records/supersession.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/arms.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/block.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/eligibility.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/query.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/ranking.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/reads.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/retrieve.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/retrieval/similarity.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/contention.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/dedup.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/horizon.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/repair.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/retirement.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/sessions.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/signals/writes.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/connection.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/ddl.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/deadline.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/embedder.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/meta.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/permissions.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/store/transactions.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/write/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/write/dedup.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/core/write/tools.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/doctor/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/doctor/checks.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/doctor/main.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/harness/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/harness/detect.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/envelope.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/subagent_policy.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/tripwire.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/hook/write_policy.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/__main__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/agent_scan.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/assets.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/harness.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/install/ownership.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/__main__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/indexer/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/knowledge/indexer/__main__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/consolidator.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/main.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/server.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/spill.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/mcp/tool_names.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/project/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/project/__main__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/py.typed +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/__init__.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/access_log.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/diagnostics.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/dispatch_consolidation.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/envelope.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/rpc.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/security.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron/service/serialize.py +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron.egg-info/dependency_links.txt +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron.egg-info/entry_points.txt +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/zikaron.egg-info/requires.txt +0 -0
- {zikaron-0.3.1 → zikaron-0.4.0}/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.
|
|
3
|
+
Version: 0.4.0
|
|
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
|
|
@@ -61,11 +61,12 @@ yes, it is out of scope. That store is for what cost somebody time to discover,
|
|
|
61
61
|
be discovered again by the next agent, at full price. A knowledge base has no such test — it is
|
|
62
62
|
whatever corpus you point it at.
|
|
63
63
|
|
|
64
|
-
**And, on request,
|
|
65
|
-
find-replace edit to an authored file (`sed -i`, an inline
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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.
|
|
69
70
|
|
|
70
71
|
It runs entirely on your machine: SQLite databases under `.zikaron/`, a local embedding model, and a
|
|
71
72
|
small background service on a Unix socket. **Zikaron reaches the network for exactly one thing** —
|
|
@@ -130,8 +131,8 @@ reads which one it is addressing before it reads a description. Consolidation ne
|
|
|
130
131
|
| **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. |
|
|
131
132
|
| **MCP server** | Translates the agent's tool calls into requests to the service. One process per agent instance; loads no model. |
|
|
132
133
|
| **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. |
|
|
133
|
-
| **guard** | Claude Code only, installed on request: a single-shot executable the harness runs before each Bash 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. |
|
|
134
|
-
| **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 the
|
|
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
|
+
| **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. |
|
|
135
136
|
|
|
136
137
|
The service exists for one measured reason: loading the embedding model costs about **780 ms**, and
|
|
137
138
|
retrieval sits on the path of every message you send. Keeping the model resident turns that into a
|
|
@@ -173,7 +174,7 @@ and never fails your turn.
|
|
|
173
174
|
nothing. A person running it from a terminal outside a session, into a project that has not been
|
|
174
175
|
set up yet, is the case where nothing says anything and `--harness` is required.
|
|
175
176
|
|
|
176
|
-
Under kiro it additionally validates the
|
|
177
|
+
Under kiro it additionally validates the shipped agents' model id against the binary, because kiro
|
|
177
178
|
substitutes an unknown model silently; Claude Code refuses one itself, at spawn, so no such check
|
|
178
179
|
is needed there.
|
|
179
180
|
|
|
@@ -242,7 +243,7 @@ cd /path/to/your/project
|
|
|
242
243
|
zikaron install --project . --harness claude-code # or: --harness kiro
|
|
243
244
|
```
|
|
244
245
|
|
|
245
|
-
Under Claude Code, `--components` adds the [
|
|
246
|
+
Under Claude Code, `--components` adds the [guards](#guards-claude-code-on-request), or
|
|
246
247
|
installs them alone; without it you get the memory store only, exactly as before:
|
|
247
248
|
|
|
248
249
|
```bash
|
|
@@ -297,26 +298,63 @@ exists for. `zikaron doctor` afterwards says whether a Claude Code project's Zik
|
|
|
297
298
|
**What upgrading the package does not do by itself:**
|
|
298
299
|
|
|
299
300
|
- **A service already running keeps the old code** until it idles out (`idle_timeout`, below) or is
|
|
300
|
-
stopped — `pkill -f
|
|
301
|
-
|
|
302
|
-
command
|
|
301
|
+
stopped — `pkill -f '[z]ikaron.service.main'`, bracketed so that, run from a script or by an
|
|
302
|
+
agent, it does not match the shell running it. Until then `zikaron init` and every
|
|
303
|
+
`zikaron knowledge` verb refuse it, naming both versions and the service's pid: if the command is
|
|
304
|
+
the newer install, stop that process and the next command starts one that matches; if the service
|
|
305
|
+
is newer, run the command from the install that started it — the one the project's hook and
|
|
306
|
+
`.mcp.json` name. The hook and the agent's MCP tools go on using whichever service is running.
|
|
303
307
|
- **A store moves forward, never back.** The first time a newer service opens a project's store it
|
|
304
308
|
migrates it in one transaction, without saying so, and an older Zikaron then refuses that store —
|
|
305
309
|
`0.1.0` cannot open one `0.3.0` has opened. If more than one environment serves the same project,
|
|
306
|
-
upgrade them together.
|
|
310
|
+
upgrade them together. That includes the install a project's `.mcp.json` names: once a newer
|
|
311
|
+
service has moved the store, an agent session running an older `zikaron-mcp` is refused the store
|
|
312
|
+
(`schema_incompatible`) and loses its memory and knowledge tools until that install is upgraded
|
|
313
|
+
and the session restarts its MCP server.
|
|
314
|
+
|
|
315
|
+
Finally, if the project is a git repository, tell git to ignore everything the install wrote.
|
|
316
|
+
**None of it works without a local install**: the subagents call Zikaron's tools, which a clone has
|
|
317
|
+
no server for, and the skills run the `zikaron` beside the `zikaron-mcp` your MCP configuration
|
|
318
|
+
names. A committed copy would show up in a clone-mate's agent and skill lists and fail when used,
|
|
319
|
+
and would pin your Zikaron version's text against theirs. Each clone runs the installer, which
|
|
320
|
+
writes its own. Under Claude Code:
|
|
307
321
|
|
|
308
|
-
|
|
309
|
-
|
|
322
|
+
```bash
|
|
323
|
+
cat >> .gitignore <<'EOF'
|
|
324
|
+
/.zikaron/
|
|
325
|
+
/.mcp.json*
|
|
326
|
+
/.claude/settings.local.json*
|
|
327
|
+
/.claude/agents/zikaron-*
|
|
328
|
+
/.claude/skills/zikaron-*/
|
|
329
|
+
EOF
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
and under kiro:
|
|
310
333
|
|
|
311
334
|
```bash
|
|
312
|
-
|
|
313
|
-
|
|
335
|
+
cat >> .gitignore <<'EOF'
|
|
336
|
+
/.zikaron/
|
|
337
|
+
/.kiro/agents/zikaron-*
|
|
338
|
+
/.kiro/agents/*.json.bak
|
|
339
|
+
/.kiro/skills/zikaron-*/
|
|
340
|
+
EOF
|
|
314
341
|
```
|
|
315
342
|
|
|
316
|
-
**
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
343
|
+
**Every line starts with `/`, so each matches only at the project's top**, where the install writes.
|
|
344
|
+
A `.zikaron/` anywhere else is a store some session made in the wrong directory, and is better
|
|
345
|
+
seen in `git status` than hidden.
|
|
346
|
+
|
|
347
|
+
**The agent config you named under kiro is your own file**, so it is not on the list; the hook and
|
|
348
|
+
`mcpServers` entries the install merged into it name your virtualenv by absolute path too. **Nor is
|
|
349
|
+
`code-knowledge/`**: the documents are plain Markdown, readable without Zikaron, and whether you
|
|
350
|
+
commit them is yours ([Code knowledge](#code-knowledge)).
|
|
351
|
+
|
|
352
|
+
**The `*` and the `.bak` lines cover the installer's backups** — `.mcp.json.bak`,
|
|
353
|
+
`.claude/settings.local.json.bak` and, under kiro, `<your-agent>.json.bak`, each the file as it
|
|
354
|
+
stood before the first merge into it (the backup rule is below); a refreshed agent's or skill's own
|
|
355
|
+
`.bak` falls under the `zikaron-*` lines. Each holds the same absolute
|
|
356
|
+
paths, and whatever the entry held at the time, an `env` included, and it is where `--force` sends
|
|
357
|
+
you to look for a key it dropped.
|
|
320
358
|
|
|
321
359
|
**`.mcp.json` is the awkward one.** Claude Code intends that file to be committed and shared — that
|
|
322
360
|
is what "project-scoped" means — but the entries Zikaron writes into it name absolute paths inside
|
|
@@ -330,9 +368,9 @@ is the clone-mate case.
|
|
|
330
368
|
|
|
331
369
|
The installer does not edit `.gitignore` for you; appending to it is not a decision an installer
|
|
332
370
|
should make silently. But it matters and is easy to forget: without it the memory database and its
|
|
333
|
-
write-ahead log, every knowledge base's index
|
|
334
|
-
routine `git add -A` commits the lot. None of it is useful
|
|
335
|
-
reproducible from your repository.
|
|
371
|
+
write-ahead log, every knowledge base's index, the service logs and the installed agents and
|
|
372
|
+
skills all show up as untracked, and a routine `git add -A` commits the lot. None of it is useful
|
|
373
|
+
to anyone else, and none of it is reproducible from your repository.
|
|
336
374
|
|
|
337
375
|
What it writes under **kiro**, relative to the project:
|
|
338
376
|
|
|
@@ -340,7 +378,9 @@ What it writes under **kiro**, relative to the project:
|
|
|
340
378
|
|---|---|
|
|
341
379
|
| `.kiro/agents/zikaron-consolidator.json` | the consolidation subagent: its model, its four tools, its prompt |
|
|
342
380
|
| `.kiro/skills/zikaron-consolidate/SKILL.md` | how to run a consolidation, and how to recover a stuck one |
|
|
343
|
-
|
|
|
381
|
+
| `.kiro/agents/zikaron-documenter.json` | the documentation subagent: its model, its four file tools and `@zikaron` with its own `mcpServers` entry, its prompt |
|
|
382
|
+
| `.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` |
|
|
344
384
|
|
|
345
385
|
and under **Claude Code**:
|
|
346
386
|
|
|
@@ -348,22 +388,26 @@ and under **Claude Code**:
|
|
|
348
388
|
|---|---|
|
|
349
389
|
| `.claude/agents/zikaron-consolidator.md` | the consolidation subagent, as frontmatter plus its prompt |
|
|
350
390
|
| `.claude/skills/zikaron-consolidate/SKILL.md` | how to run a consolidation, and how to recover a stuck one |
|
|
351
|
-
| `.claude/
|
|
391
|
+
| `.claude/agents/zikaron-documenter.md` | the documentation subagent, as frontmatter plus its prompt |
|
|
392
|
+
| `.claude/agents/zikaron-code-orchestrator.md` | the subagent your session spawns, in the background, to run a code-documentation run |
|
|
393
|
+
| `.claude/skills/zikaron-document-code/SKILL.md` | how to document a module of your code ([Code knowledge](#code-knowledge)) |
|
|
394
|
+
| `.claude/settings.local.json` | hooks for session start, each message, each subagent start and each search ([Code knowledge](#code-knowledge)), plus both approval keys, `enabledMcpjsonServers` and `permissions.allow` |
|
|
352
395
|
| `.mcp.json` | both servers: `zikaron` for your own tools, `zikaron-consolidator` for the consolidation verbs — each marked `alwaysLoad` so their descriptions are in context from the start rather than fetched per tool |
|
|
353
396
|
|
|
354
397
|
With `--components guards` the install writes `.claude/settings.local.json` alone, and in it only
|
|
355
398
|
hooks: the session-start and per-subagent hooks, which carry a short note about the guards, and the
|
|
356
|
-
two guard hooks — before each Bash call, after each edit. No server, no approval
|
|
357
|
-
|
|
358
|
-
the write policy and the guards' note.
|
|
399
|
+
two guard hooks — before each `Bash` or `Monitor` call, after each edit. No server, no approval
|
|
400
|
+
key, no subagent and no skill. With `--components both` you get all of the above together, and
|
|
401
|
+
the start hooks carry the write policy and the guards' note.
|
|
359
402
|
|
|
360
403
|
**`settings.local.json`, not `settings.json`**, and it matters if you commit your settings: the hook
|
|
361
404
|
entries name absolute paths inside *your* virtualenv, so they are meaningless in anyone else's clone.
|
|
362
405
|
The third hook is the one with no kiro counterpart — it hands the write policy to each subagent you
|
|
363
406
|
spawn, which kiro achieves by firing its ordinary hooks for subagent sessions instead.
|
|
364
407
|
|
|
365
|
-
It backs up any file it merges into (`<file>.bak`, and the first backup wins),
|
|
366
|
-
|
|
408
|
+
It backs up any file it merges into (`<file>.bak`, and the first backup wins), leaving one that
|
|
409
|
+
already carries every entry untouched, backup included, and **refreshes a shipped file whose
|
|
410
|
+
contents are not what this version ships** — after backing it up, and saying so.
|
|
367
411
|
That is what makes upgrading work, and the cost is that a hand-edit to a shipped file is reverted on
|
|
368
412
|
the next install rather than kept. **Under Claude Code the same holds inside a file it *merges*
|
|
369
413
|
into**: a Zikaron hook entry whose command is this install's but whose `timeout` or matcher you
|
|
@@ -410,29 +454,31 @@ subagent with its own model invocation, four mutation verbs and, under Claude Co
|
|
|
410
454
|
and the installer does not make it for you. **Under kiro** that grant is
|
|
411
455
|
`toolsSettings.crew.trustedAgents`, which the installer only ever reads: starting a consolidation
|
|
412
456
|
therefore asks your permission once, and adding `zikaron-consolidator` there yourself is what stops
|
|
413
|
-
it.
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
inheritance, so
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
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.
|
|
478
|
+
|
|
479
|
+
**Installing into a clone of the Zikaron repository itself** finds none of the files an install
|
|
480
|
+
ships already tracked, under either harness: the repository keeps a snapshot of them under
|
|
481
|
+
`tests/fixtures/installed/`, outside both harnesses' dot-directories, and no installed copy.
|
|
436
482
|
|
|
437
483
|
### What to know under Claude Code
|
|
438
484
|
|
|
@@ -453,7 +499,9 @@ the next one, because session scope is the only scope that grant has. It is not
|
|
|
453
499
|
purpose: a file-reading tool cannot be restricted to one path in subagent config, so this prompt is
|
|
454
500
|
the only point at which that grant is put to you as a question.
|
|
455
501
|
|
|
456
|
-
`--no-trust-tools` withholds both written keys for *your* tools. It
|
|
502
|
+
`--no-trust-tools` withholds both written keys for *your* tools. It withholds them from the
|
|
503
|
+
code-documentation run as well, whose orchestrator and documenters call the same server, so under
|
|
504
|
+
that flag a run asks in your session per Zikaron call. It does not withhold them for the
|
|
457
505
|
consolidator's: a subagent has nobody to answer a permission prompt, so an unapproved **MCP** tool
|
|
458
506
|
there does not ask, it fails at the moment consolidation needs it. The file read above is the
|
|
459
507
|
exception — that one prompts.
|
|
@@ -474,21 +522,31 @@ guard, the receipts and the lease are untouched — but an unauthorized consolid
|
|
|
474
522
|
tokens and could write a poorly-judged long-term record. `permissions.deny` is **not** the fix: it is
|
|
475
523
|
global and unregisters the tool, after which the consolidator itself refuses to start.
|
|
476
524
|
|
|
477
|
-
###
|
|
525
|
+
### Guards (Claude Code, on request)
|
|
478
526
|
|
|
479
|
-
`--components guards` (or `both`) installs two deterministic hooks that hold an agent to
|
|
480
|
-
with no model and no store behind them (`design/
|
|
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`):
|
|
481
529
|
|
|
482
530
|
- **A find-replace edit to an authored file is refused** — `sed -i`, `perl -pi`, an inline Python
|
|
483
|
-
or node script that writes a file, a heredoc or `echo` redirected into one, and a script
|
|
484
|
-
|
|
531
|
+
or node script that writes a file, a heredoc or `echo` redirected into one, and a script in
|
|
532
|
+
scratch that the command runs and that does any of these. The refusal reaches the
|
|
485
533
|
agent as the tool's result and tells it to use `Read` and `Edit`, or `Write` for a new file.
|
|
486
|
-
Paths under `/tmp`, `/var/tmp
|
|
487
|
-
override the refusal itself describes, for the files
|
|
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.
|
|
488
537
|
- **After each edit, the agent is reminded** that the file has not been re-read, and asked for one
|
|
489
538
|
re-read of the edited material once that file's editing is done. A Bash command gets no such
|
|
490
539
|
reminder, so when the agent overrides a refusal, the guard's acknowledgement names what the
|
|
491
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
|
|
543
|
+
a pattern matches that shell: `pkill` kills it, and `pgrep` always finds it, so a check for a
|
|
544
|
+
process that has exited never sees it gone. The refusal shows where the pattern matched and gives
|
|
545
|
+
the fix: `-A`, where `pgrep` has it, or a bracketed character (`[m]onth_monitor.py`). On macOS,
|
|
546
|
+
whose `pgrep` already leaves out the shell, only `-a` brings it back.
|
|
547
|
+
|
|
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`.
|
|
492
550
|
|
|
493
551
|
They are not a security boundary: a script the guard reads is one run from a scratch directory,
|
|
494
552
|
and a script anywhere else — one of the project's own programs — is never read, by design. A guard
|
|
@@ -515,12 +573,20 @@ usually shows something else: told the rule when its session starts, it reaches
|
|
|
515
573
|
| `--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 |
|
|
516
574
|
| `--agent <path>` | **kiro only.** Merge the hook and MCP entries into that config, after backing it up |
|
|
517
575
|
| `--print-only` | print what would be written and write nothing at all |
|
|
518
|
-
| `--model <id>` | the consolidator
|
|
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) |
|
|
577
|
+
| `--consolidator-model <id>` | the consolidator's model, over `--model` |
|
|
578
|
+
| `--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 |
|
|
519
580
|
| `--format {object,array}` | **kiro only.** Which hook format to write when the target config has none yet |
|
|
520
581
|
| `--no-trust-tools` | do not pre-approve Zikaron's own tools, so every Zikaron tool call asks permission |
|
|
521
|
-
| `--components {memory,guards,both}` | what to install: the memory store (the default), the
|
|
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 |
|
|
522
583
|
| `--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 |
|
|
523
584
|
|
|
585
|
+
A model id is the harness's own: under kiro, one `kiro-cli chat --list-models` lists, which the
|
|
586
|
+
install checks; under Claude Code, an alias such as `sonnet` or a full id, which Claude Code itself
|
|
587
|
+
refuses at spawn if it does not know it. An install is for one harness, so a project set up for
|
|
588
|
+
both installs twice, each run with that harness's ids.
|
|
589
|
+
|
|
524
590
|
Both hook formats kiro accepts are supported, and a config that already uses one keeps it: kiro
|
|
525
591
|
rewrites a config in whichever format it read, so mixing them in one file has no defined meaning.
|
|
526
592
|
|
|
@@ -563,9 +629,9 @@ write policy goes into the model's context, not to your terminal. Then, from the
|
|
|
563
629
|
|
|
564
630
|
```bash
|
|
565
631
|
# a service should be running for this project after your first message
|
|
566
|
-
pgrep -af
|
|
632
|
+
pgrep -af '[z]ikaron.service.main'
|
|
567
633
|
|
|
568
|
-
# one line per hook failure, write-policy-override note, or session/environment mismatch; absent means none happened
|
|
634
|
+
# one line per hook failure, missed cold start, write-policy-override note, or session/environment mismatch; absent means none happened
|
|
569
635
|
cat .zikaron/hook.log
|
|
570
636
|
```
|
|
571
637
|
|
|
@@ -631,19 +697,133 @@ answers nothing until it finishes. `status` says how far it has got.
|
|
|
631
697
|
In a script or a CI step, use `zikaron knowledge refresh --wait`: it reports progress and returns
|
|
632
698
|
once every build against those corpora has let go of its corpus — including one an earlier `add`
|
|
633
699
|
started, which it waits for rather than stepping past — exiting non-zero if any build left its corpus
|
|
634
|
-
unusable
|
|
635
|
-
|
|
636
|
-
|
|
700
|
+
unusable, and naming the build log of each one that did, or that never started. By then each build's
|
|
701
|
+
record of what it cost has been written to `memory.db`, or dropped if the store stayed locked; the
|
|
702
|
+
indexer process itself may still be exiting, and still writing the last lines of that log. Without
|
|
703
|
+
`--wait` the step can finish while an indexer is still running, and whatever kills the step kills the
|
|
704
|
+
build too.
|
|
637
705
|
|
|
638
706
|
**Nothing updates an index on its own.** There is no watcher and no schedule: a corpus drifts from
|
|
639
707
|
its files until somebody refreshes it. A search says so when it can — a result whose file has
|
|
640
708
|
changed since it was indexed comes back marked `stale`.
|
|
641
709
|
|
|
710
|
+
**A document can say which file it was written from, and a search then says whether that file has
|
|
711
|
+
moved since.** A summary of a long document, a translation, a description of a source file: open it
|
|
712
|
+
with a front-matter block naming the file and the hash of the version you wrote from —
|
|
713
|
+
|
|
714
|
+
```markdown
|
|
715
|
+
---
|
|
716
|
+
zikaron-source: src/billing/invoice.py
|
|
717
|
+
zikaron-source-blob: 3f2a9c0d41e7b8a65c1d2e3f4a5b6c7d8e9f0a1b
|
|
718
|
+
---
|
|
719
|
+
# What invoice.py does
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
— and every result from that document carries `source: {path, state}`, where `state` is `fresh` (the
|
|
723
|
+
file is still the version you wrote from), `changed`, `missing`, or `unverifiable` (it could not be
|
|
724
|
+
checked). The path is relative to the project directory — the one holding `.zikaron/` — whichever
|
|
725
|
+
directory the document is in, may climb out of it with `..`, and is at most 1,024 characters. The
|
|
726
|
+
hash is git's object id, what `git hash-object` prints for the file's real path, run from the
|
|
727
|
+
project directory; outside a repository the same command still gives the right answer. The block
|
|
728
|
+
must close within the document's first 4,096 characters, and any other keys it carries are ignored.
|
|
729
|
+
A block that names a link and gets it wrong — one key without the other, a hash in capitals — comes
|
|
730
|
+
back `unverifiable` rather than looking unlinked. `zikaron knowledge status` counts the linked files and how often a
|
|
731
|
+
search met a source that had moved.
|
|
732
|
+
|
|
642
733
|
**An index holds the text of every file in it.** Do not point one at a directory holding
|
|
643
734
|
credentials. The databases are `0600`, the same as `memory.db`, and they are under `.zikaron/`, so
|
|
644
735
|
the `.gitignore` line above already covers them — but what is *in* one is searchable by every agent
|
|
645
736
|
working in this project.
|
|
646
737
|
|
|
738
|
+
### Code knowledge
|
|
739
|
+
|
|
740
|
+
An agent new to a codebase searches it by keyword to find where to start. **Code knowledge** gives
|
|
741
|
+
it a corpus to search instead: one document per source file — what the file is for, every class and
|
|
742
|
+
function it declares with its declaration, its non-trivial behavior, and the files it depends on —
|
|
743
|
+
written by agents, kept as files in your project, and indexed as an ordinary knowledge base. Ask
|
|
744
|
+
for it in plain words — *"create code documentation"*, *"document `src/billing`"* — or with the
|
|
745
|
+
installed skill, naming directories of your code, or none:
|
|
746
|
+
|
|
747
|
+
```
|
|
748
|
+
/zikaron-document-code # every documented module, or the whole project
|
|
749
|
+
/zikaron-document-code src/billing
|
|
750
|
+
/zikaron-document-code src/billing --slice 20 # just twenty files, to see what it costs
|
|
751
|
+
/zikaron-document-code services/api --exclude '*_generated.go'
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
With no directory named it updates every module you have documented, or, where you have documented
|
|
755
|
+
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`,
|
|
759
|
+
which decides from hashes which documents are missing, out of date or malformed, removes the ones a
|
|
760
|
+
deleted or renamed source left behind — moving a renamed file's document instead of rewriting it —
|
|
761
|
+
and lists the rest. It then spawns a `zikaron-documenter` subagent per listed file, and runs the
|
|
762
|
+
planner again until it reports the module up to date; the module's `README.md` is written last,
|
|
763
|
+
an overview of the module from its documents, listing no files. Run it again after the code has
|
|
764
|
+
moved and only what moved is rewritten. The planner never starts the service and changes nothing
|
|
765
|
+
outside the documents directory but the list of role lines it hands the README's writer, under
|
|
766
|
+
`.zikaron/`; without `--apply` it changes nothing at all, so you can run it yourself to see where a
|
|
767
|
+
module stands:
|
|
768
|
+
|
|
769
|
+
```bash
|
|
770
|
+
zikaron code-knowledge plan --module src/billing --limit 10
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
**Pass the same `--include` and `--exclude` every time** you document a directory: they are part of
|
|
774
|
+
what it is, and a narrower set makes the planner remove the documents it no longer admits. So a
|
|
775
|
+
directory documented with globs is updated by naming it with them: the plain update passes none and
|
|
776
|
+
documents such a directory in full — its report says `globs: none` — and the next run naming it with
|
|
777
|
+
its globs removes what the update added.
|
|
778
|
+
|
|
779
|
+
The documents go under `code-knowledge/`, mirroring your tree —
|
|
780
|
+
`code-knowledge/src/billing/invoice.py.md` describes `src/billing/invoice.py` — and **each module
|
|
781
|
+
is a knowledge base of its own**: the skill registers `code-knowledge/src/billing/` as the knowledge
|
|
782
|
+
base `code-knowledge/src/billing`, or refreshes it, so a search can keep to one module. A directory
|
|
783
|
+
inside one you have documented, or containing one, is refused, since its documents would be
|
|
784
|
+
indexed twice. **Whether you commit them is yours to decide**: each corpus is created with
|
|
785
|
+
`git_mode: off`, so a document is searchable whether it is committed, uncommitted, or fetched from
|
|
786
|
+
somewhere a build published it to.
|
|
787
|
+
|
|
788
|
+
**What a run needs.** The documenter can read files, write one and correct it in place, and use
|
|
789
|
+
Zikaron's tools — the project's memory, which it may search and add to, and its knowledge bases,
|
|
790
|
+
which it may search, code knowledge's own excepted since a document there can be stale, and
|
|
791
|
+
changes none of — and nothing else; it has no shell. Under Claude Code the background run's
|
|
792
|
+
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.
|
|
807
|
+
|
|
808
|
+
**Using it.** Ask for it in your prompt, naming the module's knowledge base to keep to one module:
|
|
809
|
+
|
|
810
|
+
> Answer the following question using the knowledge tool, and then verify it against the actual
|
|
811
|
+
> code: …
|
|
812
|
+
|
|
813
|
+
Under Claude Code, a search of a documented module — `grep`, `rg` or `git grep` in a shell, or the
|
|
814
|
+
`Grep` and `Glob` tools — is followed by one line naming the knowledge bases that document it: on
|
|
815
|
+
the first such search after each prompt you send, and then at most once every five minutes for
|
|
816
|
+
each agent by default (`retrieval.knowledge_reminder_interval`). It reminds an agent that is already
|
|
817
|
+
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.
|
|
819
|
+
|
|
820
|
+
**Read every result as a lead, not as a fact.** Each one carries `source.state`: `fresh` means the
|
|
821
|
+
file has not changed since its document was written — not that the document is right, since a
|
|
822
|
+
document can be wrong from the day it was written — and `changed` means the file has moved since,
|
|
823
|
+
so the document still says roughly where to look and its particulars are suspect. `missing` means
|
|
824
|
+
the file is gone, and `unverifiable` that it could not be checked. Either way the answer rests on
|
|
825
|
+
the code. `design/code-knowledge.md` is the design, and why the code decides.
|
|
826
|
+
|
|
647
827
|
---
|
|
648
828
|
|
|
649
829
|
## Configuration
|
|
@@ -691,6 +871,7 @@ idle_timeout = 1800 # seconds of inactivity before the service stops itse
|
|
|
691
871
|
| `retrieval` | `fts_query_max_terms` | `64` | 1–512 | the largest full-text query built from one prompt |
|
|
692
872
|
| `retrieval` | `knowledge_max_chunks_per_file` | `2` | 1–20 | **knowledge bases:** how many fragments one file may contribute to a result set |
|
|
693
873
|
| `retrieval` | `knowledge_snippet_max_chars` | `1200` | 80–24000 | **knowledge bases:** how much text a single returned fragment carries, counted in code points |
|
|
874
|
+
| `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 |
|
|
694
875
|
| `dedup` | `dedup_threshold` | `0.8` | 0.0–1.0 | how similar a new record must be to be offered back as a near-duplicate |
|
|
695
876
|
| `dedup` | `dedup_max` | `3` | 0–20 | how many near-duplicates are handed back at once |
|
|
696
877
|
| `consolidation` | `mutual_k` | `5` | 2–50 | how many neighbours each entry considers when grouping |
|
|
@@ -751,14 +932,19 @@ it is `0600` or `0700`. The **installer** also writes harness config — the fil
|
|
|
751
932
|
memory.db the store itself — never commit this
|
|
752
933
|
memory.db-wal SQLite's write-ahead log; part of the store
|
|
753
934
|
memory.db-shm SQLite's shared-memory index; part of the store
|
|
754
|
-
knowledge/ one database per knowledge base, named by a generated id
|
|
935
|
+
knowledge/ one database per knowledge base, named by a generated id, and beside
|
|
936
|
+
each the log of the last build the service spawned for it.
|
|
755
937
|
Absent until you create one
|
|
938
|
+
code-knowledge/ the list of role lines the planner hands a module README's writer, one
|
|
939
|
+
directory per module. Present only while that README is owed
|
|
756
940
|
config.toml your per-project overrides, if you wrote any
|
|
757
941
|
service.log the background service: startup, resolved config, errors, why it stopped,
|
|
758
942
|
any request running longer than 30 s, and the stack dumps below
|
|
759
|
-
hook.log one line per hook failure, write-policy-override note, or
|
|
760
|
-
mismatch. Absent means none happened. Not every line is a
|
|
761
|
-
|
|
943
|
+
hook.log one line per hook failure, missed cold start, write-policy-override note, or
|
|
944
|
+
session/environment mismatch. Absent means none happened. Not every line is a
|
|
945
|
+
failure: `starting` is a message that arrived while the service was still
|
|
946
|
+
starting, and an override that is used but exceeds the injection budget is
|
|
947
|
+
printed anyway and logged
|
|
762
948
|
warmup.log the small helper that warms the service when a session starts
|
|
763
949
|
write-policy.md your policy override, if you wrote one
|
|
764
950
|
```
|
|
@@ -771,19 +957,23 @@ shared by every project you use Zikaron in, under `$XDG_CACHE_HOME/zikaron/model
|
|
|
771
957
|
A copy inside each project would duplicate it for bytes that are identical by construction, since the
|
|
772
958
|
version fetched is pinned. Removing a project does not remove it; [Uninstall](#uninstall) says how.
|
|
773
959
|
|
|
774
|
-
The second is the service's Unix socket
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
[Secrets](#secrets) removes it by hand.
|
|
960
|
+
The second is the service's Unix socket. It sits in `$XDG_RUNTIME_DIR/zikaron/` — or
|
|
961
|
+
`/tmp/zikaron-<uid>/` where that variable is unset, which is every Mac — named by a hash of the
|
|
962
|
+
store's path, `0600` inside a `0700` directory, beside two lock files: one clients take while they
|
|
963
|
+
start the service, and one the service holds while it has the store open. A socket belongs on a
|
|
964
|
+
runtime filesystem rather than in your project. **Under Claude Code**, an over-large consolidator
|
|
965
|
+
result also spills to a file beside them, carrying that group's record prose verbatim and named by
|
|
966
|
+
the same store hash; it is deleted when the consolidator asks for its next group — or, if that
|
|
967
|
+
process is killed first, by the next one that starts. It is the one copy of memory text that lives
|
|
968
|
+
outside `.zikaron/`, which is why the erasure procedure under [Secrets](#secrets) removes it by hand.
|
|
969
|
+
Nothing spills under kiro.
|
|
783
970
|
|
|
784
971
|
**What `service.log` tells you about a service that stopped, or stopped answering.** A clean stop
|
|
785
|
-
writes one `stopping: reason=…` line: `idle`, `store_replaced`, `
|
|
786
|
-
|
|
972
|
+
writes one `stopping: reason=…` line: `idle`, `store_replaced`, `socket_lost` (its socket file was
|
|
973
|
+
removed, so nothing could reach it), `encoder_failed`, or `sigterm` / `sigint` when it was asked to
|
|
974
|
+
stop. A start that found another service already holding the store writes `not starting:
|
|
975
|
+
reason=another_service` and exits, leaving that one to serve it. A request still running after the
|
|
976
|
+
30 s idle poll is logged as
|
|
787
977
|
`long request: method=… session=… age=…` on every poll until it ends — `session=unresolved` if it
|
|
788
978
|
never got that far. Two signals write a dump without stopping the service: `kill -USR2 <pid>` writes
|
|
789
979
|
the requests in flight and every asyncio task's stack, and `kill -USR1 <pid>` writes every thread's
|
|
@@ -792,26 +982,39 @@ raw text, without the timestamp and `pid=` every other line carries.
|
|
|
792
982
|
|
|
793
983
|
Two notes on reading the rest. `memory.db` can look implausibly small while `memory.db-wal` is large —
|
|
794
984
|
that is normal for a database held open by the service, since recent writes live in the log until a
|
|
795
|
-
checkpoint; the files together are the store. And `hook.log` records only
|
|
796
|
-
|
|
985
|
+
checkpoint; the files together are the store. And `hook.log` records only fixed labels and an error
|
|
986
|
+
code, never your prompt or a memory's text, so it cannot hold a leaked secret.
|
|
797
987
|
|
|
798
988
|
There is one more log that is not a file: an event table inside `memory.db`. It records what happened
|
|
799
989
|
on every **memory** read and write — used to measure whether the write policy is working, and kept in
|
|
800
990
|
the database because those rows must commit alongside the change they describe. It also holds an
|
|
801
991
|
access log, best-effort: a `call` row for each request the service answers — which method, how long
|
|
802
992
|
it took, and what it refused, if anything — and a `knowledge_build` row for each corpus build.
|
|
803
|
-
Neither carries text. A knowledge base's own database has no event log: it keeps
|
|
804
|
-
counters in its metadata — searches, empty searches,
|
|
805
|
-
results
|
|
806
|
-
|
|
993
|
+
Neither carries text. A knowledge base's own database has no event log: it keeps **search**
|
|
994
|
+
counters in its metadata — searches, empty searches, results returned, results stale, and, of the
|
|
995
|
+
results from linked documents, how many there were and how many had a source that had changed, had
|
|
996
|
+
gone or could not be checked — which `zikaron_knowledge_status` reports beside the last build's own
|
|
997
|
+
file, byte and skip-reason counts.
|
|
807
998
|
|
|
808
999
|
---
|
|
809
1000
|
|
|
810
1001
|
## When something is wrong
|
|
811
1002
|
|
|
812
1003
|
Zikaron is built to fail quietly rather than get in your way. A hook that cannot reach the service
|
|
813
|
-
prints a short note asking the agent to tell you, writes one line to
|
|
814
|
-
never blocks your message, and it never reads the store directly.
|
|
1004
|
+
when you send a message prints a short note asking the agent to tell you, writes one line to
|
|
1005
|
+
`hook.log`, and exits cleanly. It never blocks your message, and it never reads the store directly.
|
|
1006
|
+
The reminder after a search says nothing when no service is running and starts none; one that
|
|
1007
|
+
reaches a service and fails writes a `hook.log` line marked `remind` after its kind.
|
|
1008
|
+
|
|
1009
|
+
The service stops itself after a stretch of idleness, and the next message starts it again. That
|
|
1010
|
+
message waits a few seconds longer — the hook allows a start more time than a running service — and
|
|
1011
|
+
if the start still is not finished, the message goes without memories and the agent is told so, without
|
|
1012
|
+
being asked to report it. `hook.log` records that as `starting`, followed by what the hook was still
|
|
1013
|
+
waiting on — `lock` or `poll` before the service answered, or the lateness of its answer after — and
|
|
1014
|
+
memories return once it has started, usually with the next message. A run of `starting` lines means
|
|
1015
|
+
starts are slower than the hook allows, not that the service is broken; a start that never finishes is
|
|
1016
|
+
reported as `transport` once it has gone a minute without a sign of life — which a first run still
|
|
1017
|
+
fetching its model over a slow link can also do, until it finishes.
|
|
815
1018
|
|
|
816
1019
|
**Run `zikaron doctor` first for anything that smells environmental** — no search results at all, a
|
|
817
1020
|
service that will not start, an MCP server that dies on contact. It checks the things about this
|
|
@@ -822,15 +1025,16 @@ symptoms it cannot see.
|
|
|
822
1025
|
|---|---|
|
|
823
1026
|
| 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 |
|
|
824
1027
|
| 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 |
|
|
825
|
-
| no memories are being injected | `.zikaron/hook.log`, then `pgrep -af
|
|
1028
|
+
| no memories are being injected | `.zikaron/hook.log`, then `pgrep -af '[z]ikaron.service.main'` |
|
|
826
1029
|
| 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) |
|
|
827
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 |
|
|
828
|
-
| 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 |
|
|
1031
|
+
| 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 |
|
|
829
1032
|
| 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
|
+
| `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 |
|
|
830
1034
|
| "Agents not available for crew stages: zikaron-consolidator" | add it to `toolsSettings.crew.availableAgents`, or re-run the installer |
|
|
831
1035
|
| consolidation seems stuck | ask to consolidate again — that takes the run over |
|
|
832
1036
|
| 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 |
|
|
833
|
-
| 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
|
|
1037
|
+
| 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 |
|
|
834
1038
|
| Zikaron's tools are listed but arrive name-only, or the agent's first calls are refused for argument shape | Claude Code: an install predating `alwaysLoad`, which `zikaron doctor` reports. Upgrade Zikaron where the project was installed from and re-run the installer there; the entry upgrades in place and needs no `--force` |
|
|
835
1039
|
| a hook command "not found" | the config names a different virtualenv than the one you installed from; re-run the installer with `--force` |
|
|
836
1040
|
| a memory looks half-written when injected | an over-long gist; see the note below |
|
|
@@ -864,7 +1068,7 @@ behind: the index then returns hits for a row that no longer exists, and the nex
|
|
|
864
1068
|
can corrupt the database. Two safe options, in order of preference:
|
|
865
1069
|
|
|
866
1070
|
1. Stop the service, delete the whole store, **and delete the spill files, which are not in it**:
|
|
867
|
-
`pkill -f
|
|
1071
|
+
`pkill -f '[z]ikaron.service.main'; rm -rf .zikaron; rm -f "${XDG_RUNTIME_DIR:-/tmp}"/zikaron*/*.json`.
|
|
868
1072
|
You lose every memory **and every knowledge base**; the store rebuilds itself empty on the next
|
|
869
1073
|
session.
|
|
870
1074
|
**The separator is `;` rather than `&&` deliberately**: the service stops itself after
|
|
@@ -889,8 +1093,8 @@ deleting the copy.
|
|
|
889
1093
|
From the project directory, first the part that is the same on both harnesses:
|
|
890
1094
|
|
|
891
1095
|
```bash
|
|
892
|
-
pkill -f
|
|
893
|
-
rm -rf .zikaron
|
|
1096
|
+
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
|
|
894
1098
|
rm -f "${XDG_RUNTIME_DIR:-/tmp}"/zikaron*/*.json # Claude Code only: spilled consolidator groups
|
|
895
1099
|
```
|
|
896
1100
|
|
|
@@ -900,8 +1104,8 @@ project, so `rm -rf .zikaron` does not reach them.
|
|
|
900
1104
|
Then the harness's own artefacts. Under **kiro**:
|
|
901
1105
|
|
|
902
1106
|
```bash
|
|
903
|
-
rm -rf .kiro/skills/zikaron-consolidate
|
|
904
|
-
rm .kiro/agents/zikaron-consolidator.json
|
|
1107
|
+
rm -rf .kiro/skills/zikaron-consolidate .kiro/skills/zikaron-document-code
|
|
1108
|
+
rm .kiro/agents/zikaron-consolidator.json .kiro/agents/zikaron-documenter.json
|
|
905
1109
|
mv .kiro/agents/<your-agent>.json.bak .kiro/agents/<your-agent>.json
|
|
906
1110
|
```
|
|
907
1111
|
|
|
@@ -911,8 +1115,9 @@ config, remove the `hooks`, `mcpServers` and `@zikaron` entries by hand instead.
|
|
|
911
1115
|
Under **Claude Code** the artefacts are project files rather than one merged config:
|
|
912
1116
|
|
|
913
1117
|
```bash
|
|
914
|
-
rm .claude/agents/zikaron-consolidator.md
|
|
915
|
-
rm
|
|
1118
|
+
rm .claude/agents/zikaron-consolidator.md .claude/agents/zikaron-documenter.md
|
|
1119
|
+
rm .claude/agents/zikaron-code-orchestrator.md
|
|
1120
|
+
rm -rf .claude/skills/zikaron-consolidate .claude/skills/zikaron-document-code
|
|
916
1121
|
```
|
|
917
1122
|
|
|
918
1123
|
and then remove Zikaron's `hooks`, `enabledMcpjsonServers` and `permissions` entries from
|
|
@@ -921,7 +1126,7 @@ than deleted, because both hold settings that are not Zikaron's. **All three set
|
|
|
921
1126
|
the install writes three** — leaving `enabledMcpjsonServers` behind names two servers that no longer
|
|
922
1127
|
exist, which loads nothing and breaks nothing but is not an uninstall.
|
|
923
1128
|
|
|
924
|
-
**The
|
|
1129
|
+
**The guards** live only in `.claude/settings.local.json`: remove the `PreToolUse` and
|
|
925
1130
|
`PostToolUse` hook groups whose command is `zikaron-guard`, and the `SessionStart` and
|
|
926
1131
|
`SubagentStart` groups whose command is `zikaron-hook`. To keep the memory store and drop only the
|
|
927
1132
|
guards, re-running the installer will not do it — an install never removes a selection — so delete
|
|
@@ -930,6 +1135,9 @@ the two guard groups and the `--components …` arguments from the two start gro
|
|
|
930
1135
|
Note that `rm -rf .zikaron` takes the knowledge bases with it. They are rebuildable — an index is a
|
|
931
1136
|
view onto files you still have — but rebuilding one takes minutes per corpus.
|
|
932
1137
|
|
|
1138
|
+
Documents the code-documentation skill wrote stay where it wrote them — `code-knowledge/` by
|
|
1139
|
+
default — since they are your project's files; `rm -rf .zikaron` above already removed their index.
|
|
1140
|
+
|
|
933
1141
|
**The embedding model is not in your project and survives all of the above.** It is per user, not per
|
|
934
1142
|
project, so it is deliberately left alone by a single project's uninstall — another project using
|
|
935
1143
|
Zikaron still needs it. Remove it only when you are done with Zikaron everywhere:
|