Private
Public Access
feat(directives): harvest 6 directives from conductor/edit_workflow.md (Rules 1, 2, 6, 7, 8 contract-change, 8 EOL)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# edit_small_incremental
|
||||
|
||||
## v1
|
||||
|
||||
**Why this iteration:** Lifted verbatim from `conductor/edit_workflow.md:9-12 (Rule 1)`.
|
||||
**Source:** `conductor/edit_workflow.md:9-12 (Rule 1)`
|
||||
**Lifted:** 2026-07-02 (Phase A expansion harvest; user directive 2026-07-02)
|
||||
@@ -0,0 +1,7 @@
|
||||
### Rule 1. ALWAYS Use Small, Incremental Edits
|
||||
|
||||
**WRONG:** Replace large blocks (50+ lines)
|
||||
|
||||
**RIGHT:** Replace 3-10 lines at a time, verify, repeat
|
||||
|
||||
Rationale: `manual-slop_edit_file` requires exact string matches. The `set_file_slice` tool requires exact line ranges. A single 50+ line edit can fail on whitespace drift and lose the working tree's state silently. Small edits let you verify after each, isolate failures, and roll back atomically.
|
||||
Reference in New Issue
Block a user