etch-loop 0.4.1__tar.gz → 0.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {etch_loop-0.4.1 → etch_loop-0.4.2}/PKG-INFO +1 -1
  2. {etch_loop-0.4.1 → etch_loop-0.4.2}/pyproject.toml +1 -1
  3. etch_loop-0.4.2/src/etch/__init__.py +1 -0
  4. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/loop.py +6 -26
  5. etch_loop-0.4.1/src/etch/__init__.py +0 -1
  6. {etch_loop-0.4.1 → etch_loop-0.4.2}/.github/workflows/workflow.yml +0 -0
  7. {etch_loop-0.4.1 → etch_loop-0.4.2}/README.md +0 -0
  8. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/agent.py +0 -0
  9. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/analyze.py +0 -0
  10. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/cli.py +0 -0
  11. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/display.py +0 -0
  12. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/git.py +0 -0
  13. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/prompt.py +0 -0
  14. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/report.py +0 -0
  15. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/signals.py +0 -0
  16. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/templates/BREAK.md +0 -0
  17. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/templates/ETCH.md +0 -0
  18. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/templates/RUN.md +0 -0
  19. {etch_loop-0.4.1 → etch_loop-0.4.2}/src/etch/templates/SCAN.md +0 -0
  20. {etch_loop-0.4.1 → etch_loop-0.4.2}/tests/__init__.py +0 -0
  21. {etch_loop-0.4.1 → etch_loop-0.4.2}/tests/test_git.py +0 -0
  22. {etch_loop-0.4.1 → etch_loop-0.4.2}/tests/test_loop.py +0 -0
  23. {etch_loop-0.4.1 → etch_loop-0.4.2}/tests/test_prompt.py +0 -0
  24. {etch_loop-0.4.1 → etch_loop-0.4.2}/tests/test_signals.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: etch-loop
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Run Claude Code in a fix-break loop until your codebase is clean
5
5
  License: MIT
6
6
  Requires-Python: >=3.11
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "etch-loop"
3
- version = "0.4.1"
3
+ version = "0.4.2"
4
4
  requires-python = ">=3.11"
5
5
  description = "Run Claude Code in a fix-break loop until your codebase is clean"
6
6
  readme = "README.md"
@@ -0,0 +1 @@
1
+ __version__ = "0.4.2"
@@ -148,19 +148,9 @@ def run(
148
148
  detail=scanner_detail or "nothing to fix",
149
149
  duration=scanner_duration, success=True)
150
150
  iter_entry["scanner"] = {"status": "all clear", "detail": scanner_detail}
151
- runner_result = try_runner(iter_entry)
152
- if runner_result == "error":
153
- stats["reason"] = "agent_error"
154
- iteration_log.append(iter_entry)
155
- break
156
- elif runner_result == "issues":
157
- stats["reason"] = "issues"
158
- iteration_log.append(iter_entry)
159
- continue
160
- else: # "clear" or "skip"
161
- stats["reason"] = "no_changes"
162
- iteration_log.append(iter_entry)
163
- break
151
+ stats["reason"] = "no_changes"
152
+ iteration_log.append(iter_entry)
153
+ break
164
154
 
165
155
  disp.finish_phase("scanner", status="issues found",
166
156
  detail=scanner_detail or "issues found",
@@ -216,19 +206,9 @@ def run(
216
206
  duration=fixer_duration, success=True)
217
207
  iter_entry["fixer"] = {"status": "no changes", "detail": "nothing to fix"}
218
208
  if last_breaker_signal != "issues":
219
- runner_result = try_runner(iter_entry)
220
- if runner_result == "error":
221
- stats["reason"] = "agent_error"
222
- iteration_log.append(iter_entry)
223
- break
224
- elif runner_result == "issues":
225
- stats["reason"] = "issues"
226
- iteration_log.append(iter_entry)
227
- continue
228
- else: # "clear" or "skip"
229
- stats["reason"] = "no_changes"
230
- iteration_log.append(iter_entry)
231
- break
209
+ stats["reason"] = "no_changes"
210
+ iteration_log.append(iter_entry)
211
+ break
232
212
  iteration_log.append(iter_entry)
233
213
  # Fall through to breaker
234
214
 
@@ -1 +0,0 @@
1
- __version__ = "0.4.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes