Repository navigation
v0.9.5
This release adds Julia language support, extends the tree-sitter framework, rebalances the health score toward subjective dimensions (now 75/25), and delivers a broad set of improvements to stability, triage process reliability, security hardening, and platform-specific fixes — alongside significant code quality cleanups that reduce indirection and remove over-extractions.
354+ files changed | 80+ commits | 5,022 tests passing
Julia Language Support
Julia is now a supported language. The initial plugin skeleton includes tree-sitter-based parsing and import resolution, following the same framework as the existing Python and TypeScript plugins.
Tree-sitter Framework Extensions
The tree-sitter framework gains functional specs and functional import resolvers — new extension points that language plugins can use to define analysis rules declaratively. These underpin the Julia plugin and will simplify future language additions.
Reviewer Finding Adjudication
Review subagents now receive structured access to judgment-required findings during batch construction. Per-detector finding counts are embedded in batches, concern signals carry fingerprints and finding IDs, and the CLI renders exploration commands (desloppify show <det> --no-budget). The concern signal cap is raised from 8 to 30 with overflow guidance, and the dismiss path is simplified to 2 fields.
Scoring Rebalance
Scoring weights shift to 75% subjective / 25% mechanical. Subjective design quality — review dimensions like naming, cohesion, and abstraction quality — is now the primary driver of the health score. All docs, reporting strings, tests, and snapshots updated to match.
Judgment-Required Detectors Excluded from Auto-Clustering
Detectors marked needs_judgment (e.g., structural, dict_keys, smells, responsibility_cohesion) now return None from the clustering grouping key. This means they flow through the review process as mechanical evidence rather than being auto-grouped into plan tasks. The cluster strategy is simplified: special-case grouping by file, subtype, and detector for judgment-required issues has been removed entirely, along with unused parameters in generate_description.
Living Plan & Queue Overhaul
The next command now follows the living plan directly rather than computing priorities independently. The queue system was substantially rearchitected:
- Execution vs. backlog queues are now separate surfaces —
nextpulls from the execution queue (current cluster work), while the backlog queue shows what's upcoming. - Queue lifecycle phases are explicitly persisted, giving clear visibility into where you are in the scan → triage → execute flow.
- Scan is a first-class postflight phase — the queue system recognizes and tracks post-scan state transitions.
- Queue output is labeled by surface so it's always clear which queue you're looking at.
- Prompts and coaching text aligned with the new execution queue semantics.
Triage & Review Improvements
- Triage dashboard fix: after completing triage, the dashboard no longer incorrectly shows "start with observe" restart guidance. Root cause was inferring status from empty
triage_stagesdict instead of checkingtriaged_ids. - No-op triage completion allowed for empty review batches — completing triage without findings no longer errors.
- Staged triage flow consolidated — routing, validation, and state contracts tightened across the triage pipeline.
- Review rerun preflight scoped — rerun checks are now properly gated.
- Review dimension metadata made monkeypatchable — enables test and plugin customization.
- Stale wontfix review tails are now cleared on completion.
State Recovery & Resilience
- Triage state recovery from saved plans — if triage state is lost (e.g., from a crash), it can be reconstructed from the persisted plan.
- State recovery from saved plans with deduplication of update-skill operations.
- Plan recovery consolidated on
scan_metadata, dropping the_saved_plan_recoverymarker. scan_metadataschema simplified —inventory_available/metrics_availableare now derived from scan source rather than stored as separate bools.- Stale cluster focus cleared on completion and on skip/cluster mutations.
Security Hardening
- Subprocess command paths hardened for detectors — command resolution tightened.
- Controlled subprocess security seams tightened — removed
# noseccomment noise and the copy-pasted_resolve_cli_executablehelper that existed in 8 files. - Source security findings hardened in detector outputs.
- Silent excepts removed from treesitter resolvers — errors are no longer swallowed.
- Defer policy key overwrites removed — policy values are now immutable once set.
Platform Fixes
- Windows WinError 2 fix (#383): codex subprocess spawning now uses
shutil.which()to resolve.cmdbatch shims on Windows. Also recognizes[WinError 2]in runner failure detection. - Monorepo path validation fix (#387): the
_PATH_REregex in triage enrich was anchored onsrc/and discarded leading path components likepackages/backend/, causing false-positive path failures in monorepos.
Code Quality & Cleanup
A major theme of this release is reversing over-extractions and reducing indirection. Several rounds of mechanical function splits were reverted:
- ~800+ net lines removed across 4 revert/inline commits — single-use helpers inlined back into their callers across triage stages, cluster display, queue flow, render, dispatch, and batch orchestration.
- Triage stage commands (observe/reflect/organize) now read top-to-bottom as linear validation chains with early returns.
QueueRenderContextdataclass removed — explicit kwargs proved more readable.review_qualityunified as the single canonical key (killed dual-key handling).- Import score provenance metadata reduced from 10 fields to 4.
- Scan workflow imports tightened — direct imports from
planning.scaninstead of going through the package namespace. - Remaining split-driver plan items bulk-skipped to prevent recurrence.
Tree-sitter Cleanup
- Import cycle broken in tree-sitter spec modules.
- Unused bridge modules deleted.
- Compatibility bridges centralized into a single location.
Contract & Registry Alignment
- Registry and subjective contracts aligned.
- Plugin scaffold contracts updated.
- TypeScript command surfaces normalized.
- Command registry annotations tightened.
- Schema drift payload builders normalized.
Test Improvements
- Over-mocked flow tests replaced with direct coverage.
- Direct coverage strengthened for import flows.
- New scan orchestration test verifying the planning scan surface integration.
- New review import support test helpers for plan sync runtime patching.
- Batch triage test helpers refreshed.
