zikaron 0.4.2__tar.gz → 0.4.3__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.4.2/zikaron.egg-info → zikaron-0.4.3}/PKG-INFO +13 -10
- {zikaron-0.4.2 → zikaron-0.4.3}/README.md +9 -6
- {zikaron-0.4.2 → zikaron-0.4.3}/pyproject.toml +7 -4
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_event_kinds.py +4 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_harness_table.py +36 -6
- zikaron-0.4.3/tests/test_hook_agents.py +128 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_components.py +23 -4
- zikaron-0.4.3/tests/test_hook_instruction.py +342 -0
- zikaron-0.4.3/tests/test_hook_instruction_markers.py +125 -0
- zikaron-0.4.3/tests/test_hook_instruction_push.py +584 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_main.py +7 -11
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_reminder.py +0 -5
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_rpc.py +19 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_subagent_policy.py +49 -14
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_write_policy.py +16 -6
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_assets.py +6 -2
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_components.py +102 -6
- zikaron-0.4.3/tests/test_install_instruction_gate.py +97 -0
- zikaron-0.4.3/tests/test_install_spawn_names.py +27 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_targets.py +22 -8
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_dispatch.py +32 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_reminder.py +11 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/events.py +10 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/reads.py +10 -2
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/harness/spec.py +71 -8
- zikaron-0.4.3/zikaron/hook/agents.py +83 -0
- zikaron-0.4.3/zikaron/hook/instruction.py +202 -0
- zikaron-0.4.3/zikaron/hook/instruction_markers.py +83 -0
- zikaron-0.4.3/zikaron/hook/instruction_push.py +199 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/main.py +52 -11
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/push.py +4 -4
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/reminder.py +13 -7
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/rpc.py +12 -3
- zikaron-0.4.3/zikaron/hook/subagent_policy.py +60 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/write_policy.py +30 -10
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/assets.py +2 -1
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/code_knowledge.py +8 -4
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/entries.py +38 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/settings_hooks.py +20 -5
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/dispatch.py +24 -6
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/methods.py +5 -3
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/paths.py +6 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/server.py +1 -1
- {zikaron-0.4.2 → zikaron-0.4.3/zikaron.egg-info}/PKG-INFO +13 -10
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron.egg-info/SOURCES.txt +10 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron.egg-info/requires.txt +3 -3
- zikaron-0.4.2/zikaron/hook/subagent_policy.py +0 -66
- {zikaron-0.4.2 → zikaron-0.4.3}/LICENSE +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/setup.cfg +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_access_log.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_agent_scan.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_asyncio_compat.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_background_encoder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_check_gate.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_ci_workflow.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_cli_front_door.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_clock.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_code_knowledge_claude_live.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_code_knowledge_command.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_code_knowledge_kiro_live.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_code_knowledge_plan.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_code_knowledge_reminder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_config_keys.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_config_resolution.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_grouping.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_invariants.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_observability.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_planning.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_refusals.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_serving.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_snapshot_planning.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_consolidation_verbs.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_ddl.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_definition_of_done_sites.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_design_pointers_resolve.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_design_tables.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_distribution.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_doctor.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_embedder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_error_codes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_claude_live.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_docstring_examples.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_kiro_live.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_malformed.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_nudge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_properties.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_rule_table.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_script_file.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_selfmatch.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_selfmatch_premise.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_selfmatch_table.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_guard_texts.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_harness_detect.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_harness_store_scope.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_harness_tier_guard.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_connect.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_connect_edge_cases.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_connect_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_connect_race.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_connect_real_service_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_envelope.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_failure.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_push.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_session_relay.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_shell_search.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_spawn_warm.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_stdlib_only.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_tripwire.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_warm_helper.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_hook_warm_helper_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_indexing_acquisition.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_indexing_chunking.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_indexing_encoder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_indexing_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_indexing_model_cache.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_indexing_writes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_injected_prose_log.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_claude_live.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_code_knowledge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_e2e.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_harness.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_kiro_guards.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_kiro_live.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_limits.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_models.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_snapshots.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_takeover.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_install_writer.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_build_invariants.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_build_log.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_build_row_ordering.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_build_transactions.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_builds.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_chunking.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_cli.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_cli_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_corpus_migration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_counters.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_database.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_ddl.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_detach.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_excerpts.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_files.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_git.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_groups.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_indexer.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_invariants.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_lifecycle.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_linked_search.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_links.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_lock.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_lock_race.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_meta.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_registry.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_repair.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_reporting.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_roots.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_scan.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_scan_git.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_search.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_source_hash.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_state.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_text.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_vectors.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_walk.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_knowledge_writes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_loop_lateness.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_markdown_renders_as_written.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_connection_ambiguous_failure.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_connection_cancellation.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_connection_concurrency.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_connection_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_connection_labels.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_consolidator_bridge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_errors.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_server.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_spill.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_tool_descriptions.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_mcp_wire_contracts.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_meta.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_permissions.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_project_scope.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_publication_hygiene.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_quoted_design_prose_is_verbatim.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_readme_config_table.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_readme_internal_links.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_records_memory.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_records_receipts.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_records_supersession.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_retrieval_arms.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_retrieval_eligibility.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_retrieval_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_retrieval_query.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_retrieval_ranking.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_retrieval_reads.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_context.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_context_assemble.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_diagnostics.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_diagnostics_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_dispatch_consolidation.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_dispatch_knowledge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_encoder_failure_stop.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_envelope.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_knowledge_management.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_lifecycle.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_lifecycle_integration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_log.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_ownership.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_params.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_paths.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_read_contention.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_rpc.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_security.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_server.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_spawned_builds.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_surface_deadline.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_version_check.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_write_contention.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_service_writer.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_signals_contention.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_signals_dedup.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_signals_horizon.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_signals_repair.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_signals_retirement.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_signals_sessions.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_signals_writes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_socket_path_budget.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_spawned_interpreter.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_store.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_store_connection.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_store_migration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_store_pool.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_transaction_begin_sites.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_version_seam.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_write_dedup.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/tests/test_write_tools.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/cli/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/cli/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/code_knowledge/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/code_knowledge/__main__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/code_knowledge/apply.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/code_knowledge/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/code_knowledge/output.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/code_knowledge/survey.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/clock.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/code_knowledge/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/code_knowledge/document.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/code_knowledge/layout.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/code_knowledge/plan.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/code_knowledge/readme.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/code_knowledge/reminder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/config/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/config/keys.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/config/resolution.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/authorization.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/candidates.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/context.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/grouping.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/groups.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/payload.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/planning.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/rowstate.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/runs.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/serving.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/consolidation/verbs.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/errors.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/acquisition.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/chunking.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/encoder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/lexical.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/model_cache.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/model_pin.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/vectors.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/indexing/writes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/arms.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/builds.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/candidates.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/changes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/chunking.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/counters.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/database.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/ddl.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/disposal.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/errors.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/excerpts.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/files.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/git.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/groups.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/lexical.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/lifecycle.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/link_store.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/links.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/lock.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/meta.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/migration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/paths.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/pending.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/registry.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/repair.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/reporting.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/roots.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/scan.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/search.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/source_hash.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/state.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/text.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/vectors.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/walk.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/knowledge/writes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/records/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/records/memory.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/records/receipts.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/records/supersession.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/arms.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/block.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/eligibility.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/query.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/ranking.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/retrieve.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/retrieval/similarity.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/contention.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/dedup.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/horizon.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/repair.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/retirement.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/sessions.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/signals/writes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/connection.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/ddl.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/deadline.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/embedder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/holders.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/meta.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/migration.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/permissions.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/pool.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/store.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/store/transactions.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/version.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/write/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/write/dedup.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/core/write/tools.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/doctor/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/doctor/checks.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/doctor/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/arguments.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/chars.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/decision.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/expression.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/forms.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/grammar.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/grep_filter.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/heredoc.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/inplace.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/interpreter.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/lexer.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/limits.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/literal_text.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/messages.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/nudge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/override.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/patterns.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/position.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/programs.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/quoting.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/redirects.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/scratch.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/script_file.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/selfmatch.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/start_text.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/guard/writes.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/harness/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/harness/detect.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/components.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/connect.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/envelope.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/failure.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/limits.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/session_relay.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/shell_search.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/spawn_warm.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/tripwire.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/hook/warm_helper.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/__main__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/agent_scan.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/harness.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/kiro_merge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/models.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/ownership.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/targets.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/install/writer.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/__main__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/client.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/indexer/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/indexer/__main__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/indexer/build_log.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/indexer/detach.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/indexer/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/knowledge/scope.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/connection.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/consolidator.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/errors.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/primary.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/server.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/spill.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/mcp/tool_names.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/project/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/project/__main__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/project/initialize.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/project/messages.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/project/report.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/project/resolve.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/py.typed +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/__init__.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/access_log.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/asyncio_compat.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/context.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/diagnostics.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/dispatch_consolidation.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/dispatch_knowledge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/dispatch_reminder.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/envelope.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/lifecycle.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/log.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/main.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/ownership.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/params.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/reminders.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/rpc.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/security.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/serialize.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/serialize_knowledge.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron/service/spawned_builds.py +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron.egg-info/dependency_links.txt +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/zikaron.egg-info/entry_points.txt +0 -0
- {zikaron-0.4.2 → zikaron-0.4.3}/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.
|
|
3
|
+
Version: 0.4.3
|
|
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
|
|
@@ -15,15 +15,15 @@ Requires-Dist: fastembed==0.8.1
|
|
|
15
15
|
Requires-Dist: huggingface_hub==1.33.0
|
|
16
16
|
Requires-Dist: fastmcp==4.0.10
|
|
17
17
|
Provides-Extra: dev
|
|
18
|
-
Requires-Dist: ruff==0.
|
|
18
|
+
Requires-Dist: ruff==0.17.3; extra == "dev"
|
|
19
19
|
Requires-Dist: mypy==2.3.1; extra == "dev"
|
|
20
20
|
Requires-Dist: pytest==9.1.1; extra == "dev"
|
|
21
21
|
Requires-Dist: pytest-cov==7.1.0; extra == "dev"
|
|
22
|
-
Requires-Dist: pytest-asyncio==1.4.
|
|
22
|
+
Requires-Dist: pytest-asyncio==1.4.1; extra == "dev"
|
|
23
23
|
Requires-Dist: hypothesis==6.168.3; extra == "dev"
|
|
24
24
|
Requires-Dist: pyyaml==6.0.3; extra == "dev"
|
|
25
25
|
Requires-Dist: types-PyYAML==6.0.12.20260906; extra == "dev"
|
|
26
|
-
Requires-Dist: build==1.
|
|
26
|
+
Requires-Dist: build==1.6.1; extra == "dev"
|
|
27
27
|
Requires-Dist: setuptools==84.0.0; extra == "dev"
|
|
28
28
|
Dynamic: license-file
|
|
29
29
|
|
|
@@ -93,7 +93,9 @@ tiers: new ones land in a **journal**, and consolidation later folds the journal
|
|
|
93
93
|
records, merging what belongs together and retiring what does not.
|
|
94
94
|
|
|
95
95
|
**Reading happens two ways.** Before every message you send, a hook injects the few most relevant
|
|
96
|
-
gists into the agent's context, so recall costs no tool call and no decision
|
|
96
|
+
gists into the agent's context, so recall costs no tool call and no decision; under Claude Code a
|
|
97
|
+
subagent or an agent-team teammate is given the same with its first tool call after each task or
|
|
98
|
+
message it receives. When the agent wants
|
|
97
99
|
more, it calls `zikaron_memory_search` for a wider look or `zikaron_memory_fetch` for a full record. Retrieval is
|
|
98
100
|
hybrid: a vector search over a local embedding model and a full-text search over the same corpus,
|
|
99
101
|
their rankings fused, so an exact identifier and a vague description both find their record.
|
|
@@ -131,7 +133,7 @@ reads which one it is addressing before it reads a description. Consolidation ne
|
|
|
131
133
|
| **core** | The library: the store, retrieval, chunking, consolidation, and the knowledge index. No process concerns, no transport. |
|
|
132
134
|
| **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. |
|
|
133
135
|
| **MCP server** | Translates the agent's tool calls into requests to the service. One process per agent instance; loads no model. |
|
|
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. |
|
|
136
|
+
| **hook** | A single-shot executable your agent runs on start, before each message, and — under Claude Code — when it spawns a subagent and before an agent's first tool call after a task or message. Deliberately tiny; loads no model and never touches the databases directly. |
|
|
135
137
|
| **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. |
|
|
136
138
|
| **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. |
|
|
137
139
|
|
|
@@ -415,7 +417,7 @@ and under **Claude Code**:
|
|
|
415
417
|
| `.claude/agents/zikaron-documenter.md` | the documentation subagent, as frontmatter plus its prompt |
|
|
416
418
|
| `.claude/agents/zikaron-code-orchestrator.md` | the subagent your session spawns, in the background, to run a code-documentation run |
|
|
417
419
|
| `.claude/skills/zikaron-document-code/SKILL.md` | how to document a module of your code ([Code knowledge](#code-knowledge)) |
|
|
418
|
-
| `.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` |
|
|
420
|
+
| `.claude/settings.local.json` | hooks for session start, each message, each subagent start and stop, each teammate's idle, each tool call behind a shell check that starts the hook only while a task or message is waiting to be pushed, and each search ([Code knowledge](#code-knowledge)), plus both approval keys, `enabledMcpjsonServers` and `permissions.allow` |
|
|
419
421
|
| `.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 |
|
|
420
422
|
|
|
421
423
|
With `--components guards` the install writes `.claude/settings.local.json` alone, and in it only
|
|
@@ -426,9 +428,10 @@ the start hooks carry the write policy and the guards' note.
|
|
|
426
428
|
|
|
427
429
|
**`settings.local.json`, not `settings.json`**, and it matters if you commit your settings: the hook
|
|
428
430
|
entries name absolute paths inside *your* virtualenv, so they are meaningless in anyone else's clone.
|
|
429
|
-
The
|
|
430
|
-
|
|
431
|
-
the policy at the end of their prompts,
|
|
431
|
+
The subagent hooks have no kiro counterpart — they hand the write policy to each subagent you spawn
|
|
432
|
+
and push it memories on its first tool call after each task. kiro has no hook for a subagent's
|
|
433
|
+
start, so there Zikaron's documenter and orchestrator carry the policy at the end of their prompts,
|
|
434
|
+
and a subagent of your own gets neither.
|
|
432
435
|
|
|
433
436
|
It backs up any file it merges into (`<file>.bak`, and the first backup wins), leaving one that
|
|
434
437
|
already carries every entry untouched, backup included, and **refreshes a shipped file whose
|
|
@@ -64,7 +64,9 @@ tiers: new ones land in a **journal**, and consolidation later folds the journal
|
|
|
64
64
|
records, merging what belongs together and retiring what does not.
|
|
65
65
|
|
|
66
66
|
**Reading happens two ways.** Before every message you send, a hook injects the few most relevant
|
|
67
|
-
gists into the agent's context, so recall costs no tool call and no decision
|
|
67
|
+
gists into the agent's context, so recall costs no tool call and no decision; under Claude Code a
|
|
68
|
+
subagent or an agent-team teammate is given the same with its first tool call after each task or
|
|
69
|
+
message it receives. When the agent wants
|
|
68
70
|
more, it calls `zikaron_memory_search` for a wider look or `zikaron_memory_fetch` for a full record. Retrieval is
|
|
69
71
|
hybrid: a vector search over a local embedding model and a full-text search over the same corpus,
|
|
70
72
|
their rankings fused, so an exact identifier and a vague description both find their record.
|
|
@@ -102,7 +104,7 @@ reads which one it is addressing before it reads a description. Consolidation ne
|
|
|
102
104
|
| **core** | The library: the store, retrieval, chunking, consolidation, and the knowledge index. No process concerns, no transport. |
|
|
103
105
|
| **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. |
|
|
104
106
|
| **MCP server** | Translates the agent's tool calls into requests to the service. One process per agent instance; loads no model. |
|
|
105
|
-
| **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. |
|
|
107
|
+
| **hook** | A single-shot executable your agent runs on start, before each message, and — under Claude Code — when it spawns a subagent and before an agent's first tool call after a task or message. Deliberately tiny; loads no model and never touches the databases directly. |
|
|
106
108
|
| **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. |
|
|
107
109
|
| **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. |
|
|
108
110
|
|
|
@@ -386,7 +388,7 @@ and under **Claude Code**:
|
|
|
386
388
|
| `.claude/agents/zikaron-documenter.md` | the documentation subagent, as frontmatter plus its prompt |
|
|
387
389
|
| `.claude/agents/zikaron-code-orchestrator.md` | the subagent your session spawns, in the background, to run a code-documentation run |
|
|
388
390
|
| `.claude/skills/zikaron-document-code/SKILL.md` | how to document a module of your code ([Code knowledge](#code-knowledge)) |
|
|
389
|
-
| `.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` |
|
|
391
|
+
| `.claude/settings.local.json` | hooks for session start, each message, each subagent start and stop, each teammate's idle, each tool call behind a shell check that starts the hook only while a task or message is waiting to be pushed, and each search ([Code knowledge](#code-knowledge)), plus both approval keys, `enabledMcpjsonServers` and `permissions.allow` |
|
|
390
392
|
| `.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 |
|
|
391
393
|
|
|
392
394
|
With `--components guards` the install writes `.claude/settings.local.json` alone, and in it only
|
|
@@ -397,9 +399,10 @@ the start hooks carry the write policy and the guards' note.
|
|
|
397
399
|
|
|
398
400
|
**`settings.local.json`, not `settings.json`**, and it matters if you commit your settings: the hook
|
|
399
401
|
entries name absolute paths inside *your* virtualenv, so they are meaningless in anyone else's clone.
|
|
400
|
-
The
|
|
401
|
-
|
|
402
|
-
the policy at the end of their prompts,
|
|
402
|
+
The subagent hooks have no kiro counterpart — they hand the write policy to each subagent you spawn
|
|
403
|
+
and push it memories on its first tool call after each task. kiro has no hook for a subagent's
|
|
404
|
+
start, so there Zikaron's documenter and orchestrator carry the policy at the end of their prompts,
|
|
405
|
+
and a subagent of your own gets neither.
|
|
403
406
|
|
|
404
407
|
It backs up any file it merges into (`<file>.bak`, and the first backup wins), leaving one that
|
|
405
408
|
already carries every entry untouched, backup included, and **refreshes a shipped file whose
|
|
@@ -8,7 +8,7 @@ name = "zikaron"
|
|
|
8
8
|
# cannot open a store an earlier one wrote says so in its number. Every other change is a patch, a
|
|
9
9
|
# changed installed artifact included; a release that needs an existing install refreshed says so
|
|
10
10
|
# in its release note. `design/distribution.md` §"The version scheme" is normative.
|
|
11
|
-
version = "0.4.
|
|
11
|
+
version = "0.4.3"
|
|
12
12
|
# What a package index renders as the one-line summary, so it must name both stores: the memory
|
|
13
13
|
# store, for what was learned by working here, and the knowledge index, for what the project already
|
|
14
14
|
# wrote down. The guards, which ship on request, are the README's to describe.
|
|
@@ -87,11 +87,11 @@ zikaron-guard = "zikaron.guard.main:main"
|
|
|
87
87
|
|
|
88
88
|
[project.optional-dependencies]
|
|
89
89
|
dev = [
|
|
90
|
-
"ruff==0.
|
|
90
|
+
"ruff==0.17.3",
|
|
91
91
|
"mypy==2.3.1",
|
|
92
92
|
"pytest==9.1.1",
|
|
93
93
|
"pytest-cov==7.1.0",
|
|
94
|
-
"pytest-asyncio==1.4.
|
|
94
|
+
"pytest-asyncio==1.4.1",
|
|
95
95
|
# Property-based tests, for the places the design states a property rather than a case:
|
|
96
96
|
# chunking never loses content, and no chunk exceeds the budget it was cut to.
|
|
97
97
|
"hypothesis==6.168.3",
|
|
@@ -109,7 +109,7 @@ dev = [
|
|
|
109
109
|
# Tests only. `test_distribution.py` builds the sdist and the wheel and asserts that no
|
|
110
110
|
# evidence directory reached either — the one place the publication sweep's conclusions could
|
|
111
111
|
# be quietly undone, since setuptools' defaults are what exclude them and nothing states that.
|
|
112
|
-
"build==1.
|
|
112
|
+
"build==1.6.1",
|
|
113
113
|
# **The backend, in the venv, because that test builds with `--no-isolation`.** `build` checks
|
|
114
114
|
# `[build-system] requires` against the running environment and errors *Missing dependencies*
|
|
115
115
|
# when it is not there, and neither `uv venv --seed` nor `python -m venv` seeds setuptools on
|
|
@@ -147,6 +147,9 @@ include = ["*.py", "*.pyi", "*.pyw", "*.ipynb", "**/pyproject.toml", "**/ruff.to
|
|
|
147
147
|
# `spikes` and `experiments` stay excluded for the older, separate reason: throwaway probes and
|
|
148
148
|
# re-runnable experiment harnesses are not held to the shipped standard.
|
|
149
149
|
extend-exclude = ["spikes", "experiments"]
|
|
150
|
+
# Without it, naming an excluded directory on the command line formats it anyway: `ruff format
|
|
151
|
+
# experiments` rewrote 37 harnesses nobody had touched.
|
|
152
|
+
force-exclude = true
|
|
150
153
|
|
|
151
154
|
[tool.ruff.lint]
|
|
152
155
|
select = [
|
|
@@ -51,6 +51,7 @@ from zikaron.core.events import (
|
|
|
51
51
|
MergeDetail,
|
|
52
52
|
MergeRole,
|
|
53
53
|
NoReceiptDetail,
|
|
54
|
+
Occasion,
|
|
54
55
|
PromoteDetail,
|
|
55
56
|
PromoteForm,
|
|
56
57
|
PromoteRole,
|
|
@@ -223,6 +224,7 @@ def test_the_closed_sets_are_enums_carrying_exactly_the_designs_values(
|
|
|
223
224
|
}
|
|
224
225
|
codes = tuple(code.wire_name for code in ErrorCode)
|
|
225
226
|
assert stated == {
|
|
227
|
+
"surface_call.occasion": tuple(Occasion),
|
|
226
228
|
"surface.demotion": tuple(Demotion),
|
|
227
229
|
"merge.role": tuple(MergeRole),
|
|
228
230
|
"promote.role": tuple(PromoteRole),
|
|
@@ -319,6 +321,7 @@ def test_an_enum_member_and_its_plain_value_are_interchangeable() -> None:
|
|
|
319
321
|
"n_returned": 3,
|
|
320
322
|
"n_demoted": 0,
|
|
321
323
|
"preamble_digest": "0123456789ab",
|
|
324
|
+
"occasion": "prompt",
|
|
322
325
|
}
|
|
323
326
|
)
|
|
324
327
|
|
|
@@ -344,6 +347,7 @@ def test_a_typed_detail_serializes_to_the_contracts_flat_key_order() -> None:
|
|
|
344
347
|
n_returned=3,
|
|
345
348
|
n_demoted=1,
|
|
346
349
|
preamble_digest="0123456789ab",
|
|
350
|
+
occasion=Occasion.INSTRUCTION,
|
|
347
351
|
)
|
|
348
352
|
payload = detail.as_detail()
|
|
349
353
|
assert tuple(payload) == EVENT_SPECS[EventKind.SURFACE_CALL].field_names
|
|
@@ -248,6 +248,31 @@ class TestTheCodeTableMatchesTheDesignTable:
|
|
|
248
248
|
)
|
|
249
249
|
assert tuple(_BACKTICKED.findall(cell))[: len(expected)] == expected
|
|
250
250
|
|
|
251
|
+
@pytest.mark.parametrize("spec", [KIRO, CLAUDE_CODE], ids=lambda spec: spec.harness.value)
|
|
252
|
+
def test_instruction_push(self, rows: dict[str, dict[str, str]], spec: HarnessSpec) -> None:
|
|
253
|
+
"""Every field in its declared order, or that the harness has none — which is what a memory
|
|
254
|
+
install's absent entries read."""
|
|
255
|
+
cell = _cell(rows, "Instruction push (`instruction_push`)", spec)
|
|
256
|
+
instruction = spec.instruction_push
|
|
257
|
+
if instruction is None:
|
|
258
|
+
assert _identifier(cell) is None
|
|
259
|
+
return
|
|
260
|
+
expected = (
|
|
261
|
+
instruction.tool_trigger,
|
|
262
|
+
instruction.idle_trigger,
|
|
263
|
+
instruction.stop_trigger,
|
|
264
|
+
instruction.agents_dir,
|
|
265
|
+
instruction.agent_file_prefix,
|
|
266
|
+
instruction.transcript_suffix,
|
|
267
|
+
instruction.record_suffix,
|
|
268
|
+
*instruction.definition_keys,
|
|
269
|
+
instruction.message_opening,
|
|
270
|
+
instruction.resume_origin,
|
|
271
|
+
instruction.resume_opening,
|
|
272
|
+
instruction.resume_closing,
|
|
273
|
+
)
|
|
274
|
+
assert tuple(_BACKTICKED.findall(cell)) == expected
|
|
275
|
+
|
|
251
276
|
@pytest.mark.parametrize("spec", [KIRO, CLAUDE_CODE], ids=lambda spec: spec.harness.value)
|
|
252
277
|
def test_harness_binary(self, rows: dict[str, dict[str, str]], spec: HarnessSpec) -> None:
|
|
253
278
|
"""What the installer looks for on `PATH` before writing anything.
|
|
@@ -366,6 +391,11 @@ class TestTheTableIsInternallyConsistent:
|
|
|
366
391
|
}
|
|
367
392
|
assert CLAUDE_CODE.search_reminder is not None
|
|
368
393
|
expected[CLAUDE_CODE.search_reminder.trigger] = HookEvent.SEARCH
|
|
394
|
+
instruction = CLAUDE_CODE.instruction_push
|
|
395
|
+
assert instruction is not None
|
|
396
|
+
expected[instruction.tool_trigger] = HookEvent.TOOL_CALL
|
|
397
|
+
expected[instruction.idle_trigger] = HookEvent.TEAMMATE_IDLE
|
|
398
|
+
expected[instruction.stop_trigger] = HookEvent.SUBAGENT_STOP
|
|
369
399
|
assert expected == TRIGGERS
|
|
370
400
|
|
|
371
401
|
def test_each_harnesss_own_trigger_names_resolve_to_the_events_they_mean(self) -> None:
|
|
@@ -376,6 +406,10 @@ class TestTheTableIsInternallyConsistent:
|
|
|
376
406
|
assert event_for(spec.subagent_start_trigger) is HookEvent.SUBAGENT_START
|
|
377
407
|
if spec.search_reminder is not None:
|
|
378
408
|
assert event_for(spec.search_reminder.trigger) is HookEvent.SEARCH
|
|
409
|
+
if spec.instruction_push is not None:
|
|
410
|
+
assert event_for(spec.instruction_push.tool_trigger) is HookEvent.TOOL_CALL
|
|
411
|
+
assert event_for(spec.instruction_push.idle_trigger) is HookEvent.TEAMMATE_IDLE
|
|
412
|
+
assert event_for(spec.instruction_push.stop_trigger) is HookEvent.SUBAGENT_STOP
|
|
379
413
|
|
|
380
414
|
def test_every_event_has_a_channel(self) -> None:
|
|
381
415
|
"""A new event with no channel would emit nothing at all, silently, which is the failure
|
|
@@ -386,16 +420,12 @@ class TestTheTableIsInternallyConsistent:
|
|
|
386
420
|
|
|
387
421
|
@pytest.mark.parametrize(
|
|
388
422
|
"unknown",
|
|
389
|
-
["", "postToolUse", "SessionEnd", "
|
|
423
|
+
["", "postToolUse", "SessionEnd", "PostToolUseFailure", "agentSpawn", "userPromptSubmit"],
|
|
390
424
|
)
|
|
391
425
|
def test_an_unrecognised_trigger_name_resolves_to_nothing(self, unknown: str) -> None:
|
|
392
426
|
"""kiro's camelCase names among them: its V3 payload names the event in PascalCase even for
|
|
393
427
|
an entry configured with one (`research/kiro-v3-probe.md` §3), so the hook needs no
|
|
394
|
-
synonyms.
|
|
395
|
-
|
|
396
|
-
`SubagentStop` among them, deliberately: it is a real trigger one harness sends and this
|
|
397
|
-
hook has no work for, and the hook having no write path at all depends on it staying out of
|
|
398
|
-
the vocabulary rather than merely being unhandled downstream.
|
|
428
|
+
synonyms. `SessionEnd` and `PostToolUseFailure` are real triggers this hook has no work for.
|
|
399
429
|
"""
|
|
400
430
|
assert event_for(unknown) is None
|
|
401
431
|
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"""`zikaron.hook.agents`: which of Zikaron's agents an agent is, by its definition.
|
|
2
|
+
|
|
3
|
+
`design/harness.md` §"Agent teams" is normative. An in-process teammate's `agent_type` is its name,
|
|
4
|
+
and any spawn given a name becomes one, so the consolidator is recognized by the record the harness
|
|
5
|
+
keeps for it — and an agent with an `agent_id` and no readable record is named by nothing.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import json
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
|
|
11
|
+
import pytest
|
|
12
|
+
|
|
13
|
+
from zikaron.harness.spec import CLAUDE_CODE, InstructionPush
|
|
14
|
+
from zikaron.hook import agents
|
|
15
|
+
from zikaron.install.code_knowledge import DOCUMENTER_AGENT_NAME, ORCHESTRATOR_AGENT_NAME
|
|
16
|
+
from zikaron.install.entries import CONSOLIDATOR_AGENT_NAME
|
|
17
|
+
|
|
18
|
+
AGENT = "amate-1-d82c396dc9f48005"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@pytest.fixture
|
|
22
|
+
def push_spec() -> InstructionPush:
|
|
23
|
+
assert CLAUDE_CODE.instruction_push is not None
|
|
24
|
+
return CLAUDE_CODE.instruction_push
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@pytest.fixture
|
|
28
|
+
def session_transcript(tmp_path: Path) -> Path:
|
|
29
|
+
return tmp_path / "session.jsonl"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _record(push_spec: InstructionPush, session_transcript: Path, record: object) -> None:
|
|
33
|
+
path = push_spec.agent_file(session_transcript, AGENT, push_spec.record_suffix)
|
|
34
|
+
path.parent.mkdir(parents=True, exist_ok=True)
|
|
35
|
+
path.write_text(json.dumps(record), encoding="utf-8")
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _definition(push_spec: InstructionPush, session_transcript: Path, **payload: object) -> object:
|
|
39
|
+
return agents.definition(
|
|
40
|
+
push_spec,
|
|
41
|
+
session_transcript=str(session_transcript),
|
|
42
|
+
agent_id=payload.get("agent_id"),
|
|
43
|
+
agent_type=payload.get("agent_type"),
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def test_the_copies_match_the_installers_own_names() -> None:
|
|
48
|
+
assert agents.CONSOLIDATOR_AGENT_TYPE == CONSOLIDATOR_AGENT_NAME
|
|
49
|
+
assert agents.DOCUMENTER_AGENT_TYPE == DOCUMENTER_AGENT_NAME
|
|
50
|
+
assert agents.ORCHESTRATOR_AGENT_TYPE == ORCHESTRATOR_AGENT_NAME
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
@pytest.mark.parametrize(
|
|
54
|
+
("record", "expected"),
|
|
55
|
+
[
|
|
56
|
+
(
|
|
57
|
+
{"agentType": "mate-1", "spawnedAgentType": "probe-mate", "customAgentType": "x"},
|
|
58
|
+
"probe-mate",
|
|
59
|
+
),
|
|
60
|
+
({"agentType": "mate-1", "customAgentType": "probe-mate"}, "probe-mate"),
|
|
61
|
+
({"agentType": "general-purpose", "name": "chosen"}, "general-purpose"),
|
|
62
|
+
({"agentType": "", "spawnedAgentType": ""}, None),
|
|
63
|
+
({"description": "no definition"}, None),
|
|
64
|
+
(["not", "an", "object"], None),
|
|
65
|
+
],
|
|
66
|
+
)
|
|
67
|
+
def test_an_agents_record_names_its_definition(
|
|
68
|
+
push_spec: InstructionPush, session_transcript: Path, record: object, expected: str | None
|
|
69
|
+
) -> None:
|
|
70
|
+
_record(push_spec, session_transcript, record)
|
|
71
|
+
assert _definition(push_spec, session_transcript, agent_id=AGENT, agent_type="mate-1") == (
|
|
72
|
+
expected
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def test_a_missing_or_unreadable_record_names_nothing(
|
|
77
|
+
push_spec: InstructionPush, session_transcript: Path
|
|
78
|
+
) -> None:
|
|
79
|
+
assert _definition(push_spec, session_transcript, agent_id=AGENT, agent_type="x") is None
|
|
80
|
+
path = push_spec.agent_file(session_transcript, AGENT, push_spec.record_suffix)
|
|
81
|
+
path.parent.mkdir(parents=True)
|
|
82
|
+
path.write_text("{not json", encoding="utf-8")
|
|
83
|
+
assert _definition(push_spec, session_transcript, agent_id=AGENT, agent_type="x") is None
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def test_without_an_agent_id_the_type_is_the_definition(
|
|
87
|
+
push_spec: InstructionPush, session_transcript: Path
|
|
88
|
+
) -> None:
|
|
89
|
+
assert _definition(push_spec, session_transcript, agent_type="probe-mate") == "probe-mate"
|
|
90
|
+
assert _definition(push_spec, session_transcript, agent_type=42) is None
|
|
91
|
+
assert _definition(push_spec, session_transcript) is None
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def test_an_agent_id_with_no_transcript_path_names_nothing(push_spec: InstructionPush) -> None:
|
|
95
|
+
assert (
|
|
96
|
+
agents.definition(push_spec, session_transcript=None, agent_id=AGENT, agent_type="x")
|
|
97
|
+
is None
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def test_a_consolidator_spawned_by_name_is_known_by_its_record(
|
|
102
|
+
push_spec: InstructionPush, session_transcript: Path
|
|
103
|
+
) -> None:
|
|
104
|
+
_record(
|
|
105
|
+
push_spec,
|
|
106
|
+
session_transcript,
|
|
107
|
+
{"agentType": "consolidate-now", "spawnedAgentType": CONSOLIDATOR_AGENT_NAME},
|
|
108
|
+
)
|
|
109
|
+
named = agents.known_as(
|
|
110
|
+
push_spec,
|
|
111
|
+
session_transcript=str(session_transcript),
|
|
112
|
+
agent_id=AGENT,
|
|
113
|
+
agent_type="consolidate-now",
|
|
114
|
+
)
|
|
115
|
+
assert named == CONSOLIDATOR_AGENT_NAME
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def test_known_as_falls_back_to_the_type_before_a_record_exists(
|
|
119
|
+
push_spec: InstructionPush, session_transcript: Path
|
|
120
|
+
) -> None:
|
|
121
|
+
named = agents.known_as(
|
|
122
|
+
push_spec,
|
|
123
|
+
session_transcript=str(session_transcript),
|
|
124
|
+
agent_id=AGENT,
|
|
125
|
+
agent_type=CONSOLIDATOR_AGENT_NAME,
|
|
126
|
+
)
|
|
127
|
+
assert named == CONSOLIDATOR_AGENT_NAME
|
|
128
|
+
assert agents.known_as(None, session_transcript=None, agent_id=AGENT, agent_type=7) is None
|
|
@@ -19,7 +19,11 @@ from zikaron.harness.spec import CLAUDE_CODE, KIRO
|
|
|
19
19
|
from zikaron.hook import main as main_module
|
|
20
20
|
from zikaron.hook import push, spawn_warm, subagent_policy
|
|
21
21
|
from zikaron.hook.components import Components
|
|
22
|
-
from zikaron.hook.write_policy import
|
|
22
|
+
from zikaron.hook.write_policy import (
|
|
23
|
+
PUSHED_AGENT_WRITE_POLICY_PROMPT,
|
|
24
|
+
SUBAGENT_WRITE_POLICY_PROMPT,
|
|
25
|
+
WRITE_POLICY_PROMPT,
|
|
26
|
+
)
|
|
23
27
|
from zikaron.install.code_knowledge import DOCUMENTER_AGENT_NAME, ORCHESTRATOR_AGENT_NAME
|
|
24
28
|
|
|
25
29
|
GUARD_START_TEXT: Final = guard_start_text(CLAUDE_CODE)
|
|
@@ -94,11 +98,11 @@ def test_no_flag_emits_exactly_the_write_policy_on_session_start(
|
|
|
94
98
|
assert _emit(SPAWN, [], capsys, monkeypatch) == WRITE_POLICY_PROMPT
|
|
95
99
|
|
|
96
100
|
|
|
97
|
-
def
|
|
101
|
+
def test_no_flag_emits_exactly_the_pushed_agent_policy_on_subagent_start(
|
|
98
102
|
capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch
|
|
99
103
|
) -> None:
|
|
100
104
|
output = _emit(SUBAGENT, [], capsys, monkeypatch)
|
|
101
|
-
assert _subagent_context(output) ==
|
|
105
|
+
assert _subagent_context(output) == PUSHED_AGENT_WRITE_POLICY_PROMPT
|
|
102
106
|
|
|
103
107
|
|
|
104
108
|
def test_guards_emit_only_the_guard_start_text_and_reach_no_service(
|
|
@@ -131,7 +135,7 @@ def test_both_emit_the_policy_then_the_guard_start_text(
|
|
|
131
135
|
spawn = _emit(SPAWN, flag, capsys, monkeypatch)
|
|
132
136
|
assert spawn == f"{WRITE_POLICY_PROMPT}\n\n{GUARD_START_TEXT}"
|
|
133
137
|
subagent = _subagent_context(_emit(SUBAGENT, flag, capsys, monkeypatch))
|
|
134
|
-
assert subagent == f"{
|
|
138
|
+
assert subagent == f"{PUSHED_AGENT_WRITE_POLICY_PROMPT}\n\n{GUARD_START_TEXT}"
|
|
135
139
|
assert _emit(PROMPT, flag, capsys, monkeypatch) == "PUSHED"
|
|
136
140
|
|
|
137
141
|
|
|
@@ -142,6 +146,21 @@ def test_the_consolidator_gets_no_start_text_under_any_selection(
|
|
|
142
146
|
assert _emit(CONSOLIDATOR, flag, capsys, monkeypatch) == ""
|
|
143
147
|
|
|
144
148
|
|
|
149
|
+
@pytest.mark.parametrize("flag", [[], ["--components", "both"]])
|
|
150
|
+
def test_a_consolidator_running_as_its_own_session_gets_no_start_text_but_is_warmed(
|
|
151
|
+
flag: list[str],
|
|
152
|
+
capsys: pytest.CaptureFixture[str],
|
|
153
|
+
monkeypatch: pytest.MonkeyPatch,
|
|
154
|
+
service_calls: list[str],
|
|
155
|
+
) -> None:
|
|
156
|
+
"""Spawned by name under tmux, it is a teammate session of its own whose `SessionStart`
|
|
157
|
+
carries its definition as `agent_type`; its system prompt is its whole instruction, while its
|
|
158
|
+
first `next_group` still wants the service the warm-up starts."""
|
|
159
|
+
session = {**SPAWN, "agent_type": subagent_policy.CONSOLIDATOR_AGENT_TYPE}
|
|
160
|
+
assert _emit(session, flag, capsys, monkeypatch) == ""
|
|
161
|
+
assert service_calls == ["spawn_warm"]
|
|
162
|
+
|
|
163
|
+
|
|
145
164
|
@pytest.mark.parametrize("agent_type", [DOCUMENTER_AGENT_NAME, ORCHESTRATOR_AGENT_NAME])
|
|
146
165
|
def test_the_code_knowledge_agents_get_both_start_texts(
|
|
147
166
|
agent_type: str, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch
|