bareloop 0.10.0 → 0.12.0
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.
- package/CHANGELOG.md +510 -0
- package/README.md +18 -7
- package/bareloop.context.md +456 -19
- package/package.json +3 -3
- package/src/authorflow.js +290 -49
- package/src/authoring.js +258 -46
- package/src/authorjob.js +390 -32
- package/src/authorscout.js +13 -1
- package/src/bridges.js +238 -11
- package/src/calibrate.js +597 -0
- package/src/cardauthor.js +479 -0
- package/src/clock.js +21 -3
- package/src/declaredclose.js +188 -13
- package/src/index.js +90 -7
- package/src/job.js +28 -9
- package/src/judged.js +765 -0
- package/src/kinds.js +578 -13
- package/src/ledger.js +24 -1
- package/src/planrun.js +517 -14
- package/src/ralph.js +9 -0
- package/src/reuse.js +514 -96
- package/src/reviewdoor.js +246 -0
- package/src/root.js +1 -1
- package/src/run.js +81 -8
- package/src/selection.js +23 -7
- package/types/authorflow.d.ts +233 -21
- package/types/authoring.d.ts +99 -39
- package/types/authorjob.d.ts +44 -6
- package/types/authorscout.d.ts +7 -1
- package/types/bridges.d.ts +95 -1
- package/types/calibrate.d.ts +191 -0
- package/types/cardauthor.d.ts +352 -0
- package/types/clock.d.ts +5 -2
- package/types/declaredclose.d.ts +93 -6
- package/types/index.d.ts +11 -7
- package/types/job.d.ts +22 -4
- package/types/judged.d.ts +280 -0
- package/types/kinds.d.ts +227 -8
- package/types/planrun.d.ts +73 -3
- package/types/reuse.d.ts +218 -3
- package/types/reviewdoor.d.ts +81 -0
- package/types/run.d.ts +60 -2
package/src/ralph.js
CHANGED
|
@@ -629,6 +629,15 @@ export async function ralph({ middle, close, judge, capRuns, ladder, emit, redac
|
|
|
629
629
|
// interpreter" would aim a human at the one component that did nothing wrong.
|
|
630
630
|
'step-stalled': ['The model stopped producing rounds and reissuing the call did not recover it — a stall, not a fault.',
|
|
631
631
|
['let the planner re-allocate what is left (replan)', 'retry the run', 'check provider status', 'abandon the task']],
|
|
632
|
+
// N4 — the close is WAITING ON A PERSON. Nothing failed and nothing is
|
|
633
|
+
// discarded: every mechanical stage passes and the one stage left is a
|
|
634
|
+
// question no worker can answer, so the loop stopped rather than buying
|
|
635
|
+
// an attempt that could not change the answer. The caller renders the
|
|
636
|
+
// real decision-ready package (`hitl-pause`, with the evidence); this
|
|
637
|
+
// entry exists so the passthrough never narrates a paused run as a
|
|
638
|
+
// broken middle.
|
|
639
|
+
'hitl-pause': ['The close reached its human stage — the run is paused, decision-ready, and the clock is stopped.',
|
|
640
|
+
['accept', 'rerun (your words become the gap the worker converts)', 'pause (the checkpoint keeps, and it resumes)']],
|
|
632
641
|
};
|
|
633
642
|
// Object.hasOwn, not bare lookup: a category named after an
|
|
634
643
|
// Object.prototype member ("toString") would return the inherited
|