Skip to content

v0.9.8

Choose a tag to compare

@peteromallet peteromallet released this 12 Mar 22:25
· 199 commits to main since this release

Desloppify mascot

This release adds full C++ and Rust language plugins, introduces two-phase review scoring, unified issue lifecycle status, anti-gaming safeguards, and delivers extensive triage validation, work queue, and cross-platform improvements — alongside continued code quality cleanup that removes 23 compat wrappers and tightens seams throughout the codebase.


609 files changed | 78 commits | 5,266 tests passing

C++ Language Support

C++ is now a full-depth language plugin with tree-sitter-based extraction, structural analysis, and tool-backed security scanning. The plugin includes:

  • Function/class/include extraction from C++ source files
  • Dependency graph analysis via #include graphs from compile_commands.json and Makefile projects
  • Structural and coupling phases with cppcheck integration and batch issue scanning
  • Security detection with normalized findings from cppcheck and clang-tidy
  • Review surfaces, test coverage hooks, and move support
  • 14 test files with fixtures for CMake and Makefile sample projects

Rust Language Support

Rust gains full plugin parity with 13 Rust-specific detectors, 3 auto-fixers, and deep cargo toolchain integration:

  • 13 detectors across 6 modules: API surface, cargo policy, safety, smells, dependencies, and custom rules
  • 3 auto-fixers: crate imports, cargo features, readme doctests
  • Cargo tool integration: clippy, cargo check, rustdoc
  • Rust-aware dependency graphing and test coverage mapping with inline #[cfg(test)] recognition
  • 117 tests across 12 test files

Two-Phase Review Scoring

Holistic review is restructured into two distinct phases:

  • Phase 1 — Observe: collect characteristics and defects without scoring
  • Phase 2 — Judge: synthesize dimension character from observations, then score

Positive observations now persist as context insights with full provenance (added_at, source, positive: true), replacing ephemeral strengths. A new context_schema.json defines the review data framework.

Unified Issue Lifecycle Status

DEFERRED and TRIAGED_OUT are added to the Status enum so state is always authoritative for issue disposition. Previously, temporary and triaged-out skips left issue.status as "open", causing overcounting in plan rendering and queue surfaces. Includes status migration on scan reconcile, new status icons, updated plan rendering, and surfaces history to reviewers with --retrospective True by default.

Anti-Gaming Safeguards

Two targeted fixes prevent AI agent score-anchoring:

  • Numeric target redacted from penalty messages — "matched target 95.0" replaced with "clustered on the scoring target" so agents cannot infer and anchor on the exact number
  • Blind-review workflow surfaced in the very first penalty message (previously only after streak ≥ 2), pointing agents to the blind packet and overlay docs immediately

Triage Validation Overhaul

  • Reflect dispositions are now binding for organize — a structured ReflectDisposition dataclass is parsed from the Coverage Ledger; organize validates that plan state matches every reflected disposition before submission
  • Organize validation extracted into dedicated organize_policy.py, separated from batch context normalization
  • Suggestion and evidence surfaced in show and cluster commands
  • Completion flow, observe batches, and stage queue gained new focused submodules

Work Queue Decomposition

The monolithic _work_queue/core.py and lifecycle.py are split into 5 focused modules (models.py, inputs.py, selection.py, finalize.py, snapshot.py). The engine/plan_queue.py facade is deleted. A canonical QueueSnapshot provides phase-aware partitioning.

Cross-Platform Hardening

  • Cross-platform state locking: fcntl on Unix, msvcrt on Windows for atomic state file persistence
  • Windows tool argv parsing: generic tool commands now execute correctly on Windows
  • Windows WinError 2 fix: codex exec spawning uses shutil.which() to resolve .cmd batch shims

Code Quality & Cleanup

  • 23 compat wrapper files deleted — 13 _framework/ wrappers, 8 context_holistic/ wrappers, 2 helpers/ wrappers — plus removal of SimpleNamespace fake-module antipatterns
  • Go generated files now skipped during scanning, with improved import-run error messages
  • Scan export and scoring impact crash paths fixed
  • Rust workspace rustdoc execution repaired
  • Extensive seam-tightening: holistic review prep, triage validation, scan sync workflow, language framework surface, tree-sitter runtime caches, and reporting/planning helpers all streamlined