Surgical Patch Workflow
Use this skill when implementing a numbered build or a specific mission brief.
1. Analysis
- Read the patch plan/mission brief thoroughly.
- Locate target code using
grep(NEVER read the entire file if >500 lines). - Confirm files and line ranges with the Director before editing.
2. Execution
- Apply edits one file at a time.
- Follow the backup convention:
cp file.cs file.cs.yyyyMMdd_HHmm.bak. - If a bulk operation is needed, write a temporary Python script to handle it safely.
3. Verification
- Mandatory: Perform a secondary audit immediately after applying the fix.
- Check callers of modified functions for regressions.
- Look for state sync issues introduced by the change.
4. Documentation
- Update the
task.mdor mission brief status. - Provide a concise summary of applied changes in trading terms.
Precision Surgery Protocol Enabled.