createHarnessEditTools
Purpose and behavior
Section titled “Purpose and behavior”Create the edit toolset. write_file creates or replaces a UTF-8 file; edit_file replaces text that must appear exactly once unless replace_all is set, keeps line endings and the file mode, and returns an error without writing when the file changed during the edit. Both declare their paths for permission rules and run one at a time.