You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove legacy Python compatibility comments and dead code (#331)
**Key Changes:**
- Removed comments referencing legacy Python code and behavior
throughout the codebase
- Deleted unused and dead code paths, including functions, comments, and
allow attributes
- Cleaned up documentation to focus on current Rust implementation
- Clarified and simplified docstrings, removing historical context
**Changed:**
- Updated docstrings across orchestrator, state, models, telemetry, and
tool modules to
focus on their Rust implementation and remove historical references to
Python
- Simplified documentation for configuration, state storage, telemetry,
and prompt modules,
focusing on current Rust usage and key behaviors
- Switched test helpers and doc comments to describe current Rust
behavior rather than
referencing previous Python code or bugs
- Investigation, state, and automation modules now reference only the
current Rust
approach, clarifying behaviors and removing historical context
- Deduplication, credential, and trust logic docstrings updated to
describe Rust-native
strategies
- Telemetry span helpers and prompt documentation now reference only
current Rust usage
**Removed:**
- All legacy Python compatibility comments and docstrings
- Dead code, legacy compatibility functions, and unused struct fields
- The `certifried.rs` file and all related test cases and automation
spawner references
- Unused allow(dead_code), allow(unused_imports), and allow attributes
across the codebase
- All comments referencing Python modules, functions, or compatibility,
including
"matches Python", "mirrors Python", and "ported from Python" notes in
docstrings
- Dead code such as allow(dead_code), unused imports, and legacy
compatibility functions
- Unused functions and struct fields that were only present for legacy
compatibility,
including test-only or private helpers no longer relevant to the Rust
codebase
- The entire `certifried.rs` automation module (no longer used or
referenced)
- Legacy code paths for scalar output processing in result extraction
and processing
0 commit comments