CodeClone 2.0.0b6: land the architecture split, adaptive dependency profiling, and security review surfaces
Pre-release
Pre-release
The global package refactor lands here: the entire runtime moves onto the canonical module layout and legacy shims are removed for good. On top of that, dependency-depth scoring is replaced with an adaptive project-relative model, and the report/cache contracts advance to surface the new depth profile and the report-only security_surfaces layer.
Package layout and contracts
- Move the runtime fully onto the canonical package layout:
main+surfaces/cli,surfaces/mcp,core,analysis,baseline,cache,contracts,report/document,report/renderers, andreport/html. - Remove remaining legacy root shims and stale compatibility modules in favor of direct canonical imports.
- Remove stale deleted-file cache entries and trim post-refactor import tails that were inflating dependency depth and clone pressure.
- Bump report schema to
2.10and cache schema to2.6for additive dependency depth profile fields andsecurity_surfacesfacts; keep clone baseline schema2.1and metrics-baseline schema1.2unchanged. - Preserve deterministic contracts and read-only MCP semantics across the new layout.
Dependency depth scoring
- Replace the old fixed dependency-depth penalty (
max_depth > 8) with an adaptive internal-graph profile based onavg_depth,p95_depth, andmax_depth. - Keep dependency cycles as the hard signal; treat acyclic depth as adaptive pressure relative to the project's own dependency profile.
- Limit dependency-depth scoring to the internal module graph instead of external imports such as
typingorargparse. - Surface the dependency depth profile in the canonical report, HTML Dependencies tab, and CLI/CI summaries.
Security surfaces
- Add
metrics.families.security_surfaces: a report-only exact inventory of security-relevant capability surfaces and trust-boundary code. - Surface compact
security_surfacesfacts in canonical report JSON, CLI Metrics, HTML Quality, text/markdown projections, and MCP summaries /metrics_detail. - Keep the layer honest: no vulnerability claims, no score impact, no gates, no SARIF security findings, and no baseline truth.
Tooling, docs, and UX
- Refresh AGENTS, docs/book, and changelog content for the b6 package layout and report schema
2.10. - Tighten preview client metadata and install guidance for VS Code, Claude Desktop, and Codex.
- Replace the Codex plugin shell snippet with a repo-local shell-free launcher, and parallelize VS Code post-run MCP artifact hydration.
- Add a quiet one-time VS Code extension hint in interactive VS Code terminals, tracked per CodeClone version next to the resolved project cache path.