chore(conductor): Archive strategic overview and split into granular tracks
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Track source_wide_redundancy_audit_20260507 Context
|
||||
|
||||
- [Specification](./spec.md)
|
||||
- [Implementation Plan](./plan.md)
|
||||
- [Metadata](./metadata.json)
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"track_id": "source_wide_redundancy_audit_20260507",
|
||||
"type": "chore",
|
||||
"status": "new",
|
||||
"created_at": "2026-05-07T16:00:00Z",
|
||||
"updated_at": "2026-05-07T16:00:00Z",
|
||||
"description": "Deep file-by-file audit to identify unused methods, duplicate logic, and dead code."
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
# Implementation Plan: Source-Wide Redundancy Audit (source_wide_redundancy_audit_20260507)
|
||||
|
||||
## Phase 1: Automated Scans
|
||||
- [ ] Task: Run automated "Unused Code" scripts (if any) or use `py_find_usages` on every public symbol.
|
||||
- [ ] Task: Compare functionally similar files (e.g., `aggregate.py` and `summarize.py` helpers).
|
||||
|
||||
## Phase 2: Manual Review & Culling List
|
||||
- [ ] Task: Review `models.py` against all consumer imports to find unused fields.
|
||||
- [ ] Task: Finalize the "Culling Candidate" report.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Final Review' (Protocol in workflow.md)
|
||||
@@ -0,0 +1,22 @@
|
||||
# Specification: Source-Wide Redundancy Audit (source_wide_redundancy_audit_20260507)
|
||||
|
||||
## Overview
|
||||
The "Culling" phase of the curation. This track focuses on identifying everything in the codebase that doesn't need to be there. This includes dead functions, duplicate helper methods, and bloated data structures.
|
||||
|
||||
## Scope
|
||||
- **Directories:** `./src`, `./simulation`.
|
||||
|
||||
## Functional Requirements
|
||||
1. **Dead Code Identification:**
|
||||
- Find methods and classes that are never imported or called.
|
||||
2. **Logic Deduplication:**
|
||||
- Identify functionally identical blocks (e.g., path resolution logic in multiple files).
|
||||
3. **Data Bloat Audit:**
|
||||
- Find unused fields in `models.py` dataclasses.
|
||||
4. **Style Alignment Pre-check:**
|
||||
- Flag files that significantly deviate from the "1-space indent" or "composition over inheritance" rules.
|
||||
|
||||
## Acceptance Criteria
|
||||
- [ ] List of "Culling Candidates" with justifications.
|
||||
- [ ] Identification of logic that can be consolidated into shared utilities.
|
||||
- [ ] Verification of `models.py` purity.
|
||||
Reference in New Issue
Block a user