@nbardy/oompa 0.4.7 → 0.4.9
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.
|
@@ -393,11 +393,12 @@
|
|
|
393
393
|
(println (format " Review: %s:%s" (name (:harness review-model)) (:model review-model))))
|
|
394
394
|
(println (format " Workers: %d total" (count workers)))
|
|
395
395
|
(doseq [[idx wc] (map-indexed vector worker-configs)]
|
|
396
|
-
(let [{:keys [harness model]} (parse-model-string (:model wc))]
|
|
397
|
-
(println (format " - %dx %s:%s (%d iters%s)"
|
|
396
|
+
(let [{:keys [harness model reasoning]} (parse-model-string (:model wc))]
|
|
397
|
+
(println (format " - %dx %s:%s%s (%d iters%s)"
|
|
398
398
|
(or (:count wc) 1)
|
|
399
399
|
(name harness)
|
|
400
400
|
model
|
|
401
|
+
(if reasoning (str ":" reasoning) "")
|
|
401
402
|
(or (:iterations wc) 10)
|
|
402
403
|
(if (:prompt wc) (str ", " (:prompt wc)) "")))))
|
|
403
404
|
(println)
|
|
@@ -455,10 +455,11 @@
|
|
|
455
455
|
[worker]
|
|
456
456
|
(tasks/ensure-dirs!)
|
|
457
457
|
(let [{:keys [id iterations]} worker]
|
|
458
|
-
(println (format "[%s] Starting worker (%s:%s, %d iterations)"
|
|
458
|
+
(println (format "[%s] Starting worker (%s:%s%s, %d iterations)"
|
|
459
459
|
id
|
|
460
460
|
(name (:harness worker))
|
|
461
461
|
(or (:model worker) "default")
|
|
462
|
+
(if (:reasoning worker) (str ":" (:reasoning worker)) "")
|
|
462
463
|
iterations))
|
|
463
464
|
|
|
464
465
|
;; Backpressure: workers that can't create tasks wait for tasks to exist
|
|
@@ -38,9 +38,10 @@ EOF
|
|
|
38
38
|
### Rules
|
|
39
39
|
|
|
40
40
|
- Before starting work: read the project spec and all tasks to understand scope.
|
|
41
|
-
-
|
|
41
|
+
- **If `../tasks/pending/` is empty or nearly empty: your FIRST priority is to create tasks.** Read the project spec, identify gaps, and write 3-5 focused tasks before doing anything else. Other workers are waiting for work.
|
|
42
|
+
- Claim your task by moving it to `../tasks/current/`.
|
|
42
43
|
- If the `mv` fails (another worker claimed it first), pick a different task.
|
|
43
44
|
- One task per commit (or a small, tightly-related set with overlapping files).
|
|
44
45
|
- If tasks are missing or underspecified: stop and write tasks before coding.
|
|
45
46
|
- If work emerges during execution: create new tasks in `../tasks/pending/`.
|
|
46
|
-
-
|
|
47
|
+
- Only output __DONE__ if you have completed work AND no more tasks can be derived from the spec. Never __DONE__ on your first action — always create or execute at least one task first.
|