codevira 4.1.0__tar.gz → 4.3.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.
- {codevira-4.1.0 → codevira-4.3.0}/CHANGELOG.md +510 -1
- {codevira-4.1.0/codevira.egg-info → codevira-4.3.0}/PKG-INFO +171 -51
- {codevira-4.1.0 → codevira-4.3.0}/README.md +167 -47
- {codevira-4.1.0 → codevira-4.3.0/codevira.egg-info}/PKG-INFO +171 -51
- {codevira-4.1.0 → codevira-4.3.0}/codevira.egg-info/SOURCES.txt +36 -0
- {codevira-4.1.0 → codevira-4.3.0}/codevira.egg-info/requires.txt +1 -1
- {codevira-4.1.0 → codevira-4.3.0}/docs/alpha-tester-invites.md +4 -2
- codevira-4.3.0/docs/architecture.md +333 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/00-engine.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/01-decision-lock.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/02-anti-regression.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/03-scope-contract.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/04-blast-radius.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/05-cross-session.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/06-token-budget.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/07-live-style.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/08-decision-replay.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/09-intent-inference.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/10-ai-promotion.md +2 -0
- codevira-4.3.0/docs/heroes/README.md +59 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/heroes/pillar-1-setup.md +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/local-pypi-https.md +12 -9
- {codevira-4.1.0 → codevira-4.3.0}/docs/qa-playbook.md +14 -9
- {codevira-4.1.0 → codevira-4.3.0}/docs/release-process.md +62 -18
- {codevira-4.1.0 → codevira-4.3.0}/docs/roadmap.md +44 -58
- codevira-4.3.0/docs/troubleshooting/antigravity.md +140 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/troubleshooting/config-hygiene.md +51 -41
- codevira-4.3.0/docs/vs-other-memory-tools.md +93 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/_dedupe_migration.py +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/_fork_safety.py +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/_sqlite_util.py +3 -1
- codevira-4.3.0/indexer/exclusions.py +164 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/fix_history.py +33 -4
- {codevira-4.1.0 → codevira-4.3.0}/indexer/global_db.py +13 -1
- codevira-4.3.0/indexer/graph_generator.py +797 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/imports.py +30 -5
- {codevira-4.1.0 → codevira-4.3.0}/indexer/index_codebase.py +502 -147
- {codevira-4.1.0 → codevira-4.3.0}/indexer/sqlite_graph.py +42 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/__init__.py +1 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/__main__.py +1 -0
- codevira-4.3.0/mcp_server/_code_identity.py +80 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/_ghost_check.py +2 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/_project_inventory.py +144 -7
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/_repair_init.py +3 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/_safe_crash.py +6 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/auto_init.py +189 -78
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli.py +347 -31
- codevira-4.3.0/mcp_server/cli_connect.py +181 -0
- codevira-4.3.0/mcp_server/cli_daemon.py +158 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_export.py +74 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_graph.py +2 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_hooks_admin.py +1 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_init.py +23 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_memory.py +1 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_projects.py +84 -20
- codevira-4.3.0/mcp_server/cli_reconcile.py +126 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_repair.py +112 -9
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_transfer.py +8 -0
- codevira-4.3.0/mcp_server/codex_toml.py +287 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/crash_logger.py +6 -0
- codevira-4.3.0/mcp_server/daemon.py +911 -0
- codevira-4.3.0/mcp_server/daemon_client.py +104 -0
- codevira-4.3.0/mcp_server/daemon_lifecycle.py +536 -0
- codevira-4.3.0/mcp_server/daemon_service.py +194 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/detect.py +24 -14
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/doctor.py +105 -6
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/egress.py +113 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/audit.py +3 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/demo_policy.py +1 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/memory_fanout.py +41 -11
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/_signature_detect.py +16 -5
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/post_edit_refresh.py +5 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/session_log_enforcer.py +11 -7
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/token_budget.py +37 -22
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policy.py +8 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/signals.py +16 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/token_meter.py +7 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/wiring/git_hooks.py +77 -22
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/gitignore.py +8 -4
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/graph/template.html +126 -46
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/ide_inject.py +80 -7
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/launchd.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/log_retention.py +26 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/migrate.py +220 -8
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/opt_in.py +101 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/paths.py +420 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/register_all.py +51 -4
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/roadmap_drift.py +5 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/server.py +177 -45
- codevira-4.3.0/mcp_server/setup_daemon.py +1392 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/setup_wizard.py +33 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/agents_md_generator.py +3 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/anchor.py +4 -7
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/atomic.py +4 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/decisions_store.py +87 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/fts5_index.py +2 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/manifest.py +3 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/paths.py +54 -7
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/reconcile.py +41 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/sanitize.py +8 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/sessions_store.py +22 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/working_store.py +2 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/graph.py +16 -12
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/learning.py +17 -3
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/roadmap.py +41 -2
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/search.py +173 -11
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/skills.py +3 -1
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/update_check.py +1 -1
- codevira-4.3.0/mcp_server/worktree_registry.py +559 -0
- {codevira-4.1.0 → codevira-4.3.0}/pyproject.toml +18 -12
- codevira-4.3.0/tests/_real_home_guard.py +110 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/conftest.py +54 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/test_cross_tool_universality.py +1 -1
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/test_first_contact.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/test_product_invariants.py +2 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/test_qa_round_v2_completion.py +9 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/test_v2_release_candidate.py +18 -18
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/test_v350_acceptance.py +18 -18
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_anti_regression.py +21 -21
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_blast_radius.py +30 -30
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_decision_lock.py +18 -18
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_decision_replay.py +12 -12
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_diff_envelope.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_events.py +1 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_fix_history.py +27 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_git_hook_enforcement.py +72 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_policies.py +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_qa_p0_fixes.py +104 -48
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_qa_round3.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_qa_round4.py +19 -11
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_qa_round5.py +9 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_qa_round_week13.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_relevance_inject.py +9 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_runner.py +13 -1
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_session_log_enforcer.py +36 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_token_budget.py +6 -8
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_token_meter.py +1 -0
- codevira-4.3.0/tests/integration/test_docs_subcommands_exist.py +332 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/integration/test_help_text_consistency.py +5 -1
- {codevira-4.1.0 → codevira-4.3.0}/tests/integration/test_mcp_roundtrip.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/integration/test_sandboxed_parent.py +24 -24
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_agents_md_generator.py +7 -7
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_amendment_provenance.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_atomic.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_cross_process_writes.py +4 -5
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_decisions_store.py +9 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_device_identity.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_id_repair_references.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_score_breakdown.py +15 -1
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_search_perf_caches.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_skills_store.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_token_estimator.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_uid_edges.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_working_store.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test__prompts.py +32 -18
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_auto_init.py +69 -54
- codevira-4.3.0/tests/test_background_degrades.py +231 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_binding_e2e.py +9 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_call_edge_fk_safety.py +16 -14
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_check_conflict.py +6 -6
- codevira-4.3.0/tests/test_ci_green_gate.py +219 -0
- codevira-4.3.0/tests/test_classifier_is_shared.py +253 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_claude_binding_conflict.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_export.py +61 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_graph.py +5 -2
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_induce.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_projects.py +6 -6
- codevira-4.3.0/tests/test_cli_reconcile.py +111 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_uninstall.py +4 -8
- codevira-4.3.0/tests/test_code_identity.py +78 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_crash_logger.py +1 -3
- codevira-4.3.0/tests/test_daemon.py +1002 -0
- codevira-4.3.0/tests/test_daemon_default.py +458 -0
- codevira-4.3.0/tests/test_daemon_lifecycle.py +828 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_decisions_store.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_dedupe_migration.py +14 -2
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_detect.py +16 -13
- codevira-4.3.0/tests/test_doctor_registry_rows.py +261 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_fk_safety_extended.py +7 -2
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_fork_safety.py +2 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_ghost_check.py +23 -7
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_git_shared.py +114 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_global_db.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_global_home_isolation.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_graph_generator.py +3 -3
- codevira-4.3.0/tests/test_hash_cache.py +78 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_hook_resilience.py +26 -23
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_id_repair.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_ide_inject.py +21 -21
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_imports.py +7 -3
- codevira-4.3.0/tests/test_incremental_index_oracle.py +480 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_index_codebase.py +258 -145
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_launchd.py +67 -33
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_log_retention.py +73 -1
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_migrate.py +13 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_migration_memory_loss.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_migration_no_data_loss_e2e.py +6 -6
- codevira-4.3.0/tests/test_nested_checkout_exclusion.py +375 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_path_glob_and_scrub.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_paths.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_phase27_quality_fixes.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_pre_release_block_hook.py +175 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_project_inventory.py +7 -4
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_reconcile.py +96 -9
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_record_decision.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_register_all.py +95 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_remote_hijack.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_removed_tool_migration.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_repair_ids.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_repair_ids_race.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_repair_init.py +1 -2
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_retirement_and_amendments.py +15 -15
- codevira-4.3.0/tests/test_review_findings_430.py +153 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_review_round2.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_review_round3.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_roadmap_drift.py +50 -13
- codevira-4.3.0/tests/test_roadmap_moves_with_project.py +903 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_sdist_completeness.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_server.py +9 -5
- codevira-4.3.0/tests/test_session_log_content.py +328 -0
- codevira-4.3.0/tests/test_setup_daemon.py +1126 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_setup_wizard.py +27 -27
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_sqlite_util.py +21 -9
- codevira-4.3.0/tests/test_stale_exit.py +36 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_subprocess_imports_working_tree.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_supersede_on_write.py +3 -3
- codevira-4.3.0/tests/test_toolchain_pins.py +124 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_tools_graph.py +2 -2
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_tools_learning.py +6 -6
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_tools_playbook.py +19 -3
- codevira-4.3.0/tests/test_vanished_project.py +972 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_watcher_circuit.py +4 -1
- codevira-4.3.0/tests/test_watcher_coalescing.py +410 -0
- codevira-4.3.0/tests/test_watcher_daemon_thread.py +54 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_working_promote_skill.py +3 -3
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_worktree_and_cache.py +3 -3
- codevira-4.3.0/tests/test_worktree_registry.py +768 -0
- codevira-4.1.0/docs/architecture.md +0 -297
- codevira-4.1.0/docs/heroes/README.md +0 -51
- codevira-4.1.0/docs/troubleshooting/antigravity.md +0 -94
- codevira-4.1.0/docs/vs-other-memory-tools.md +0 -108
- codevira-4.1.0/indexer/graph_generator.py +0 -535
- {codevira-4.1.0 → codevira-4.3.0}/LICENSE +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/MANIFEST.in +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/01-code-review.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/02-adversarial-fix-review.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/03-cross-module-impact.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/06-doc-drift.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/07-security-audit.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/12-llm-redteam.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/13-multi-ide-schema.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/22-competitor-benchmark.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/README.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/tier2-scripts.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/agents/qa/tier3-manual.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/codevira.egg-info/dependency_links.txt +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/codevira.egg-info/entry_points.txt +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/codevira.egg-info/top_level.txt +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/config.example.yaml +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/audit-2026-05-22.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/demo/README.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/foolproof-product-charter.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/hn-launch-day.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/how-i-built-persistent-memory-for-ai-agents.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/internal/4.0-beta.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/internal/architecture-4.0.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/internal/competitive-landscape.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/internal/memory-strategy-2026-07.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/linkedin-article-ai-agent-memory.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/linkedin-post-ai-agent-memory.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/medium-your-ai-coding-agent-has-amnesia.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/morning-handoff-2026-05-22.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/plans/opt-in-activation.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/plans/v2.1.2.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/plans/v2.1.3.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/plans/v2.2.0.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/plans/v3.0.0.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/release-notes/v3.1.1.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/release-notes/v3.7.1.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/surface-cuts-2026-05-22.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/v2-completion-plan.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/v2-execution-log.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/docs/v2-master-plan.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/graph/_schema.yaml +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/outcome_classifier.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/indexer/treesitter_parser.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/_mcp_registry.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/_prompts.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_eval.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_induce.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_replay.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_search.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_sync.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_uninstall.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/cli_working.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/config.example.yaml +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/hooks/post_tool_use.sh +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/hooks/pre_tool_use.sh +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/hooks/session_start.sh +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/hooks/stop.sh +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/hooks/user_prompt_submit.sh +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/coding-standards-generic.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/coding-standards-go.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/coding-standards-typescript.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/coding-standards.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/engineering-excellence.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/git-cicd-governance.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/git_commits.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/incremental-updates.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/master_rule.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/multi-language.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/persistence.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/resilience-observability.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/smoke-testing.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/data/rules/testing-standards.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/decision_replay.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/events.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/_region_detect.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/anti_regression.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/blast_radius.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/decision_lock.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/policies/relevance_inject.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/runner.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/wiring/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/wiring/_diff_envelope.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/wiring/antigravity_hooks.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/wiring/claude_code_hooks.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/engine/wiring/mcp_dispatch.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/eval/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/eval/judge.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/eval/relevance.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/eval/report.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/global_sync.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/graph/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/http_server.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/memory_undo.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/project_binding.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/prompts.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/retrieval/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/retrieval/score.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/activity_store.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/config.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/digest.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/id_repair.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/jsonl_store.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/origin.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/outcomes_writer.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/skills_store.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/synonyms.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/text.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/token_estimator.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/storage/uid.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tenant.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/check_conflict.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/playbook.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/provenance.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/mcp_server/tools/working.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/coding-standards.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/engineering-excellence.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/git-cicd-governance.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/git_commits.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/incremental-updates.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/master_rule.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/persistence.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/resilience-observability.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/smoke-testing.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/rules/testing-standards.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/setup.cfg +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/code_only_python/README.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/code_only_python/pyproject.toml +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/code_only_python/src/widgets.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/code_only_python/tests/test_widgets.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/conftest.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/docs_only/CONTRIBUTING.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/docs_only/README.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/docs_only/docs/architecture.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/docs_only/package.json +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/monorepo/README.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/monorepo/package.json +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/monorepo/packages/foo/package.json +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/monorepo/packages/foo/src/index.ts +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/polyglot/CLAUDE.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/polyglot/README.md +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/polyglot/config/settings.yaml +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/polyglot/pyproject.toml +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/polyglot/src/api.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/e2e/fixtures/polyglot/src/client.ts +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_antigravity_hooks.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_audit.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_block_message_evidence.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_claude_native_memory.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_evidence_reaches_readers.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_integration.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_memory_fanout.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_region_detect.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_signals_project_scoping.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/engine/test_week2_edge_cases.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/integration/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/__init__.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_activity_store.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_anchor_derivation.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_concurrent_writes.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_digest.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_fts5_index.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_jsonl_store.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_manifest.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_origin.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_sanitize.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_session_identity.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_stranded_parameters.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/storage/test_uid.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_antigravity_hook_portable.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_binding_conflict_detection.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_replay.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_search.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_transfer.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_untrack.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_version.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cli_working.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_committed_memory.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_cross_project_search.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_doctor.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_e1_summary_first.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_egress_boundary.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_eval_e3.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_g3_hermetic.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_gitignore.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_global_sync.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_graph_not_indexed_contract.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_http_server.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_managed_files_e4.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_memory_undo.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_opt_in.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_outcome_reconcile_p17.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_pin_generation.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_project_binding.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_prompts.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_prune_and_clean_deprecation.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_registration_heal.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_retrieval_score.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_skill_reinforcement.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_sqlite_graph.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_startup_migrations.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_synonym_widening_e5.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_tenant_isolation.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_tools_roadmap.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_tools_skills.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_tools_working.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_treesitter_parser.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_update_check.py +0 -0
- {codevira-4.1.0 → codevira-4.3.0}/tests/test_worktree_shared_memory.py +0 -0
|
@@ -7,8 +7,517 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
## [
|
|
10
|
+
## [4.3.0] — 2026-11-30
|
|
11
|
+
|
|
12
|
+
**Upgrade: this release stops codevira losing memory without telling you.**
|
|
13
|
+
`write_session_log` had been throwing away the decisions, files and next steps
|
|
14
|
+
it was given since 2.2.0 while answering "logged", and renaming a project folder
|
|
15
|
+
could split its memory in two or swap its roadmap for a placeholder. It also
|
|
16
|
+
fixes the file watcher that piled up threads and kept the CPU busy
|
|
17
|
+
([#19](https://github.com/sachinshelke/codevira/issues/19)).
|
|
18
|
+
|
|
19
|
+
**New, opt-in: one shared Codevira for every agent and project.** Instead of one
|
|
20
|
+
codevira process per agent per project, `codevira daemon install` runs a single
|
|
21
|
+
local process and `codevira setup --daemon` points your AI tools at it. Every
|
|
22
|
+
request names its project, so memory still lands in the right place; a request
|
|
23
|
+
that names none is refused and writes nothing. `codevira setup --no-daemon`
|
|
24
|
+
puts your tools back exactly as they were. Nothing changes unless you run it.
|
|
25
|
+
|
|
26
|
+
**What upgrading does not repair.** Session-log content dropped before this
|
|
27
|
+
release is gone. A project renamed *before* you upgrade keeps its old roadmap
|
|
28
|
+
in `~/.codevira/projects/<old key>/`; `scripts/codevira-memory restore <folder>`
|
|
29
|
+
brings it back. Restart your IDE after `pipx upgrade codevira` so its server
|
|
30
|
+
reloads: a 4.2.0 server still running keeps the old behaviour.
|
|
11
31
|
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- **A server whose project folder was moved or renamed no longer recreates the
|
|
35
|
+
old folder and splits your memory in two.** A running server pinned with
|
|
36
|
+
`--project-dir /x/OLD` kept serving after `/x/OLD` was renamed to `/x/NEW`;
|
|
37
|
+
its next `record_decision` recreated `/x/OLD`, started a fresh store at
|
|
38
|
+
`D000001` and answered `recorded: true`. Now every tool call first checks the
|
|
39
|
+
bound folder (after any client re-binding, before the opt-in gate) and
|
|
40
|
+
returns `{"error": "project_folder_missing", "recorded": false, ...}` for
|
|
41
|
+
read and write tools alike; the next call works again, without a restart, as
|
|
42
|
+
soon as the folder is back or the client reports the new one. If another
|
|
43
|
+
program recreates the folder empty after this server had seen its in-repo
|
|
44
|
+
`.codevira`, writes refuse too (a centralized marker no longer masks that).
|
|
45
|
+
Underneath, `ensure_dirs` and `get_data_dir` raise `ProjectFolderMissingError`
|
|
46
|
+
(a `ValueError`) for a root that does not exist, every project-root writer
|
|
47
|
+
goes through one guarded `mkdir`, and hooks and background work degrade
|
|
48
|
+
quietly (no crash-log entries). Servers already running keep the old
|
|
49
|
+
behaviour until restarted.
|
|
50
|
+
- A linked git worktree whose main checkout was moved or renamed refuses to save,
|
|
51
|
+
naming `git worktree repair`, instead of starting a second memory of its own.
|
|
52
|
+
|
|
53
|
+
- **The roadmap now moves with the project.** It was read and written in the
|
|
54
|
+
centralized data dir (`~/.codevira/projects/<key derived from the absolute
|
|
55
|
+
path>/`), unlike decisions, sessions, outcomes and skills, which live in
|
|
56
|
+
`<project>/.codevira/`. Renaming a project folder changed the key, and
|
|
57
|
+
`get_roadmap` silently served the placeholder written in-project at init; a
|
|
58
|
+
later `codevira prune --orphans` would then delete the only real copy. The
|
|
59
|
+
roadmap is now always `<project>/.codevira/roadmap.yaml` (a linked git
|
|
60
|
+
worktree uses the main worktree's, like the rest of the memory), so
|
|
61
|
+
`codevira export setup` bundles it too, and JSON `codevira export` fills its
|
|
62
|
+
`phases` table from it (`table_sources.phases == "roadmap"`).
|
|
63
|
+
An existing centralized roadmap is adopted once, non-destructively, on first
|
|
64
|
+
roadmap access or server start: it wins over a differing in-project file
|
|
65
|
+
(which is kept as `roadmap.yaml.before-adoption`, numbered if that exists),
|
|
66
|
+
the in-project file is written and fsynced first, and the centralized file is
|
|
67
|
+
renamed to `roadmap.yaml.moved-into-project`, never deleted. If an older
|
|
68
|
+
codevira still running recreates the centralized file, it is ignored and
|
|
69
|
+
reported once. A project already renamed before upgrading is not repaired:
|
|
70
|
+
the old centralized dir is keyed by the old path and is not adopted.
|
|
71
|
+
The legacy in-repo to centralized migration no longer copies the roadmap.
|
|
72
|
+
|
|
73
|
+
- **A git worktree is no longer a project.** Every `git worktree add` (Claude
|
|
74
|
+
Code makes one per agent under `.claude/worktrees/`) used to get its own
|
|
75
|
+
entry in `~/.codevira/projects/` and in `codevira projects`: one machine
|
|
76
|
+
listed 106 projects, 86 of them worktrees, with 165 `*_worktrees_*` cache
|
|
77
|
+
dirs, 152 for worktrees long gone. A linked worktree now belongs to its main
|
|
78
|
+
checkout: no top-level project dir, no `global.db` row (`register_project`
|
|
79
|
+
refuses one), `codevira init` there points you at the main checkout, and the
|
|
80
|
+
main checkout's opt-in covers its worktrees. Their rebuildable caches (code
|
|
81
|
+
graph, index lock) live in `<main project dir>/worktrees/<worktree>/graph/`;
|
|
82
|
+
the git fix history is shared at the main project. Memory already went to the
|
|
83
|
+
main checkout and does not move. `CODEVIRA_WORKTREE_ISOLATED=1` keeps the old
|
|
84
|
+
per-worktree behaviour.
|
|
85
|
+
Cleanup is automatic. At server start (and when the shared daemon first binds
|
|
86
|
+
a project), in the background and at most once a day per project, caches of
|
|
87
|
+
worktrees that no longer exist, or untouched for 30 days
|
|
88
|
+
(`CODEVIRA_WORKTREE_CACHE_TTL_DAYS`), are deleted; a worktree `git` reports as
|
|
89
|
+
locked, the one in use, and anything that is not rebuildable cache are kept,
|
|
90
|
+
and nothing outside `worktrees/` is ever touched. Once, on first start after
|
|
91
|
+
upgrading (and daily after), `~/.codevira/projects/` dirs that are not a
|
|
92
|
+
tracked project's and hold only `graph.db` / `fixes.db` and their side files,
|
|
93
|
+
index locks or vector indexes are removed, together with `global.db` rows of
|
|
94
|
+
worktrees and of paths that no longer exist with no memory under them. A dir
|
|
95
|
+
holding anything else (a roadmap, decisions, a config, an unknown file) is
|
|
96
|
+
kept and listed in the manifest `~/.codevira/logs/prune-<time>.json`, which
|
|
97
|
+
records everything removed. `codevira projects` lists real projects with a
|
|
98
|
+
worktree-cache count, hides stale and cache-only rows and says how many
|
|
99
|
+
(`--all` shows them); `codevira doctor` counts the same way. Read-only tools
|
|
100
|
+
(`get_node`, `get_impact`, `query_graph`, `get_session_context`) no longer
|
|
101
|
+
create a project's graph directory when nothing is indexed yet.
|
|
102
|
+
|
|
103
|
+
- **`write_session_log` discarded most of what it was given.** It requires
|
|
104
|
+
`decisions`, `files_changed` and `next_steps`, and since 2.2.0 it stored none
|
|
105
|
+
of them while answering "logged". All three are now kept. Each decision is
|
|
106
|
+
also recorded, so `search_decisions` finds it, unless it repeats one that is
|
|
107
|
+
already there, in which case the log links to it. `get_session_context` shows
|
|
108
|
+
the latest log's next steps. Logs written before this release cannot be
|
|
109
|
+
recovered; decisions made with `record_decision` were never affected.
|
|
110
|
+
|
|
111
|
+
- **The file watcher piled up threads and kept the CPU busy**
|
|
112
|
+
([#19](https://github.com/sachinshelke/codevira/issues/19)). Once a reindex
|
|
113
|
+
took longer than the 2 s debounce, every save queued another thread behind it
|
|
114
|
+
and each ran its own pass. There is now at most one reindex running, plus one
|
|
115
|
+
more if files changed meanwhile. The circuit breaker is checked again after
|
|
116
|
+
waiting, and a save made while it is open is indexed when it closes.
|
|
117
|
+
- **Several Codevira processes on one project no longer collide on the index.**
|
|
118
|
+
Reindexes are serialized across processes with a file lock, which the OS
|
|
119
|
+
releases if its holder dies. `codevira index` waits up to 30 s for one.
|
|
120
|
+
- A file whose reindex failed was marked as indexed and not picked up again
|
|
121
|
+
until its next change.
|
|
122
|
+
|
|
123
|
+
### Changed
|
|
124
|
+
|
|
125
|
+
- Found by an adversarial review before release: `codevira prune --orphans`
|
|
126
|
+
keeps a data dir whose roadmap was never moved into its project, a session
|
|
127
|
+
log that repeats a decision and asks to lock it now locks it, secrets nested
|
|
128
|
+
in a session log or a tag are scrubbed, GitHub, Slack and Anthropic tokens
|
|
129
|
+
are recognised as secrets, and new lock files are ignored by git.
|
|
130
|
+
- `codevira export --format sql` refuses, and writes nothing, when the JSONL
|
|
131
|
+
store holds rows its legacy source lacks. On every 3.x+ project it had been
|
|
132
|
+
reporting success over a dump with 0 decisions. Use the JSON export.
|
|
133
|
+
- Releases can no longer be published over a failing or unchecked CI (G1.9), or
|
|
134
|
+
with evidence gathered for a different commit. 4.2.0 was: its Python 3.10 CI
|
|
135
|
+
job stopped at a test-only import and ran nothing.
|
|
136
|
+
|
|
137
|
+
### Added
|
|
138
|
+
|
|
139
|
+
- **A server whose codevira was upgraded under it stops instead of mixing versions.**
|
|
140
|
+
`pipx upgrade` rewrites the package while AI tools keep their servers running;
|
|
141
|
+
the old process then lazily imported new modules (a 4.2.0 watcher crashed on
|
|
142
|
+
a 4.3.0 call). Every tool call now checks, with one `stat`, that the package
|
|
143
|
+
on disk is still the one the process loaded; if not it returns
|
|
144
|
+
`codevira_upgraded` and reads or writes nothing, and background reindexing
|
|
145
|
+
stops. The shared daemon restarts itself on the same check, so a reinstall of
|
|
146
|
+
the same version counts too.
|
|
147
|
+
- **`codevira daemon`: one local process serves every agent and project.**
|
|
148
|
+
`run`, `start`, `stop`, `restart`, `status [--json]`, `install`/`uninstall`
|
|
149
|
+
(macOS launchd agent `com.codevira.daemon`, restarts on crash), `token` and
|
|
150
|
+
`rotate-token` (takes effect without a restart). It listens on 127.0.0.1 only,
|
|
151
|
+
requires the Bearer token in `~/.codevira/daemon/token` (0600), and refuses
|
|
152
|
+
any Host or Origin that is not localhost (403). The project comes from the
|
|
153
|
+
`X-Codevira-Project` header (or `?project=`) on every request; there is no
|
|
154
|
+
fallback to the daemon's own folder. Background work (indexing, watchers,
|
|
155
|
+
refreshes) keeps the project that started it, each project gets its own
|
|
156
|
+
watcher only while it is in use (stops after 15 idle minutes), and a slow
|
|
157
|
+
call no longer stalls the others. `X-Codevira-Session` keeps each agent's
|
|
158
|
+
session log separate. `start` replaces a daemon left running from an older
|
|
159
|
+
version, and a running daemon restarts itself when `pipx upgrade` installs
|
|
160
|
+
new code. Its log (`~/.codevira/logs/daemon.log`) is capped at 10 MB with
|
|
161
|
+
two older copies kept.
|
|
162
|
+
- **`codevira setup --daemon` / `--no-daemon`** switch Claude Code, Cursor,
|
|
163
|
+
Antigravity, Claude Desktop and Codex between their own codevira process and the
|
|
164
|
+
shared one. Every file is backed up first and checked after writing; the
|
|
165
|
+
token is written only to user-level config files (0600), never to files in
|
|
166
|
+
the project. `--no-daemon` restores the original bytes when the file is
|
|
167
|
+
unchanged since. `--dry-run` shows the plan. Codex gets one
|
|
168
|
+
`[mcp_servers.<name>]` table per project in `~/.codex/config.toml` (or
|
|
169
|
+
`$CODEX_HOME`); only that table is replaced as text, so your comments and
|
|
170
|
+
every other line stay byte for byte. The token goes only into that user-level
|
|
171
|
+
file, never into a project `.codex/config.toml`. A config that cannot be
|
|
172
|
+
edited unambiguously (invalid TOML, the server defined as an inline table or
|
|
173
|
+
with dotted keys) is left untouched.
|
|
174
|
+
- **Once the shared daemon is set up, new projects use it.** After
|
|
175
|
+
`codevira daemon install` (or any `setup --daemon`), `codevira init` and plain
|
|
176
|
+
`codevira setup` write the daemon entry for the project (same writers, backups
|
|
177
|
+
and token rules as `setup --daemon`) and start the daemon if needed;
|
|
178
|
+
`--no-daemon` on `init` keeps the old per-tool entry. Re-running `init`,
|
|
179
|
+
`setup` or `register-all` no longer turns a project back to its own process:
|
|
180
|
+
no writer replaces or removes a daemon entry unless asked. A worktree uses its
|
|
181
|
+
main project's entry. `setup --daemon --all-projects` ends with
|
|
182
|
+
"N projects now use the shared daemon, M unchanged".
|
|
183
|
+
- `setup --daemon` also removes the project-less `codevira` entry older setups
|
|
184
|
+
wrote for Claude Desktop. It ran in limited mode (no project), and left in
|
|
185
|
+
place it kept Claude Desktop starting a process of its own beside the daemon.
|
|
186
|
+
It converts only Claude Desktop entries a project already had and adds none:
|
|
187
|
+
Desktop chat has no project folder, so one relay per project only added
|
|
188
|
+
processes. `--no-daemon` still restores the file byte for byte.
|
|
189
|
+
- **Upgrades keep your AI tools' entries current by themselves.** When the
|
|
190
|
+
shared daemon starts on a newly installed codevira (it restarts itself after
|
|
191
|
+
`pipx upgrade`), it runs the equivalent of `setup --daemon --all-projects`
|
|
192
|
+
once, for projects not switched back with `--no-daemon`: same backups, and
|
|
193
|
+
files already right are left untouched. `CODEVIRA_NO_AUTO_RECONCILE=1` turns
|
|
194
|
+
it off.
|
|
195
|
+
- **A codevira process left over from before an upgrade exits by itself**
|
|
196
|
+
within a minute (`CODEVIRA_STALE_CHECK_S`, `0` to disable). Such a process
|
|
197
|
+
already refused every call; it only held memory until the AI tool restarted.
|
|
198
|
+
- **`codevira connect --project <path>`**: a small stdio bridge to the shared
|
|
199
|
+
daemon for clients that can only launch a command (Claude Desktop). It starts
|
|
200
|
+
the daemon if needed and reports a daemon that is down as an error instead of
|
|
201
|
+
hanging.
|
|
202
|
+
- A decision in `write_session_log` may carry the `id` of one already recorded.
|
|
203
|
+
The response reports `decision_ids`, how much was `stored`, and `warnings`.
|
|
204
|
+
|
|
205
|
+
### Changed — saving a file is about 30x cheaper
|
|
206
|
+
|
|
207
|
+
- **Saving a file no longer rebuilds the whole graph.** The watcher's reindex
|
|
208
|
+
re-parsed every file and wrote about 18,000 single-row transactions, roughly
|
|
209
|
+
4 to 10 seconds of CPU per save. It now re-parses only the files whose
|
|
210
|
+
content changed, deletes the rows of files that are gone, and recomputes just
|
|
211
|
+
the edges that depend on them (calls resolve by name across files; imports
|
|
212
|
+
resolve against which files exist), all in ONE transaction. File hashes are
|
|
213
|
+
still stored only after that transaction commits. The result is identical to
|
|
214
|
+
a full rebuild; a randomized oracle test checks that after every pass.
|
|
215
|
+
- **A rescan no longer re-reads files that did not change.** Each pass used to
|
|
216
|
+
read and hash every source file, look the project root up once per file and
|
|
217
|
+
query each stored hash separately: 3.45 s of CPU on a 6,000-file project
|
|
218
|
+
when nothing had changed. Hashes are now reused while a file's size,
|
|
219
|
+
modification time and inode are unchanged (a file modified within 2 s of
|
|
220
|
+
being hashed is always read again, as git does), the root is resolved once
|
|
221
|
+
and stored hashes are read in one query: 0.33 s.
|
|
222
|
+
- **Adding or deleting a file no longer re-parses every file.** That change
|
|
223
|
+
re-derives import edges project-wide, which re-parsed all 2,600 TypeScript
|
|
224
|
+
files of a large project (about 11 s of CPU). Each file's import list is now
|
|
225
|
+
kept by content hash, so only the resolution is redone: about 1.5 s.
|
|
226
|
+
- The shared daemon runs at macOS background priority on purpose, so indexing
|
|
227
|
+
uses the efficiency cores and never slows your editor. Activity Monitor
|
|
228
|
+
therefore shows a higher CPU percentage for the same work than a normal
|
|
229
|
+
process would.
|
|
230
|
+
- `index --full` now stores file hashes too, so the first incremental pass
|
|
231
|
+
after it no longer re-parses everything.
|
|
232
|
+
- Call edges now resolve a name to the lowest-id symbol of that name, so the
|
|
233
|
+
graph no longer depends on file iteration order.
|
|
234
|
+
|
|
235
|
+
### Fixed — worktrees are no longer indexed
|
|
236
|
+
|
|
237
|
+
- **Worktrees and nested checkouts are no longer indexed.** `.claude/worktrees`,
|
|
238
|
+
`.worktrees` and any sub-directory with its own `.git` (a file or a
|
|
239
|
+
directory) are pruned by every walker that enumerates project source, through
|
|
240
|
+
one shared matcher (`indexer/exclusions.py`). On one project 92% of the index
|
|
241
|
+
was worktree copies. The next index pass purges rows already indexed from
|
|
242
|
+
those paths.
|
|
243
|
+
- Skip-directory names were matched against the whole absolute path, so a
|
|
244
|
+
project living under a folder named `build` or `Library` indexed nothing. They
|
|
245
|
+
are matched below the project root now.
|
|
246
|
+
|
|
247
|
+
### Doctor can see the registry (C13)
|
|
248
|
+
|
|
249
|
+
**`codevira doctor --fix` now performs the 4.2.0 recovery itself.** 4.2.0
|
|
250
|
+
shipped the `$HOME` fix but left affected users three commands to run in the
|
|
251
|
+
right order — and one of them, `codevira untrack`, deletes a project's data
|
|
252
|
+
directory if you skip its dry-run. That is a bad thing to ask of someone whose
|
|
253
|
+
memory has already gone missing.
|
|
254
|
+
|
|
255
|
+
#### Added — C13 `registry_rows`, and an auto-fixer for it
|
|
256
|
+
|
|
257
|
+
`codevira doctor` had twelve checks and **none of them looked at the registry**.
|
|
258
|
+
C3 checks the *current* binding; C5 checks that `global.db` opens. Neither reads
|
|
259
|
+
the rows inside it. That is why a single bad row could make `register-all`
|
|
260
|
+
discover one project and discard eleven real ones while doctor reported 20 pass
|
|
261
|
+
/ 0 warn / 0 fail — it was not that doctor disagreed, it was that nothing it ran
|
|
262
|
+
could see the problem.
|
|
263
|
+
|
|
264
|
+
C13 flags any registered path that cannot be a project:
|
|
265
|
+
|
|
266
|
+
- a **refused root** — `$HOME`, a system directory. The path exists, so
|
|
267
|
+
`check_ghost_projects` never sees it.
|
|
268
|
+
- a path inside **codevira's own home** — a data directory registered as though
|
|
269
|
+
it were a project. Found on a real machine, where one project was registered
|
|
270
|
+
twice, the second row pointing at its own data dir.
|
|
271
|
+
|
|
272
|
+
`codevira doctor --fix` removes those rows. The recovery is now:
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
codevira doctor --fix && codevira register-all
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
**The fixer removes registry rows and never a data directory, and it never
|
|
279
|
+
calls `untrack`.** A user wrongly bound to `$HOME` recorded their decisions
|
|
280
|
+
*into* `$HOME`'s data directory; untracking it as a "fix" would delete the
|
|
281
|
+
memory the fix exists to recover. Rows are bookkeeping and `register-all`
|
|
282
|
+
rebuilds them — decisions are not rebuildable. Three tests hold that line,
|
|
283
|
+
including one that plants a decision in the data dir and asserts it survives.
|
|
284
|
+
|
|
285
|
+
Re-registration is deliberately left to you: it rewrites every detected IDE's
|
|
286
|
+
config, which is a larger action than an auto-fixer should take unprompted.
|
|
287
|
+
|
|
288
|
+
**Not changed:** `is_invalid_project_root()` still allows paths inside
|
|
289
|
+
`~/.codevira`, so the codevira-home rule lives in C13 rather than there.
|
|
290
|
+
Tightening it is the more complete fix and it is not in this release —
|
|
291
|
+
`get_impact` puts its blast radius at **186 files**, which makes it its own
|
|
292
|
+
piece of work with its own migration rather than a rider on a patch.
|
|
293
|
+
|
|
294
|
+
*(Tests: `tests/test_doctor_registry_rows.py` — 14. Six mutations each turn it
|
|
295
|
+
red, including one that makes the fixer delete the data directory. The ghost
|
|
296
|
+
boundary test initially passed with its guard removed, because
|
|
297
|
+
`is_invalid_project_root` allows every non-existent path; it now stubs that
|
|
298
|
+
function so the guard is actually exercised.)*
|
|
299
|
+
|
|
300
|
+
## [4.2.0] — 2026-09-15
|
|
301
|
+
|
|
302
|
+
**If you run codevira across more than one project, upgrade.** A single rogue
|
|
303
|
+
registration at `$HOME` could make `register-all` discover exactly one project
|
|
304
|
+
and discard every real one as "nested" — measured on the maintainer's machine
|
|
305
|
+
as **1 found, 11 excluded**, with a plan to unregister two working entries.
|
|
306
|
+
|
|
307
|
+
**Action required if projects went missing from an IDE.** This release stops `$HOME`
|
|
308
|
+
being registered as a project, but it does not repair a registration that is
|
|
309
|
+
already wrong — no startup migration prunes the bad row. Run `codevira
|
|
310
|
+
register-all --dry-run` (read-only): if it reports one project at your home
|
|
311
|
+
directory and your real ones as *excluded nested*, that is this bug.
|
|
312
|
+
|
|
313
|
+
Then run `codevira untrack --dry-run "$HOME"` and **read it**, because
|
|
314
|
+
`untrack` removes the project's data directory as well as its registry entry —
|
|
315
|
+
if you were wrongly bound to `$HOME`, decisions recorded during that time are
|
|
316
|
+
in there. Copy the directory aside if you want it. Your other projects each
|
|
317
|
+
have their own and are unaffected. Finally `codevira untrack -y "$HOME"`,
|
|
318
|
+
`codevira register-all`, and restart the IDE.
|
|
319
|
+
|
|
320
|
+
`codevira doctor` does NOT detect this: its checks cover the current binding
|
|
321
|
+
and whether `global.db` opens, not the rows inside it.
|
|
322
|
+
|
|
323
|
+
The through-line of this release is one failure shape, found three times:
|
|
324
|
+
a guard that exists, is correct, and is not on the path that runs.
|
|
325
|
+
`paths.is_invalid_project_root()` returned the right answer in all three cases
|
|
326
|
+
below; the callers did not handle it. The full suite and every release gate
|
|
327
|
+
stayed green throughout, because the gauntlet verified that things RUN, not
|
|
328
|
+
that a guard is WIRED IN. Gates for that are also in this release.
|
|
329
|
+
|
|
330
|
+
Nothing here changes the observable output of a documented tool. This is a
|
|
331
|
+
minor rather than a patch because of `codevira reconcile` and the CI
|
|
332
|
+
enforcement entry point.
|
|
333
|
+
|
|
334
|
+
### Fixed — `$HOME` could be discovered as a project, hiding every real one
|
|
335
|
+
|
|
336
|
+
`discover_projects()` applied no guard against invalid roots. Codevira's own
|
|
337
|
+
global home is `~/.codevira`, so `$HOME` always carries a `.codevira` marker
|
|
338
|
+
and looks like a project to a naive scan. Once discovered it sorts as
|
|
339
|
+
top-level, and the nesting rule immediately below then discards every genuine
|
|
340
|
+
project beneath it as a nested sub-store.
|
|
341
|
+
|
|
342
|
+
Measured before the fix:
|
|
343
|
+
|
|
344
|
+
```
|
|
345
|
+
projects (1): codevira-sachin -> /Users/sachin
|
|
346
|
+
excluded nested: 11 real projects
|
|
347
|
+
plan: Claude Code -2 old / +1 named
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
`register-all` now filters candidates through `is_invalid_project_root()`, the
|
|
351
|
+
same refusal `get_data_dir()` has always applied. *(Test:
|
|
352
|
+
`TestHomeIsNeverATopLevelProject` — fails without the change. Note the first
|
|
353
|
+
version of that test passed vacuously, because pytest's `tmp_path` lives under
|
|
354
|
+
`/private/var/folders/`, which the scanner already excludes as junk.)*
|
|
355
|
+
|
|
356
|
+
### Fixed — background work no longer crashes when no project is resolvable
|
|
357
|
+
|
|
358
|
+
An unpinned server binds per tool call. Claude Desktop registers one dynamic
|
|
359
|
+
entry (`args: []`, no `cwd`), so the process starts at `/` — and startup tasks
|
|
360
|
+
and timer work run *before* any tool call, when `get_data_dir()` correctly
|
|
361
|
+
refuses `/`.
|
|
362
|
+
|
|
363
|
+
Two entry points let that refusal escape as a crash:
|
|
364
|
+
|
|
365
|
+
- **Log retention** wrote it to the crash log on every start. **39 of 45
|
|
366
|
+
entries** on the maintainer's machine were this one line, daily for three
|
|
367
|
+
weeks, while nothing was actually wrong.
|
|
368
|
+
- **The background watcher's incremental pass** raised on a timer, inside a
|
|
369
|
+
thread, with no caller to catch it.
|
|
370
|
+
|
|
371
|
+
Both now degrade to a no-op that states the reason. The line this draws, and
|
|
372
|
+
the reason it is not applied everywhere: **background work degrades; a tool
|
|
373
|
+
answering a question refuses loudly.** A tool that returned an empty result
|
|
374
|
+
instead is what produced a wrong-project session brief that read as plausible
|
|
375
|
+
and said nothing — the call succeeded, and nothing indicated it had read a
|
|
376
|
+
different project's store.
|
|
377
|
+
|
|
378
|
+
A crash log that is mostly expected noise is a crash log nobody reads.
|
|
379
|
+
|
|
380
|
+
*(Tests: `tests/test_background_degrades.py` — a registry of every background
|
|
381
|
+
entry point, parametrised, plus a meta-test that fails when a new crash-logged
|
|
382
|
+
startup task appears in `server.py` without coverage. Reverting any one guard
|
|
383
|
+
turns it red.)*
|
|
384
|
+
|
|
385
|
+
### Added — `codevira reconcile`
|
|
386
|
+
|
|
387
|
+
`cluster_store()` and `pick_canonical()` shipped in 4.1.0 complete, tested,
|
|
388
|
+
and called by nothing: no MCP tool, no CLI subcommand, 294 lines a user could
|
|
389
|
+
not reach. The 4.1.0 notes had to say so. This is the surface.
|
|
390
|
+
|
|
391
|
+
**Report-only by construction.** `cluster_store` returns a *plan*; executing
|
|
392
|
+
it means rewriting `decisions.jsonl` with supersessions and alias rewrites —
|
|
393
|
+
separate work, on the most precious data in the product. A command that can
|
|
394
|
+
only read cannot corrupt anything, and knowing you have N duplicate clusters
|
|
395
|
+
and M conflicts is useful on its own.
|
|
396
|
+
|
|
397
|
+
Conflicts are never offered as merges. A pair where one side negates the other
|
|
398
|
+
scores as a near-perfect textual duplicate (Jaccard 0.83), which is exactly
|
|
399
|
+
why merging on similarity alone is dangerous.
|
|
400
|
+
|
|
401
|
+
Also fixed here: a decision that **cites** another (`[[D0001]]`) is no longer
|
|
402
|
+
read as contradicting it, and the citation match is word-bounded, so `D1`
|
|
403
|
+
cannot match inside `D1000`.
|
|
404
|
+
|
|
405
|
+
*(Tests: `tests/test_cli_reconcile.py` — one asserts the store is
|
|
406
|
+
byte-identical after a run; another asserts no conflicting id ever appears in
|
|
407
|
+
a merge plan.)*
|
|
408
|
+
|
|
409
|
+
### Added — enforce locked decisions over a commit range, for CI
|
|
410
|
+
|
|
411
|
+
`decision_lock` blocks a *local* commit through the pre-commit hook. For a
|
|
412
|
+
team that is advisory: `git commit --no-verify` overrides it, and a teammate
|
|
413
|
+
who never ran `codevira init` has no hook at all. CI is where enforcement
|
|
414
|
+
stops being optional.
|
|
415
|
+
|
|
416
|
+
A pull request has no staged index, so the existing entry point could not
|
|
417
|
+
evaluate one. Only two functions were index-bound — `staged_files()` reading
|
|
418
|
+
`git diff --cached` and `_versions()` reading `git show :<file>`. Both now
|
|
419
|
+
take optional `base`/`head`; the index stays the default, and a test pins that
|
|
420
|
+
local pre-commit behaviour is unchanged.
|
|
421
|
+
|
|
422
|
+
### Fixed — shared mode merges cleanly
|
|
423
|
+
|
|
424
|
+
Dogfooding team mode for the first time, two branches each recording one
|
|
425
|
+
decision: the canonical log merged correctly — the merge driver re-minted the
|
|
426
|
+
colliding id, both decisions survived, ids stayed unique — but `git merge`
|
|
427
|
+
still exited 1, because `.codevira/digest.jsonl` and `.codevira/manifest.yaml`
|
|
428
|
+
conflicted. Both are pure functions of `decisions.jsonl`. Committing them
|
|
429
|
+
makes every concurrent write in a team repo a merge conflict in generated
|
|
430
|
+
content nobody reviews; they are now ignored.
|
|
431
|
+
|
|
432
|
+
`AGENTS.md` is deliberately **not** ignored — it is the contract Codex and
|
|
433
|
+
Copilot read *without* running codevira, so dropping it would trade a
|
|
434
|
+
cross-tool promise for a merge conflict. Its codevira block is regenerated on
|
|
435
|
+
merge instead. The driver auto-resolves only when both sides agree outside the
|
|
436
|
+
markers: prose a human wrote is not codevira's to adjudicate, and a real
|
|
437
|
+
disagreement still raises a real conflict.
|
|
438
|
+
|
|
439
|
+
### Fixed — release gates that could not run reported that they passed
|
|
440
|
+
|
|
441
|
+
Three defects in the release machinery itself, all the same shape as the bugs
|
|
442
|
+
above, and all of which had let releases through:
|
|
443
|
+
|
|
444
|
+
- **G4 was dead.** It ran `codevira report | grep -c CRASH`. `report` is not a
|
|
445
|
+
subcommand — it exits 2 with a usage error, `2>/dev/null` swallowed that,
|
|
446
|
+
grep counted an empty stream, and the count was always 0. G4 **could not
|
|
447
|
+
fail**. It reported "no crashes" for 4.1.0 with three CRASH entries in the
|
|
448
|
+
log, and every `G4_crash_log_clean` in every past evidence file was
|
|
449
|
+
meaningless. It now reads the log file directly and distinguishes clean from
|
|
450
|
+
could-not-check.
|
|
451
|
+
- **`"skipped"` counted as a pass** in the publish hook. G3 read `"skipped"` in
|
|
452
|
+
every evidence file from 2.0.0 through 3.0.0 — the real-IDE smoke script was
|
|
453
|
+
a stub — and all six of those releases were allowed through. The gauntlet
|
|
454
|
+
printed "NOT a release-ready state" beside it each time.
|
|
455
|
+
- **The hook checked five gates by name.** G1.5, G1.6, G1.7 and G2.5 were added
|
|
456
|
+
to the gauntlet in 2.1.2 and never added to the hook, so seven releases went
|
|
457
|
+
out with the wall enforcing a subset of itself.
|
|
458
|
+
|
|
459
|
+
The hook now enumerates every gate in the evidence file and requires `true` —
|
|
460
|
+
including gates it has no built-in knowledge of, which is what stops the third
|
|
461
|
+
from recurring. One tolerated exception, stated in place: `G4 = "warn"`,
|
|
462
|
+
because a crash log records history and the release may be what fixes it. The
|
|
463
|
+
CHANGELOG staleness gate also moved from an mtime heuristic to a git one,
|
|
464
|
+
after mtimes produced a false blocker on two consecutive releases.
|
|
465
|
+
|
|
466
|
+
### Fixed — docs told you to run subcommands the CLI would reject (G1.8)
|
|
467
|
+
|
|
468
|
+
`docs/alpha-tester-invites.md` asked alpha testers to collect crash logs with
|
|
469
|
+
`codevira report`. That command was cut in v2.2.0 and exits 2 with `invalid
|
|
470
|
+
choice`. The same rot had just been found in the G4 release gate above, which
|
|
471
|
+
ran that identical dead command — so the failure was reaching testers and the
|
|
472
|
+
release process from the same source.
|
|
473
|
+
|
|
474
|
+
Eight sites, not one. `codevira insights` sat two lines above the first one
|
|
475
|
+
and nobody had noticed. `codevira budget`, `codevira register` and
|
|
476
|
+
`codevira archive-legacy` appeared in live "run this" fences —
|
|
477
|
+
`archive-legacy` has no implementation anywhere in the tree and no successor.
|
|
478
|
+
`DOGFOOD.md` walked the reader through two whole scenarios for heroes cut in
|
|
479
|
+
the 2026-05-22 audit, one of which told them to **file a bug** if the output
|
|
480
|
+
came back empty. The module docstrings in `cli.py` and `cli_init.py`
|
|
481
|
+
advertised the dead commands too, so the rot was in the source, not only the
|
|
482
|
+
prose.
|
|
483
|
+
|
|
484
|
+
**New gate — G1.8**, wired into the gauntlet after G1.7: every `codevira
|
|
485
|
+
<cmd>` a live doc tells you to RUN must exist in the argparse dispatch table.
|
|
486
|
+
Source of truth is subparser **choices**, not `--help` output — choices are
|
|
487
|
+
what `main()` dispatches on, and they include subcommands deliberately hidden
|
|
488
|
+
from help (`reconcile`, `merge-driver-agents`). Checking `--help` would fail
|
|
489
|
+
a doc for correctly documenting a working command.
|
|
490
|
+
|
|
491
|
+
Because the bug it prevents was a gate that *could not fail*, G1.8 carries
|
|
492
|
+
vacuity guards of its own: it asserts the doc set is non-empty, that it
|
|
493
|
+
matches a meaningful number of instructions, that a planted dead command IS
|
|
494
|
+
caught, and that a real one is NOT.
|
|
495
|
+
|
|
496
|
+
It separates prose from instruction in three tiers (line marker, a
|
|
497
|
+
removal-declaring heading, or an explicit `<!-- codevira-lint: historical -->`
|
|
498
|
+
escape). That distinction is load-bearing: `MIGRATING.md:856` tells you to run
|
|
499
|
+
`codevira register` and is **correct**, because that recipe reinstalls 1.8.0,
|
|
500
|
+
where `register` exists. A flat check would have demanded breaking working
|
|
501
|
+
instructions to satisfy the linter.
|
|
502
|
+
|
|
503
|
+
Also corrected in `DOGFOOD.md`: a baseline check asserting "2170 passed, 1
|
|
504
|
+
skipped" — a number that drifts every week — became "0 failed"; and "the
|
|
505
|
+
engine's 8 active policies" is 7, measured by calling
|
|
506
|
+
`register_default_policies()` rather than counting the registration tuple,
|
|
507
|
+
which is filtered on `enabled_by_default`.
|
|
508
|
+
|
|
509
|
+
### Internal — tests that pin the shapes above
|
|
510
|
+
|
|
511
|
+
- The write path and the shared classifier are now asserted to **agree**. 4.1.0
|
|
512
|
+
was cut for the negation bug and shipped without fixing it: the guard landed
|
|
513
|
+
in `reconcile.classify()`, while `record_decision` goes through
|
|
514
|
+
`check_conflict`, which re-implements the rule inline. Both paths passed
|
|
515
|
+
their own example-based tests; nobody asserted they matched. A differential
|
|
516
|
+
sweep now runs every retrieved pair through both.
|
|
517
|
+
- `ruff` is pinned identically in `pyproject.toml` and `.pre-commit-config.yaml`
|
|
518
|
+
(0.15.14) and uses the non-deprecated `ruff-check` hook id. A range in one
|
|
519
|
+
file and an exact pin in the other had the two disagreeing by nine minor
|
|
520
|
+
versions, which reformatted 107 files spuriously.
|
|
12
521
|
|
|
13
522
|
## [4.1.0] — 2026-08-16
|
|
14
523
|
|