letitloop 0.4.0__tar.gz → 0.7.0__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 (425) hide show
  1. letitloop-0.7.0/.github/release-drafter.yml +45 -0
  2. letitloop-0.7.0/.github/workflows/all-contributors.yml +23 -0
  3. {letitloop-0.4.0 → letitloop-0.7.0}/.github/workflows/ci.yml +11 -11
  4. {letitloop-0.4.0 → letitloop-0.7.0}/.github/workflows/codeql.yml +1 -1
  5. {letitloop-0.4.0 → letitloop-0.7.0}/.github/workflows/dependency-review.yml +1 -1
  6. letitloop-0.7.0/.github/workflows/issue-claim.yml +123 -0
  7. {letitloop-0.4.0 → letitloop-0.7.0}/.github/workflows/pages.yml +1 -1
  8. letitloop-0.7.0/.github/workflows/pr-health-guard.yml +42 -0
  9. letitloop-0.7.0/.github/workflows/release-drafter.yml +22 -0
  10. {letitloop-0.4.0 → letitloop-0.7.0}/.github/workflows/release-pypi.yml +3 -3
  11. {letitloop-0.4.0 → letitloop-0.7.0}/.github/workflows/scorecard.yml +3 -3
  12. letitloop-0.7.0/.github/workflows/stale.yml +29 -0
  13. letitloop-0.7.0/CHANGELOG.md +111 -0
  14. letitloop-0.7.0/PKG-INFO +306 -0
  15. letitloop-0.7.0/README.md +266 -0
  16. letitloop-0.7.0/docs/adapters.md +172 -0
  17. letitloop-0.7.0/docs/state_machine.md +50 -0
  18. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/__init__.py +12 -1
  19. letitloop-0.7.0/letitloop/adapters/__init__.py +50 -0
  20. letitloop-0.7.0/letitloop/adapters/autogen.py +274 -0
  21. letitloop-0.7.0/letitloop/adapters/crewai.py +284 -0
  22. letitloop-0.7.0/letitloop/adapters/fastapi.py +397 -0
  23. letitloop-0.7.0/letitloop/adapters/langgraph.py +395 -0
  24. letitloop-0.7.0/letitloop/adapters/smolagents.py +243 -0
  25. letitloop-0.7.0/letitloop/conformance/adapters/json_checkpoint_adapter.py +34 -0
  26. letitloop-0.7.0/letitloop/conformance/adapters/llamaindex_adapter.py +104 -0
  27. letitloop-0.7.0/letitloop/conformance/adapters/sqlite_wal_adapter.py +34 -0
  28. letitloop-0.7.0/letitloop/conformance/adapters/swarm_adapter.py +104 -0
  29. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/harness/runner.py +18 -5
  30. letitloop-0.7.0/letitloop.egg-info/PKG-INFO +306 -0
  31. letitloop-0.7.0/letitloop.egg-info/SOURCES.txt +127 -0
  32. letitloop-0.7.0/letitloop.egg-info/requires.txt +14 -0
  33. letitloop-0.7.0/orchestrator/__init__.py +47 -0
  34. letitloop-0.7.0/orchestrator/cli.py +361 -0
  35. {letitloop-0.4.0 → letitloop-0.7.0}/orchestrator/decorators.py +73 -27
  36. {letitloop-0.4.0 → letitloop-0.7.0}/orchestrator/lock.py +49 -1
  37. {letitloop-0.4.0 → letitloop-0.7.0}/orchestrator/state.py +239 -145
  38. letitloop-0.7.0/orchestrator/supervisor/__init__.py +15 -0
  39. letitloop-0.7.0/orchestrator/supervisor/liveness.py +361 -0
  40. {letitloop-0.4.0 → letitloop-0.7.0}/pyproject.toml +36 -55
  41. letitloop-0.7.0/pytest.ini +15 -0
  42. letitloop-0.7.0/tests/adapters/__init__.py +1 -0
  43. letitloop-0.7.0/tests/adapters/test_adapters_init.py +26 -0
  44. letitloop-0.7.0/tests/adapters/test_autogen.py +87 -0
  45. letitloop-0.7.0/tests/adapters/test_crewai.py +97 -0
  46. letitloop-0.7.0/tests/adapters/test_fastapi.py +256 -0
  47. letitloop-0.7.0/tests/adapters/test_langgraph.py +73 -0
  48. letitloop-0.7.0/tests/adapters/test_smolagents.py +61 -0
  49. letitloop-0.7.0/tests/test_browser_use_cookbook.py +130 -0
  50. letitloop-0.7.0/tests/test_cli_watch.py +54 -0
  51. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_conformance_benchmark.py +2 -2
  52. letitloop-0.7.0/tests/test_cookbooks.py +530 -0
  53. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_durable_async.py +10 -3
  54. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_durable_decorator.py +84 -1
  55. letitloop-0.7.0/tests/test_fuzz_wal_corruptions.py +436 -0
  56. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_lock.py +48 -56
  57. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_process_guard.py +0 -52
  58. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_state.py +40 -1
  59. letitloop-0.7.0/tests/test_step_failclosed.py +73 -0
  60. letitloop-0.7.0/tests/test_supervise.py +140 -0
  61. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_token_gate.py +0 -1
  62. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_wal_corruption_recovery.py +0 -1
  63. {letitloop-0.4.0 → letitloop-0.7.0}/tests/test_wal_v2_checksums.py +0 -1
  64. letitloop-0.4.0/.github/release-drafter.yml +0 -23
  65. letitloop-0.4.0/.github/workflows/auto-fix.yml +0 -37
  66. letitloop-0.4.0/.github/workflows/auto-remediate.yml +0 -72
  67. letitloop-0.4.0/.github/workflows/benchmark.yml +0 -106
  68. letitloop-0.4.0/.github/workflows/flaky-test-hunter.yml +0 -34
  69. letitloop-0.4.0/.github/workflows/issue-claim.yml +0 -81
  70. letitloop-0.4.0/.github/workflows/issue-scaffold.yml +0 -51
  71. letitloop-0.4.0/.github/workflows/letitloop-verify.yml +0 -84
  72. letitloop-0.4.0/.github/workflows/pr-benchmark.yml +0 -56
  73. letitloop-0.4.0/.github/workflows/release-drafter.yml +0 -19
  74. letitloop-0.4.0/.github/workflows/stale.yml +0 -26
  75. letitloop-0.4.0/.github/workflows/welcome-bot.yml +0 -43
  76. letitloop-0.4.0/CHANGELOG.md +0 -46
  77. letitloop-0.4.0/PKG-INFO +0 -262
  78. letitloop-0.4.0/README.md +0 -207
  79. letitloop-0.4.0/docs/plans/2026-08-26-vital-fixes-plus-real-bridges.md +0 -674
  80. letitloop-0.4.0/letitloop.egg-info/PKG-INFO +0 -262
  81. letitloop-0.4.0/letitloop.egg-info/SOURCES.txt +0 -381
  82. letitloop-0.4.0/letitloop.egg-info/requires.txt +0 -32
  83. letitloop-0.4.0/orchestrator/SKILL.md +0 -292
  84. letitloop-0.4.0/orchestrator/__init__.py +0 -147
  85. letitloop-0.4.0/orchestrator/anti_ouroboros.py +0 -78
  86. letitloop-0.4.0/orchestrator/ast_node_splicer.py +0 -125
  87. letitloop-0.4.0/orchestrator/ast_splicer.py +0 -94
  88. letitloop-0.4.0/orchestrator/audit.py +0 -88
  89. letitloop-0.4.0/orchestrator/auto_healer.py +0 -207
  90. letitloop-0.4.0/orchestrator/budget.py +0 -195
  91. letitloop-0.4.0/orchestrator/checkpoint.py +0 -248
  92. letitloop-0.4.0/orchestrator/cli.py +0 -2432
  93. letitloop-0.4.0/orchestrator/cloud_watchdog.py +0 -149
  94. letitloop-0.4.0/orchestrator/codebase_introspector.py +0 -66
  95. letitloop-0.4.0/orchestrator/component_slicer.py +0 -185
  96. letitloop-0.4.0/orchestrator/config.py +0 -152
  97. letitloop-0.4.0/orchestrator/contract.py +0 -404
  98. letitloop-0.4.0/orchestrator/crypto.py +0 -213
  99. letitloop-0.4.0/orchestrator/dag_validator.py +0 -172
  100. letitloop-0.4.0/orchestrator/dashboard_bridge.py +0 -120
  101. letitloop-0.4.0/orchestrator/elasticity_governor.py +0 -80
  102. letitloop-0.4.0/orchestrator/env_doctor.py +0 -178
  103. letitloop-0.4.0/orchestrator/errors.py +0 -211
  104. letitloop-0.4.0/orchestrator/events.py +0 -120
  105. letitloop-0.4.0/orchestrator/evidence.py +0 -203
  106. letitloop-0.4.0/orchestrator/failure.py +0 -226
  107. letitloop-0.4.0/orchestrator/fast_sandbox.py +0 -126
  108. letitloop-0.4.0/orchestrator/feasibility_gate.py +0 -115
  109. letitloop-0.4.0/orchestrator/feedback.py +0 -302
  110. letitloop-0.4.0/orchestrator/fixtures/example_contract.json +0 -50
  111. letitloop-0.4.0/orchestrator/fixtures/generated/evidence-cli-run-test-step-1.json +0 -47
  112. letitloop-0.4.0/orchestrator/fixtures/generated/evidence-cli-run-test-step-2.json +0 -47
  113. letitloop-0.4.0/orchestrator/fixtures/generated/evidence-inject-test-a.json +0 -47
  114. letitloop-0.4.0/orchestrator/fixtures/generated/evidence-inject-test-b.json +0 -47
  115. letitloop-0.4.0/orchestrator/fixtures/generated/evidence-inject-test-c.json +0 -47
  116. letitloop-0.4.0/orchestrator/fixtures/generated/evidence-json-test-a.json +0 -47
  117. letitloop-0.4.0/orchestrator/fixtures/generated/evidence-json-test-b.json +0 -47
  118. letitloop-0.4.0/orchestrator/fixtures/generated/fail-report-fail-task-1.json +0 -47
  119. letitloop-0.4.0/orchestrator/fixtures/generated/fail-report-json-task-1.json +0 -47
  120. letitloop-0.4.0/orchestrator/fixtures/generated/fail-report-success-task-1.json +0 -47
  121. letitloop-0.4.0/orchestrator/fixtures/generated/fuzz-engine-design.json +0 -63
  122. letitloop-0.4.0/orchestrator/fixtures/generated/fuzz-engine-impl.json +0 -62
  123. letitloop-0.4.0/orchestrator/fixtures/generated/fuzz-engine-tests.json +0 -62
  124. letitloop-0.4.0/orchestrator/fixtures/generated/fuzz-engine-verify.json +0 -62
  125. letitloop-0.4.0/orchestrator/fixtures/generated/goal-orch-step-1.json +0 -63
  126. letitloop-0.4.0/orchestrator/fixtures/generated/goal-orch-step-2.json +0 -62
  127. letitloop-0.4.0/orchestrator/fixtures/generated/goal-orch-step-3.json +0 -62
  128. letitloop-0.4.0/orchestrator/fixtures/generated/goal-orch-step-4.json +0 -62
  129. letitloop-0.4.0/orchestrator/fixtures/generated/goal-orch-step-5.json +0 -62
  130. letitloop-0.4.0/orchestrator/fixtures/generated/goal-orch-step-6.json +0 -63
  131. letitloop-0.4.0/orchestrator/fixtures/generated/implement-a-thread-safe-token-bucket-rat-task-1.json +0 -53
  132. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-checkpoint-rollback-3.json +0 -63
  133. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-checkpoint-rollback.json +0 -62
  134. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-live-telemetry-2.json +0 -62
  135. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-live-telemetry.json +0 -62
  136. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-spec-synthesis-1.json +0 -62
  137. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-spec-synthesis.json +0 -62
  138. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-test-verification-4.json +0 -62
  139. letitloop-0.4.0/orchestrator/fixtures/generated/orchestrator-test-verification.json +0 -62
  140. letitloop-0.4.0/orchestrator/fixtures/generated/perf-step-1.json +0 -61
  141. letitloop-0.4.0/orchestrator/fixtures/generated/perf-step-2.json +0 -62
  142. letitloop-0.4.0/orchestrator/fixtures/generated/perf-step-3.json +0 -62
  143. letitloop-0.4.0/orchestrator/fixtures/generated/perf-step-4.json +0 -62
  144. letitloop-0.4.0/orchestrator/fixtures/generated/perf-step-5.json +0 -63
  145. letitloop-0.4.0/orchestrator/fixtures/generated/phase2-proof-two-step-step-1.json +0 -47
  146. letitloop-0.4.0/orchestrator/fixtures/generated/phase2-proof-two-step-step-2.json +0 -47
  147. letitloop-0.4.0/orchestrator/fixtures/generated/planner-spec-synthesis-impl.json +0 -59
  148. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-ast-formatter.json +0 -69
  149. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-checkpoint-rollback.json +0 -70
  150. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-spec-synthesis.json +0 -70
  151. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-step-1.json +0 -70
  152. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-step-2.json +0 -70
  153. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-step-3.json +0 -70
  154. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-step-4.json +0 -70
  155. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-step-5.json +0 -65
  156. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-telemetry.json +0 -70
  157. letitloop-0.4.0/orchestrator/fixtures/generated/self-evolution-tests.json +0 -71
  158. letitloop-0.4.0/orchestrator/fixtures/generated/spec-telemetry-research-design.json +0 -64
  159. letitloop-0.4.0/orchestrator/fixtures/generated/spec-telemetry-step-1.json +0 -62
  160. letitloop-0.4.0/orchestrator/fixtures/generated/spec-telemetry-step-2.json +0 -62
  161. letitloop-0.4.0/orchestrator/fixtures/generated/spec-telemetry-step-3.json +0 -62
  162. letitloop-0.4.0/orchestrator/fixtures/generated/spec-telemetry-step-4.json +0 -62
  163. letitloop-0.4.0/orchestrator/fixtures/generated/spec-telemetry-step-5.json +0 -62
  164. letitloop-0.4.0/orchestrator/fixtures/generated/spec-telemetry-verification.json +0 -58
  165. letitloop-0.4.0/orchestrator/fixtures/generated/token-bucket-impl.json +0 -69
  166. letitloop-0.4.0/orchestrator/fixtures/generated/token-bucket-step-1.json +0 -70
  167. letitloop-0.4.0/orchestrator/fixtures/generated/token-bucket-step-2.json +0 -70
  168. letitloop-0.4.0/orchestrator/fixtures/generated/token-bucket-step-3.json +0 -60
  169. letitloop-0.4.0/orchestrator/fixtures/generated/token-bucket-tests.json +0 -70
  170. letitloop-0.4.0/orchestrator/fixtures/generated/token-bucket-verify.json +0 -61
  171. letitloop-0.4.0/orchestrator/fixtures/generated/trace-ux-tests-step-1.json +0 -64
  172. letitloop-0.4.0/orchestrator/fixtures/generated/trace-ux-tests-step-2.json +0 -64
  173. letitloop-0.4.0/orchestrator/fixtures/generated/trace-ux-tests-step-3.json +0 -62
  174. letitloop-0.4.0/orchestrator/fixtures/generated/tui-live-telemetry-impl.json +0 -59
  175. letitloop-0.4.0/orchestrator/fixtures/phase1_proof_escalation_contract.json +0 -41
  176. letitloop-0.4.0/orchestrator/fixtures/phase1_proof_happy_path_contract.json +0 -83
  177. letitloop-0.4.0/orchestrator/fixtures/phase1_proof_qc_contract.json +0 -41
  178. letitloop-0.4.0/orchestrator/fixtures/phase1_proof_repair_contract.json +0 -41
  179. letitloop-0.4.0/orchestrator/fixtures/phase2_proof_two_step_goal.json +0 -15
  180. letitloop-0.4.0/orchestrator/fixtures/run_proofs.py +0 -299
  181. letitloop-0.4.0/orchestrator/fixtures/test_normalizer.py +0 -16
  182. letitloop-0.4.0/orchestrator/gate.py +0 -227
  183. letitloop-0.4.0/orchestrator/generator.py +0 -239
  184. letitloop-0.4.0/orchestrator/goal.py +0 -245
  185. letitloop-0.4.0/orchestrator/handoff.py +0 -86
  186. letitloop-0.4.0/orchestrator/hybrid_worker.py +0 -840
  187. letitloop-0.4.0/orchestrator/impossibility.py +0 -162
  188. letitloop-0.4.0/orchestrator/limits.py +0 -60
  189. letitloop-0.4.0/orchestrator/live_evolution_engine.py +0 -247
  190. letitloop-0.4.0/orchestrator/llm.py +0 -324
  191. letitloop-0.4.0/orchestrator/local_tool_calling.py +0 -285
  192. letitloop-0.4.0/orchestrator/mcp_client.py +0 -571
  193. letitloop-0.4.0/orchestrator/mcp_server.py +0 -465
  194. letitloop-0.4.0/orchestrator/memory_bridge.py +0 -182
  195. letitloop-0.4.0/orchestrator/metrics.py +0 -159
  196. letitloop-0.4.0/orchestrator/micro_epoch.py +0 -42
  197. letitloop-0.4.0/orchestrator/models.py +0 -350
  198. letitloop-0.4.0/orchestrator/parsing.py +0 -237
  199. letitloop-0.4.0/orchestrator/patch_applier.py +0 -154
  200. letitloop-0.4.0/orchestrator/plan_preview.py +0 -138
  201. letitloop-0.4.0/orchestrator/plan_quality.py +0 -357
  202. letitloop-0.4.0/orchestrator/planner.py +0 -802
  203. letitloop-0.4.0/orchestrator/preferences.py +0 -115
  204. letitloop-0.4.0/orchestrator/preflight.py +0 -141
  205. letitloop-0.4.0/orchestrator/prompts.py +0 -275
  206. letitloop-0.4.0/orchestrator/proposal_ledger.py +0 -194
  207. letitloop-0.4.0/orchestrator/provider_scheduler.py +0 -394
  208. letitloop-0.4.0/orchestrator/qc/__init__.py +0 -153
  209. letitloop-0.4.0/orchestrator/qc/aggregator.py +0 -330
  210. letitloop-0.4.0/orchestrator/qc/parsing.py +0 -287
  211. letitloop-0.4.0/orchestrator/qc/personas.py +0 -242
  212. letitloop-0.4.0/orchestrator/qc/runner.py +0 -569
  213. letitloop-0.4.0/orchestrator/qc_overrule.py +0 -87
  214. letitloop-0.4.0/orchestrator/qc_review.py +0 -282
  215. letitloop-0.4.0/orchestrator/quality_lenses.py +0 -314
  216. letitloop-0.4.0/orchestrator/quality_plan.py +0 -449
  217. letitloop-0.4.0/orchestrator/quality_plane.py +0 -103
  218. letitloop-0.4.0/orchestrator/receipts.py +0 -71
  219. letitloop-0.4.0/orchestrator/reconcile.py +0 -191
  220. letitloop-0.4.0/orchestrator/remediate.py +0 -371
  221. letitloop-0.4.0/orchestrator/replanner.py +0 -433
  222. letitloop-0.4.0/orchestrator/research.py +0 -176
  223. letitloop-0.4.0/orchestrator/review_artifact.py +0 -672
  224. letitloop-0.4.0/orchestrator/safety.py +0 -413
  225. letitloop-0.4.0/orchestrator/sbom.py +0 -134
  226. letitloop-0.4.0/orchestrator/schemas.py +0 -174
  227. letitloop-0.4.0/orchestrator/scope.py +0 -476
  228. letitloop-0.4.0/orchestrator/scrubber.py +0 -98
  229. letitloop-0.4.0/orchestrator/sensory_radar.py +0 -79
  230. letitloop-0.4.0/orchestrator/sse_server.py +0 -160
  231. letitloop-0.4.0/orchestrator/subprocess_helper.py +0 -131
  232. letitloop-0.4.0/orchestrator/supervisor/__init__.py +0 -184
  233. letitloop-0.4.0/orchestrator/supervisor/_shared.py +0 -164
  234. letitloop-0.4.0/orchestrator/supervisor/cleanup.py +0 -185
  235. letitloop-0.4.0/orchestrator/supervisor/core.py +0 -1695
  236. letitloop-0.4.0/orchestrator/supervisor/recovery.py +0 -370
  237. letitloop-0.4.0/orchestrator/supervisor/reporting.py +0 -251
  238. letitloop-0.4.0/orchestrator/surgical_extractor.py +0 -119
  239. letitloop-0.4.0/orchestrator/telemetry.py +0 -84
  240. letitloop-0.4.0/orchestrator/verifier.py +0 -1255
  241. letitloop-0.4.0/orchestrator/webhooks.py +0 -168
  242. letitloop-0.4.0/orchestrator/worker.py +0 -469
  243. letitloop-0.4.0/orchestrator/worker_adapters.py +0 -766
  244. letitloop-0.4.0/orchestrator/worker_pool.py +0 -121
  245. letitloop-0.4.0/orchestrator/worktree.py +0 -393
  246. letitloop-0.4.0/pytest.ini +0 -10
  247. letitloop-0.4.0/tests/__init__.py +0 -0
  248. letitloop-0.4.0/tests/fault_injection.py +0 -148
  249. letitloop-0.4.0/tests/test_adversarial_audit.py +0 -329
  250. letitloop-0.4.0/tests/test_agent_loop_profiles.py +0 -172
  251. letitloop-0.4.0/tests/test_anti_ouroboros.py +0 -38
  252. letitloop-0.4.0/tests/test_ast_comment_retention.py +0 -65
  253. letitloop-0.4.0/tests/test_ast_node_splicer.py +0 -102
  254. letitloop-0.4.0/tests/test_audit.py +0 -151
  255. letitloop-0.4.0/tests/test_auto_healer.py +0 -101
  256. letitloop-0.4.0/tests/test_benchmarks.py +0 -198
  257. letitloop-0.4.0/tests/test_budget.py +0 -132
  258. letitloop-0.4.0/tests/test_budget_enforcement_e2e.py +0 -63
  259. letitloop-0.4.0/tests/test_checkpoint.py +0 -194
  260. letitloop-0.4.0/tests/test_checkpoint_apply_e2e.py +0 -95
  261. letitloop-0.4.0/tests/test_cli.py +0 -584
  262. letitloop-0.4.0/tests/test_cli_doctor.py +0 -107
  263. letitloop-0.4.0/tests/test_cli_failure_report.py +0 -107
  264. letitloop-0.4.0/tests/test_cli_phase3.py +0 -360
  265. letitloop-0.4.0/tests/test_cloud_watchdog.py +0 -64
  266. letitloop-0.4.0/tests/test_codebase_introspector.py +0 -29
  267. letitloop-0.4.0/tests/test_component_slicer.py +0 -411
  268. letitloop-0.4.0/tests/test_config.py +0 -152
  269. letitloop-0.4.0/tests/test_conformance_sandbox.py +0 -44
  270. letitloop-0.4.0/tests/test_contract.py +0 -304
  271. letitloop-0.4.0/tests/test_dag_validator.py +0 -252
  272. letitloop-0.4.0/tests/test_docker_sandbox.py +0 -157
  273. letitloop-0.4.0/tests/test_dryrun.py +0 -111
  274. letitloop-0.4.0/tests/test_elasticity_governor.py +0 -58
  275. letitloop-0.4.0/tests/test_engine_improvements.py +0 -267
  276. letitloop-0.4.0/tests/test_errors.py +0 -146
  277. letitloop-0.4.0/tests/test_event_wiring.py +0 -312
  278. letitloop-0.4.0/tests/test_evidence_flow.py +0 -134
  279. letitloop-0.4.0/tests/test_evidence_flow_cli.py +0 -214
  280. letitloop-0.4.0/tests/test_evidence_ledger.py +0 -93
  281. letitloop-0.4.0/tests/test_exception_containment.py +0 -170
  282. letitloop-0.4.0/tests/test_failure.py +0 -59
  283. letitloop-0.4.0/tests/test_fast_sandbox.py +0 -68
  284. letitloop-0.4.0/tests/test_fault_injection.py +0 -180
  285. letitloop-0.4.0/tests/test_fault_injection_adversarial.py +0 -452
  286. letitloop-0.4.0/tests/test_feasibility_gate.py +0 -109
  287. letitloop-0.4.0/tests/test_feedback.py +0 -186
  288. letitloop-0.4.0/tests/test_framework_examples.py +0 -61
  289. letitloop-0.4.0/tests/test_gate.py +0 -115
  290. letitloop-0.4.0/tests/test_generator.py +0 -95
  291. letitloop-0.4.0/tests/test_goal.py +0 -91
  292. letitloop-0.4.0/tests/test_handoff.py +0 -133
  293. letitloop-0.4.0/tests/test_hardening_batch3.py +0 -299
  294. letitloop-0.4.0/tests/test_hybrid_worker.py +0 -421
  295. letitloop-0.4.0/tests/test_impossibility.py +0 -108
  296. letitloop-0.4.0/tests/test_integration.py +0 -213
  297. letitloop-0.4.0/tests/test_limits.py +0 -109
  298. letitloop-0.4.0/tests/test_live_evolution.py +0 -62
  299. letitloop-0.4.0/tests/test_live_evolution_feasibility.py +0 -93
  300. letitloop-0.4.0/tests/test_live_proofs.py +0 -316
  301. letitloop-0.4.0/tests/test_live_smoke.py +0 -129
  302. letitloop-0.4.0/tests/test_local_tool_calling.py +0 -319
  303. letitloop-0.4.0/tests/test_mcp_client.py +0 -342
  304. letitloop-0.4.0/tests/test_mcp_concurrency.py +0 -53
  305. letitloop-0.4.0/tests/test_mcp_server.py +0 -133
  306. letitloop-0.4.0/tests/test_memory_bridge.py +0 -198
  307. letitloop-0.4.0/tests/test_metrics.py +0 -153
  308. letitloop-0.4.0/tests/test_micro_epoch.py +0 -26
  309. letitloop-0.4.0/tests/test_operator_controls.py +0 -177
  310. letitloop-0.4.0/tests/test_parsing.py +0 -211
  311. letitloop-0.4.0/tests/test_patch_applier.py +0 -92
  312. letitloop-0.4.0/tests/test_performance_and_trace.py +0 -138
  313. letitloop-0.4.0/tests/test_plan_gate.py +0 -312
  314. letitloop-0.4.0/tests/test_plan_quality.py +0 -303
  315. letitloop-0.4.0/tests/test_planner.py +0 -133
  316. letitloop-0.4.0/tests/test_pr_verification_scenarios.py +0 -59
  317. letitloop-0.4.0/tests/test_preflight.py +0 -110
  318. letitloop-0.4.0/tests/test_prompts.py +0 -193
  319. letitloop-0.4.0/tests/test_proof_receipt.py +0 -61
  320. letitloop-0.4.0/tests/test_proposal_ledger.py +0 -134
  321. letitloop-0.4.0/tests/test_provider_scheduler.py +0 -388
  322. letitloop-0.4.0/tests/test_qc_overrule.py +0 -322
  323. letitloop-0.4.0/tests/test_qc_paths.py +0 -415
  324. letitloop-0.4.0/tests/test_qplane_fail_closed.py +0 -1398
  325. letitloop-0.4.0/tests/test_quality_plan.py +0 -380
  326. letitloop-0.4.0/tests/test_quality_plane.py +0 -1144
  327. letitloop-0.4.0/tests/test_quality_spec_propagation.py +0 -169
  328. letitloop-0.4.0/tests/test_recipes.py +0 -108
  329. letitloop-0.4.0/tests/test_reconcile.py +0 -178
  330. letitloop-0.4.0/tests/test_remediate.py +0 -147
  331. letitloop-0.4.0/tests/test_replan_evidence.py +0 -158
  332. letitloop-0.4.0/tests/test_replanner.py +0 -119
  333. letitloop-0.4.0/tests/test_replanner_integration_e2e.py +0 -51
  334. letitloop-0.4.0/tests/test_research_providers.py +0 -111
  335. letitloop-0.4.0/tests/test_retry_metadata.py +0 -144
  336. letitloop-0.4.0/tests/test_review_artifact.py +0 -369
  337. letitloop-0.4.0/tests/test_safety.py +0 -184
  338. letitloop-0.4.0/tests/test_schemas.py +0 -55
  339. letitloop-0.4.0/tests/test_scope.py +0 -179
  340. letitloop-0.4.0/tests/test_sensory_radar.py +0 -35
  341. letitloop-0.4.0/tests/test_state_coverage_expansion.py +0 -598
  342. letitloop-0.4.0/tests/test_subprocess_helper.py +0 -82
  343. letitloop-0.4.0/tests/test_supervisor.py +0 -154
  344. letitloop-0.4.0/tests/test_supervisor_resume.py +0 -154
  345. letitloop-0.4.0/tests/test_surgical_slicing.py +0 -98
  346. letitloop-0.4.0/tests/test_telemetry.py +0 -50
  347. letitloop-0.4.0/tests/test_unit_expansion.py +0 -360
  348. letitloop-0.4.0/tests/test_v032_remediation.py +0 -104
  349. letitloop-0.4.0/tests/test_verifier.py +0 -618
  350. letitloop-0.4.0/tests/test_verifier_ast_fuzz.py +0 -72
  351. letitloop-0.4.0/tests/test_verifier_hardening.py +0 -140
  352. letitloop-0.4.0/tests/test_webhooks.py +0 -420
  353. letitloop-0.4.0/tests/test_worker.py +0 -238
  354. letitloop-0.4.0/tests/test_worker_adapters.py +0 -128
  355. letitloop-0.4.0/tests/test_worker_adapters_extended.py +0 -135
  356. letitloop-0.4.0/tests/test_worker_escaping.py +0 -83
  357. letitloop-0.4.0/tests/test_worker_pool.py +0 -194
  358. letitloop-0.4.0/tests/test_worktree.py +0 -69
  359. letitloop-0.4.0/tests/test_worktree_sandbox.py +0 -308
  360. {letitloop-0.4.0 → letitloop-0.7.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  361. {letitloop-0.4.0 → letitloop-0.7.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  362. {letitloop-0.4.0 → letitloop-0.7.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  363. {letitloop-0.4.0 → letitloop-0.7.0}/.github/dependabot.yml +0 -0
  364. {letitloop-0.4.0 → letitloop-0.7.0}/.github/release-drafter.config.yml +0 -0
  365. {letitloop-0.4.0 → letitloop-0.7.0}/LICENSE +0 -0
  366. {letitloop-0.4.0 → letitloop-0.7.0}/MANIFEST.in +0 -0
  367. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/__init__.py +0 -0
  368. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/atomic_wal_adapter.py +0 -0
  369. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/autogen_adapter.py +0 -0
  370. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/base.py +0 -0
  371. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/crewai_adapter.py +0 -0
  372. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/in_memory_adapter.py +0 -0
  373. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/langgraph_adapter.py +0 -0
  374. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/letitloop_adapter.py +0 -0
  375. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/raw_python_adapter.py +0 -0
  376. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/snapshot_graph_adapter.py +0 -0
  377. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/adapters/unmanaged_script_adapter.py +0 -0
  378. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/harness/__init__.py +0 -0
  379. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/harness/injector.py +0 -0
  380. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/harness/runner.py +0 -0
  381. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/harness/schema.py +0 -0
  382. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/harness/synthetic_engine.py +0 -0
  383. {letitloop-0.4.0 → letitloop-0.7.0}/conformance/scenarios/__init__.py +0 -0
  384. {letitloop-0.4.0 → letitloop-0.7.0}/docs/MCP_GUIDE.md +0 -0
  385. {letitloop-0.4.0 → letitloop-0.7.0}/docs/MCP_SETUP.md +0 -0
  386. {letitloop-0.4.0 → letitloop-0.7.0}/docs/SKILL_GUIDE.md +0 -0
  387. {letitloop-0.4.0 → letitloop-0.7.0}/docs/V033_SCORECARD.md +0 -0
  388. {letitloop-0.4.0 → letitloop-0.7.0}/docs/adr/0001-write-ahead-logging.md +0 -0
  389. {letitloop-0.4.0 → letitloop-0.7.0}/docs/adr/0002-deterministic-verifiers.md +0 -0
  390. {letitloop-0.4.0 → letitloop-0.7.0}/docs/adr/0003-headless-cli-adapters.md +0 -0
  391. {letitloop-0.4.0 → letitloop-0.7.0}/docs/adr/0004-format-aware-acceptance-checks.md +0 -0
  392. {letitloop-0.4.0 → letitloop-0.7.0}/docs/adr/README.md +0 -0
  393. {letitloop-0.4.0 → letitloop-0.7.0}/docs/adr/template.md +0 -0
  394. {letitloop-0.4.0 → letitloop-0.7.0}/docs/auto_healing.md +0 -0
  395. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/__init__.py +0 -0
  396. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/__init__.py +0 -0
  397. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/_durable_mixin.py +0 -0
  398. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/atomic_wal_adapter.py +0 -0
  399. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/autogen_adapter.py +0 -0
  400. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/base.py +0 -0
  401. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/crewai_adapter.py +0 -0
  402. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/in_memory_adapter.py +0 -0
  403. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/langgraph_adapter.py +0 -0
  404. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/letitloop_adapter.py +0 -0
  405. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/raw_python_adapter.py +0 -0
  406. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/snapshot_graph_adapter.py +0 -0
  407. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/adapters/unmanaged_script_adapter.py +0 -0
  408. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/harness/__init__.py +0 -0
  409. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/harness/injector.py +0 -0
  410. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/harness/schema.py +0 -0
  411. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/harness/synthetic_engine.py +0 -0
  412. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/reporter.py +0 -0
  413. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/conformance/scenarios/__init__.py +0 -0
  414. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/mcp/__init__.py +0 -0
  415. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop/mcp/__main__.py +0 -0
  416. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop-action/scripts/verify_ast.py +0 -0
  417. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop.egg-info/dependency_links.txt +0 -0
  418. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop.egg-info/entry_points.txt +0 -0
  419. {letitloop-0.4.0 → letitloop-0.7.0}/letitloop.egg-info/top_level.txt +0 -0
  420. {letitloop-0.4.0 → letitloop-0.7.0}/orchestrator/exceptions.py +0 -0
  421. {letitloop-0.4.0 → letitloop-0.7.0}/orchestrator/process_guard.py +0 -0
  422. {letitloop-0.4.0 → letitloop-0.7.0}/orchestrator/token_gate.py +0 -0
  423. {letitloop-0.4.0 → letitloop-0.7.0}/requirements-ci.txt +0 -0
  424. {letitloop-0.4.0 → letitloop-0.7.0}/setup.cfg +0 -0
  425. {letitloop-0.4.0/orchestrator/fixtures → letitloop-0.7.0/tests}/__init__.py +0 -0
@@ -0,0 +1,45 @@
1
+ name-template: 'v$RESOLVED_VERSION'
2
+ tag-template: 'v$RESOLVED_VERSION'
3
+ categories:
4
+ - title: '🚀 Features & Adapters'
5
+ labels:
6
+ - 'feature'
7
+ - 'enhancement'
8
+ - 'integrations'
9
+ - title: '🛡️ Sandboxing & Security'
10
+ labels:
11
+ - 'security'
12
+ - title: '🐛 Bug Fixes & WAL Stability'
13
+ labels:
14
+ - 'bug'
15
+ - 'fix'
16
+ - title: '📚 Documentation & Cookbooks'
17
+ labels:
18
+ - 'documentation'
19
+ - 'dx'
20
+ - title: '🧪 Testing & Conformance'
21
+ labels:
22
+ - 'testing'
23
+ - 'conformance'
24
+ change-template: '- $TITLE by @$AUTHOR in #$NUMBER'
25
+ version-resolver:
26
+ major:
27
+ labels:
28
+ - 'major'
29
+ minor:
30
+ labels:
31
+ - 'minor'
32
+ - 'enhancement'
33
+ - 'feature'
34
+ patch:
35
+ labels:
36
+ - 'patch'
37
+ - 'bug'
38
+ - 'fix'
39
+ default: patch
40
+ template: |
41
+ ## What's Changed
42
+
43
+ $CHANGES
44
+
45
+ **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
@@ -0,0 +1,23 @@
1
+ name: All Contributors
2
+
3
+ on:
4
+ issue_comment:
5
+ types: [created]
6
+
7
+ permissions:
8
+ contents: write
9
+ pull-requests: write
10
+ issues: write
11
+
12
+ jobs:
13
+ add_contributor:
14
+ if: ${{ contains(github.event.comment.body, '@all-contributors') }}
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Checkout Repository
18
+ uses: actions/checkout@v4
19
+ - name: Add Contributor
20
+ uses: all-contributors/add-contributors@6900f074a3f295b922a90418bc8827f8a84eb636 # v2.1.2
21
+ with:
22
+ pay-load: ${{ toJson(github.event) }}
23
+ ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -25,10 +25,10 @@ jobs:
25
25
  python-version: ['3.11', '3.12']
26
26
 
27
27
  steps:
28
- - uses: actions/checkout@v4
28
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29
29
 
30
30
  - name: Set up Python ${{ matrix.python-version }}
31
- uses: actions/setup-python@v5
31
+ uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
32
32
  with:
33
33
  python-version: ${{ matrix.python-version }}
34
34
  cache: 'pip'
@@ -45,7 +45,7 @@ jobs:
45
45
 
46
46
  - name: Run unit tests
47
47
  run: |
48
- pytest tests -q --ignore=tests/test_integration.py --ignore=tests/test_benchmarks.py --cov=orchestrator --cov-report=xml
48
+ pytest tests -q -m "not integration" --ignore=tests/test_benchmarks.py --cov=orchestrator --cov-report=xml
49
49
 
50
50
  - name: Upload coverage to Codecov
51
51
  if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
@@ -63,10 +63,10 @@ jobs:
63
63
  needs: test
64
64
 
65
65
  steps:
66
- - uses: actions/checkout@v4
66
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
67
67
 
68
68
  - name: Set up Python 3.11
69
- uses: actions/setup-python@v5
69
+ uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
70
70
  with:
71
71
  python-version: '3.11'
72
72
  cache: 'pip'
@@ -78,17 +78,17 @@ jobs:
78
78
 
79
79
  - name: Run integration tests (blocking)
80
80
  run: |
81
- pytest tests/test_integration.py -v
81
+ pytest -m integration -v
82
82
 
83
83
  security:
84
84
  runs-on: ubuntu-latest
85
85
  timeout-minutes: 10
86
86
 
87
87
  steps:
88
- - uses: actions/checkout@v4
88
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
89
89
 
90
90
  - name: Set up Python 3.11
91
- uses: actions/setup-python@v5
91
+ uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
92
92
  with:
93
93
  python-version: '3.11'
94
94
  cache: 'pip'
@@ -107,10 +107,10 @@ jobs:
107
107
  needs: [test, integration, security]
108
108
 
109
109
  steps:
110
- - uses: actions/checkout@v4
110
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
111
111
 
112
112
  - name: Set up Python 3.11
113
- uses: actions/setup-python@v5
113
+ uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
114
114
  with:
115
115
  python-version: '3.11'
116
116
  cache: 'pip'
@@ -127,7 +127,7 @@ jobs:
127
127
  run: twine check dist/*
128
128
 
129
129
  - name: Upload build artifacts
130
- uses: actions/upload-artifact@v4
130
+ uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
131
131
  with:
132
132
  name: dist
133
133
  path: dist/
@@ -29,7 +29,7 @@ jobs:
29
29
 
30
30
  steps:
31
31
  - name: Checkout repository
32
- uses: actions/checkout@v4
32
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33
33
 
34
34
  - name: Initialize CodeQL
35
35
  uses: github/codeql-action/init@v3
@@ -10,7 +10,7 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
12
  - name: Checkout Repository
13
- uses: actions/checkout@v4
13
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14
14
  - name: Run Dependency Review Action
15
15
  uses: actions/dependency-review-action@v4
16
16
  with:
@@ -0,0 +1,123 @@
1
+ name: Automated Issue Claim & Triage
2
+
3
+ on:
4
+ issue_comment:
5
+ types: [created]
6
+
7
+ permissions:
8
+ issues: write
9
+
10
+ jobs:
11
+ auto-claim-triage:
12
+ if: ${{ !github.event.issue.pull_request && github.event.comment.user.type != 'Bot' }}
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Process Issue Claim or Unclaim
16
+ uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
17
+ with:
18
+ github-token: ${{ secrets.GITHUB_TOKEN }}
19
+ script: |
20
+ const rawBody = (context.payload.comment.body || '').trim();
21
+ const body = rawBody.toLowerCase();
22
+ const issue = context.payload.issue;
23
+ const commenter = context.payload.comment.user.login;
24
+
25
+ // 1. Detect Unclaim Intent
26
+ const isUnclaim = /^\/(unclaim|release|abandon)/i.test(body) ||
27
+ /(please\s+)?(unassign|remove)\s+me/i.test(body) ||
28
+ /(i\s+can(not|'t)\s+(work on|finish|do)\s+(this|it))/i.test(body);
29
+
30
+ if (isUnclaim) {
31
+ const currentAssignees = (issue.assignees || []).map(a => a.login);
32
+ if (currentAssignees.includes(commenter)) {
33
+ await github.rest.issues.removeAssignees({
34
+ owner: context.repo.owner,
35
+ repo: context.repo.repo,
36
+ issue_number: issue.number,
37
+ assignees: [commenter]
38
+ });
39
+ await github.rest.reactions.createForIssueComment({
40
+ owner: context.repo.owner,
41
+ repo: context.repo.repo,
42
+ comment_id: context.payload.comment.id,
43
+ content: 'eyes'
44
+ });
45
+ await github.rest.issues.createComment({
46
+ owner: context.repo.owner,
47
+ repo: context.repo.repo,
48
+ issue_number: issue.number,
49
+ body: `@${commenter} has released this issue. It is now open for other contributors to claim with \`/claim\`! 🙌`
50
+ });
51
+ }
52
+ return;
53
+ }
54
+
55
+ // 2. Detect Claim Intent (Slash Commands + Natural Language)
56
+ const isCommand = /^\/(claim|take|assign)|^\.(take|claim)/i.test(body);
57
+ const isNaturalClaim = (
58
+ /(i'd like to|i would like to|i want to|can i|could i|may i|i can|i'd love to|i would love to)\s+(work on|take|tackle|contribute to|implement|handle|help with|fix)/i.test(body) ||
59
+ /(please\s+)?assign\s+(this\s+to\s+me|me(\s+to\s+this)?)/i.test(body) ||
60
+ /(can i|may i|could i)\s+(take|claim|have)\s+(this|it)/i.test(body) ||
61
+ /happy to (take|work on) (this|it)/i.test(body) ||
62
+ (/first open-source contribution/i.test(body) && /(work on|take|contribute)/i.test(body))
63
+ );
64
+
65
+ if (!isCommand && !isNaturalClaim) {
66
+ return; // Not a claim request
67
+ }
68
+
69
+ // 3. Guard against claiming agent-locked issues
70
+ const isLocked = (issue.labels || []).some(l => l.name === 'agent-locked');
71
+ if (isLocked) {
72
+ await github.rest.issues.createComment({
73
+ owner: context.repo.owner,
74
+ repo: context.repo.repo,
75
+ issue_number: issue.number,
76
+ body: `@${commenter} this issue is currently reserved for autonomous development and cannot be claimed.`
77
+ });
78
+ return;
79
+ }
80
+
81
+ // 4. Guard against duplicate / existing assignments
82
+ if (issue.assignees && issue.assignees.length > 0) {
83
+ const currentAssignee = issue.assignees[0].login;
84
+ if (currentAssignee === commenter) {
85
+ await github.rest.reactions.createForIssueComment({
86
+ owner: context.repo.owner,
87
+ repo: context.repo.repo,
88
+ comment_id: context.payload.comment.id,
89
+ content: 'eyes'
90
+ });
91
+ return;
92
+ }
93
+ await github.rest.issues.createComment({
94
+ owner: context.repo.owner,
95
+ repo: context.repo.repo,
96
+ issue_number: issue.number,
97
+ body: `@${commenter} this issue is already assigned to @${currentAssignee}. Feel free to check out other unassigned issues with the \`good first issue\` or \`help wanted\` labels!`
98
+ });
99
+ return;
100
+ }
101
+
102
+ // 5. Assign the contributor
103
+ await github.rest.issues.addAssignees({
104
+ owner: context.repo.owner,
105
+ repo: context.repo.repo,
106
+ issue_number: issue.number,
107
+ assignees: [commenter]
108
+ });
109
+
110
+ // 6. React and welcome the contributor
111
+ await github.rest.reactions.createForIssueComment({
112
+ owner: context.repo.owner,
113
+ repo: context.repo.repo,
114
+ comment_id: context.payload.comment.id,
115
+ content: 'rocket'
116
+ });
117
+
118
+ await github.rest.issues.createComment({
119
+ owner: context.repo.owner,
120
+ repo: context.repo.repo,
121
+ issue_number: issue.number,
122
+ body: `Welcome @${commenter}! 🎉 This issue is now assigned to you.\n\n### Getting Started\n1. Fork the repo and create your feature branch.\n2. Set up your local dev environment and run unit tests (\`pytest\` / \`npm test\`).\n3. Link your PR back to this issue (\`Closes #${issue.number}\`).\n\nIf you need to release this issue at any time, just comment \`/unclaim\`. Looking forward to your contribution!`
123
+ });
@@ -25,7 +25,7 @@ jobs:
25
25
  runs-on: ubuntu-latest
26
26
  steps:
27
27
  - name: Checkout
28
- uses: actions/checkout@v4
28
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29
29
  - name: Setup Pages
30
30
  uses: actions/configure-pages@v5
31
31
  - name: Upload artifact
@@ -0,0 +1,42 @@
1
+ name: PR Rebase & Collision Guard
2
+
3
+ on:
4
+ pull_request_target:
5
+ types: [opened, synchronize]
6
+
7
+ permissions:
8
+ pull-requests: write
9
+
10
+ jobs:
11
+ check-pr-health:
12
+ if: ${{ github.event.pull_request.user.type != 'Bot' }}
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Inspect PR Health
16
+ uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
17
+ with:
18
+ github-token: ${{ secrets.GITHUB_TOKEN }}
19
+ script: |
20
+ const pr = context.payload.pull_request;
21
+
22
+ // Check if PR has large deletions in core adapter folders
23
+ const files = await github.paginate(github.rest.pulls.listFiles, {
24
+ owner: context.repo.owner,
25
+ repo: context.repo.repo,
26
+ pull_number: pr.number,
27
+ per_page: 100
28
+ });
29
+
30
+ const deletedCoreFiles = files.filter(f => f.status === 'removed' && (f.filename.startsWith('letitloop/adapters/') || f.filename.startsWith('adapters/')));
31
+
32
+ if (deletedCoreFiles.length >= 2) {
33
+ const fileList = deletedCoreFiles.map(f => `- \`${f.filename}\``).join('\n');
34
+ const body = `⚠️ **Heads up @${pr.user.login}!**\n\nThis PR appears to delete existing core adapters:\n${fileList}\n\nThis usually happens when your feature branch was created from an older commit before our latest release. Please rebase your branch against the latest \`main\`:\n\n\`\`\`bash\ngit fetch origin\ngit rebase origin/main\ngit push --force-with-lease\n\`\`\`\n\nThis will restore all active adapters while preserving your changes! 🙌`;
35
+
36
+ await github.rest.issues.createComment({
37
+ owner: context.repo.owner,
38
+ repo: context.repo.repo,
39
+ issue_number: pr.number,
40
+ body: body
41
+ });
42
+ }
@@ -0,0 +1,22 @@
1
+ name: Release Drafter
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request_target:
8
+ types: [opened, reopened, synchronize]
9
+
10
+ permissions:
11
+ contents: write
12
+ pull-requests: write
13
+
14
+ jobs:
15
+ update_release_draft:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: release-drafter/release-drafter@v6
19
+ with:
20
+ config-name: release-drafter.yml
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -17,9 +17,9 @@ jobs:
17
17
  name: pypi
18
18
  url: https://pypi.org/p/letitloop
19
19
  steps:
20
- - uses: actions/checkout@v4
20
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
21
  - name: Set up Python
22
- uses: actions/setup-python@v5
22
+ uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
23
23
  with:
24
24
  python-version: '3.11'
25
25
  - name: Install build dependencies
@@ -31,6 +31,6 @@ jobs:
31
31
  - name: Check distribution metadata
32
32
  run: twine check dist/*
33
33
  - name: Publish package distributions to PyPI
34
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
34
+ uses: pypa/gh-action-pypi-publish@release/v1
35
35
  with:
36
36
  skip-existing: true
@@ -1,4 +1,4 @@
1
- name: OpenSSF Scorecard Supply-Chain Security
1
+ name: OpenSSF Scorecard Supply-Chain Security
2
2
 
3
3
  on:
4
4
  branch_protection_rule:
@@ -22,12 +22,12 @@ jobs:
22
22
 
23
23
  steps:
24
24
  - name: "Checkout code"
25
- uses: actions/checkout@v4
25
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26
26
  with:
27
27
  persist-credentials: false
28
28
 
29
29
  - name: "Run analysis"
30
- uses: ossf/scorecard-action@e93faf2ab2f3663b51bc6e62d42b8520f2eff874 # v2.3.1
30
+ uses: ossf/scorecard-action@v2.4.1
31
31
  with:
32
32
  results_file: results.sarif
33
33
  results_format: sarif
@@ -0,0 +1,29 @@
1
+ name: Community Stale Triage
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 4 * * *' # Daily at 04:00 UTC
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ issues: write
10
+ pull-requests: write
11
+
12
+ jobs:
13
+ stale:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Mark and Close Stale Issues & PRs
17
+ uses: actions/stale@v9
18
+ with:
19
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
20
+ days-before-issue-stale: 45
21
+ days-before-issue-close: 7
22
+ stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!'
23
+ stale-issue-label: 'stale'
24
+ exempt-issue-labels: 'pinned,security,keep,in-progress,agent-locked'
25
+ days-before-pr-stale: 30
26
+ days-before-pr-close: 7
27
+ stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity. It will be closed in 7 days if no updates are made. Please rebase against main or comment to keep it open.'
28
+ stale-pr-label: 'stale'
29
+ exempt-pr-labels: 'pinned,security,keep'
@@ -0,0 +1,111 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+
6
+ ## [0.7.0] - 2026-10-07
7
+
8
+ ### ⚡ The SQLite of Durable Execution (Micro-Kernel Architecture)
9
+ - **Radical Micro-Kernel Consolidation**: Amputated 70+ legacy coding-agent files, consolidating `letitloop` into an ultra-lean in-process persistence engine exporting `@durable`, `step`, `atomic_marker`, `supervise`, `LivenessSupervisor`, `State`, and `lock`.
10
+ - **Correctness & Corruption Resilience Patches**:
11
+ - **Line-0 Torn Tail Recovery**: Patched LILWAL02 replay to safely truncate interrupted partial writes at line 0 without crashing.
12
+ - **Zero Quadratic Write Amplification**: Decoupled full snapshot serialization from hot `step()` and `async_step()` loops (periodic snapshot every 50 steps or on clean close), reducing disk I/O overhead by up to 98% in long-running pipelines.
13
+ - **Crash-Resilient 2-Phase `atomic_marker`**: Upgraded atomic step markers to a 2-phase commit lifecycle (`.pending.<pid>` $\to$ `.committed`) that cleans up uncommitted locks from dead PIDs.
14
+ - **Fail-Closed State Verification**: Enforced fail-closed corruption handling across state snapshots and WAL journals.
15
+ - **Unified Lean CLI**: Redesigned command-line interface supporting `lil watch`, `lil inspect`, `lil demo`, `lil bench`, and `lil version`.
16
+ - **Zero-Daemon Ecosystem Integration**: Turnkey durable workflows and recipes for `browser-use`, `pydantic-ai`, and `dspy`.
17
+
18
+ ---
19
+
20
+ ## [0.6.0] - 2026-10-04
21
+
22
+ ### 🌐 Ecosystem Cookbooks & Resilience Hardening
23
+ - **Browser Use Durable Digest Cookbook (#106)**: Added read-only release digest cookbook (`examples/cookbooks/browser_use_durable.py`) contributed by @MagMueller. Demonstrates `@durable_async` step checkpointing, explicit demo/live modes, and real process `kill -9` restart tests skipping finished web page extractions.
24
+ - **Fail-Closed Frame Integrity**: Enforced strict LILWAL02 CRC32 frame checksum verification on AutoGen adapters.
25
+ - **Telemetry & NTFS Resilience**: Added thread locking and exponential backoff retry loops to eliminate file-lock race conditions during rapid test runs on Windows NTFS.
26
+ - **Community Contributor Acknowledgements**: Integrated community contributions into release tracking and distribution.
27
+
28
+ ---
29
+
30
+ ## [0.5.2] - 2026-08-30
31
+
32
+ ### 🔌 Multi-Framework Durability Adapter Suite
33
+ - **CrewAI (`CrewAIDurabilityHandler`)**: Task lifecycle callback integration (`on_task_start`, `on_task_end`, `on_tool_execute`, `on_task_error`) with automatic task skipping on resume.
34
+ - **Hugging Face Smolagents (`SmolagentsWALCallback`)**: Step callback integration (`CodeAgent`, `ToolCallingAgent`) capturing thoughts, tool calls, and observations into atomic WAL.
35
+ - **Microsoft AutoGen 0.4 / Magentic-One (`AutoGenStateSerializer`)**: State serialization, message history checkpointing, and tool execution persistence.
36
+ - **LangGraph (`LetItLoopCheckpointSaver`)**: Native `BaseCheckpointSaver` implementation powered by embedded SQLite in atomic WAL mode (`PRAGMA journal_mode=WAL`) with sub-millisecond superstep reads/writes.
37
+ - **Zero Mandatory Dependencies**: All 4 adapters utilize lazy optional loading and pure-Python duck-typed fallbacks when host packages are not installed.
38
+ - **Comprehensive Adapter Test Suite**: 16 dedicated unit tests in `tests/adapters/` verifying lifecycle hooks, memory restoration, and crash recovery.
39
+
40
+ ---
41
+
42
+ ## [0.5.1] - 2026-08-29
43
+
44
+ ### 🍳 Cookbooks
45
+ - **LangGraph Financial Analyst**: Added a four-node yfinance + DeepSeek agent with durable WAL checkpoints, real post-memo SIGKILL recovery, independent external-call/token receipts, and scoped sub-millisecond fast-forward measurements.
46
+
47
+ ### 🔄 Liveness & Auto-Supervision
48
+ - **Programmatic `@supervise` & `supervise()`**: Embedded parent-child process supervisor that catches `SIGKILL (137)`, OOM, and abnormal subprocess crashes, automatically relaunching until completion.
49
+ - **CLI Watcher (`lil watch`)**: Real-time terminal watcher with ASCII progress indicators, exponential backoff, and jitter (`lil watch script.py`).
50
+ - **Signal Classification Matrix**: User/system clean shutdowns (`SIGINT 130` / `SIGTERM 143`) halt immediately without resurrection; abnormal faults trigger restart policy.
51
+ - **Rapid-Failure Circuit Breaker**: Aborts execution on persistent deterministic syntax/logic bugs (<5s uptime x 3 attempts) to prevent runaway CPU spin.
52
+ - **Dual-OS Subprocess Tree Encapsulation**: Win32 Job Object with `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` on Windows; `start_new_session=True` / `os.killpg()` on POSIX.
53
+
54
+ ---
55
+
56
+ ## [0.5.0] - 2026-08-27
57
+
58
+ ### 🔒 Security & Correctness
59
+ - **Fail-Closed `step()` Enforcement**: `step()` called outside `@durable` now raises `RuntimeError` by default (opt-in bypass via `LETITLOOP_LENIENT=1`), eliminating silent data-loss vectors.
60
+ - **Action v2 Pure-JS LILWAL02 CRC32**: Implemented pure TS/Node LILWAL02 frame decoding with `zlib.crc32` verification and `python3` discovery.
61
+ - **MCP Security Hardening**: Jailed `emit_receipt` against `goal_id` path traversal escapes; added 300s TTL and 1000-entry capacity eviction to `_IDEMPOTENCY` cache.
62
+ - **WAL Schema Version Forward-Guard**: Rejects unverified v1 snapshot migrations and unsupported future schema versions.
63
+ - **WAL Deduplication**: Removed redundant `f"step_output_{step_id}"` key to reduce WAL I/O by ~40%.
64
+
65
+ ### 🍳 Cookbooks & Developer Experience
66
+ - **Framework Cookbooks**: Added `examples/cookbooks/langgraph_financial_analyst.py` (yfinance + LangGraph + `@durable`) and `examples/cookbooks/dspy_durable_optimize.py` (DSPy + `@durable_async`).
67
+ - **Cookbook CI Tests**: Added `tests/test_cookbooks.py` with mock LLM runs ensuring zero bit-rot.
68
+ - **Benchmark Honesty**: Replaced adapter aliases in `agent-durability-bench` with honest baselines (`raw_python`, `json_checkpoint`, `sqlite_wal`).
69
+ - **README Rewrite**: Repositioned hero to 3-line `@durable` crash resilience; quarantined enterprise compliance behind `[compliance]` extra.
70
+
71
+ ---
72
+
73
+ ## [0.3.3] - 2026-08-26
74
+
75
+ ### Added
76
+ - **LILWAL02 Checksummed WAL v2** (`orchestrator/state.py`): `\nLILWAL02:<len_hex>:<crc32_hex>:<payload>\n` with `zlib.crc32`, byte-accurate torn-tail `truncate(good_end)` + `fsync`, mid-file fail-closed; 8 tests `tests/test_wal_v2_checksums.py`
77
+ - **Native Async Durability** (`orchestrator/decorators.py`): `@durable_async` + `await async_step()` via `contextvars.ContextVar` + `asyncio.Lock`, fast-forward <1ms; 7 tests `tests/test_durable_async.py`
78
+ - **DCP-2.0 Conformance Moat** (`letitloop/conformance/`): harness 4 kill windows (PROMPT/EXEC/WRITE/VERIFY), real `subprocess.Popen` + `SIGKILL`/`taskkill`, adapters for `letitloop`/`langgraph`/`crewai`/`autogen`/`unmanaged`, scenarios DCP-001..004; CLI `lil bench --compare all` / `lil bench --scenario DCP-002` with JSON receipts (`T_resume`, `W_token`, `C_fail`)
79
+ - **500-Cycle Chaos Gate** (`scripts/chaos_fuzzer_v2.py`): 20 parallel sync+async workflows, random kills, 0 corrupted WALs / 0 state loss (80.18s)
80
+ - **Security Hardening**: sandbox `target_path` (`..` reject) + scenario whitelist `DCP-001..004` in `conformance/harness`
81
+ - **Extensive Plan**: `docs/plans/2026-08-26-vital-fixes-plus-real-bridges.md` (P0-P2 + A-D)
82
+
83
+ ### Fixed
84
+ - **Silent failures surfaced**: WAL truncate and `DurableContext.close` no longer swallow `OSError`/`Exception`; `chaos_fuzzer` `shutil` import fixed
85
+ - **60s invariant**: `results/` + `.bench_wal/` now gitignored, scorecard moved to `docs/V033_SCORECARD.md`, `pytest --durations=10`
86
+ - **Bench Moat**: `conformance/harness/runner.py` PYTHONPATH fix (`parents[3]`), DCP-2.0 markdown export, `lil` entrypoint `pip install -e .`
87
+
88
+ ### Changed
89
+ - `tests/test_hardening_batch3.py` now LILWAL02-aware; `1464 passed, 4 skipped` in `59.18s`
90
+
91
+ ## [0.3.2] - 2026-08-23
92
+
93
+ ### Fixed
94
+ - Clean conflict markers, verify 1449/1449 test suite pass (audit closeout)
95
+
96
+ ## [0.1.0] - 2026-08-17
97
+
98
+ ### 🚀 Added
99
+ - **Model Context Protocol (MCP) Server**: Full stdio JSON-RPC server with `letitloop-mcp` entry point exposing 8 tools for Google Antigravity, Claude Code, Cursor, and OpenCode.
100
+ - **Pluggable Worker Adapter Framework**: Native interfaces for Claude Code CLI (`claude`), Google Antigravity CLI (`agy`), Omniroute routing gateways, custom shell/Python scripts, and direct LLM calls.
101
+ - **Interactive Terminal Dashboard**: Zero-dependency live ASCII status matrix, DAG visualization, progress bars, and event telemetry (`lil dashboard`).
102
+ - **Turnkey Containerization**: Production multi-stage `Dockerfile` (non-root security profile) and `docker-compose.yml`.
103
+ - **Multi-Gateway Transport Layer**: Expanded `orchestrator.llm` to support Omniroute, OpenRouter, Groq, Ollama, DeepSeek, Google Gemini, Anthropic, and OpenAI.
104
+ - **Universal Benchmark Fallback**: Resilient `@pytest.fixture` fallback in `tests/test_benchmarks.py` enabling cross-platform benchmarking without mandatory external plugins.
105
+
106
+ ### 🛡️ Fixed & Hardened
107
+ - **Windows Kernel Hang Resolution**: Replaced blocking POSIX `os.kill(pid, 0)` with non-blocking native Win32 `OpenProcess` checks in `orchestrator.lock` and `orchestrator.supervisor`.
108
+ - **Ruff Compliance**: Fixed 424 linting/formatting errors across 131 files with 100% clean check status.
109
+ - **POSIX Process Tree Kill**: Fixed nested quote escaping in `test_tree_kill_posix` using dedicated temporary runner scripts.
110
+ - **Zero-Leak Privacy Audit**: Verified zero PII, personal directory paths, or leaked private tokens in repository tracked files.
111
+ - **CI/CD Matrix**: 100% green test and build workflow on GitHub Actions across Python 3.11 and 3.12.