prep(release): finalize CodeClone 2.1.0a1 pre-release#51
Merged
Conversation
Avoid the second DFS-style relationship pass in module walking by collecting the required relationship facts during the primary traversal. Strict cold-cache A/B in the same worktree: - files_timed: 769 → 769 - phase_relationship: 2393.2 ms → 1726.6 ms (-667 ms, -27.9%) - pipeline.process: 3121 ms → 2888 ms (-233 ms, -7.5%) - cli.analyze: 3786.9 ms → 3558.1 ms (-229 ms, -6.0%) Verification: - 4248 tests passed, including goldens
Record adoption, security, and reachability alias/binding/visit worker time as optional subphase_us counters on the phase ledger when observability is enabled. Collectors are unchanged; timers are no-ops when the ledger is inactive. Cold-cache split on this repo (769 files_timed): - phase_module_passes: 1803 ms - reachability Σ: 1201 ms (66.6% of module_passes) - security: 463 ms; adoption: 38 ms Verification: pre-commit (all hooks) and pre-push pytest green.
During the binding AST walk, capture FunctionDef/ClassDef/Assign nodes in visit order. After binding completes, emit reachability facts by replaying _apply_handler_node on that list instead of a third full generic_visit pass. Alias pass stays separate so import aliases are complete before binding. Strict cold-cache A/B (same worktree, files_timed=769): - phase_module_passes: 1872.8 ms → 1795.5 ms (-77 ms, -4.1%) - reachability visit subphase: 396.4 ms → 384.3 ms (-12 ms, -3.0%) - cli.analyze: 3673 ms → 3606 ms (-67 ms, -1.8%) Verification: reachability tests + goldens green.
…nd dedupe manifest version checks via shared helper
CodeClone Review✅ Passed · Health 91/100 (A) · Baseline Review snapshot
Review focus
Security Surfaces are report-only capability inventory, not vulnerability claims. Generated by CodeClone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
compare_runsparameters tobefore_run_id/after_run_id.2.1.0a1, restore the PyPI long-description, and ship analytics profile manifests as an explicit setuptools namespace package.2026-07-09.Test plan
uv run pytest -q tests/test_mcp_service.py tests/test_mcp_server.pyuv run pytest -q tests/test_packaging.py tests/test_claude_code_plugin.py tests/test_codex_plugin.py tests/test_cursor_plugin.pyuv run pytest -q tests/test_extractor.py tests/test_analysis_phase_ledger.py tests/test_observability_analysis_phases.pyuv lock --check0.3.0is published withvsce publish --pre-release(odd minor; stable0.2.xusers must not auto-update)