@gaunt-sloth/batch 2.0.0-beta.12 → 2.0.0-beta.13
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/dist/bin.d.ts +2 -2
- package/dist/bin.js +2 -2
- package/dist/classificationReport.d.ts +2 -2
- package/dist/classificationReport.js +2 -2
- package/dist/classificationTypes.d.ts +7 -7
- package/dist/classificationTypes.js +1 -1
- package/dist/evalCompare.d.ts +11 -0
- package/dist/evalCompare.js +7 -0
- package/dist/evalCompare.js.map +1 -1
- package/dist/evalOutput.d.ts +1 -1
- package/dist/evalOutput.js +1 -1
- package/dist/evalRunner.d.ts +3 -3
- package/dist/evalRunner.js +25 -4
- package/dist/evalRunner.js.map +1 -1
- package/dist/evalSuite.d.ts +5 -1
- package/dist/evalSuite.js +152 -6
- package/dist/evalSuite.js.map +1 -1
- package/dist/evalTypes.d.ts +55 -18
- package/dist/evalTypes.js +2 -2
- package/dist/evalTypes.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/judge.d.ts +2 -2
- package/dist/judge.js +10 -14
- package/dist/judge.js.map +1 -1
- package/dist/output.d.ts +1 -1
- package/dist/output.js +1 -1
- package/dist/parseOver.d.ts +1 -1
- package/dist/parseOver.js +1 -1
- package/dist/pipelineCli.d.ts +3 -3
- package/dist/pipelineCli.js +3 -3
- package/dist/raterPromptArm.d.ts +140 -0
- package/dist/raterPromptArm.js +306 -0
- package/dist/raterPromptArm.js.map +1 -0
- package/dist/raterTarget.d.ts +34 -12
- package/dist/raterTarget.js +87 -27
- package/dist/raterTarget.js.map +1 -1
- package/dist/reporters/registry.d.ts +1 -1
- package/dist/reporters/registry.js +1 -1
- package/dist/reporters/registry.js.map +1 -1
- package/dist/reporters/reporterTypes.d.ts +3 -3
- package/dist/types.d.ts +2 -2
- package/dist/workflow/runWorkflow.d.ts +4 -4
- package/dist/workflow/runWorkflow.js +3 -3
- package/package.json +3 -3
package/dist/raterTarget.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { checkHardline } from '@gaunt-sloth/core/core/shell/hardline.js';
|
|
2
2
|
import { APPROVAL_RUNGS, isNegotiatingRung, isRatedRung, resolveApprovals, } from '@gaunt-sloth/core/config/shell-policy.js';
|
|
3
3
|
import { isAlignmentFailClosed, runAlignmentCheck, } from '@gaunt-sloth/core/core/shell/alignment.js';
|
|
4
|
+
import { armFor, reconcileArmedCapture } from '#src/raterPromptArm.js';
|
|
4
5
|
import { ShellNegotiationState } from '@gaunt-sloth/core/core/shell/negotiation.js';
|
|
5
6
|
import { FAIL_CLOSED_VERDICT, RATER_OUTCOMES, effectivePreflightFloorFinding, isNegotiableCall, mapVerdictToAction, preflightFloorFinding, rateShellCommand, } from '@gaunt-sloth/core/core/shell/rater.js';
|
|
6
7
|
import { resolveRaterModel } from '@gaunt-sloth/core/core/shell/raterModel.js';
|
|
@@ -9,7 +10,7 @@ import { env } from '@gaunt-sloth/core/utils/systemUtils.js';
|
|
|
9
10
|
import { FORCED_BY_ASSERTIONS, HARDLINE_REFUSAL_MARKER, mechanismNeedsPermissiveRating, preflightMechanismFor, } from '#src/evalTypes.js';
|
|
10
11
|
/**
|
|
11
12
|
* The marker a rationale carries when the §8 hardline floor refuses the command — see
|
|
12
|
-
* {@link
|
|
13
|
+
* {@link "evalTypes.js"!HARDLINE_REFUSAL_MARKER | HARDLINE_REFUSAL_MARKER} for why it is a rationale marker and not a label.
|
|
13
14
|
* Re-exported here, beside the code that emits it:
|
|
14
15
|
*
|
|
15
16
|
* ```yaml
|
|
@@ -64,7 +65,7 @@ export const NEGOTIATION_BOUND_MARKER = 'negotiation bound spent';
|
|
|
64
65
|
*
|
|
65
66
|
* ## What the probes are for
|
|
66
67
|
*
|
|
67
|
-
* Two things, neither of which is attribution —
|
|
68
|
+
* Two things, neither of which is attribution — `forcedMechanism` gets the arm's NAME from
|
|
68
69
|
* core directly:
|
|
69
70
|
*
|
|
70
71
|
* 1. **They derive the permissive rating.** A preflight raises only an outcome below core's
|
|
@@ -76,14 +77,14 @@ export const NEGOTIATION_BOUND_MARKER = 'negotiation bound spent';
|
|
|
76
77
|
* corpus. That belongs in a unit test here rather than in someone's eval report, which is what
|
|
77
78
|
* {@link calibrateMechanisms} is for.
|
|
78
79
|
*
|
|
79
|
-
* The probe table is typed as a TOTAL record over {@link
|
|
80
|
+
* The probe table is typed as a TOTAL record over {@link "evalTypes.js"!PreflightMechanism | PreflightMechanism}, which
|
|
80
81
|
* derives from core's own preflight list — so a preflight core gains does not compile here until
|
|
81
82
|
* someone writes the command that observes it.
|
|
82
83
|
*
|
|
83
84
|
* A probe cannot be run with NO verdict: the preflights raise only an outcome below the
|
|
84
85
|
* deterministic floor, and a missing verdict becomes core's fail-closed one, which is *at* the
|
|
85
86
|
* floor. Every command then comes back with the identical placeholder — see
|
|
86
|
-
* {@link
|
|
87
|
+
* {@link "evalTypes.js"!PREFLIGHT_MECHANISMS | PREFLIGHT_MECHANISMS} for the whole rule.
|
|
87
88
|
*
|
|
88
89
|
* Exported for the unit suite, which exercises each mechanism on a command that is NOT its probe:
|
|
89
90
|
* that test has to be able to prove the two differ, or it silently stops being that test.
|
|
@@ -148,7 +149,7 @@ function calibrateGate() {
|
|
|
148
149
|
* fail across every corpus. That must be a red unit test rather than a surprise in someone's eval
|
|
149
150
|
* report.
|
|
150
151
|
*
|
|
151
|
-
* Attribution itself is not at stake.
|
|
152
|
+
* Attribution itself is not at stake. `forcedMechanism` names the arm from core's
|
|
152
153
|
* `preflightFloorFinding` rather than from this index, so two mechanisms that came to share a
|
|
153
154
|
* sentence stay individually attributable — a shrunken map is the SIGNAL that something moved, not
|
|
154
155
|
* the damage it causes.
|
|
@@ -158,7 +159,7 @@ export function calibrateMechanisms() {
|
|
|
158
159
|
}
|
|
159
160
|
/**
|
|
160
161
|
* The rating a `forced_by: <preflight>` round is driven with, discovered from core rather than
|
|
161
|
-
* spelled — see
|
|
162
|
+
* spelled — see `calibrateGate`. Exported for the unit suite, which pins that it is an outcome
|
|
162
163
|
* the gate APPROVES on a command with no preflight (i.e. genuinely permissive, so overriding it is a
|
|
163
164
|
* real finding), without naming one.
|
|
164
165
|
*/
|
|
@@ -192,7 +193,7 @@ function forcedMechanism(command, decision) {
|
|
|
192
193
|
return undefined;
|
|
193
194
|
return preflightMechanismFor(finding.kind);
|
|
194
195
|
}
|
|
195
|
-
/** The memoized
|
|
196
|
+
/** The memoized `calibrateGate` — core's answers do not change within a run. */
|
|
196
197
|
function calibrated() {
|
|
197
198
|
calibration ??= calibrateGate();
|
|
198
199
|
return calibration;
|
|
@@ -242,7 +243,7 @@ function resolveRung(target, config) {
|
|
|
242
243
|
* but it is the second line of the two, not the only one.
|
|
243
244
|
*
|
|
244
245
|
* So a rated case whose command the floor refuses does not exist, and cannot: the two rated rungs
|
|
245
|
-
* are refused at the floor arm before reaching a rating (
|
|
246
|
+
* are refused at the floor arm before reaching a rating (`classifyOneRound`), and `bypass` —
|
|
246
247
|
* the one rung that arm does not cover — is not a rated rung either. The marker therefore never
|
|
247
248
|
* accompanies a rater verdict. At `bypass` it accompanies an `approve`, which is the honest report:
|
|
248
249
|
* the gate approved before the arm and only the exec-time check refuses.
|
|
@@ -286,10 +287,25 @@ function buildRationale(command, floorDescription, decision, noRatingReason, rat
|
|
|
286
287
|
// rationale for the same reason the rater's own sentence does: after the split the gate speaks
|
|
287
288
|
// with two voices, and a report carrying only the classifier's would attribute an action the
|
|
288
289
|
// checker took to a component that did not take it. Named, so a reader can tell the two apart.
|
|
290
|
+
//
|
|
291
|
+
// **A check that FAILED CLOSED is reported too, and deliberately not under the same marker.** It
|
|
292
|
+
// exercised no authority — the classifier's action stands — so a line reading
|
|
293
|
+
// `alignment check (escalate)` would describe a ruling nobody made, and an assertion pinning that
|
|
294
|
+
// marker would be satisfied by a checker that never answered. Core's own fail-closed sentence is
|
|
295
|
+
// already self-identifying (it opens with `ALIGNMENT_COULD_NOT_CHECK_PREFIX`) and already names
|
|
296
|
+
// the cause and the budget, so it is passed through as written. That sentence is the ONLY thing a
|
|
297
|
+
// reader has to reconcile a cell's wall-clock against: an `auto` cell that declined spends a
|
|
298
|
+
// rating call AND a check, each against its own `approvals.raterTimeoutMs` budget, and without
|
|
299
|
+
// this line the second one's time is spent invisibly.
|
|
300
|
+
//
|
|
301
|
+
// The discriminator is core's exported predicate, never a reading of the prose — the same
|
|
302
|
+
// derivation rule the rest of this file keeps.
|
|
289
303
|
if (alignment !== undefined) {
|
|
290
|
-
parts.push(alignment
|
|
291
|
-
?
|
|
292
|
-
:
|
|
304
|
+
parts.push(isAlignmentFailClosed(alignment)
|
|
305
|
+
? alignment.reason.trim()
|
|
306
|
+
: alignment.reason.trim()
|
|
307
|
+
? `alignment check (${alignment.kind}): ${alignment.reason.trim()}`
|
|
308
|
+
: `alignment check (${alignment.kind})`);
|
|
293
309
|
}
|
|
294
310
|
// BATCH-34 — last, because it is the only part that describes the ACTION rather than the rating:
|
|
295
311
|
// the rating said `destructive` and the negotiation is what turned it into a human's decision.
|
|
@@ -408,7 +424,7 @@ function advanceNegotiation(negotiation, command, justification, decision, align
|
|
|
408
424
|
* the mechanism, in the rationale ({@link buildRationale}).
|
|
409
425
|
*
|
|
410
426
|
* **A round claiming a preflight FINDING is driven with a permissive rating** — see
|
|
411
|
-
* {@link
|
|
427
|
+
* {@link "evalTypes.js"!PREFLIGHT_MECHANISMS | PREFLIGHT_MECHANISMS}. Still no model call: the rating is a stub, derived
|
|
412
428
|
* from core, and it is the only way a preflight is observable at all since CFG-28. It does not
|
|
413
429
|
* flatter the case — when the claimed preflight really fires the action is the same either way, and
|
|
414
430
|
* when it does not, the marker and the action go red together.
|
|
@@ -549,8 +565,15 @@ async function classifyOneRound(round, roundIndex, request, rung, negotiation, c
|
|
|
549
565
|
}
|
|
550
566
|
}
|
|
551
567
|
else {
|
|
568
|
+
// [[BATCH-31]] — this cell's PROMPT ARM, installed for THIS call only. When the suite declares
|
|
569
|
+
// no `notes:` axis this is `undefined` and the model handed over below is the very object
|
|
570
|
+
// resolved at build time, so every existing suite sends a byte-identical prompt through a
|
|
571
|
+
// byte-identical object. See `raterPromptArm.ts` for why the omission decorates the model
|
|
572
|
+
// rather than reaching the prompt builder.
|
|
573
|
+
const arm = options?.notes;
|
|
574
|
+
const armed = arm !== undefined ? armFor(model, trimmed, arm) : undefined;
|
|
552
575
|
verdict = await rateShellCommand(trimmed, config, {
|
|
553
|
-
model,
|
|
576
|
+
model: armed !== undefined ? armed.model : model,
|
|
554
577
|
home: options?.home ?? env?.HOME,
|
|
555
578
|
timeoutMs: options?.timeoutMs,
|
|
556
579
|
// BATCH-34 — the §5.1 context for THIS round, from core's own state, with no test of our own
|
|
@@ -573,6 +596,13 @@ async function classifyOneRound(round, roundIndex, request, rung, negotiation, c
|
|
|
573
596
|
},
|
|
574
597
|
});
|
|
575
598
|
modelCalls = 1;
|
|
599
|
+
// [[BATCH-31]] — adjudicated HERE, after the call and outside `rateShellCommand`'s fail-closed
|
|
600
|
+
// `try`: a throw raised at the send site would be caught there and recorded as a `destructive`
|
|
601
|
+
// rating, so an arm that failed to remove its note would be reported as the rater's judgement.
|
|
602
|
+
// It also repairs `capture.prompt`, which core filled in before the arm edited the message.
|
|
603
|
+
if (arm !== undefined && armed !== undefined) {
|
|
604
|
+
reconcileArmedCapture(trimmed, arm, armed.outcome, rating);
|
|
605
|
+
}
|
|
576
606
|
}
|
|
577
607
|
// [[EXT-171]] — the same decision the runner makes, told the same fact: at a negotiating rung a
|
|
578
608
|
// rating the gate never obtained escalates instead of opening a negotiation. Passed from the
|
|
@@ -593,6 +623,10 @@ async function classifyOneRound(round, roundIndex, request, rung, negotiation, c
|
|
|
593
623
|
// an `auto` suite whose `modelCalls` said 1 while spending 2 would understate the cost of the very
|
|
594
624
|
// feature it was measuring.
|
|
595
625
|
let alignment;
|
|
626
|
+
// EXT-66's budget, for the OTHER call. `rateShellCommand` resolves this itself from the run's
|
|
627
|
+
// config; `runAlignmentCheck` takes it only as an option, so the resolution has to happen here
|
|
628
|
+
// for the two halves of one gate decision to be held to the same number.
|
|
629
|
+
const alignmentTimeoutMs = options?.timeoutMs ?? resolveApprovals(config, undefined).raterTimeoutMs;
|
|
596
630
|
const alignmentReachable = !deterministicOnly &&
|
|
597
631
|
isNegotiatingRung(rung) &&
|
|
598
632
|
decision.verdict?.outcome === 'destructive' &&
|
|
@@ -610,7 +644,15 @@ async function classifyOneRound(round, roundIndex, request, rung, negotiation, c
|
|
|
610
644
|
userMessages: negotiation.retainedUserMessages(),
|
|
611
645
|
priorRounds: negotiation.alignmentRounds(),
|
|
612
646
|
...((options?.home ?? env?.HOME) ? { home: options?.home ?? env?.HOME } : {}),
|
|
613
|
-
|
|
647
|
+
// **The checker's budget, resolved exactly as the rating call's is.** `runAlignmentCheck`
|
|
648
|
+
// reads no config of its own, so a run that declares `approvals.raterTimeoutMs` moved only
|
|
649
|
+
// the rating call and left the check on core's hosted-model default — and `GthAgentRunner`
|
|
650
|
+
// passes the resolved value to both. Without this a suite measuring a local rater could
|
|
651
|
+
// raise the budget the classifier needs and still lose every check it drove to a 30s
|
|
652
|
+
// ceiling it never set, which is exactly the half of the gate this target exists to
|
|
653
|
+
// describe. Precedence mirrors `rateShellCommand`'s: an explicit option wins, then the
|
|
654
|
+
// run's config, then core's default (left absent so core applies it).
|
|
655
|
+
...(alignmentTimeoutMs !== undefined ? { timeoutMs: alignmentTimeoutMs } : {}),
|
|
614
656
|
});
|
|
615
657
|
// A check that never happened changes nothing — the classifier's action stands, exactly as it
|
|
616
658
|
// does in production. See core's ALIGNMENT_FAIL_CLOSED.
|
|
@@ -620,24 +662,24 @@ async function classifyOneRound(round, roundIndex, request, rung, negotiation, c
|
|
|
620
662
|
// no action and no judgement, so counting it would report a rating that nobody made. A check
|
|
621
663
|
// that DID happen is counted, because an `auto` suite spending two calls per declined command
|
|
622
664
|
// must not report one.
|
|
623
|
-
if (isAlignmentFailClosed(alignment)) {
|
|
624
|
-
alignment = undefined;
|
|
625
|
-
}
|
|
626
|
-
else {
|
|
665
|
+
if (!isAlignmentFailClosed(alignment)) {
|
|
627
666
|
modelCalls += 1;
|
|
628
667
|
}
|
|
629
668
|
}
|
|
630
|
-
|
|
669
|
+
// **What the check RULED, which is nothing when it failed closed.** Authority and disclosure are
|
|
670
|
+
// two different questions about the same event, and collapsing them is what made a check the gate
|
|
671
|
+
// could not obtain vanish from the report entirely: the action was rightly left alone, and the
|
|
672
|
+
// reader was left with a cell that had spent a second call's worth of wall-clock with no sentence
|
|
673
|
+
// anywhere accounting for it. `ruling` carries the authority; `alignment` above is carried into
|
|
674
|
+
// the rationale either way.
|
|
675
|
+
const ruling = isAlignmentFailClosed(alignment) ? undefined : alignment;
|
|
676
|
+
if (ruling !== undefined) {
|
|
631
677
|
decision.action =
|
|
632
|
-
|
|
633
|
-
? 'approve'
|
|
634
|
-
: alignment.kind === 'suggest'
|
|
635
|
-
? 'reject'
|
|
636
|
-
: 'escalate';
|
|
678
|
+
ruling.kind === 'approve' ? 'approve' : ruling.kind === 'suggest' ? 'reject' : 'escalate';
|
|
637
679
|
}
|
|
638
680
|
// BATCH-34 — record the decision with §5's state and take the action production would take. This
|
|
639
681
|
// is the only step between the mapping and the reported action; see `advanceNegotiation`.
|
|
640
|
-
const negotiated = advanceNegotiation(negotiation, trimmed, justification, decision,
|
|
682
|
+
const negotiated = advanceNegotiation(negotiation, trimmed, justification, decision, ruling);
|
|
641
683
|
return {
|
|
642
684
|
ok: true,
|
|
643
685
|
// Opaque both ways: whatever the gate decided, reported verbatim. Omitted on the model-free
|
|
@@ -683,7 +725,7 @@ async function classifyOneRound(round, roundIndex, request, rung, negotiation, c
|
|
|
683
725
|
* config error into an N-times-repeated one and add a profile load to every case's latency.
|
|
684
726
|
*
|
|
685
727
|
* @param target The parsed `rater` target (its `rung` is the suite's declaration — see
|
|
686
|
-
*
|
|
728
|
+
* `resolveRung`).
|
|
687
729
|
* @param config The run's resolved config — the sweep cell's, when sweeping, so `model:` and
|
|
688
730
|
* `config: { approvals: … }` axes both land here.
|
|
689
731
|
* @param options Test/caller overrides; see {@link RaterClassifierOptions}.
|
|
@@ -695,12 +737,30 @@ export async function buildRaterClassifier(target, config, options) {
|
|
|
695
737
|
// `undefined` lets `rateShellCommand` use the run's own `config.llm` — the same fallback
|
|
696
738
|
// production has, so the sweep's `model:` axis moves the rater exactly when no rater profile is
|
|
697
739
|
// pinned (a pinned profile wins over the sweep, in the eval as in the session).
|
|
698
|
-
const
|
|
740
|
+
const resolvedModel = options?.model ??
|
|
699
741
|
(raterProfile ? await resolveRaterModel(raterProfile, 'approvals.rater') : undefined);
|
|
742
|
+
// [[BATCH-31]] — **an arm needs a model OBJECT to decorate, and `undefined` is a real resolution
|
|
743
|
+
// here**: with no `approvals.rater` pinned, `rateShellCommand` reaches for `config.llm` itself and
|
|
744
|
+
// the decorator would never be installed. Both arms would then send the same prompt and the
|
|
745
|
+
// comparison would report the note changing nothing — a false negative that passes every test
|
|
746
|
+
// written about it. So an armed run resolves `config.llm` here instead, which is the SAME object
|
|
747
|
+
// `rateShellCommand` would have used (`options?.model ?? config.llm`), and refuses to build at all
|
|
748
|
+
// when there is none. Unarmed runs keep `undefined` and the fallback that goes with it.
|
|
749
|
+
const model = options?.notes !== undefined ? (resolvedModel ?? config.llm) : resolvedModel;
|
|
750
|
+
if (options?.notes !== undefined && model === undefined) {
|
|
751
|
+
throw new Error('eval: this suite declares a `notes:` prompt arm, but no rating model resolved — neither ' +
|
|
752
|
+
"`approvals.rater` nor the run's own `llm`. A prompt arm has nothing to act on without " +
|
|
753
|
+
'one, and the run would silently measure the un-omitted prompt in both arms.');
|
|
754
|
+
}
|
|
700
755
|
// [[EXT-127]] — the ALIGNMENT CHECKER's model, resolved once for the same reason the rater's is.
|
|
701
756
|
// `approvals.alignmentChecker` has already been defaulted to the rater's profile by
|
|
702
757
|
// `resolveApprovals`, so a suite that names one rater measures both halves on it — which is what
|
|
703
758
|
// makes a sweep's `model:` axis move the whole gate rather than half of it.
|
|
759
|
+
//
|
|
760
|
+
// [[BATCH-31]] — and it is resolved from the RAW override, never from the armed `model` above, so
|
|
761
|
+
// an arm moves the rating prompt and nothing else. The notes an arm can omit are the rating
|
|
762
|
+
// prompt's; decorating the checker too would let one axis change two prompts and leave a shifted
|
|
763
|
+
// column unattributable to either.
|
|
704
764
|
const checkerProfile = approvals?.alignmentChecker;
|
|
705
765
|
const checkerModel = options?.model ??
|
|
706
766
|
(checkerProfile
|
package/dist/raterTarget.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raterTarget.js","sourceRoot":"","sources":["../src/raterTarget.ts"],"names":[],"mappings":"AA4CA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,gBAAgB,GACjB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,8BAA8B,EAC9B,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,GAAG,EAAE,MAAM,wCAAwC,CAAC;AAE7D,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAW3B;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAEtD;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KAAK,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;YAC3D,QAAQ,CAAC,IAAI,CACX,MAAM,gBAAgB,CACpB,KAAK,EACL,UAAU,EACV,OAAO,EACP,IAAI,EACJ,WAAW,EACX,MAAM,EACN,KAAK,EACL,YAAY,EACZ,OAAO,CACR,CACF,CAAC;QACJ,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -4,7 +4,7 @@ import type { EvalReporterFactory, NamedReporter } from '#src/reporters/reporter
|
|
|
4
4
|
* ONE path; a `custom` key colliding with a built-in name wins (config beats built-in). A name found
|
|
5
5
|
* in neither throws with the available list (the command maps that to exit 2). Reporters are
|
|
6
6
|
* instantiated per call (fresh state per run). Each is paired with the name it was selected under so
|
|
7
|
-
* {@link driveReporters} can name a failing reporter in its contained-error warning. */
|
|
7
|
+
* {@link @gaunt-sloth/batch!"reporters/drive.js".driveReporters | driveReporters} can name a failing reporter in its contained-error warning. */
|
|
8
8
|
export declare function resolveReporters(names: string[], custom?: Record<string, EvalReporterFactory>): NamedReporter[];
|
|
9
9
|
/** The names `resolveReporters` accepts, given the same `custom` map — used to build the error
|
|
10
10
|
* message on an unknown name (and, in A2, to list reporters in help/errors). */
|
|
@@ -7,7 +7,7 @@ const BUILTIN_REPORTERS = { text: createTextReporter };
|
|
|
7
7
|
* ONE path; a `custom` key colliding with a built-in name wins (config beats built-in). A name found
|
|
8
8
|
* in neither throws with the available list (the command maps that to exit 2). Reporters are
|
|
9
9
|
* instantiated per call (fresh state per run). Each is paired with the name it was selected under so
|
|
10
|
-
* {@link driveReporters} can name a failing reporter in its contained-error warning. */
|
|
10
|
+
* {@link @gaunt-sloth/batch!"reporters/drive.js".driveReporters | driveReporters} can name a failing reporter in its contained-error warning. */
|
|
11
11
|
export function resolveReporters(names, custom = {}) {
|
|
12
12
|
const registry = { ...BUILTIN_REPORTERS, ...custom };
|
|
13
13
|
return names.map((name) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/reporters/registry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;kGACkG;AAClG,MAAM,iBAAiB,GAAwC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;AAE5F;;;;;
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/reporters/registry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;kGACkG;AAClG,MAAM,iBAAiB,GAAwC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;AAE5F;;;;;iJAKiJ;AACjJ,MAAM,UAAU,gBAAgB,CAC9B,KAAe,EACf,MAAM,GAAwC,EAAE;IAEhD,MAAM,QAAQ,GAAwC,EAAE,GAAG,iBAAiB,EAAE,GAAG,MAAM,EAAE,CAAC;IAC1F,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxB,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CACb,qBAAqB,IAAI,2BAA2B,sBAAsB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAChG,CAAC;QACJ,CAAC;QACD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC;AAED;gFACgF;AAChF,MAAM,UAAU,sBAAsB,CAAC,MAAM,GAAwC,EAAE;IACrF,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,iBAAiB,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -25,7 +25,7 @@ export interface EvalRunContext {
|
|
|
25
25
|
}
|
|
26
26
|
/** A reporter renders an eval run. Every hook is optional — a reporter implements only what it needs
|
|
27
27
|
* (the text reporter uses all three; a future file reporter may use only onSuiteEnd). Hooks are
|
|
28
|
-
* driven in lifecycle order by {@link driveReporters}. A reporter MUST NOT be able to fail the run:
|
|
28
|
+
* driven in lifecycle order by {@link @gaunt-sloth/batch!"reporters/drive.js".driveReporters | driveReporters}. A reporter MUST NOT be able to fail the run:
|
|
29
29
|
* the driver catches any hook error and surfaces it as a warning (see driveReporters). */
|
|
30
30
|
export interface EvalReporter {
|
|
31
31
|
onSuiteStart?(ctx: EvalRunContext): void | Promise<void>;
|
|
@@ -35,8 +35,8 @@ export interface EvalReporter {
|
|
|
35
35
|
/** Reporters are created per run (they may accumulate state, e.g. a JUnit doc), so the registry
|
|
36
36
|
* stores factories, not instances. */
|
|
37
37
|
export type EvalReporterFactory = () => EvalReporter;
|
|
38
|
-
/** A resolved reporter paired with the name it was selected under. {@link resolveReporters} returns
|
|
39
|
-
* these (not bare {@link EvalReporter}s) so {@link driveReporters} can name WHICH reporter's hook
|
|
38
|
+
/** A resolved reporter paired with the name it was selected under. {@link @gaunt-sloth/batch!"reporters/registry.js".resolveReporters | resolveReporters} returns
|
|
39
|
+
* these (not bare {@link EvalReporter}s) so {@link @gaunt-sloth/batch!"reporters/drive.js".driveReporters | driveReporters} can name WHICH reporter's hook
|
|
40
40
|
* failed in the contained-error warning — with multiple reporters real (A2: text + junit + custom),
|
|
41
41
|
* a bare "onCellResult hook failed" is ambiguous. */
|
|
42
42
|
export interface NamedReporter {
|
package/dist/types.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface CellRunOutcome {
|
|
|
91
91
|
error?: string;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
* Injectable "run one prompt" function — the seam that lets {@link runBatchMatrix} be fully unit
|
|
94
|
+
* Injectable "run one prompt" function — the seam that lets {@link @gaunt-sloth/batch!"BatchRunner.js".runBatchMatrix | runBatchMatrix} be fully unit
|
|
95
95
|
* tested without any real LLM call. The production wiring (`batchCommand.ts`) adapts
|
|
96
96
|
* `runSingleShot` to this shape; tests inject a fake that resolves/rejects/throws as needed.
|
|
97
97
|
*/
|
|
@@ -108,7 +108,7 @@ export interface CellResult extends CellRunOutcome {
|
|
|
108
108
|
/** How many retries were consumed (0 = succeeded, or failed, on the first attempt). */
|
|
109
109
|
retries: number;
|
|
110
110
|
}
|
|
111
|
-
/** Options for {@link runBatchMatrix}. */
|
|
111
|
+
/** Options for {@link @gaunt-sloth/batch!"BatchRunner.js".runBatchMatrix | runBatchMatrix}. */
|
|
112
112
|
export interface BatchRunnerOptions {
|
|
113
113
|
/** Max in-flight cells. Must be >= 1; non-finite/invalid values fall back to the default. */
|
|
114
114
|
concurrency?: number;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @module workflow/runWorkflow
|
|
3
|
-
*
|
|
4
2
|
* BATCH-3 — the `gth workflow` host. Runs a local JS orchestration script (`.mjs`/`.js`) that drives
|
|
5
3
|
* one or more LLM calls through a small, generic {@link WorkflowContext}. This is the
|
|
6
4
|
* script-orchestrated sibling of `gth batch` (matrix over a single prompt): a workflow is arbitrary
|
|
7
5
|
* local code that decides *how* to fan calls out.
|
|
8
6
|
*
|
|
9
7
|
* The host provides two agent shapes, both reusing the proven production wiring:
|
|
10
|
-
* - a **structured** call via {@link askStructured} (`@gaunt-sloth/core`) — a bare, non-agentic
|
|
8
|
+
* - a **structured** call via {@link @gaunt-sloth/core!runtime/askStructured.askStructured | askStructured} (`@gaunt-sloth/core`) — a bare, non-agentic
|
|
11
9
|
* `withStructuredOutput` model call that returns a schema-validated object;
|
|
12
10
|
* - a **text** call that mirrors `buildProductionRunCell` (packages/app/src/commands/batchCommand.ts)
|
|
13
11
|
* exactly — its own `createResolvers()`, a lean agent factory, `runSingleShot`, and
|
|
@@ -18,13 +16,15 @@
|
|
|
18
16
|
* a deliberate widening of the batch package (whose matrix runtime was kept LLM/runner-agnostic) to
|
|
19
17
|
* host the workflow runtime the BATCH-3 brief scopes here; `batch → agent → core` stays a clean DAG
|
|
20
18
|
* (agent does not depend on batch).
|
|
19
|
+
*
|
|
20
|
+
* @module
|
|
21
21
|
*/
|
|
22
22
|
import * as z from 'zod';
|
|
23
23
|
import type { CommandLineConfigOverrides, GthConfig } from '@gaunt-sloth/core/config.js';
|
|
24
24
|
import type { GthCommand } from '@gaunt-sloth/core/core/types.js';
|
|
25
25
|
/** Options for a single {@link WorkflowContext.agent} call. */
|
|
26
26
|
export interface WorkflowAgentOptions {
|
|
27
|
-
/** Zod schema → structured output (via {@link askStructured}). Omit for a plain-text agent run.
|
|
27
|
+
/** Zod schema → structured output (via {@link @gaunt-sloth/core!runtime/askStructured.askStructured | askStructured}). Omit for a plain-text agent run.
|
|
28
28
|
* Build it with {@link WorkflowContext.z} so it is the exact zod instance the model introspects. */
|
|
29
29
|
schema?: z.ZodType<unknown>;
|
|
30
30
|
/** System-message text. Default `''`. */
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @module workflow/runWorkflow
|
|
3
|
-
*
|
|
4
2
|
* BATCH-3 — the `gth workflow` host. Runs a local JS orchestration script (`.mjs`/`.js`) that drives
|
|
5
3
|
* one or more LLM calls through a small, generic {@link WorkflowContext}. This is the
|
|
6
4
|
* script-orchestrated sibling of `gth batch` (matrix over a single prompt): a workflow is arbitrary
|
|
7
5
|
* local code that decides *how* to fan calls out.
|
|
8
6
|
*
|
|
9
7
|
* The host provides two agent shapes, both reusing the proven production wiring:
|
|
10
|
-
* - a **structured** call via {@link askStructured} (`@gaunt-sloth/core`) — a bare, non-agentic
|
|
8
|
+
* - a **structured** call via {@link @gaunt-sloth/core!runtime/askStructured.askStructured | askStructured} (`@gaunt-sloth/core`) — a bare, non-agentic
|
|
11
9
|
* `withStructuredOutput` model call that returns a schema-validated object;
|
|
12
10
|
* - a **text** call that mirrors `buildProductionRunCell` (packages/app/src/commands/batchCommand.ts)
|
|
13
11
|
* exactly — its own `createResolvers()`, a lean agent factory, `runSingleShot`, and
|
|
@@ -18,6 +16,8 @@
|
|
|
18
16
|
* a deliberate widening of the batch package (whose matrix runtime was kept LLM/runner-agnostic) to
|
|
19
17
|
* host the workflow runtime the BATCH-3 brief scopes here; `batch → agent → core` stays a clean DAG
|
|
20
18
|
* (agent does not depend on batch).
|
|
19
|
+
*
|
|
20
|
+
* @module
|
|
21
21
|
*/
|
|
22
22
|
import * as z from 'zod';
|
|
23
23
|
import { resolve } from 'node:path';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gaunt-sloth/batch",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.13",
|
|
4
4
|
"description": "Batch matrix runtime for Gaunt Sloth (BATCH-1): run a prompt-executable over a matrix of models and/or content-bound inputs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Andrew Kondratev",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@langchain/core": "^1.2.11",
|
|
38
38
|
"yaml": "^2.9.1",
|
|
39
39
|
"zod": "^4.6.3",
|
|
40
|
-
"@gaunt-sloth/
|
|
41
|
-
"@gaunt-sloth/
|
|
40
|
+
"@gaunt-sloth/agent": "2.0.0-beta.13",
|
|
41
|
+
"@gaunt-sloth/core": "2.0.0-beta.13"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"./dist/*"
|