letitloop 0.2.0__tar.gz → 0.3.1__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 (375) hide show
  1. {letitloop-0.2.0 → letitloop-0.3.1}/LICENSE +21 -21
  2. {letitloop-0.2.0 → letitloop-0.3.1}/MANIFEST.in +38 -38
  3. {letitloop-0.2.0 → letitloop-0.3.1}/PKG-INFO +255 -232
  4. {letitloop-0.2.0 → letitloop-0.3.1}/README.md +35 -13
  5. letitloop-0.3.1/conformance/__init__.py +1 -0
  6. letitloop-0.3.1/conformance/adapters/atomic_wal_adapter.py +101 -0
  7. letitloop-0.3.1/conformance/adapters/autogen_adapter.py +32 -0
  8. letitloop-0.3.1/conformance/adapters/base.py +22 -0
  9. letitloop-0.3.1/conformance/adapters/crewai_adapter.py +31 -0
  10. letitloop-0.3.1/conformance/adapters/in_memory_adapter.py +82 -0
  11. letitloop-0.3.1/conformance/adapters/langgraph_adapter.py +43 -0
  12. letitloop-0.3.1/conformance/adapters/letitloop_adapter.py +9 -0
  13. letitloop-0.3.1/conformance/adapters/raw_python_adapter.py +30 -0
  14. letitloop-0.3.1/conformance/adapters/snapshot_graph_adapter.py +98 -0
  15. letitloop-0.3.1/conformance/adapters/unmanaged_script_adapter.py +80 -0
  16. letitloop-0.3.1/conformance/harness/__init__.py +5 -0
  17. letitloop-0.3.1/conformance/harness/injector.py +90 -0
  18. letitloop-0.3.1/conformance/harness/runner.py +286 -0
  19. letitloop-0.3.1/conformance/harness/schema.py +31 -0
  20. letitloop-0.3.1/conformance/harness/synthetic_engine.py +88 -0
  21. letitloop-0.3.1/conformance/scenarios/__init__.py +40 -0
  22. letitloop-0.3.1/docs/auto_healing.md +92 -0
  23. letitloop-0.3.1/letitloop/__init__.py +23 -0
  24. {letitloop-0.2.0 → letitloop-0.3.1}/letitloop.egg-info/PKG-INFO +255 -232
  25. {letitloop-0.2.0 → letitloop-0.3.1}/letitloop.egg-info/SOURCES.txt +56 -18
  26. {letitloop-0.2.0 → letitloop-0.3.1}/letitloop.egg-info/entry_points.txt +0 -1
  27. {letitloop-0.2.0 → letitloop-0.3.1}/letitloop.egg-info/requires.txt +1 -0
  28. letitloop-0.3.1/letitloop.egg-info/top_level.txt +3 -0
  29. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/__init__.py +147 -151
  30. letitloop-0.3.1/orchestrator/anti_ouroboros.py.metadata.json +4 -0
  31. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/ast_node_splicer.py +43 -48
  32. letitloop-0.3.1/orchestrator/ast_node_splicer.py.metadata.json +4 -0
  33. letitloop-0.3.1/orchestrator/ast_security_gate.py.metadata.json +4 -0
  34. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/audit.py +88 -88
  35. letitloop-0.3.1/orchestrator/auto_healer.py +207 -0
  36. letitloop-0.3.1/orchestrator/auto_healer.py.metadata.json +4 -0
  37. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/budget.py +195 -195
  38. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/cli.py +138 -17
  39. letitloop-0.3.1/orchestrator/cloud_watchdog.py +149 -0
  40. letitloop-0.3.1/orchestrator/cloud_watchdog.py.metadata.json +4 -0
  41. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/component_slicer.py +185 -185
  42. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/config.py +152 -152
  43. letitloop-0.3.1/orchestrator/decorators.py +154 -0
  44. letitloop-0.3.1/orchestrator/decorators.py.metadata.json +5 -0
  45. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/env_doctor.py +12 -0
  46. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/errors.py +211 -211
  47. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/evidence.py +203 -203
  48. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/exceptions.py +37 -37
  49. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/failure.py +226 -226
  50. letitloop-0.3.1/orchestrator/fast_sandbox.py.metadata.json +4 -0
  51. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/feedback.py +302 -302
  52. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/example_contract.json +50 -50
  53. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/evidence-cli-run-test-step-1.json +46 -46
  54. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/evidence-cli-run-test-step-2.json +46 -46
  55. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/evidence-inject-test-a.json +46 -46
  56. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/evidence-inject-test-b.json +46 -46
  57. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/evidence-inject-test-c.json +46 -46
  58. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/evidence-json-test-a.json +46 -46
  59. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/evidence-json-test-b.json +46 -46
  60. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/fail-report-fail-task-1.json +46 -46
  61. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/fail-report-json-task-1.json +46 -46
  62. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/fail-report-success-task-1.json +46 -46
  63. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/fuzz-engine-design.json +62 -62
  64. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/fuzz-engine-impl.json +61 -61
  65. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/fuzz-engine-tests.json +61 -61
  66. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/fuzz-engine-verify.json +61 -61
  67. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/goal-orch-step-1.json +62 -62
  68. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/goal-orch-step-2.json +61 -61
  69. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/goal-orch-step-3.json +61 -61
  70. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/goal-orch-step-4.json +61 -61
  71. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/goal-orch-step-5.json +61 -61
  72. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/goal-orch-step-6.json +62 -62
  73. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/implement-a-thread-safe-token-bucket-rat-task-1.json +52 -52
  74. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-checkpoint-rollback-3.json +62 -62
  75. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-checkpoint-rollback.json +61 -61
  76. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-live-telemetry-2.json +61 -61
  77. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-live-telemetry.json +61 -61
  78. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-spec-synthesis-1.json +61 -61
  79. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-spec-synthesis.json +61 -61
  80. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-test-verification-4.json +61 -61
  81. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/orchestrator-test-verification.json +61 -61
  82. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/perf-step-1.json +60 -60
  83. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/perf-step-2.json +61 -61
  84. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/perf-step-3.json +61 -61
  85. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/perf-step-4.json +61 -61
  86. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/perf-step-5.json +62 -62
  87. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/phase2-proof-two-step-step-1.json +46 -46
  88. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/phase2-proof-two-step-step-2.json +46 -46
  89. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/planner-spec-synthesis-impl.json +58 -58
  90. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-ast-formatter.json +68 -68
  91. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-checkpoint-rollback.json +69 -69
  92. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-spec-synthesis.json +69 -69
  93. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-step-1.json +69 -69
  94. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-step-2.json +69 -69
  95. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-step-3.json +69 -69
  96. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-step-4.json +69 -69
  97. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-step-5.json +64 -64
  98. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-telemetry.json +69 -69
  99. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/self-evolution-tests.json +70 -70
  100. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/spec-telemetry-research-design.json +63 -63
  101. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/spec-telemetry-step-1.json +61 -61
  102. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/spec-telemetry-step-2.json +61 -61
  103. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/spec-telemetry-step-3.json +61 -61
  104. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/spec-telemetry-step-4.json +61 -61
  105. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/spec-telemetry-step-5.json +61 -61
  106. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/spec-telemetry-verification.json +57 -57
  107. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/token-bucket-impl.json +68 -68
  108. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/token-bucket-step-1.json +69 -69
  109. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/token-bucket-step-2.json +69 -69
  110. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/token-bucket-step-3.json +59 -59
  111. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/token-bucket-tests.json +69 -69
  112. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/token-bucket-verify.json +60 -60
  113. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/trace-ux-tests-step-1.json +63 -63
  114. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/trace-ux-tests-step-2.json +63 -63
  115. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/trace-ux-tests-step-3.json +61 -61
  116. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/generated/tui-live-telemetry-impl.json +58 -58
  117. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/phase1_proof_escalation_contract.json +41 -41
  118. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/phase1_proof_happy_path_contract.json +83 -83
  119. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/phase1_proof_qc_contract.json +41 -41
  120. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/phase1_proof_repair_contract.json +41 -41
  121. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/phase2_proof_two_step_goal.json +15 -15
  122. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/run_proofs.py +299 -299
  123. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/test_normalizer.py +16 -16
  124. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/generator.py +239 -239
  125. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/handoff.py +86 -86
  126. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/impossibility.py +162 -162
  127. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/limits.py +60 -60
  128. letitloop-0.3.1/orchestrator/live_evolution_engine.py.metadata.json +4 -0
  129. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/llm.py +35 -2
  130. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/lock.py +433 -404
  131. letitloop-0.3.1/orchestrator/long_horizon_engine.py.metadata.json +4 -0
  132. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/memory_bridge.py +182 -182
  133. letitloop-0.3.1/orchestrator/micro_epoch.py.metadata.json +4 -0
  134. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/plan_preview.py +138 -138
  135. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/planner.py +802 -532
  136. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/preferences.py +115 -115
  137. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/preflight.py +141 -141
  138. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/process_guard.py +32 -4
  139. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/qc_overrule.py +87 -87
  140. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/qc_review.py +282 -282
  141. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/quality_lenses.py +314 -314
  142. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/quality_plan.py +449 -449
  143. letitloop-0.3.1/orchestrator/receipts.py +71 -0
  144. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/reconcile.py +191 -191
  145. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/replanner.py +433 -433
  146. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/review_artifact.py +672 -672
  147. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/safety.py +413 -271
  148. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/schemas.py +174 -230
  149. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/scope.py +466 -466
  150. letitloop-0.3.1/orchestrator/sensory_radar.py.metadata.json +4 -0
  151. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/state.py +65 -23
  152. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/supervisor/core.py +15 -0
  153. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/supervisor/recovery.py +4 -1
  154. letitloop-0.3.1/orchestrator/swe_benchmark_suite.py.metadata.json +4 -0
  155. letitloop-0.3.1/orchestrator/swe_reproduction_runner.py.metadata.json +4 -0
  156. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/telemetry.py +23 -0
  157. letitloop-0.3.1/orchestrator/thinking_benchmark.py.metadata.json +4 -0
  158. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/token_gate.py +245 -245
  159. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/verifier.py +62 -15
  160. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/worker.py +469 -469
  161. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/worker_adapters.py +100 -149
  162. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/worker_pool.py +121 -121
  163. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/worktree.py +22 -1
  164. {letitloop-0.2.0 → letitloop-0.3.1}/pyproject.toml +4 -4
  165. {letitloop-0.2.0 → letitloop-0.3.1}/pytest.ini +10 -10
  166. {letitloop-0.2.0 → letitloop-0.3.1}/requirements-ci.txt +6 -6
  167. {letitloop-0.2.0 → letitloop-0.3.1}/setup.cfg +4 -4
  168. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_adversarial_audit.py +0 -29
  169. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_ast_comment_retention.py +65 -65
  170. letitloop-0.3.1/tests/test_ast_comment_retention.py.metadata.json +4 -0
  171. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_ast_node_splicer.py +18 -16
  172. letitloop-0.3.1/tests/test_ast_node_splicer.py.metadata.json +4 -0
  173. letitloop-0.3.1/tests/test_auto_healer.py +101 -0
  174. letitloop-0.3.1/tests/test_auto_healer.py.metadata.json +4 -0
  175. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_benchmarks.py +10 -17
  176. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_cli.py +50 -33
  177. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_cli_failure_report.py +9 -6
  178. letitloop-0.3.1/tests/test_cloud_watchdog.py +64 -0
  179. letitloop-0.3.1/tests/test_cloud_watchdog.py.metadata.json +4 -0
  180. letitloop-0.3.1/tests/test_durable_decorator.py +115 -0
  181. letitloop-0.3.1/tests/test_durable_decorator.py.metadata.json +4 -0
  182. letitloop-0.3.1/tests/test_engine_improvements.py +267 -0
  183. letitloop-0.3.1/tests/test_fast_sandbox.py.metadata.json +4 -0
  184. letitloop-0.3.1/tests/test_hardened_evolution_pipeline.py.metadata.json +4 -0
  185. letitloop-0.3.1/tests/test_hardening_batch3.py +292 -0
  186. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_hybrid_worker.py +16 -0
  187. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_integration.py +1 -1
  188. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_live_proofs.py +1 -1
  189. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_lock.py +5 -6
  190. letitloop-0.3.1/tests/test_long_horizon_and_swe_runner.py.metadata.json +4 -0
  191. letitloop-0.3.1/tests/test_opencode_gateway.py.metadata.json +4 -0
  192. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_plan_gate.py +1 -1
  193. letitloop-0.3.1/tests/test_pr_verification_scenarios.py.metadata.json +4 -0
  194. letitloop-0.3.1/tests/test_thinking_benchmark.py.metadata.json +4 -0
  195. letitloop-0.3.1/tests/test_token_gate.py +55 -0
  196. letitloop-0.3.1/tests/test_token_gate.py.metadata.json +4 -0
  197. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_wal_corruption_recovery.py +10 -2
  198. letitloop-0.3.1/tests/test_worker_adapters_extended.py +135 -0
  199. letitloop-0.2.0/letitloop.egg-info/top_level.txt +0 -1
  200. letitloop-0.2.0/orchestrator/approval.py +0 -139
  201. letitloop-0.2.0/orchestrator/experimental/arena_arbiter.py +0 -260
  202. letitloop-0.2.0/orchestrator/experimental/fuzz_engine.py +0 -206
  203. letitloop-0.2.0/orchestrator/experimental/mutation_tester.py +0 -382
  204. letitloop-0.2.0/orchestrator/mcp_server.py +0 -344
  205. letitloop-0.2.0/orchestrator/prometheus_exporter.py +0 -207
  206. letitloop-0.2.0/orchestrator/provenance.py +0 -263
  207. letitloop-0.2.0/orchestrator/skill_installer.py +0 -140
  208. letitloop-0.2.0/orchestrator/templates.py +0 -268
  209. letitloop-0.2.0/orchestrator/tui.py +0 -649
  210. letitloop-0.2.0/tests/test_experimental_arena_arbiter.py +0 -85
  211. letitloop-0.2.0/tests/test_experimental_mutation_tester.py +0 -305
  212. letitloop-0.2.0/tests/test_mcp_server.py +0 -102
  213. letitloop-0.2.0/tests/test_prometheus_exporter.py +0 -207
  214. letitloop-0.2.0/tests/test_provenance.py +0 -195
  215. letitloop-0.2.0/tests/test_skill.py +0 -73
  216. letitloop-0.2.0/tests/test_templates.py +0 -131
  217. letitloop-0.2.0/tests/test_tui.py +0 -385
  218. {letitloop-0.2.0 → letitloop-0.3.1}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  219. {letitloop-0.2.0 → letitloop-0.3.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  220. {letitloop-0.2.0 → letitloop-0.3.1}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  221. {letitloop-0.2.0 → letitloop-0.3.1}/.github/dependabot.yml +0 -0
  222. {letitloop-0.2.0 → letitloop-0.3.1}/.github/release-drafter.yml +0 -0
  223. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/ci.yml +0 -0
  224. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/codeql.yml +0 -0
  225. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/dependency-review.yml +0 -0
  226. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/issue-claim.yml +0 -0
  227. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/letitloop-verify.yml +0 -0
  228. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/pages.yml +0 -0
  229. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/release-pypi.yml +0 -0
  230. {letitloop-0.2.0 → letitloop-0.3.1}/.github/workflows/welcome-bot.yml +0 -0
  231. {letitloop-0.2.0 → letitloop-0.3.1}/CHANGELOG.md +0 -0
  232. {letitloop-0.2.0 → letitloop-0.3.1}/docs/MCP_GUIDE.md +0 -0
  233. {letitloop-0.2.0 → letitloop-0.3.1}/docs/SKILL_GUIDE.md +0 -0
  234. {letitloop-0.2.0 → letitloop-0.3.1}/docs/adr/0001-write-ahead-logging.md +0 -0
  235. {letitloop-0.2.0 → letitloop-0.3.1}/docs/adr/0002-deterministic-verifiers.md +0 -0
  236. {letitloop-0.2.0 → letitloop-0.3.1}/docs/adr/0003-headless-cli-adapters.md +0 -0
  237. {letitloop-0.2.0 → letitloop-0.3.1}/docs/adr/0004-format-aware-acceptance-checks.md +0 -0
  238. {letitloop-0.2.0 → letitloop-0.3.1}/docs/adr/README.md +0 -0
  239. {letitloop-0.2.0 → letitloop-0.3.1}/docs/adr/template.md +0 -0
  240. {letitloop-0.2.0 → letitloop-0.3.1}/letitloop.egg-info/dependency_links.txt +0 -0
  241. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/SKILL.md +0 -0
  242. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/anti_ouroboros.py +0 -0
  243. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/ast_splicer.py +0 -0
  244. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/checkpoint.py +0 -0
  245. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/codebase_introspector.py +0 -0
  246. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/contract.py +0 -0
  247. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/dag_validator.py +0 -0
  248. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/elasticity_governor.py +0 -0
  249. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/events.py +0 -0
  250. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fast_sandbox.py +0 -0
  251. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/feasibility_gate.py +0 -0
  252. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/fixtures/__init__.py +0 -0
  253. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/goal.py +0 -0
  254. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/hybrid_worker.py +0 -0
  255. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/live_evolution_engine.py +0 -0
  256. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/local_tool_calling.py +0 -0
  257. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/mcp_client.py +0 -0
  258. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/metrics.py +0 -0
  259. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/micro_epoch.py +0 -0
  260. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/models.py +0 -0
  261. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/parsing.py +0 -0
  262. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/patch_applier.py +0 -0
  263. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/plan_quality.py +0 -0
  264. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/prompts.py +0 -0
  265. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/proposal_ledger.py +0 -0
  266. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/provider_scheduler.py +0 -0
  267. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/qc/__init__.py +0 -0
  268. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/qc/aggregator.py +0 -0
  269. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/qc/parsing.py +0 -0
  270. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/qc/personas.py +0 -0
  271. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/qc/runner.py +0 -0
  272. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/quality_plane.py +0 -0
  273. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/research.py +0 -0
  274. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/sensory_radar.py +0 -0
  275. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/sse_server.py +0 -0
  276. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/subprocess_helper.py +0 -0
  277. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/supervisor/__init__.py +0 -0
  278. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/supervisor/_shared.py +0 -0
  279. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/supervisor/cleanup.py +0 -0
  280. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/supervisor/reporting.py +0 -0
  281. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/surgical_extractor.py +0 -0
  282. {letitloop-0.2.0 → letitloop-0.3.1}/orchestrator/webhooks.py +0 -0
  283. {letitloop-0.2.0 → letitloop-0.3.1}/tests/__init__.py +0 -0
  284. {letitloop-0.2.0 → letitloop-0.3.1}/tests/fault_injection.py +0 -0
  285. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_agent_loop_profiles.py +0 -0
  286. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_anti_ouroboros.py +0 -0
  287. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_audit.py +0 -0
  288. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_budget.py +0 -0
  289. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_budget_enforcement_e2e.py +0 -0
  290. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_checkpoint.py +0 -0
  291. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_checkpoint_apply_e2e.py +0 -0
  292. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_cli_doctor.py +0 -0
  293. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_cli_phase3.py +0 -0
  294. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_codebase_introspector.py +0 -0
  295. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_component_slicer.py +0 -0
  296. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_config.py +0 -0
  297. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_contract.py +0 -0
  298. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_dag_validator.py +0 -0
  299. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_docker_sandbox.py +0 -0
  300. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_dryrun.py +0 -0
  301. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_elasticity_governor.py +0 -0
  302. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_errors.py +0 -0
  303. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_event_wiring.py +0 -0
  304. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_evidence_flow.py +0 -0
  305. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_evidence_flow_cli.py +0 -0
  306. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_evidence_ledger.py +0 -0
  307. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_exception_containment.py +0 -0
  308. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_failure.py +0 -0
  309. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_fast_sandbox.py +0 -0
  310. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_fault_injection.py +0 -0
  311. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_fault_injection_adversarial.py +0 -0
  312. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_feasibility_gate.py +0 -0
  313. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_feedback.py +0 -0
  314. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_generator.py +0 -0
  315. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_goal.py +0 -0
  316. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_handoff.py +0 -0
  317. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_impossibility.py +0 -0
  318. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_limits.py +0 -0
  319. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_live_evolution.py +0 -0
  320. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_live_evolution_feasibility.py +0 -0
  321. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_live_smoke.py +0 -0
  322. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_local_tool_calling.py +0 -0
  323. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_mcp_client.py +0 -0
  324. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_mcp_concurrency.py +0 -0
  325. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_memory_bridge.py +0 -0
  326. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_metrics.py +0 -0
  327. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_micro_epoch.py +0 -0
  328. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_operator_controls.py +0 -0
  329. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_parsing.py +0 -0
  330. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_patch_applier.py +0 -0
  331. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_performance_and_trace.py +0 -0
  332. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_plan_quality.py +0 -0
  333. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_planner.py +0 -0
  334. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_pr_verification_scenarios.py +0 -0
  335. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_preflight.py +0 -0
  336. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_process_guard.py +0 -0
  337. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_prompts.py +0 -0
  338. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_proposal_ledger.py +0 -0
  339. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_provider_scheduler.py +0 -0
  340. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_qc_overrule.py +0 -0
  341. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_qc_paths.py +0 -0
  342. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_qplane_fail_closed.py +0 -0
  343. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_quality_plan.py +0 -0
  344. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_quality_plane.py +0 -0
  345. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_quality_spec_propagation.py +0 -0
  346. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_recipes.py +0 -0
  347. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_reconcile.py +0 -0
  348. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_replan_evidence.py +0 -0
  349. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_replanner.py +0 -0
  350. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_replanner_integration_e2e.py +0 -0
  351. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_research_providers.py +0 -0
  352. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_retry_metadata.py +0 -0
  353. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_review_artifact.py +0 -0
  354. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_safety.py +0 -0
  355. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_schemas.py +0 -0
  356. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_scope.py +0 -0
  357. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_sensory_radar.py +0 -0
  358. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_state.py +0 -0
  359. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_state_coverage_expansion.py +0 -0
  360. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_subprocess_helper.py +0 -0
  361. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_supervisor.py +0 -0
  362. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_supervisor_resume.py +0 -0
  363. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_surgical_slicing.py +0 -0
  364. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_telemetry.py +0 -0
  365. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_unit_expansion.py +0 -0
  366. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_verifier.py +0 -0
  367. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_verifier_ast_fuzz.py +0 -0
  368. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_verifier_hardening.py +0 -0
  369. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_webhooks.py +0 -0
  370. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_worker.py +0 -0
  371. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_worker_adapters.py +0 -0
  372. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_worker_escaping.py +0 -0
  373. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_worker_pool.py +0 -0
  374. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_worktree.py +0 -0
  375. {letitloop-0.2.0 → letitloop-0.3.1}/tests/test_worktree_sandbox.py +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 sdageltc (sdageltc)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 sdageltc (sdageltc)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,38 +1,38 @@
1
- # Include the README file
2
- include README.md
3
-
4
- # Include the license file
5
- include LICENSE
6
-
7
- # Include the CHANGELOG file
8
- include CHANGELOG.md
9
-
10
- # Include configuration files
11
- include pyproject.toml
12
- include pytest.ini
13
- include requirements-ci.txt
14
-
15
- # Include any data files
16
- recursive-include orchestrator *.py *.json *.yaml *.yml *.txt *.md
17
-
18
- # Include tests
19
- recursive-include tests *.py *.json *.yaml *.yml *.txt
20
-
21
- # Include documentation
22
- recursive-include docs *.py *.rst *.md *.txt
23
-
24
- # Include GitHub workflows
25
- recursive-include .github *.yml *.yaml
26
-
27
- # Exclude scratch and build artifacts
28
- recursive-exclude scratch *
29
- recursive-exclude * __pycache__
30
- recursive-exclude * *.py[cod]
31
- recursive-exclude * *.so
32
- recursive-exclude * .pytest_cache
33
- recursive-exclude * .coverage
34
- recursive-exclude * htmlcov
35
- recursive-exclude * .benchmarks
36
- recursive-exclude * build
37
- recursive-exclude * dist
38
- recursive-exclude * *.egg-info
1
+ # Include the README file
2
+ include README.md
3
+
4
+ # Include the license file
5
+ include LICENSE
6
+
7
+ # Include the CHANGELOG file
8
+ include CHANGELOG.md
9
+
10
+ # Include configuration files
11
+ include pyproject.toml
12
+ include pytest.ini
13
+ include requirements-ci.txt
14
+
15
+ # Include any data files
16
+ recursive-include orchestrator *.py *.json *.yaml *.yml *.txt *.md
17
+
18
+ # Include tests
19
+ recursive-include tests *.py *.json *.yaml *.yml *.txt
20
+
21
+ # Include documentation
22
+ recursive-include docs *.py *.rst *.md *.txt
23
+
24
+ # Include GitHub workflows
25
+ recursive-include .github *.yml *.yaml
26
+
27
+ # Exclude scratch and build artifacts
28
+ recursive-exclude scratch *
29
+ recursive-exclude * __pycache__
30
+ recursive-exclude * *.py[cod]
31
+ recursive-exclude * *.so
32
+ recursive-exclude * .pytest_cache
33
+ recursive-exclude * .coverage
34
+ recursive-exclude * htmlcov
35
+ recursive-exclude * .benchmarks
36
+ recursive-exclude * build
37
+ recursive-exclude * dist
38
+ recursive-exclude * *.egg-info
@@ -1,232 +1,255 @@
1
- Metadata-Version: 2.4
2
- Name: letitloop
3
- Version: 0.2.0
4
- Summary: Deterministic verification harness and crash-safe execution gate for AI coding agents
5
- Author-email: sdageltc <sdageltc@users.noreply.github.com>
6
- License: MIT
7
- Project-URL: Homepage, https://sdageltc.github.io/letitloop/
8
- Project-URL: Documentation, https://github.com/sdageltc/letitloop#readme
9
- Project-URL: Repository, https://github.com/sdageltc/letitloop
10
- Project-URL: Bug Tracker, https://github.com/sdageltc/letitloop/issues
11
- Project-URL: Discussions, https://github.com/sdageltc/letitloop/discussions
12
- Keywords: autonomous-agents,agent-loop,mcp,mcp-server,docker-sandbox,worktree,process-guard,tui,prometheus,webhooks,claude-code,cursor,antigravity,hermes-agent,opencode,cline,windsurf,codex,openai-codex,dag-planner,coding-agent,orchestration,zero-trust-verification,quality-plane,local-llm,ollama
13
- Classifier: Development Status :: 4 - Beta
14
- Classifier: Intended Audience :: Developers
15
- Classifier: Intended Audience :: Science/Research
16
- Classifier: License :: OSI Approved :: MIT License
17
- Classifier: Operating System :: OS Independent
18
- Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.11
20
- Classifier: Programming Language :: Python :: 3.12
21
- Classifier: Topic :: Software Development :: Build Tools
22
- Classifier: Topic :: Software Development :: Code Generators
23
- Classifier: Topic :: Software Development :: Testing
24
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
- Requires-Python: >=3.11
26
- Description-Content-Type: text/markdown
27
- License-File: LICENSE
28
- Requires-Dist: pyyaml>=6.0
29
- Requires-Dist: jsonschema>=4.0.0
30
- Provides-Extra: dev
31
- Requires-Dist: pytest>=7.0; extra == "dev"
32
- Requires-Dist: pytest-cov>=4.0; extra == "dev"
33
- Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
34
- Requires-Dist: jsonschema>=4.0.0; extra == "dev"
35
- Requires-Dist: ruff>=0.1.0; extra == "dev"
36
- Requires-Dist: bandit>=1.7.5; extra == "dev"
37
- Requires-Dist: pre-commit>=3.0; extra == "dev"
38
- Provides-Extra: openai
39
- Requires-Dist: openai>=1.0.0; extra == "openai"
40
- Provides-Extra: anthropic
41
- Requires-Dist: anthropic>=0.18.0; extra == "anthropic"
42
- Provides-Extra: google
43
- Requires-Dist: google-generativeai>=0.4.0; extra == "google"
44
- Provides-Extra: all-providers
45
- Requires-Dist: openai>=1.0.0; extra == "all-providers"
46
- Requires-Dist: anthropic>=0.18.0; extra == "all-providers"
47
- Requires-Dist: google-generativeai>=0.4.0; extra == "all-providers"
48
- Provides-Extra: telemetry
49
- Requires-Dist: opentelemetry-api>=1.20; extra == "telemetry"
50
- Requires-Dist: opentelemetry-sdk>=1.20; extra == "telemetry"
51
- Requires-Dist: prometheus-client>=0.19; extra == "telemetry"
52
- Dynamic: license-file
53
-
54
- <p align="center">
55
- <img src="assets/logo.png" alt="let it loop (LIL)" width="340" style="border-radius: 20px;">
56
- </p>
57
-
58
- <div align="center">
59
-
60
- # let it loop (LIL)
61
-
62
- **Autonomous macro-task orchestration & verification control loop for AI coding agents: 2ms WAL crash durability, source-span AST self-evolution, and deterministic proof gates.**
63
-
64
- [![PyPI version](https://img.shields.io/pypi/v/letitloop.svg?color=blue)](https://pypi.org/project/letitloop/)
65
- [![CI Matrix](https://github.com/sdageltc/letitloop/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sdageltc/letitloop/actions/workflows/ci.yml)
66
- [![GitHub Marketplace](https://img.shields.io/badge/Marketplace-LetItLoop_Action-blue?logo=github)](https://github.com/marketplace/actions/letitloop-proof-carrying-pr-verification-gate)
67
- [![Benchmark](https://img.shields.io/badge/DCP--1.0-Durability_Bench-green)](https://github.com/sdageltc/agent-durability-bench)
68
- [![Python 3.11+](https://img.shields.io/badge/python-3.11%20%7C%203.12-blue.svg)](https://www.python.org/downloads/)
69
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
70
-
71
- [Architecture](docs/index.html) • [Quickstart](#quickstart) • [Marketplace Action](https://github.com/sdageltc/letitloop-action) • [Crash Benchmark](https://github.com/sdageltc/agent-durability-bench) • [Worker Adapters](#supported-worker-adapters--gateways) • [Cookbook](#recipes--cookbooks)
72
-
73
- </div>
74
-
75
- ---
76
-
77
- ## The LetItLoop Tripartite Ecosystem
78
-
79
- LetItLoop solves the central failure mode of autonomous AI coding agents: **the lack of deterministic verification, uncatchable mid-task SIGKILL crashes, and destructive whole-file rewrites**.
80
-
81
- ```mermaid
82
- graph TD
83
- subgraph "The Tripartite Ecosystem"
84
- LL["<b>letitloop</b> (Core Engine)<br/>Deterministic WAL plumbing, AST node splicer and FastSandbox"]
85
- LLA["<b>letitloop-action</b> (Marketplace)<br/>Drop-in CI gate signing proof bundles on Pull Requests"]
86
- ADB["<b>agent-durability-bench</b> (DCP-1.0)<br/>Open benchmark measuring agent recovery under SIGKILL faults"]
87
- end
88
-
89
- LL -.->|"bridges to"| ADB
90
- LL -.->|"scaffolds"| LLA
91
- ```
92
-
93
- 1. **[`letitloop`](https://github.com/sdageltc/letitloop)**: The core engine providing sub-2ms Write-Ahead Logging (WAL) state journals, source-span AST node splicing (0% comment loss), in-memory Zero-Copy fast sandboxing, and deterministic verification gates.
94
- 2. **[`letitloop-action`](https://github.com/sdageltc/letitloop-action)**: Standalone GitHub Action for CI that validates AI pull requests, enforces strict AST signatures, and posts machine-verifiable proof bundles directly to PR comments.
95
- 3. **[`agent-durability-bench`](https://github.com/sdageltc/agent-durability-bench)**: An open benchmark suite implementing Durability Challenge Protocol 1.0 (DCP-1.0) with zero-API synthetic simulation to measure how well agents recover from uncatchable SIGKILL crashes.
96
-
97
- ---
98
-
99
- ## Key Capabilities
100
-
101
- - **Source-Span AST Node Splicer**: Replaces targeted functions and class methods with surgical precision. **0% Comment Loss**: Guarantees module docstrings, file comments, licensing headers, and class indentation are never stripped or altered.
102
- - **In-Memory Fast Sandbox**: Zero-Copy `sys.modules` evaluation and Windows Job Object containment that verifies code hypotheses in-memory before writing anything to disk.
103
- - **Fault-Tolerant WAL Supervisor Loop**: State journal with WAL (Write-Ahead Logging), crash recovery, atomic Win32/POSIX file locking, and bounded 3-strike retries with strategy mutation.
104
- - **Cognitive Feasibility Gate & Multi-Source Research**: Deliberates whether a refactor is safe to perform autonomously or requires background research across arXiv, GitHub, and DuckDuckGo.
105
- - **Human-in-the-Loop Proposal Ledger**: Automatically stages deferred, high-risk architectural proposals as structured markdown artifacts (`PROP-*.md`) for human review rather than executing unverified mutations.
106
- - **Zero-Trust Verification Engine**: Deterministic acceptance check kinds (AST syntax parsers, command exit-code assertions, regex matchers, file validators, size bounds, and undeclared output detectors).
107
- - **12 Pluggable Worker Adapters**: Native interfaces for Claude Code, OpenAI Codex, Google Antigravity (`agy`), OpenCode, Hermes Agent, Cline, Aider, Docker Sandboxes, Local LLMs (Ollama/vLLM), Omniroute gateways, local scripts, and direct LLMs.
108
- - **Native Model Context Protocol (MCP) Server & Client**: 8 stdio JSON-RPC tools connecting directly with Claude Code, OpenAI Codex, Cursor, Google Antigravity, and Hermes Agent.
109
- - **Cross-Platform Process Orphan Guard**: Windows Job Objects (`win32job`) and POSIX session process-group containment ensuring complete cleanup of child/grandchild processes.
110
- - **Prometheus Observability & Signed Webhooks**: Native Prometheus metrics exporter, lifecycle event bus, SSE streaming, and HMAC-SHA256 signed webhook dispatcher.
111
-
112
- ---
113
-
114
- ## Quickstart
115
-
116
- ### 1. Installation
117
-
118
- ```bash
119
- # Install letitloop core engine
120
- pip install letitloop
121
-
122
- # Or install with all development and worker dependencies
123
- pip install "letitloop[dev]"
124
- ```
125
-
126
- ### 2. Basic CLI Usage
127
-
128
- ```bash
129
- # Propose a contract DAG from a natural language objective
130
- lil propose "Build a rate limiter middleware with unit tests" --run
131
-
132
- # Bridge to the agent durability benchmark
133
- lil bench --steps 5
134
-
135
- # Scaffold a production GitHub Action PR verification workflow
136
- lil action --init
137
-
138
- # Inspect live supervisor status, WAL journal, and active checkpoints
139
- lil status
140
-
141
- # Run deterministic reconciliation audit across workspace files
142
- lil reconcile <goal_id>
143
- ```
144
-
145
- ---
146
-
147
- ## Supported Worker Adapters & Gateways
148
-
149
- | Worker Adapter | Identifier | Description | Tier |
150
- |---|---|---|---|
151
- | **Google Antigravity CLI** | `antigravity-cli` | Invokes the official `agy` agent runner safely | **Tier-1 (Core)** |
152
- | **Claude Code CLI** | `claude-code` | Autonomous task execution via Claude Code CLI | **Tier-1 (Core)** |
153
- | **OpenAI Codex CLI** | `codex` | Autonomous task execution via OpenAI Codex CLI | **Tier-1 (Core)** |
154
- | **Mock Worker** | `mock` | Deterministic simulation worker for CI and offline tests | **Tier-1 (Core)** |
155
- | **OpenCode CLI** | `opencode` | Autonomous execution via OpenCode agent CLI | Tier-2 (Contrib) |
156
- | **Hermes Agent CLI** | `hermes` | Autonomous execution via Nous Research Hermes agent CLI | Tier-2 (Contrib) |
157
- | **Cline CLI** | `cline` | Headless execution via Cline autonomous coding runner | Tier-2 (Contrib) |
158
- | **Aider Pair Programmer** | `aider` | Pair programming execution via Aider CLI | Tier-2 (Contrib) |
159
- | **Docker Sandbox Worker** | `docker` | Isolated execution inside container runtime with workspace scoping | Tier-2 (Contrib) |
160
- | **Local LLM Tool Caller** | `local-tool` | Local tool-calling model adapter for offline Ollama/vLLM loops | Tier-2 (Contrib) |
161
- | **Omniroute Gateway** | `omniroute` | Multi-model fallback routing through local/remote gateways | Tier-2 (Contrib) |
162
- | **Script Worker** | `script` | Executes local shell/Python automation scripts with env isolation | Tier-2 (Contrib) |
163
- | **Direct LLM APIs** | `direct` | In-process calls to Gemini, OpenAI, Anthropic, DeepSeek, or Ollama | Tier-2 (Contrib) |
164
-
165
- ---
166
-
167
- ## Model Context Protocol (MCP) Integration
168
-
169
- LetItLoop runs natively as an MCP server providing 8 JSON-RPC tools to AI agent runners:
170
-
171
- ```json
172
- {
173
- "mcpServers": {
174
- "letitloop": {
175
- "command": "letitloop-mcp",
176
- "env": {
177
- "WORKER_MODEL": "gemini:gemini-3.7-flash",
178
- "QC_MODEL": "gemini:gemini-3.1-pro"
179
- }
180
- }
181
- }
182
- }
183
- ```
184
-
185
- #### Add to Claude Code
186
- ```bash
187
- claude mcp add letitloop -- python -m orchestrator.mcp_server
188
- ```
189
-
190
- ---
191
-
192
- ## Recipes & Cookbooks
193
-
194
- The [`recipes/`](recipes/README.md) cookbook provides end-to-end, schema-validated walkthroughs:
195
-
196
- | Recipe | Focus |
197
- |---|---|
198
- | [**01 - Legacy Codebase Refactor**](recipes/01-legacy-codebase-refactor/README.md) | Refactor under `pytest` + `ruff` acceptance gates with scope fencing and bounded retries |
199
- | [**02 - FastAPI CRUD Generator**](recipes/02-fastapi-crud-generator/README.md) | Feature decomposition into a 4-contract DAG chained with `depends_on` |
200
- | [**03 - Offline Local LLM Loop**](recipes/03-offline-local-llm-loop/README.md) | Zero-cloud-key runs via Ollama (`local-tool`) and the `docker` sandbox adapter |
201
- | [**04 - Multi-Agent QC Audit**](recipes/04-multi-agent-qc-audit/README.md) | Multi-lens quality plane: panels, arbitration, budgets, and `quality_spec` |
202
-
203
- Validate all embedded example contracts anytime with `pytest tests/test_recipes.py -q`.
204
-
205
- ---
206
-
207
- ## Living Architecture Decision Records (ADRs)
208
-
209
- Following the Michael Nygard ADR convention, all core design invariants and architectural decisions are codified:
210
-
211
- | ADR | Focus | Status |
212
- |---|---|---|
213
- | [**ADR-0001**](docs/adr/0001-write-ahead-logging.md) | **Write-Ahead Logging (WAL) & Zero-State Recovery** | `accepted` |
214
- | [**ADR-0002**](docs/adr/0002-deterministic-verifiers.md) | **Deterministic AST, Regex & Exit-Code Verification Gates** | `accepted` |
215
- | [**ADR-0003**](docs/adr/0003-headless-cli-adapters.md) | **Zero-API-Key Headless Agent CLI Wrapper Failovers** | `accepted` |
216
- | [**ADR-0004**](docs/adr/0004-format-aware-acceptance-checks.md) | **Format-Aware Acceptance Check & Markdown Injection** | `accepted` |
217
-
218
- ---
219
-
220
- ## Security & Sandboxing Architecture
221
-
222
- `letitloop` operates under a zero-trust execution model:
223
- - **Redaction Firewall**: Automatic masking of PATs, OAuth keys, AWS credentials, GCP tokens, and PEM private keys.
224
- - **Environment Scrubbing**: Sensitive parent environment variables are stripped prior to worker execution.
225
- - **Scope Checking**: Userland filesystem snapshot diffing (`scope.py`) enforcing directory bounds and declared output paths.
226
- - **Process Isolation**: Process tree containment with Windows Job Objects (`JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE`) and POSIX session leadership.
227
-
228
- ---
229
-
230
- ## License
231
-
232
- Distributed under the MIT License. See [LICENSE](LICENSE) for more details.
1
+ Metadata-Version: 2.4
2
+ Name: letitloop
3
+ Version: 0.3.1
4
+ Summary: Deterministic verification harness and crash-safe execution gate for AI coding agents
5
+ Author-email: sdageltc <sdageltc@users.noreply.github.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://sdageltc.github.io/letitloop/
8
+ Project-URL: Documentation, https://github.com/sdageltc/letitloop#readme
9
+ Project-URL: Repository, https://github.com/sdageltc/letitloop
10
+ Project-URL: Bug Tracker, https://github.com/sdageltc/letitloop/issues
11
+ Project-URL: Discussions, https://github.com/sdageltc/letitloop/discussions
12
+ Keywords: autonomous-agents,agent-loop,mcp,mcp-server,docker-sandbox,worktree,process-guard,tui,prometheus,webhooks,claude-code,cursor,antigravity,hermes-agent,opencode,cline,windsurf,codex,openai-codex,dag-planner,coding-agent,orchestration,zero-trust-verification,quality-plane,local-llm,ollama
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Software Development :: Build Tools
22
+ Classifier: Topic :: Software Development :: Code Generators
23
+ Classifier: Topic :: Software Development :: Testing
24
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
+ Requires-Python: >=3.11
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ Requires-Dist: pyyaml>=6.0
29
+ Requires-Dist: jsonschema>=4.0.0
30
+ Provides-Extra: dev
31
+ Requires-Dist: pytest>=7.0; extra == "dev"
32
+ Requires-Dist: pytest-cov>=4.0; extra == "dev"
33
+ Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
34
+ Requires-Dist: pytest-xdist>=3.0; extra == "dev"
35
+ Requires-Dist: jsonschema>=4.0.0; extra == "dev"
36
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
37
+ Requires-Dist: bandit>=1.7.5; extra == "dev"
38
+ Requires-Dist: pre-commit>=3.0; extra == "dev"
39
+ Provides-Extra: openai
40
+ Requires-Dist: openai>=1.0.0; extra == "openai"
41
+ Provides-Extra: anthropic
42
+ Requires-Dist: anthropic>=0.18.0; extra == "anthropic"
43
+ Provides-Extra: google
44
+ Requires-Dist: google-generativeai>=0.4.0; extra == "google"
45
+ Provides-Extra: all-providers
46
+ Requires-Dist: openai>=1.0.0; extra == "all-providers"
47
+ Requires-Dist: anthropic>=0.18.0; extra == "all-providers"
48
+ Requires-Dist: google-generativeai>=0.4.0; extra == "all-providers"
49
+ Provides-Extra: telemetry
50
+ Requires-Dist: opentelemetry-api>=1.20; extra == "telemetry"
51
+ Requires-Dist: opentelemetry-sdk>=1.20; extra == "telemetry"
52
+ Requires-Dist: prometheus-client>=0.19; extra == "telemetry"
53
+ Dynamic: license-file
54
+
55
+ <p align="center">
56
+ <img src="assets/logo.png" alt="let it loop (LIL)" width="340" style="border-radius: 20px;">
57
+ </p>
58
+
59
+ <div align="center">
60
+
61
+ # let it loop (LIL)
62
+
63
+ **Autonomous macro-task orchestration & verification control loop for AI coding agents: 2ms WAL crash durability, source-span AST self-evolution, and deterministic proof gates.**
64
+
65
+ [![PyPI version](https://img.shields.io/pypi/v/letitloop.svg?color=blue)](https://pypi.org/project/letitloop/)
66
+ [![CI Matrix](https://github.com/sdageltc/letitloop/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sdageltc/letitloop/actions/workflows/ci.yml)
67
+ [![GitHub Marketplace](https://img.shields.io/badge/Marketplace-LetItLoop_Action-blue?logo=github)](https://github.com/marketplace/actions/letitloop-proof-carrying-pr-verification-gate)
68
+ [![Benchmark](https://img.shields.io/badge/DCP--1.0-Durability_Bench-green)](https://github.com/sdageltc/agent-durability-bench)
69
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%20%7C%203.12-blue.svg)](https://www.python.org/downloads/)
70
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
71
+
72
+ [Architecture](docs/index.html) • [Quickstart](#quickstart) • [Marketplace Action](https://github.com/sdageltc/letitloop-action) • [Crash Benchmark](https://github.com/sdageltc/agent-durability-bench) • [Worker Adapters](#supported-worker-adapters--gateways) • [Cookbook](#recipes--cookbooks)
73
+
74
+ </div>
75
+
76
+ ---
77
+
78
+ ## The LetItLoop Tripartite Ecosystem
79
+
80
+ LetItLoop solves the central failure mode of autonomous AI coding agents: **the lack of deterministic verification, uncatchable mid-task SIGKILL crashes, and destructive whole-file rewrites**.
81
+
82
+ ```mermaid
83
+ graph TD
84
+ subgraph "The Tripartite Ecosystem"
85
+ LL["<b>letitloop</b> (Core Engine)<br/>Deterministic WAL plumbing, AST node splicer and FastSandbox"]
86
+ LLA["<b>letitloop-action</b> (Marketplace)<br/>Drop-in CI gate signing proof bundles on Pull Requests"]
87
+ ADB["<b>agent-durability-bench</b> (DCP-1.0)<br/>Open benchmark measuring agent recovery under SIGKILL faults"]
88
+ end
89
+
90
+ LL -.->|"bridges to"| ADB
91
+ LL -.->|"scaffolds"| LLA
92
+ ```
93
+
94
+ 1. **[`letitloop`](https://github.com/sdageltc/letitloop)**: The core engine providing sub-2ms Write-Ahead Logging (WAL) state journals, source-span AST node splicing (0% comment loss), in-memory Zero-Copy fast sandboxing, and deterministic verification gates.
95
+ 2. **[`letitloop-action`](https://github.com/sdageltc/letitloop-action)**: Standalone GitHub Action for CI that validates AI pull requests, enforces strict AST signatures, and posts machine-verifiable proof bundles directly to PR comments.
96
+ 3. **[`agent-durability-bench`](https://github.com/sdageltc/agent-durability-bench)**: An open benchmark suite implementing Durability Challenge Protocol 1.0 (DCP-1.0) with zero-API synthetic simulation to measure how well agents recover from uncatchable SIGKILL crashes.
97
+
98
+ ---
99
+
100
+ ## Key Capabilities
101
+
102
+ - **Source-Span AST Node Splicer**: Replaces targeted functions and class methods with surgical precision. **0% Comment Loss**: Guarantees module docstrings, file comments, licensing headers, and class indentation are never stripped or altered.
103
+ - **In-Memory Fast Sandbox**: Zero-Copy `sys.modules` evaluation and Windows Job Object containment that verifies code hypotheses in-memory before writing anything to disk.
104
+ - **Fault-Tolerant WAL Supervisor Loop**: State journal with WAL (Write-Ahead Logging), crash recovery, atomic Win32/POSIX file locking, and bounded 3-strike retries with strategy mutation.
105
+ - **Cognitive Feasibility Gate & Multi-Source Research**: Deliberates whether a refactor is safe to perform autonomously or requires background research across arXiv, GitHub, and DuckDuckGo.
106
+ - **Human-in-the-Loop Proposal Ledger**: Automatically stages deferred, high-risk architectural proposals as structured markdown artifacts (`PROP-*.md`) for human review rather than executing unverified mutations.
107
+ - **Zero-Trust Verification Engine**: Deterministic acceptance check kinds (AST syntax parsers, command exit-code assertions, regex matchers, file validators, size bounds, and undeclared output detectors).
108
+ - **12 Pluggable Worker Adapters**: Native interfaces for Claude Code, OpenAI Codex, Google Antigravity (`agy`), OpenCode, Hermes Agent, Cline, Aider, Docker Sandboxes, Local LLMs (Ollama/vLLM), Omniroute gateways, local scripts, and direct LLMs.
109
+ - **Native Model Context Protocol (MCP) Server & Client**: 8 stdio JSON-RPC tools connecting directly with Claude Code, OpenAI Codex, Cursor, Google Antigravity, and Hermes Agent.
110
+ - **Cross-Platform Process Orphan Guard**: Windows Job Objects (`win32job`) and POSIX session process-group containment ensuring complete cleanup of child/grandchild processes.
111
+ - **Prometheus Observability & Signed Webhooks**: Native Prometheus metrics exporter, lifecycle event bus, SSE streaming, and HMAC-SHA256 signed webhook dispatcher.
112
+
113
+ ---
114
+
115
+ ## Quickstart
116
+
117
+ ### 1. The `@durable` Python Decorator (Drop-in Durability)
118
+
119
+ Embed LetItLoop's crash-resilient WAL kernel directly into your Python functions, LangGraph nodes, or CrewAI agents:
120
+
121
+ ```python
122
+ from letitloop import durable, step, atomic_marker
123
+
124
+ @durable(goal_id="customer_sync")
125
+ def main():
126
+ # If your script crashes or gets SIGKILLed midway,
127
+ # completed steps are skipped on resume. Zero duplicate tokens wasted.
128
+ user = step("fetch_user", fetch_crm_record, user_id=123)
129
+ summary = step("llm_summarize", call_claude, user)
130
+
131
+ # Guard external mutations against duplicate execution
132
+ with atomic_marker("slack_notification") as should_execute:
133
+ if should_execute:
134
+ step("post_slack", notify_team, summary)
135
+
136
+ if __name__ == "__main__":
137
+ main()
138
+ ```
139
+
140
+ > **⚠️ Resume Semantics Notice**: LetItLoop provides zero-server, single-file WAL durability. Completed steps are never re-executed (**0% duplicate token waste** on finished work). In-flight steps re-execute at-least-once. Design steps to be idempotent or protect external API mutations using LetItLoop's `atomic_marker` primitive.
141
+
142
+ ### 2. Installation
143
+
144
+ ```bash
145
+ # Install letitloop core engine
146
+ pip install letitloop
147
+
148
+ # Or install with development and conformance tooling
149
+ pip install "letitloop[dev]"
150
+ ```
151
+
152
+ ### 3. Basic CLI Usage
153
+
154
+ ```bash
155
+ # Execute DCP-2.0 durability conformance matrix
156
+ lil bench --matrix
157
+
158
+ # Fast pre-push code repair and AST check
159
+ lil heal --target orchestrator/state.py
160
+
161
+ # Inspect supervisor status, WAL journal, and active checkpoints
162
+ lil status
163
+
164
+ # Scaffold a production GitHub Action PR verification workflow
165
+ lil action --init
166
+ ```
167
+
168
+ ---
169
+
170
+ ## Supported Worker Adapters & Gateways
171
+
172
+ | Worker Adapter | Identifier | Description | Tier |
173
+ |---|---|---|---|
174
+ | **Google Antigravity CLI** | `antigravity-cli` | Invokes the official `agy` agent runner safely | **Tier-1 (Core)** |
175
+ | **Claude Code CLI** | `claude-code` | Autonomous task execution via Claude Code CLI | **Tier-1 (Core)** |
176
+ | **OpenAI Codex CLI** | `codex` | Autonomous task execution via OpenAI Codex CLI | **Tier-1 (Core)** |
177
+ | **Mock Worker** | `mock` | Deterministic simulation worker for CI and offline tests | **Tier-1 (Core)** |
178
+ | **OpenCode CLI** | `opencode` | Autonomous execution via OpenCode agent CLI | Tier-2 (Contrib) |
179
+ | **Hermes Agent CLI** | `hermes` | Autonomous execution via Nous Research Hermes agent CLI | Tier-2 (Contrib) |
180
+ | **Cline CLI** | `cline` | Headless execution via Cline autonomous coding runner | Tier-2 (Contrib) |
181
+ | **Aider Pair Programmer** | `aider` | Pair programming execution via Aider CLI | Tier-2 (Contrib) |
182
+ | **Docker Sandbox Worker** | `docker` | Isolated execution inside container runtime with workspace scoping | Tier-2 (Contrib) |
183
+ | **Local LLM Tool Caller** | `local-tool` | Local tool-calling model adapter for offline Ollama/vLLM loops | Tier-2 (Contrib) |
184
+ | **Omniroute Gateway** | `omniroute` | Multi-model fallback routing through local/remote gateways | Tier-2 (Contrib) |
185
+ | **Script Worker** | `script` | Executes local shell/Python automation scripts with env isolation | Tier-2 (Contrib) |
186
+ | **Direct LLM APIs** | `direct` | In-process calls to Gemini, OpenAI, Anthropic, DeepSeek, or Ollama | Tier-2 (Contrib) |
187
+
188
+ ---
189
+
190
+ ## Model Context Protocol (MCP) Integration
191
+
192
+ LetItLoop runs natively as an MCP server providing 8 JSON-RPC tools to AI agent runners:
193
+
194
+ ```json
195
+ {
196
+ "mcpServers": {
197
+ "letitloop": {
198
+ "command": "letitloop-mcp",
199
+ "env": {
200
+ "WORKER_MODEL": "gemini:gemini-3.7-flash",
201
+ "QC_MODEL": "gemini:gemini-3.1-pro"
202
+ }
203
+ }
204
+ }
205
+ }
206
+ ```
207
+
208
+ #### Add to Claude Code
209
+ ```bash
210
+ claude mcp add letitloop -- python -m orchestrator.mcp_server
211
+ ```
212
+
213
+ ---
214
+
215
+ ## Recipes & Cookbooks
216
+
217
+ The [`recipes/`](recipes/README.md) cookbook provides end-to-end, schema-validated walkthroughs:
218
+
219
+ | Recipe | Focus |
220
+ |---|---|
221
+ | [**01 - Legacy Codebase Refactor**](recipes/01-legacy-codebase-refactor/README.md) | Refactor under `pytest` + `ruff` acceptance gates with scope fencing and bounded retries |
222
+ | [**02 - FastAPI CRUD Generator**](recipes/02-fastapi-crud-generator/README.md) | Feature decomposition into a 4-contract DAG chained with `depends_on` |
223
+ | [**03 - Offline Local LLM Loop**](recipes/03-offline-local-llm-loop/README.md) | Zero-cloud-key runs via Ollama (`local-tool`) and the `docker` sandbox adapter |
224
+ | [**04 - Multi-Agent QC Audit**](recipes/04-multi-agent-qc-audit/README.md) | Multi-lens quality plane: panels, arbitration, budgets, and `quality_spec` |
225
+
226
+ Validate all embedded example contracts anytime with `pytest tests/test_recipes.py -q`.
227
+
228
+ ---
229
+
230
+ ## Living Architecture Decision Records (ADRs)
231
+
232
+ Following the Michael Nygard ADR convention, all core design invariants and architectural decisions are codified:
233
+
234
+ | ADR | Focus | Status |
235
+ |---|---|---|
236
+ | [**ADR-0001**](docs/adr/0001-write-ahead-logging.md) | **Write-Ahead Logging (WAL) & Zero-State Recovery** | `accepted` |
237
+ | [**ADR-0002**](docs/adr/0002-deterministic-verifiers.md) | **Deterministic AST, Regex & Exit-Code Verification Gates** | `accepted` |
238
+ | [**ADR-0003**](docs/adr/0003-headless-cli-adapters.md) | **Zero-API-Key Headless Agent CLI Wrapper Failovers** | `accepted` |
239
+ | [**ADR-0004**](docs/adr/0004-format-aware-acceptance-checks.md) | **Format-Aware Acceptance Check & Markdown Injection** | `accepted` |
240
+
241
+ ---
242
+
243
+ ## Security & Sandboxing Architecture
244
+
245
+ `letitloop` operates under a zero-trust execution model:
246
+ - **Redaction Firewall**: Automatic masking of PATs, OAuth keys, AWS credentials, GCP tokens, and PEM private keys.
247
+ - **Environment Scrubbing**: Sensitive parent environment variables are stripped prior to worker execution.
248
+ - **Scope Checking**: Userland filesystem snapshot diffing (`scope.py`) enforcing directory bounds and declared output paths.
249
+ - **Process Isolation**: Process tree containment with Windows Job Objects (`JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE`) and POSIX session leadership.
250
+
251
+ ---
252
+
253
+ ## License
254
+
255
+ Distributed under the MIT License. See [LICENSE](LICENSE) for more details.