1.3 KiB
1.3 KiB
Implementation Plan: Structural Dependency Mapping (SDM) Docstrings
Phase 1: Convention & Documentation
- Task: Update
conductor/product-guidelines.mdwith SDM convention - Task: Update
conductor/code_styleguides/python.mdwith SDM convention - Task: Conductor - User Manual Verification 'Phase 1: Convention' (Protocol in workflow.md)
Phase 2: Tooling & Pilot
- Task: Research AST-based mapping logic (identify mutation points and callers)
- Task: Create a pilot script
scripts/sdm_mapper.pyto generate SDM tags for a single module (src/models.py) - Task: Manually verify generated tags for
src/models.py - Task: Conductor - User Manual Verification 'Phase 2: Tooling' (Protocol in workflow.md)
Phase 3: Global Rollout (Core Logic)
- Task: Run
sdm_mapper.pyon all files in./src - Task: Agent review of generated tags for core modules (
app_controller.py,gui_2.py) - Task: Inject tags into
./srcdocstrings - Task: Conductor - User Manual Verification 'Phase 3: Rollout' (Protocol in workflow.md)
Phase 4: Full Codebase & Finalization
- Task: Run rollout for
./simulationand./tests - Task: Run full test sweep to ensure no regressions [checkpoint: ]
- Task: Conductor - User Manual Verification 'Phase 4: Finalization' (Protocol in workflow.md)