loopy-loop 0.2.0__py3-none-any.whl

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 (33) hide show
  1. loopy_loop/__init__.py +1 -0
  2. loopy_loop/cli.py +293 -0
  3. loopy_loop/config.py +491 -0
  4. loopy_loop/coordinator_app.py +706 -0
  5. loopy_loop/harness_runner.py +195 -0
  6. loopy_loop/models.py +163 -0
  7. loopy_loop/scheduler.py +232 -0
  8. loopy_loop/sessions.py +313 -0
  9. loopy_loop/state_store.py +110 -0
  10. loopy_loop/templates/inner_outer_eval/.gitignore +4 -0
  11. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_reviewer/config.yaml +11 -0
  12. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_reviewer/prompt.txt +97 -0
  13. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_runner/config.yaml +12 -0
  14. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_runner/prompt.txt +86 -0
  15. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/inner/config.yaml +8 -0
  16. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/inner/prompt.txt +223 -0
  17. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/outer/config.yaml +8 -0
  18. loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/outer/prompt.txt +333 -0
  19. loopy_loop/templates/inner_outer_eval/loopy_loop_config.yaml +45 -0
  20. loopy_loop/templates/inner_outer_eval/loopy_loop_goal.txt +5 -0
  21. loopy_loop/templates/pm_planner_dispatcher/.gitignore +1 -0
  22. loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/dispatcher/config.yaml +8 -0
  23. loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/dispatcher/prompt.txt +78 -0
  24. loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/planner/config.yaml +9 -0
  25. loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/planner/prompt.txt +99 -0
  26. loopy_loop/templates/pm_planner_dispatcher/loopy_loop_config.yaml +24 -0
  27. loopy_loop/templates/pm_planner_dispatcher/loopy_loop_goal.txt +1 -0
  28. loopy_loop/worker.py +265 -0
  29. loopy_loop-0.2.0.dist-info/METADATA +408 -0
  30. loopy_loop-0.2.0.dist-info/RECORD +33 -0
  31. loopy_loop-0.2.0.dist-info/WHEEL +4 -0
  32. loopy_loop-0.2.0.dist-info/entry_points.txt +3 -0
  33. loopy_loop-0.2.0.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,408 @@
1
+ Metadata-Version: 2.4
2
+ Name: loopy-loop
3
+ Version: 0.2.0
4
+ Summary: A repo-local automation loop for AI agents built on team-harness.
5
+ Project-URL: Homepage, https://github.com/writeitai/loopy-loop
6
+ Project-URL: Repository, https://github.com/writeitai/loopy-loop
7
+ Project-URL: Issues, https://github.com/writeitai/loopy-loop/issues
8
+ Project-URL: Changelog, https://github.com/writeitai/loopy-loop/releases
9
+ Author-email: "WriteIt.ai s.r.o." <info@writeit.ai>
10
+ License-Expression: Apache-2.0
11
+ License-File: LICENSE
12
+ Keywords: agents,ai,automation,fastapi,loop,team-harness,workflow
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Topic :: Software Development
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.12
25
+ Requires-Dist: click>=8.1
26
+ Requires-Dist: fastapi>=0.115.0
27
+ Requires-Dist: filelock>=3.16
28
+ Requires-Dist: httpx>=0.28
29
+ Requires-Dist: pydantic>=2.11
30
+ Requires-Dist: pyyaml>=6.0.2
31
+ Requires-Dist: rich>=14.0
32
+ Requires-Dist: team-harness>=0.2.10
33
+ Requires-Dist: uvicorn[standard]>=0.32.0
34
+ Provides-Extra: dev
35
+ Requires-Dist: pyright>=1.1; extra == 'dev'
36
+ Requires-Dist: pytest-asyncio>=0.25; extra == 'dev'
37
+ Requires-Dist: pytest>=8.3; extra == 'dev'
38
+ Requires-Dist: ruff>=0.4; extra == 'dev'
39
+ Description-Content-Type: text/markdown
40
+
41
+ # loopy-loop
42
+
43
+ `loopy-loop` is a repo-local automation loop for AI agents.
44
+
45
+ - A FastAPI coordinator owns session-local loop state in
46
+ `.loopy_loop/sessions/<session_id>/state.json`.
47
+ - One or more blocking workers poll the coordinator over HTTP.
48
+ - Each assignment loads workflow files from the active workflow set, runs
49
+ `team_harness.TeamHarness`, writes iteration artifacts under
50
+ `.loopy_loop/sessions/<session_id>/iterations/`, and reports completion back
51
+ to the coordinator.
52
+
53
+ ## Install
54
+
55
+ ```bash
56
+ uv sync --extra dev
57
+ ```
58
+
59
+ Or:
60
+
61
+ ```bash
62
+ uv pip install .
63
+ ```
64
+
65
+ ## Skills
66
+
67
+ This repo ships an [Agent Skill](https://support.claude.com/en/articles/12512176-what-are-skills)
68
+ that teaches Claude Code, Codex, and other compatible agents how to set up and
69
+ run loopy-loop in a target repo. Install it with:
70
+
71
+ ```bash
72
+ npx skills add https://github.com/writeitai/loopy-loop --skill loopy-loop
73
+ ```
74
+
75
+ The skill source lives under [`skills/loopy-loop/`](./skills/loopy-loop/SKILL.md).
76
+
77
+ ## Repo Layout
78
+
79
+ ```text
80
+ target repo/
81
+ ├── loopy_loop_config.yaml
82
+ └── .loopy_loop/
83
+ ├── workflow_sets/<workflow_set>/workflows/<workflow_id>/{prompt.txt,config.yaml}
84
+ └── sessions/<session_id>/
85
+ ├── goal.md
86
+ ├── state.json
87
+ ├── child_requests/
88
+ ├── children/
89
+ └── iterations/
90
+ ```
91
+
92
+ ## Quick Start
93
+
94
+ ```bash
95
+ loopy init
96
+ loopy init --template inner_outer_eval
97
+ loopy init --template pm_planner_dispatcher
98
+ loopy coordinator --host 127.0.0.1 --port 8080
99
+ loopy worker --coordinator http://127.0.0.1:8080
100
+ loopy status
101
+ loopy stop
102
+ ```
103
+
104
+ `loopy init` is idempotent. It creates:
105
+
106
+ - `loopy_loop_config.yaml`
107
+ - `.loopy_loop/workflow_sets/main/workflows/goal_check/prompt.txt`
108
+ - `.loopy_loop/workflow_sets/main/workflows/goal_check/config.yaml`
109
+ - `.gitignore` entry for `.loopy_loop/sessions/`
110
+
111
+ Use `loopy init --template inner_outer_eval` to scaffold the packaged workflow
112
+ set for outer planning, inner implementation, eval review, and eval running.
113
+ Use `loopy init --template pm_planner_dispatcher` to scaffold the packaged PM
114
+ workflow set for planner/dispatcher orchestration that starts child sessions.
115
+
116
+ ## CLI Reference
117
+
118
+ `loopy init [--template default|inner_outer_eval|pm_planner_dispatcher]`
119
+
120
+ - Scaffolds the root config and reserved `goal_check` workflow.
121
+ - `--template inner_outer_eval` scaffolds the packaged inner/outer/eval workflow
122
+ set instead: `outer`, `inner`, `eval_reviewer`, and `eval_runner`.
123
+ - `--template pm_planner_dispatcher` scaffolds the packaged PM orchestration
124
+ workflow set: `planner` and `dispatcher`.
125
+ - Does not overwrite existing workflow files.
126
+
127
+ `loopy coordinator --host 0.0.0.0 --port 8080 [--resume] [--workflow-set NAME] [--goal-file PATH]`
128
+
129
+ - Runs the FastAPI coordinator with exactly two endpoints: `/register` and `/finished`.
130
+ - On a fresh start, creates a new session directory with `goal.md` and
131
+ session-local `state.json`.
132
+ - If the latest session `state.json` is terminal, archives it next to that
133
+ session state file and starts fresh.
134
+ - If the latest session `state.json` is already `running`, startup fails unless
135
+ `--resume` is passed.
136
+ - `--workflow-set` overrides `workflow_set` for the new session.
137
+ - `--goal-file` overrides the configured goal file for the new session.
138
+
139
+ `loopy worker --coordinator http://127.0.0.1:8080`
140
+
141
+ - Calls `/register` once to receive the first task.
142
+ - Loops calling `/finished` after each completed task until it receives a `stop` response.
143
+ - Loads `loopy_loop_config.yaml`,
144
+ `.loopy_loop/workflow_sets/<workflow_set>/workflows/<workflow_id>/config.yaml`,
145
+ and the matching `prompt.txt` from disk on each task.
146
+ - Uses the coordinator `config_snapshot` as the execution snapshot for the session.
147
+
148
+ `loopy status`
149
+
150
+ - Prints current session id, iteration count, current task, and stop reason.
151
+
152
+ `loopy stop`
153
+
154
+ - Sets `stop_requested=true` in the latest session-local `state.json`.
155
+
156
+ ## Config Reference
157
+
158
+ Root config (`loopy_loop_config.yaml` at the repo root):
159
+
160
+ ```yaml
161
+ goal_file: "loopy_loop_goal.txt"
162
+ workflow_set: "main"
163
+ max_turns: 20
164
+ goal_check_consecutive_failures_cap: 3
165
+ team_harness_provider: "codex"
166
+ team_harness_model: "gpt-5.5"
167
+ team_harness_agents:
168
+ - "codex"
169
+ - "claude"
170
+ - "gemini"
171
+ team_harness_agent_models:
172
+ codex: "gpt-5.5"
173
+ claude: "claude-opus-4-8"
174
+ gemini: "gemini-3.5-flash"
175
+ team_harness_agent_reasoning_efforts: {}
176
+ # Optional coordinator retry controls. Omit to use team-harness defaults.
177
+ # team_harness_max_retries: 8
178
+ # team_harness_retry_base_delay_s: 2.0
179
+ # team_harness_retry_max_delay_s: 60.0
180
+ team_harness_api_base: "https://openrouter.ai/api/v1"
181
+ team_harness_api_key_env: "OPENROUTER_API_KEY"
182
+ ```
183
+
184
+ Rules:
185
+
186
+ - Session ids start with a UTC timestamp for filesystem sorting and include a
187
+ deterministic `goal_hash` derived from the text loaded from `goal_file`
188
+ - `workflow_set` names the workflow set used when `loopy coordinator`
189
+ is started without `--workflow-set`
190
+ - `goal_file` is resolved relative to `loopy_loop_config.yaml`; inline `goal`
191
+ values in YAML are rejected
192
+ - `completion_criteria`, `stop_criteria`, and
193
+ `team_harness_system_prompt_extension` are optional; omitted criteria default
194
+ to empty lists and the prompt extension defaults to an empty string
195
+ - `team_harness_model` controls the team-harness coordinator model; worker
196
+ subprocess defaults are controlled by `team_harness_agent_models`
197
+ - `team_harness_api_base` is normalized by loopy-loop: trailing slash stripped, `/v1` appended when missing
198
+ - `team_harness_api_key_env` must be set during coordinator preflight and again in the worker before `TeamHarness(...)`
199
+ - `team_harness_agent_reasoning_efforts` is optional and only affects workers
200
+ whose team-harness template supports a reasoning-effort flag
201
+ - `team_harness_max_retries`, `team_harness_retry_base_delay_s`, and
202
+ `team_harness_retry_max_delay_s` are optional coordinator retry controls for
203
+ transient team-harness API/network errors
204
+
205
+ Workflow config:
206
+
207
+ ```yaml
208
+ enabled: true
209
+ priority: 0
210
+ run_every: 1
211
+ must_follow: null
212
+ not_before_iteration: 0
213
+ run_on_start: false
214
+ run_after_successes: null
215
+ emits_goal_check: false
216
+ description: ""
217
+ ```
218
+
219
+ Rules:
220
+
221
+ - Workflow id is the folder name under
222
+ `.loopy_loop/workflow_sets/<workflow_set>/workflows/`
223
+ - `must_follow` must resolve during coordinator preflight
224
+ - `run_every` is based on completed iteration count, not wall clock
225
+ - `priority` breaks ties among eligible workflows; higher values run first
226
+ - `run_on_start=true` makes a workflow eligible before any successful workflow has run
227
+ - `run_after_successes` can run a workflow after every N successful runs of another workflow:
228
+
229
+ ```yaml
230
+ run_after_successes:
231
+ workflow_id: inner
232
+ every: 10
233
+ ```
234
+
235
+ - `emits_goal_check=true` lets a non-`goal_check` workflow write `goal_check.json`
236
+ as a required eval artifact. To stop the loop, the workflow must update the
237
+ session-scoped `control.json`.
238
+ - `goal_check` is reserved and scaffolded with `not_before_iteration: 1`
239
+
240
+ ## Workflow Sets and Child Sessions
241
+
242
+ Workflow sets are mandatory. Even a single-loop repo uses
243
+ `.loopy_loop/workflow_sets/main/workflows/...`; the old
244
+ `.loopy_loop/workflows/...` layout is not loaded.
245
+
246
+ A workflow can request one sequential child session by writing a JSON file under
247
+ the active session's `child_requests/` directory:
248
+
249
+ ```json
250
+ {
251
+ "workflow_set": "pm_planner_dispatcher",
252
+ "goal": "Implement the selected planner item.",
253
+ "schema_version": 1
254
+ }
255
+ ```
256
+
257
+ The coordinator creates the child session under the parent session's
258
+ `children/` directory, copies the request goal into the child `goal.md`, runs
259
+ the requested workflow set, and resumes the parent session after the child
260
+ reaches a terminal state. v1 is depth-first and single-child-at-a-time.
261
+
262
+ The packaged `pm_planner_dispatcher` workflow set uses this contract as a
263
+ generic parent loop:
264
+
265
+ - `planner` maintains PM state, selects one work item, and reviews terminal
266
+ child-session evidence.
267
+ - `dispatcher` writes one child request for the selected work item or imports
268
+ terminal child evidence back into PM state.
269
+
270
+ Cadence example:
271
+
272
+ ```yaml
273
+ # Run eval_reviewer at the beginning and then after every 10 successful inner runs.
274
+ enabled: true
275
+ priority: 100
276
+ run_on_start: true
277
+ run_after_successes:
278
+ workflow_id: inner
279
+ every: 10
280
+ ```
281
+
282
+ ## HTTP Contract Summary
283
+
284
+ Endpoints:
285
+
286
+ - `POST /register`
287
+ - `POST /finished`
288
+
289
+ Both endpoints return a `TaskResponse` with `action` of either `"run"` or `"stop"`.
290
+
291
+ A `run` response carries `workflow_id`, `session_id`, `iteration`, and `config_snapshot`.
292
+ A `stop` response carries `stop_reason`.
293
+
294
+ Stale `/finished` calls (mismatched `session_id`, `workflow_id`, or
295
+ `iteration`) do not mutate state and return the current running task's response.
296
+ If there is no active task, `/finished` acts like `/register` and dispatches the
297
+ next available task. If a worker exits after writing `result.json` but before
298
+ `/finished` is acknowledged, the next `/register` recovers the completed result
299
+ from the iteration directory instead of marking it `abandoned`.
300
+
301
+ See [docs/http-contract.md](docs/http-contract.md) for the exact JSON payloads.
302
+
303
+ ## Session Continuity
304
+
305
+ Every `TeamHarness.run()` call is fresh. Continuity comes from:
306
+
307
+ - git state in the target repo
308
+ - `.loopy_loop/sessions/<session_id>/...` artifacts
309
+ - the coordinator state in `.loopy_loop/sessions/<session_id>/state.json`
310
+
311
+ `team-harness` outputs are routed into the active loopy-loop session under
312
+ `.loopy_loop/sessions/<session_id>/harness_outputs/<NNNN>_<workflow_id>/<team_harness_run_id>/`.
313
+
314
+ Workflow prompts receive session-scoped paths for reusable project state and
315
+ eval definitions:
316
+
317
+ - `.loopy_loop/sessions/<session_id>/project_state/`
318
+ - `.loopy_loop/sessions/<session_id>/eval_checks/`
319
+ - `.loopy_loop/sessions/<session_id>/goal.md`
320
+ - `.loopy_loop/sessions/<session_id>/updates_from_user.md`
321
+ - `.loopy_loop/sessions/<session_id>/child_requests/`
322
+ - `.loopy_loop/sessions/<session_id>/control.json`
323
+ - `.loopy_loop/sessions/<session_id>/project_state/finished.md`
324
+ - `.loopy_loop/sessions/<session_id>/harness_outputs/`
325
+
326
+ These directories are workflow-owned. The coordinator only owns
327
+ `.loopy_loop/sessions/<session_id>/state.json` and iteration dispatch state.
328
+
329
+ Each session's `goal.md` is the source of truth for the target, constraints,
330
+ and completion intent. For top-level sessions it is copied from `goal_file` or
331
+ the `--goal-file` CLI override. Workflow state should not copy or restate that
332
+ goal.
333
+ `project_state/README.md` should explain state ownership: `memory.md` is
334
+ essential durable facts only, `finished.md` is outer-owned accepted completions
335
+ only, `eval_results.md` owns eval detail, and `current_state.md` carries live
336
+ status, the latest eval headline, and the next action.
337
+
338
+ Write runtime requests for the outer loop into `updates_from_user.md`. The outer
339
+ workflow should treat non-empty content as highest-priority planning input,
340
+ reflect it into `project_state/`, and then clear the file. Verified completed
341
+ work belongs in `project_state/finished.md`; `what_we_have.md` should remain the
342
+ concise current capability summary.
343
+
344
+ Eval workflows should run session checks with `--output-dir` pointing at
345
+ `.loopy_loop/sessions/<session_id>/eval_results/`. Raw eval-banana reports stay
346
+ there; `project_state/eval_results.md` should summarize and link the latest
347
+ reports instead of copying them. `project_state/current_state.md` should only
348
+ carry the latest eval headline and the next action.
349
+
350
+ For implementation work that changes repo files, the default delivery path is a
351
+ branch, PR, passing checks, and merge. Multi-repo work should create and merge
352
+ one PR per changed repo when possible. Tasks should opt out only when they are
353
+ session-state-only, eval-only, research-only, planning-only, or the repo has no
354
+ usable remote or auth. `project_state/finished.md` should record delivery
355
+ evidence for each changed repo: repo, branch, PR URL, merge status, merge
356
+ commit, and checks/CI status. If PR creation or merge is blocked, record the
357
+ exact blocker and remaining action in `project_state/current_state.md`.
358
+
359
+ ## Control Files
360
+
361
+ `control.json` is the session-scoped workflow stop switch:
362
+
363
+ ```json
364
+ {
365
+ "state": "running",
366
+ "reason": "session active",
367
+ "stop_reason": null,
368
+ "schema_version": 1
369
+ }
370
+ ```
371
+
372
+ Workflows leave it alone while the loop should continue. To stop successfully:
373
+
374
+ ```json
375
+ {
376
+ "state": "stopped",
377
+ "reason": "evals passed",
378
+ "stop_reason": "goal_met",
379
+ "schema_version": 1
380
+ }
381
+ ```
382
+
383
+ To stop because the loop cannot continue:
384
+
385
+ ```json
386
+ {
387
+ "state": "stopped",
388
+ "reason": "specific terminal blocker",
389
+ "stop_reason": "unresolvable_error",
390
+ "schema_version": 1
391
+ }
392
+ ```
393
+
394
+ `goal_check.json` is a per-iteration eval artifact for the reserved
395
+ `goal_check` workflow or any workflow with `emits_goal_check=true`:
396
+
397
+ ```text
398
+ .loopy_loop/sessions/<session_id>/iterations/<NNNN>_<workflow_id>/goal_check.json
399
+ ```
400
+
401
+ ```json
402
+ {"goal_met": false, "reason": "docs still missing", "schema_version": 1}
403
+ ```
404
+
405
+ If `goal_check.json` is missing or invalid repeatedly, the coordinator stops
406
+ with `stop_reason="goal_check_broken"` after the configured failure cap. A
407
+ valid `goal_check.json` does not stop the loop by itself; stopping is controlled
408
+ by session `control.json`.
@@ -0,0 +1,33 @@
1
+ loopy_loop/__init__.py,sha256=Zn1KFblwuFHiDRdRAiRnDBRkbPttWh44jKa5zG2ov0E,22
2
+ loopy_loop/cli.py,sha256=Q1wlAe_S-UFHgBC7wW0RmZP9FDlrIk6zd1MpdESNc08,9720
3
+ loopy_loop/config.py,sha256=zd06Kqs5EAmKHgs-uWmyWOCNuFejtui8jAuG3vKyUqo,17496
4
+ loopy_loop/coordinator_app.py,sha256=ishuUcx-WmdqK7UqDOBR_SUxLZQFml-gYwqkSKgiT20,27929
5
+ loopy_loop/harness_runner.py,sha256=BT7CU4BwaZhKjd592HscHXboC2TEnm3VoTO3Ptnt3Jk,7260
6
+ loopy_loop/models.py,sha256=9Vbd1UMXif1iB9BlOAlocLy_PRhy2EWS6cflRyw_cuU,5564
7
+ loopy_loop/scheduler.py,sha256=UMdQF_hbO6x4FCEUs5GzVC_T7cdw2l7lXY6pVsCqDrY,7387
8
+ loopy_loop/sessions.py,sha256=7jN4by8m_2oou-xcR9uI-r-WWrijb8wUDVx_t8sXkCc,10050
9
+ loopy_loop/state_store.py,sha256=Pd_OyoEfthFP6bgkNOMG3yi2Aob4NKBF1ivSeKuWFZA,4058
10
+ loopy_loop/worker.py,sha256=bYsuMvRris3AJQ-opLYAIsVnJh2WEEE9Y1Qeh8bGsgs,9839
11
+ loopy_loop/templates/inner_outer_eval/.gitignore,sha256=t7txa4UH9t-UQWEhxdTG8u0_utM8Ejl_sUzQOe1H3KI,111
12
+ loopy_loop/templates/inner_outer_eval/loopy_loop_config.yaml,sha256=0NxhxJ8yfcroFmjQklBnem2qO3tcyXX2TwM8N5yDvAQ,2037
13
+ loopy_loop/templates/inner_outer_eval/loopy_loop_goal.txt,sha256=3B5rmIku6BQUQp5algquK4t0fu3j4mru7BOkusezikU,375
14
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_reviewer/config.yaml,sha256=w71e4Mzh_ztOXMm-wsRODWZQj9A4zwXafkucRRJZ1R0,245
15
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_reviewer/prompt.txt,sha256=QtO0lPQZPlO01UlWbO2QzyHG08RZphKgEl0ZsAuKTj4,4501
16
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_runner/config.yaml,sha256=y0rIDYvEnoIy0Gl3Bfv7NXNWGyXDheXAiQNExSkh9sQ,292
17
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/eval_runner/prompt.txt,sha256=xNnSh8oaa8K5yq3pchoWE6e17cjp3wDVdCNhi7oKEIw,3457
18
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/inner/config.yaml,sha256=wU9y9V-quH3_pkDCpbq5C-pHFGpYtjaGyUk3cUG7MN8,243
19
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/inner/prompt.txt,sha256=kvYDIbAz832rRq5kZlsIJTbzaoh-CZQ0dnk6LvRLi1E,13023
20
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/outer/config.yaml,sha256=WG1prReflVi6Q3if-szoKJRfsiMkpVyjx-QC812i7UM,212
21
+ loopy_loop/templates/inner_outer_eval/.loopy_loop/workflow_sets/inner_outer_eval/workflows/outer/prompt.txt,sha256=0tSiL__2KUzdbgV2eKLqH4pPgUKK1mJ59m1JPp8BkJU,18110
22
+ loopy_loop/templates/pm_planner_dispatcher/.gitignore,sha256=ftBmOCBk1olSB3eLdL5TZJdLDoc7Umey6SHydU9k1Ko,22
23
+ loopy_loop/templates/pm_planner_dispatcher/loopy_loop_config.yaml,sha256=hKCsAwYavAapY6-0ab2bd3NMg2cVgO7-Tfx_gkBS_TY,844
24
+ loopy_loop/templates/pm_planner_dispatcher/loopy_loop_goal.txt,sha256=HnhC9uYFXmUCES7aqBkXXBceZL9p0YRJlQPzshq6t-E,186
25
+ loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/dispatcher/config.yaml,sha256=vt5hO0gfoBgrI08BQgcUM4hQtx2ThOfL4vzsQ2VSTaQ,224
26
+ loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/dispatcher/prompt.txt,sha256=b8CVY-apjxv5NyGOXE0Ag8jvc00OTiODlYzlZ7fNYTw,3135
27
+ loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/planner/config.yaml,sha256=SvxJuDf9H-PCAfQMnqlXpd7FBvtjtJmVMM3uXUJe2zA,219
28
+ loopy_loop/templates/pm_planner_dispatcher/.loopy_loop/workflow_sets/pm_planner_dispatcher/workflows/planner/prompt.txt,sha256=jK5hH8ghmQTx7tJn-I8qmQD4cqETlww48iJrSQBd1Bs,4359
29
+ loopy_loop-0.2.0.dist-info/METADATA,sha256=wCCyx4uPnOKnlFzdp7uE1ie0petcRfmgQ24WGLfbvLk,14823
30
+ loopy_loop-0.2.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
31
+ loopy_loop-0.2.0.dist-info/entry_points.txt,sha256=o4ZHqoeNaTFJKxQIFdLgFKK4Dc1yBorRmRWye2YpHas,79
32
+ loopy_loop-0.2.0.dist-info/licenses/LICENSE,sha256=747cK9sKUpjOrQ4jGWMQQk94iO8W4AporrWzC-Fctng,11289
33
+ loopy_loop-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ loopy = loopy_loop.cli:main
3
+ loopy-loop = loopy_loop.cli:main
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for describing the origin of the Work and
141
+ reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Support. While redistributing the Work or
166
+ Derivative Works thereof, You may choose to offer, and charge a
167
+ fee for, acceptance of support, warranty, indemnity, or other
168
+ liability obligations and/or rights consistent with this License.
169
+ However, in accepting such obligations, You may act only on Your
170
+ own behalf and on Your sole responsibility, not on behalf of any
171
+ other Contributor, and only if You agree to indemnify, defend,
172
+ and hold each Contributor harmless for any liability incurred by,
173
+ or claims asserted against, such Contributor by reason of your
174
+ accepting any such warranty or support.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 WriteIt.ai s.r.o.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
200
+ implied. See the License for the specific language governing
201
+ permissions and limitations under the License.