@tangle-network/agent-eval 0.205.2 → 0.206.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 +5 -0
- package/dist/analyst/index.d.ts +1 -1
- package/dist/analyst/index.js +1 -1
- package/dist/{benchmark-command-DuDTN5ID.js → benchmark-command-DtP94cOB.js} +2 -2
- package/dist/{benchmark-command-DuDTN5ID.js.map → benchmark-command-DtP94cOB.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/meta-eval/index.d.ts +6 -0
- package/dist/meta-eval/index.d.ts.map +1 -1
- package/dist/meta-eval/index.js +15 -1
- package/dist/meta-eval/index.js.map +1 -1
- package/dist/openapi.json +1 -1
- package/dist/rl.d.ts +12 -12
- package/dist/rl.d.ts.map +1 -1
- package/dist/rl.js +17 -17
- package/dist/rl.js.map +1 -1
- package/dist/systemone-protocol-DKoi1NdK.d.ts +132 -0
- package/dist/systemone-protocol-DKoi1NdK.d.ts.map +1 -0
- package/dist/systemone-protocol.d.ts +2 -0
- package/dist/systemone-protocol.js +214 -0
- package/dist/systemone-protocol.js.map +1 -0
- package/dist/{jev-review-Cw06AKuF.d.ts → systemone-review-DGTKkLMG.d.ts} +16 -16
- package/dist/systemone-review-DGTKkLMG.d.ts.map +1 -0
- package/dist/{jev-review-DZEjDzlF.js → systemone-review-DTClwgmE.js} +11 -11
- package/dist/systemone-review-DTClwgmE.js.map +1 -0
- package/dist/systemone.d.ts +60 -0
- package/dist/systemone.d.ts.map +1 -0
- package/dist/{jev.js → systemone.js} +16 -16
- package/dist/systemone.js.map +1 -0
- package/docs/changes/jev-evidence-review.md +1 -1
- package/docs/changes/systemone-provider-neutral.md +36 -0
- package/docs/public-api.md +93 -68
- package/docs/{jev-behavior-review.md → systemone-behavior-review.md} +17 -17
- package/docs/{jev-integrations.md → systemone-integrations.md} +4 -4
- package/docs/{jev-replay.md → systemone-replay.md} +6 -6
- package/docs/{jev.md → systemone.md} +84 -33
- package/package.json +9 -9
- package/dist/jev-protocol-BQLxwbqD.d.ts +0 -99
- package/dist/jev-protocol-BQLxwbqD.d.ts.map +0 -1
- package/dist/jev-protocol.d.ts +0 -2
- package/dist/jev-protocol.js +0 -114
- package/dist/jev-protocol.js.map +0 -1
- package/dist/jev-review-Cw06AKuF.d.ts.map +0 -1
- package/dist/jev-review-DZEjDzlF.js.map +0 -1
- package/dist/jev.d.ts +0 -60
- package/dist/jev.d.ts.map +0 -1
- package/dist/jev.js.map +0 -1
package/docs/public-api.md
CHANGED
|
@@ -7,11 +7,11 @@ Generated by `pnpm api:census` on demand — this is a dated reading, not a gate
|
|
|
7
7
|
| measure | count |
|
|
8
8
|
| --- | --- |
|
|
9
9
|
| export subpaths | 33 |
|
|
10
|
-
| published value exports (subpath x symbol) |
|
|
11
|
-
| distinct symbols |
|
|
12
|
-
| production |
|
|
13
|
-
| planned |
|
|
14
|
-
| none |
|
|
10
|
+
| published value exports (subpath x symbol) | 1614 |
|
|
11
|
+
| distinct symbols | 1422 |
|
|
12
|
+
| production | 1052 |
|
|
13
|
+
| planned | 296 |
|
|
14
|
+
| none | 266 |
|
|
15
15
|
|
|
16
16
|
Type-only exports are not listed: a type binds no runtime surface, and removing one cannot break a caller at run time.
|
|
17
17
|
|
|
@@ -84,7 +84,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
84
84
|
|
|
85
85
|
### `.`
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
371 value exports — 281 production, 44 planned, 46 none.
|
|
88
88
|
|
|
89
89
|
| symbol | consumer | evidence |
|
|
90
90
|
| --- | --- | --- |
|
|
@@ -150,6 +150,8 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
150
150
|
| `checkCanaries` | production | blueprint-agent:scripts/experiments/lib/contamination-preflight.ts |
|
|
151
151
|
| `checkServedModel` | production | this package: src/integrity/preflight.ts:33 |
|
|
152
152
|
| `checkTraceContracts` | production | creative-agent:eval/lib/trace-contracts.ts |
|
|
153
|
+
| `chiSquared` | none | only this package's tests: src/statistics/inference.test.ts:2 |
|
|
154
|
+
| `chiSquaredPValue` | none | only this package's tests: src/statistics/inference.test.ts:2 |
|
|
153
155
|
| `clamp01` | production | agent-dev-container:products/intelligence/api/src/lib/consultant/executor.ts |
|
|
154
156
|
| `classifyFailure` | production | phony:products/builder/api/src/eval/autoresearch/trace-analyst.ts |
|
|
155
157
|
| `classifyFailureReason` | production | this package: src/diagnosis/first-failure.ts:39 |
|
|
@@ -246,6 +248,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
246
248
|
| `FileSystemTraceStore` | production | agent-builder:scripts/eval.ts |
|
|
247
249
|
| `fileVerdictCache` | production | blueprint-agent:scripts/experiments/calibrate-instrument.ts |
|
|
248
250
|
| `FindingsStore` | production | agent-builder:scripts/run-canonical-analyst-loop.ts |
|
|
251
|
+
| `fisherExactTwoSided` | none | only this package's tests: src/statistics/inference.test.ts:2 |
|
|
249
252
|
| `formatScorecardDiff` | production | ai-trading-blueprint:evals/src/trading/scorecard-integration.ts |
|
|
250
253
|
| `gainHistogram` | production | blueprint-agent:scripts/experiments/vb-runrecord-analysis.ts |
|
|
251
254
|
| `gateTreatmentApplied` | production | blueprint-agent:scripts/experiments/lib/validity-gates.ts |
|
|
@@ -286,6 +289,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
286
289
|
| `judgeSpans` | production | this package: src/builder-eval/three-layer-eval.ts:25 |
|
|
287
290
|
| `knowledgeReadinessTracePayload` | production | agent-dev-container:products/intelligence/api/src/routes/project-engines.ts |
|
|
288
291
|
| `leaderboard` | production | blueprint-agent:scripts/experiments/lib/cross-harness-leaderboard.ts |
|
|
292
|
+
| `linearRegressionSlope` | none | only this package's tests: src/statistics/inference.test.ts:2 |
|
|
289
293
|
| `lintTraceContractSpec` | planned | doc: docs/trace-contracts.md |
|
|
290
294
|
| `LlmCallError` | production | agent-dev-container:products/intelligence/api/src/lib/router-model-owner.ts |
|
|
291
295
|
| `llmJudge` | production | agent-runtime:examples/agentic-data-creation/offline-fixtures.ts |
|
|
@@ -314,6 +318,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
314
318
|
| `mulberry32` | production | agent-knowledge:src/memory/holdout.ts |
|
|
315
319
|
| `MultiLayerVerifier` | production | agent-builder:src/lib/.server/eval/loops/forge-refinement.ts |
|
|
316
320
|
| `NoopRawProviderSink` | production | agent-dev-container:products/intelligence/api/src/lib/eval-engine.ts |
|
|
321
|
+
| `normalTwoSidedPValue` | none | only this package's tests: src/statistics/inference.test.ts:2 |
|
|
317
322
|
| `notBlocked` | none | only this package's tests: src/oracle.test.ts:2 |
|
|
318
323
|
| `NotFoundError` | production | agent-runtime:src/errors.ts |
|
|
319
324
|
| `objectiveEval` | production | agent-knowledge:src/research-loop.ts |
|
|
@@ -398,6 +403,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
398
403
|
| `runSemanticConceptJudge` | production | agent-dev-container:products/intelligence/api/src/lib/optimization-engine.ts |
|
|
399
404
|
| `runsForScenario` | production | phony:products/builder/api/src/eval/gate.ts |
|
|
400
405
|
| `runTaskScore` | production | discovery-lab:tools/strict-screen.mjs |
|
|
406
|
+
| `sampleMedian` | planned | doc: docs/concepts.md |
|
|
401
407
|
| `scoreKnowledgeReadiness` | production | agent-builder:src/lib/.server/runtime/agent-task-readiness.ts |
|
|
402
408
|
| `scorePolicyEditReadiness` | none | — |
|
|
403
409
|
| `scoreRedTeamOutput` | production | agent-dev-container:products/intelligence/api/src/lib/optimization-gate.ts |
|
|
@@ -409,12 +415,15 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
409
415
|
| `ServedCrossFamilyError` | none | only this package's tests: src/integrity/served-model.test.ts:2 |
|
|
410
416
|
| `servedModelAcceptable` | production | this package: src/integrity/preflight.ts:33 |
|
|
411
417
|
| `shareAllowed` | planned | doc: docs/redaction.md |
|
|
418
|
+
| `spanRecordsToTraceAnalysisStore` | planned | doc: docs/trace-analysis.md |
|
|
412
419
|
| `spearmanR` | production | blueprint-agent:scripts/experiments/lib/benchmark-validity-report.mjs |
|
|
413
420
|
| `stripFencedJson` | production | blueprint-agent:scripts/experiments/compare-analysis-reports.ts |
|
|
421
|
+
| `studentTTwoSidedPValue` | production | this package: src/baseline.ts:19 |
|
|
414
422
|
| `subjectiveEval` | production | creative-agent:eval/control/creative-onboarding.ts |
|
|
415
423
|
| `summarizeBackendIntegrity` | production | agent-dev-container:products/intelligence/api/src/lib/run-provenance.ts |
|
|
416
424
|
| `summarizeNumberSeries` | production | this package: src/campaign/cell-aggregates.ts:12 |
|
|
417
425
|
| `summarizePreferenceMemory` | production | agent-builder:src/lib/.server/eval/loops/auto-research-runner.ts |
|
|
426
|
+
| `summarizeSample` | planned | doc: docs/concepts.md |
|
|
418
427
|
| `summaryTable` | production | blueprint-agent:scripts/experiments/vb-runrecord-analysis.ts |
|
|
419
428
|
| `textInSnapshot` | none | only this package's tests: src/oracle.test.ts:2 |
|
|
420
429
|
| `toAgentProfileJson` | production | blueprint-agent:scripts/experiments/lib/agent-profile-cell.ts |
|
|
@@ -425,6 +434,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
425
434
|
| `traceContract` | production | creative-agent:eval/lib/trace-contracts.ts |
|
|
426
435
|
| `TraceEmitter` | production | agent-builder:src/lib/.server/runtime/trace-runtime.ts |
|
|
427
436
|
| `transientDispatchFailure` | planned | doc: docs/eval-surface-map.md |
|
|
437
|
+
| `twoByTwoPValue` | planned | doc: docs/concepts.md |
|
|
428
438
|
| `UNKNOWN_MODEL` | production | this package: src/campaign/presets/run-profile-matrix.ts:54 |
|
|
429
439
|
| `urlContains` | none | only this package's tests: src/oracle.test.ts:2 |
|
|
430
440
|
| `userQuestionsForKnowledgeGaps` | production | agent-dev-container:products/intelligence/api/src/routes/project-engines.ts |
|
|
@@ -441,6 +451,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
441
451
|
| `viteDeployRunner` | production | blueprint-agent:scripts/experiments/lib/deploy-runner.ts |
|
|
442
452
|
| `weightedComposite` | production | agent-app:src/eval/index.ts |
|
|
443
453
|
| `weightedMean` | production | blueprint-agent:scripts/experiments/lib/synthesis-quality-judge.ts |
|
|
454
|
+
| `welchsTTest` | production | this package: src/contract/analyze-runs.ts:25 |
|
|
444
455
|
| `WILCOXON_EXACT_MAX_N` | none | — |
|
|
445
456
|
| `wilcoxonSignedRank` | production | agent-builder:src/lib/.server/eval/loops/differential-eval.ts |
|
|
446
457
|
| `wilson` | production | agent-dev-container:products/intelligence/api/src/lib/project-analysis-coverage-recommendations.ts |
|
|
@@ -489,7 +500,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
489
500
|
| `AnalystRegistry` | production | blueprint-agent:scripts/experiments/vb-multi-analyst.ts |
|
|
490
501
|
| `analystUsageReceiptFromPrimeUsage` | production | this package: src/analyst/benchmark-runner-prime.ts:19 |
|
|
491
502
|
| `appendVerificationArtifactsToOtlp` | production | this package: src/analyst/benchmark-public-data.ts:32 |
|
|
492
|
-
| `askTraceQuestions` | planned | doc: docs/
|
|
503
|
+
| `askTraceQuestions` | planned | doc: docs/systemone-behavior-review.md |
|
|
493
504
|
| `assertProposalFindings` | production | agent-runtime:src/improvement/code-execution.ts |
|
|
494
505
|
| `behavioralAnalyst` | production | agent-dev-container:products/intelligence/api/src/lib/deep-trace-analyst.ts |
|
|
495
506
|
| `bindAnalyst` | planned | doc: docs/trace-analysis.md |
|
|
@@ -644,7 +655,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
644
655
|
|
|
645
656
|
### `./campaign`
|
|
646
657
|
|
|
647
|
-
|
|
658
|
+
168 value exports — 119 production, 22 planned, 27 none.
|
|
648
659
|
|
|
649
660
|
| symbol | consumer | evidence |
|
|
650
661
|
| --- | --- | --- |
|
|
@@ -665,6 +676,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
665
676
|
| `buildTraceAnalystSurfaceDispatch` | none | only this package's tests: src/campaign/analyst-surface.test.ts:4 |
|
|
666
677
|
| `campaignBreakdown` | production | this package: src/campaign/external-text-evaluation.ts:11 |
|
|
667
678
|
| `campaignCellSearchResult` | production | this package: src/campaign/presets/run-optimization.ts:51 |
|
|
679
|
+
| `campaignCoverage` | production | this package: src/campaign/presets/run-optimization.ts:32 |
|
|
668
680
|
| `campaignMeanComposite` | production | agent-dev-container:products/intelligence/api/src/lib/optimization-engine.ts |
|
|
669
681
|
| `campaignMeasurementDigest` | production | this package: src/contract/self-improve-method.ts:14 |
|
|
670
682
|
| `campaignScenarioIdentity` | production | agent-runtime:src/improvement/method-identity.ts |
|
|
@@ -681,6 +693,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
681
693
|
| `costFromLedgerSummary` | production | supervisor-lab:bench/drain/seat.ts |
|
|
682
694
|
| `createProfileMatrixPlan` | production | discovery-lab:tools/run-profile-confirmation.mjs |
|
|
683
695
|
| `createReferenceEquivalenceJudge` | none | only this package's tests: src/reference-equivalence-judge.test.ts:13 |
|
|
696
|
+
| `createRetainedDispatch` | production | this package: scripts/prove-retained-dispatch-integrity.ts:9 |
|
|
684
697
|
| `createRunCostLedger` | production | agent-dev-container:products/intelligence/api/src/lib/eval-engine.ts |
|
|
685
698
|
| `createSearchHistoryReceipt` | production | this package: src/campaign/search-ledger-recording.ts:27 |
|
|
686
699
|
| `crowdedFrontierParent` | production | this package: scripts/search-sim.ts:146 |
|
|
@@ -713,13 +726,13 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
713
726
|
| `inMemoryCampaignStorage` | production | agent-dev-container:products/sandbox/evals/src/auto-optimization.ts |
|
|
714
727
|
| `isProposedCandidate` | production | supervisor-lab:bench/sequential-arena.ts |
|
|
715
728
|
| `isTransientTransportFailure` | production | gtm-agent:eval/suites/persona.ts |
|
|
716
|
-
| `LabeledScenarioStoreError` | none | only this package's tests: tests/campaign/run-campaign.test.ts:
|
|
729
|
+
| `LabeledScenarioStoreError` | none | only this package's tests: tests/campaign/run-campaign.test.ts:7 |
|
|
717
730
|
| `labelTrustRank` | production | this package: src/campaign/labeled-store/fs-adapter.ts:40 |
|
|
718
731
|
| `llmJudge` | production | agent-runtime:examples/agentic-data-creation/offline-fixtures.ts |
|
|
719
732
|
| `loadEvalFixture` | planned | doc: docs/eval-fixtures.md |
|
|
720
733
|
| `loadEvalFixtureScenarios` | planned | example: examples/eval-fixtures-quickstart/index.ts:11 |
|
|
721
734
|
| `loopProvenanceArgsFromResult` | production | this package: src/contract/self-improve.ts:36 |
|
|
722
|
-
| `loopProvenanceSpans` | none | only this package's tests: tests/campaign/presets.test.ts:
|
|
735
|
+
| `loopProvenanceSpans` | none | only this package's tests: tests/campaign/presets.test.ts:7 |
|
|
723
736
|
| `makePlaybackDispatch` | none | only this package's tests: src/campaign/presets/playback.test.ts:6 |
|
|
724
737
|
| `makeProposalFinding` | production | agent-runtime:examples/improve/improve.ts |
|
|
725
738
|
| `neutralizationGate` | planned | consumer tests: tax-agent:tests/eval/benchmarks/taxcalc/evolve.ts |
|
|
@@ -907,9 +920,9 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
907
920
|
|
|
908
921
|
| symbol | consumer | evidence |
|
|
909
922
|
| --- | --- | --- |
|
|
910
|
-
| `asAnalyst` | production | this package: src/
|
|
911
|
-
| `asJudge` | production | this package: src/
|
|
912
|
-
| `createEvaluator` | production | this package: src/
|
|
923
|
+
| `asAnalyst` | production | this package: src/systemone.ts:5 |
|
|
924
|
+
| `asJudge` | production | this package: src/systemone.ts:5 |
|
|
925
|
+
| `createEvaluator` | production | this package: src/systemone.ts:5 |
|
|
913
926
|
|
|
914
927
|
### `./experiment`
|
|
915
928
|
|
|
@@ -1061,40 +1074,6 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1061
1074
|
| `TraceSpanEventSchema` | planned | example: examples/hosted-ingest-server/server.ts:33 |
|
|
1062
1075
|
| `UnixNanoTimestampSchema` | none | — |
|
|
1063
1076
|
|
|
1064
|
-
### `./jev`
|
|
1065
|
-
|
|
1066
|
-
15 value exports — 8 production, 6 planned, 1 none.
|
|
1067
|
-
|
|
1068
|
-
| symbol | consumer | evidence |
|
|
1069
|
-
| --- | --- | --- |
|
|
1070
|
-
| `asAnalyst` | production | this package: src/jev.ts:5 |
|
|
1071
|
-
| `asJudge` | production | this package: src/jev.ts:5 |
|
|
1072
|
-
| `assessJevReview` | planned | doc: docs/changes/jev-evidence-review.md |
|
|
1073
|
-
| `createEvaluator` | production | this package: src/jev.ts:5 |
|
|
1074
|
-
| `jevAnalyst` | planned | example: examples/jev-behavior-review.ts:3 |
|
|
1075
|
-
| `jevEvaluator` | planned | doc: docs/jev-behavior-review.md |
|
|
1076
|
-
| `jevJudge` | planned | example: examples/jev-product-integrity.ts:4 |
|
|
1077
|
-
| `JevResponseError` | none | — |
|
|
1078
|
-
| `jevReviewFindings` | planned | example: examples/jev-behavior-review.ts:3 |
|
|
1079
|
-
| `jevUsage` | production | this package: src/jev.ts:7 |
|
|
1080
|
-
| `normalizedJevScore` | planned | doc: docs/jev.md |
|
|
1081
|
-
| `parseJevQuestions` | production | this package: src/jev.ts:7 |
|
|
1082
|
-
| `parseJevRequest` | production | this package: src/jev-review.ts:9 |
|
|
1083
|
-
| `parseJevResult` | production | this package: src/jev-review.ts:9 |
|
|
1084
|
-
| `prepareJevReview` | production | this package: src/rl/claim-integrity.ts:39 |
|
|
1085
|
-
|
|
1086
|
-
### `./jev/protocol`
|
|
1087
|
-
|
|
1088
|
-
5 value exports — 4 production, 0 planned, 1 none.
|
|
1089
|
-
|
|
1090
|
-
| symbol | consumer | evidence |
|
|
1091
|
-
| --- | --- | --- |
|
|
1092
|
-
| `JevResponseError` | none | — |
|
|
1093
|
-
| `jevUsage` | production | this package: src/jev.ts:7 |
|
|
1094
|
-
| `parseJevQuestions` | production | this package: src/jev.ts:7 |
|
|
1095
|
-
| `parseJevRequest` | production | this package: src/jev-review.ts:9 |
|
|
1096
|
-
| `parseJevResult` | production | this package: src/jev-review.ts:9 |
|
|
1097
|
-
|
|
1098
1077
|
### `./ledger-core`
|
|
1099
1078
|
|
|
1100
1079
|
20 value exports — 19 production, 0 planned, 1 none.
|
|
@@ -1116,7 +1095,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1116
1095
|
| `readTrustedHeadFile` | production | this package: src/ledger-core/journal.ts:55 |
|
|
1117
1096
|
| `replayLedgerText` | production | this package: src/campaign/search-ledger.ts:23 |
|
|
1118
1097
|
| `trustedHeadPathFor` | production | this package: src/ledger-core/journal.ts:55 |
|
|
1119
|
-
| `tryAcquireAtomicFileLock` | production | this package:
|
|
1098
|
+
| `tryAcquireAtomicFileLock` | production | this package: scripts/prove-retained-dispatch.ts:10 |
|
|
1120
1099
|
| `tryWithLedgerFileLock` | production | this package: src/campaign/search-ledger-file.ts:3 |
|
|
1121
1100
|
| `verifyEntriesAgainstTrustedHead` | production | this package: src/ledger-core/journal.ts:55 |
|
|
1122
1101
|
| `withLedgerFileLock` | production | this package: src/analyst/benchmark-response-cache.ts:6 |
|
|
@@ -1134,12 +1113,13 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1134
1113
|
|
|
1135
1114
|
### `./meta-eval`
|
|
1136
1115
|
|
|
1137
|
-
|
|
1116
|
+
32 value exports — 13 production, 18 planned, 1 none.
|
|
1138
1117
|
|
|
1139
1118
|
| symbol | consumer | evidence |
|
|
1140
1119
|
| --- | --- | --- |
|
|
1141
1120
|
| `auditEvaluator` | planned | example: examples/evaluation-integrity/index.ts:15 |
|
|
1142
1121
|
| `auditProbabilityPolicy` | planned | doc: docs/changes/probability-policy-audit.md |
|
|
1122
|
+
| `brierScore` | planned | doc: docs/systemone.md |
|
|
1143
1123
|
| `calibrateJudge` | production | creative-agent:eval/calibrate-judges.ts |
|
|
1144
1124
|
| `calibrateJudgeContinuous` | planned | consumer tests: tax-agent:tests/eval/lib/judge-sentinel.ts |
|
|
1145
1125
|
| `calibrationCurve` | planned | doc: docs/eval-surface-map.md |
|
|
@@ -1149,6 +1129,8 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1149
1129
|
| `correlationStudy` | production | phony:products/builder/api/src/eval/outcomes.ts |
|
|
1150
1130
|
| `definePlant` | planned | doc: docs/eval-surface-map.md |
|
|
1151
1131
|
| `evalHealthStamp` | production | creative-agent:eval/lib/judge-sentinel.ts |
|
|
1132
|
+
| `evaluatorAdmissionPolicySchema` | planned | doc: docs/evaluator-construction.md |
|
|
1133
|
+
| `evaluatorAuditObservationSchema` | planned | doc: docs/evaluator-construction.md |
|
|
1152
1134
|
| `fileSentinelStore` | production | creative-agent:eval/lib/judge-sentinel.ts |
|
|
1153
1135
|
| `FileSystemOutcomeStore` | production | phony:products/builder/api/src/eval/outcomes.ts |
|
|
1154
1136
|
| `InMemoryOutcomeStore` | planned | consumer tests: phony:products/builder/api/src/eval/outcomes-correlate.test.ts |
|
|
@@ -1156,6 +1138,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1156
1138
|
| `judgeSentinelReport` | production | creative-agent:eval/lib/judge-sentinel.ts |
|
|
1157
1139
|
| `OutcomeStoreError` | planned | doc: docs/outcome-validity.md |
|
|
1158
1140
|
| `perturbEvidence` | planned | doc: docs/plants.md |
|
|
1141
|
+
| `planEvaluatorAudit` | planned | doc: docs/evaluator-construction.md |
|
|
1159
1142
|
| `plantByPerturbation` | planned | doc: docs/plants.md |
|
|
1160
1143
|
| `positionalBias` | planned | doc: docs/concepts.md |
|
|
1161
1144
|
| `rubricPredictiveValidity` | production | physim:apps/server/src/scripts/agent-eval/validate-rubrics.ts |
|
|
@@ -1294,14 +1277,14 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1294
1277
|
| `buildRlDataset` | production | this package: src/rl/corpus.ts:24 |
|
|
1295
1278
|
| `buildVerifiedFindingRow` | none | only this package's tests: src/rl/verified-findings-dataset.test.ts:5 |
|
|
1296
1279
|
| `campaignToRunRecords` | production | agent-builder:src/lib/.server/eval/loops/auto-research-runner.ts |
|
|
1297
|
-
| `checkerReadSignal` | planned | doc: docs/
|
|
1280
|
+
| `checkerReadSignal` | planned | doc: docs/systemone-behavior-review.md |
|
|
1298
1281
|
| `CLAIM_INTEGRITY_VERSION` | none | — |
|
|
1299
1282
|
| `claimBrief` | none | — |
|
|
1300
1283
|
| `claimIntegrityDigest` | none | only this package's tests: src/rl/claim-integrity.test.ts:4 |
|
|
1301
|
-
| `
|
|
1302
|
-
| `
|
|
1303
|
-
| `claimIntegrityTraceQuestions` | planned | doc: docs/
|
|
1304
|
-
| `claimIntegrityVerdict` | planned | doc: docs/
|
|
1284
|
+
| `claimIntegritySystemOneQuestions` | none | — |
|
|
1285
|
+
| `claimIntegritySystemOneReview` | planned | doc: docs/systemone-behavior-review.md |
|
|
1286
|
+
| `claimIntegrityTraceQuestions` | planned | doc: docs/systemone-behavior-review.md |
|
|
1287
|
+
| `claimIntegrityVerdict` | planned | doc: docs/systemone-behavior-review.md |
|
|
1305
1288
|
| `compareAdaptationCurves` | planned | doc: docs/design/statistics-decisions.md |
|
|
1306
1289
|
| `datasheetToMarkdown` | none | only this package's tests: src/rl/dataset.test.ts:7 |
|
|
1307
1290
|
| `defaultBehaviorFeatures` | none | only this package's tests: src/rl/sim-fidelity.test.ts:3 |
|
|
@@ -1312,29 +1295,28 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1312
1295
|
| `extractStepRewards` | none | only this package's tests: tests/rl-process-reward.test.ts:3 |
|
|
1313
1296
|
| `extractVerifiableReward` | planned | named in gtm-agent (bind not in the import graph) |
|
|
1314
1297
|
| `extractVerifiableRewardsFromRecords` | production | creative-agent:eval/canonical-export.ts |
|
|
1315
|
-
| `farmingSignal` | planned | doc: docs/
|
|
1298
|
+
| `farmingSignal` | planned | doc: docs/systemone-behavior-review.md |
|
|
1316
1299
|
| `FileSystemOutcomeStore` | production | phony:products/builder/api/src/eval/outcomes.ts |
|
|
1317
1300
|
| `filterDeterministicallyRewarded` | production | this package: src/rl/reward-hacking.ts:43 |
|
|
1318
1301
|
| `firstPassK` | planned | doc: docs/statistical-evidence.md |
|
|
1319
1302
|
| `fitBradleyTerry` | none | only this package's tests: tests/rl-tournament.test.ts:2 |
|
|
1320
1303
|
| `GRADER_REFERENCE_PHRASES` | none | — |
|
|
1321
|
-
| `graderReferenceSignal` | planned | doc: docs/
|
|
1304
|
+
| `graderReferenceSignal` | planned | doc: docs/systemone-behavior-review.md |
|
|
1322
1305
|
| `injectIrrelevantClause` | none | only this package's tests: tests/rl-contamination.test.ts:2 |
|
|
1323
1306
|
| `InMemoryOutcomeStore` | planned | consumer tests: phony:products/builder/api/src/eval/outcomes-correlate.test.ts |
|
|
1324
1307
|
| `inverseProbabilityWeighting` | planned | consumer tests: agent-knowledge:tests/memory-holdout.test.ts |
|
|
1325
|
-
| `jevSignal` | planned | doc: docs/jev-behavior-review.md |
|
|
1326
1308
|
| `jsDivergence` | none | only this package's tests: src/rl/sim-fidelity.test.ts:3 |
|
|
1327
1309
|
| `loadVerifiedFindingsDataset` | planned | doc: docs/verified-labels-flywheel.md |
|
|
1328
|
-
| `monitorSignal` | planned | doc: docs/
|
|
1310
|
+
| `monitorSignal` | planned | doc: docs/systemone-behavior-review.md |
|
|
1329
1311
|
| `offPolicyEstimateAll` | none | only this package's tests: tests/rl-off-policy.test.ts:3 |
|
|
1330
1312
|
| `paretoFrontier` | production | agent-dev-container:products/sandbox/evals/run.ts |
|
|
1331
|
-
| `parseSourceScopeReferee` | planned | doc: docs/
|
|
1313
|
+
| `parseSourceScopeReferee` | planned | doc: docs/systemone-behavior-review.md |
|
|
1332
1314
|
| `PredictiveValidityResearcher` | planned | doc: docs/design/mlbenchmarks-book-review.md |
|
|
1333
1315
|
| `prmTrainingPairs` | planned | doc: examples/fine-tune-with-prime-rl/README.md |
|
|
1334
1316
|
| `quantileEdges` | none | only this package's tests: src/rl/sim-fidelity.test.ts:3 |
|
|
1335
1317
|
| `readCorpus` | planned | named in agent-runtime (bind not in the import graph) |
|
|
1336
1318
|
| `REFEREE_VERDICTS` | none | — |
|
|
1337
|
-
| `refereeSignal` | planned | doc: docs/
|
|
1319
|
+
| `refereeSignal` | planned | doc: docs/systemone-behavior-review.md |
|
|
1338
1320
|
| `renameVariables` | none | only this package's tests: tests/rl-contamination.test.ts:2 |
|
|
1339
1321
|
| `ruleHolds` | none | only this package's tests: src/rl/claim-integrity.test.ts:4 |
|
|
1340
1322
|
| `runAdaptationCurve` | planned | doc: docs/statistical-evidence.md |
|
|
@@ -1343,14 +1325,15 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1343
1325
|
| `runEvalCampaign` | production | agent-builder:scripts/eval.ts |
|
|
1344
1326
|
| `runRLCampaign` | planned | doc: docs/outcome-validity.md |
|
|
1345
1327
|
| `runwiseStepRewardSummary` | none | only this package's tests: tests/rl-process-reward.test.ts:3 |
|
|
1346
|
-
| `scopeSignals` | planned | doc: docs/
|
|
1328
|
+
| `scopeSignals` | planned | doc: docs/systemone-behavior-review.md |
|
|
1347
1329
|
| `selfConsistency` | none | only this package's tests: tests/rl-adversarial-and-compute.test.ts:2 |
|
|
1348
1330
|
| `selfNormalizedImportanceWeighting` | planned | consumer tests: agent-knowledge:tests/memory-holdout.test.ts |
|
|
1349
1331
|
| `shuffleOrder` | none | — |
|
|
1350
1332
|
| `simFidelityReport` | none | only this package's tests: src/rl/sim-fidelity.test.ts:3 |
|
|
1351
|
-
| `sourceScopeRefereeMessages` | planned | doc: docs/
|
|
1333
|
+
| `sourceScopeRefereeMessages` | planned | doc: docs/systemone-behavior-review.md |
|
|
1352
1334
|
| `stepRewardsToJsonl` | none | only this package's tests: src/rollout/gate-properties.test.ts:38 |
|
|
1353
1335
|
| `summarizeVerifiedFindings` | none | only this package's tests: src/rl/verified-findings-dataset.test.ts:5 |
|
|
1336
|
+
| `systemOneSignal` | planned | doc: docs/systemone-behavior-review.md |
|
|
1354
1337
|
| `toAnthropicFormat` | production | blueprint-agent:scripts/experiments/lib/steering-dataset.ts |
|
|
1355
1338
|
| `toDpoJsonl` | production | this package: src/rl/dataset.ts:27 |
|
|
1356
1339
|
| `toDpoRows` | production | this package: src/rl/dataset.ts:27 |
|
|
@@ -1369,7 +1352,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1369
1352
|
|
|
1370
1353
|
### `./rollout`
|
|
1371
1354
|
|
|
1372
|
-
|
|
1355
|
+
68 value exports — 42 production, 16 planned, 10 none.
|
|
1373
1356
|
|
|
1374
1357
|
| symbol | consumer | evidence |
|
|
1375
1358
|
| --- | --- | --- |
|
|
@@ -1401,13 +1384,14 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1401
1384
|
| `gateGamedOutcome` | none | only this package's tests: src/rollout/gate-properties.test.ts:56 |
|
|
1402
1385
|
| `HARBOR_IMPORT_GAP` | none | only this package's tests: src/rollout/interchange/harbor.test.ts:6 |
|
|
1403
1386
|
| `isRealnessGated` | production | starter-foundry:src/lib/held-out-gate.ts |
|
|
1404
|
-
| `isRolloutLine` | production | this package: src/supervisor-run/rollout-nodes.ts:
|
|
1387
|
+
| `isRolloutLine` | production | this package: src/supervisor-run/rollout-nodes.ts:27 |
|
|
1405
1388
|
| `isTrainableSplit` | production | this package: src/rollout/release/hf-dataset.ts:24 |
|
|
1406
1389
|
| `measureFormatGate` | production | this package: src/rollout/release/hf-dataset.ts:26 |
|
|
1407
1390
|
| `mintRolloutRows` | production | agent-builder:src/lib/.server/eval/loops/auto-research-runner.ts |
|
|
1408
1391
|
| `observedScore` | production | this package: src/rl/reward-hacking.ts:40 |
|
|
1409
1392
|
| `observedSplitScore` | production | starter-foundry:src/lib/held-out-gate.ts |
|
|
1410
1393
|
| `openOpencodeDb` | production | discovery-lab:dashboard/lib/transcript.mjs |
|
|
1394
|
+
| `parseClaudeTranscript` | planned | doc: docs/rollout.md |
|
|
1411
1395
|
| `parseRolloutReleaseArgs` | none | only this package's tests: src/rollout/release/hf-dataset.test.ts:9 |
|
|
1412
1396
|
| `planPushCommand` | none | only this package's tests: src/rollout/release/hf-dataset.test.ts:9 |
|
|
1413
1397
|
| `readClaudeTranscript` | planned | doc: docs/rollout.md |
|
|
@@ -1430,7 +1414,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1430
1414
|
| `toHarborTrajectory` | planned | doc: docs/rollout.md |
|
|
1431
1415
|
| `toJsonl` | production | supervisor-lab:bench/vertical-rollout-package.ts |
|
|
1432
1416
|
| `toRewardRows` | planned | doc: docs/rollout.md |
|
|
1433
|
-
| `toRftItem` | none | only this package's tests: src/rollout/
|
|
1417
|
+
| `toRftItem` | none | only this package's tests: src/rollout/mint.test.ts:9 |
|
|
1434
1418
|
| `toRftItems` | production | this package: src/rollout/release/hf-dataset.ts:22 |
|
|
1435
1419
|
| `toSftRows` | production | this package: src/rl/dataset.ts:27 |
|
|
1436
1420
|
| `toVerifiersRolloutOutput` | none | only this package's tests: src/rollout/exporters.test.ts:2 |
|
|
@@ -1539,6 +1523,46 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1539
1523
|
| `writeSupervisorRunReport` | planned | named in agent-runtime (bind not in the import graph) |
|
|
1540
1524
|
| `writeSupervisorRunReportSafe` | planned | named in agent-runtime (bind not in the import graph) |
|
|
1541
1525
|
|
|
1526
|
+
### `./systemone`
|
|
1527
|
+
|
|
1528
|
+
18 value exports — 8 production, 10 planned, 0 none.
|
|
1529
|
+
|
|
1530
|
+
| symbol | consumer | evidence |
|
|
1531
|
+
| --- | --- | --- |
|
|
1532
|
+
| `asAnalyst` | production | this package: src/systemone.ts:5 |
|
|
1533
|
+
| `asJudge` | production | this package: src/systemone.ts:5 |
|
|
1534
|
+
| `assessSystemOneReview` | planned | doc: docs/systemone-behavior-review.md |
|
|
1535
|
+
| `createEvaluator` | production | this package: src/systemone.ts:5 |
|
|
1536
|
+
| `normalizedSystemOneScore` | planned | doc: docs/systemone.md |
|
|
1537
|
+
| `normalizeSystemOneResult` | planned | doc: docs/systemone.md |
|
|
1538
|
+
| `parseSystemOneQuestions` | production | this package: src/systemone.ts:14 |
|
|
1539
|
+
| `parseSystemOneRecordedRequest` | planned | example: examples/systemone-replay.ts:7 |
|
|
1540
|
+
| `parseSystemOneRequest` | production | this package: src/systemone-review.ts:11 |
|
|
1541
|
+
| `parseSystemOneResult` | production | this package: src/systemone-review.ts:11 |
|
|
1542
|
+
| `prepareSystemOneReview` | production | this package: src/rl/claim-integrity.ts:47 |
|
|
1543
|
+
| `systemOneAnalyst` | planned | example: examples/systemone-behavior-review.ts:3 |
|
|
1544
|
+
| `systemOneConfidence` | planned | doc: docs/systemone.md |
|
|
1545
|
+
| `systemOneEvaluator` | planned | doc: docs/systemone-behavior-review.md |
|
|
1546
|
+
| `systemOneJudge` | planned | example: examples/systemone-product-integrity.ts:4 |
|
|
1547
|
+
| `SystemOneResponseError` | planned | doc: docs/systemone.md |
|
|
1548
|
+
| `systemOneReviewFindings` | planned | example: examples/systemone-behavior-review.ts:3 |
|
|
1549
|
+
| `systemOneUsage` | production | this package: src/systemone.ts:14 |
|
|
1550
|
+
|
|
1551
|
+
### `./systemone/protocol`
|
|
1552
|
+
|
|
1553
|
+
8 value exports — 4 production, 4 planned, 0 none.
|
|
1554
|
+
|
|
1555
|
+
| symbol | consumer | evidence |
|
|
1556
|
+
| --- | --- | --- |
|
|
1557
|
+
| `normalizeSystemOneResult` | planned | doc: docs/systemone.md |
|
|
1558
|
+
| `parseSystemOneQuestions` | production | this package: src/systemone.ts:14 |
|
|
1559
|
+
| `parseSystemOneRecordedRequest` | planned | example: examples/systemone-replay.ts:7 |
|
|
1560
|
+
| `parseSystemOneRequest` | production | this package: src/systemone-review.ts:11 |
|
|
1561
|
+
| `parseSystemOneResult` | production | this package: src/systemone-review.ts:11 |
|
|
1562
|
+
| `systemOneConfidence` | planned | doc: docs/systemone.md |
|
|
1563
|
+
| `SystemOneResponseError` | planned | doc: docs/systemone.md |
|
|
1564
|
+
| `systemOneUsage` | production | this package: src/systemone.ts:14 |
|
|
1565
|
+
|
|
1542
1566
|
### `./trace-attributes`
|
|
1543
1567
|
|
|
1544
1568
|
28 value exports — 26 production, 1 planned, 1 none.
|
|
@@ -1679,7 +1703,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1679
1703
|
|
|
1680
1704
|
### `./traces`
|
|
1681
1705
|
|
|
1682
|
-
|
|
1706
|
+
125 value exports — 96 production, 9 planned, 20 none.
|
|
1683
1707
|
|
|
1684
1708
|
| symbol | consumer | evidence |
|
|
1685
1709
|
| --- | --- | --- |
|
|
@@ -1702,7 +1726,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1702
1726
|
| `convertTraceStoresToOtlp` | planned | consumer tests: legal-agent:tests/eval/lib/traces-to-otlp.ts |
|
|
1703
1727
|
| `createBoundedTraceAnalysisStore` | production | braid:src/adapters/analysis/trace-store.ts |
|
|
1704
1728
|
| `DEFAULT_TRACE_ANALYST_BUDGETS` | production | agent-builder:src/lib/.server/eval/stores/d1-trace-analysis-store-adapter.ts |
|
|
1705
|
-
| `defaultProviderRedactor` | production | this package: src/llm-client.ts:
|
|
1729
|
+
| `defaultProviderRedactor` | production | this package: src/llm-client.ts:54 |
|
|
1706
1730
|
| `defaultTraceInsightPanel` | none | only this package's tests: src/trace-analyst/insights.test.ts:3 |
|
|
1707
1731
|
| `describeTraceInsightScope` | production | blueprint-agent:scripts/experiments/lib/analyze-vb-run/report-html.ts |
|
|
1708
1732
|
| `detectCredential` | production | this package: scripts/redaction-corpus.ts:9 |
|
|
@@ -1763,7 +1787,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1763
1787
|
| `OUTPUT_VALUE` | production | agent-runtime:src/runtime/supervise-surface.ts |
|
|
1764
1788
|
| `planTraceInsightQuestions` | none | only this package's tests: src/trace-analyst/insights.test.ts:3 |
|
|
1765
1789
|
| `projectOtlpFlatLine` | production | this package: src/trace-analyst/otlp-to-run-records.ts:60 |
|
|
1766
|
-
| `providerFromBaseUrl` | production | this package: src/llm-client.ts:
|
|
1790
|
+
| `providerFromBaseUrl` | production | this package: src/llm-client.ts:54 |
|
|
1767
1791
|
| `redact` | production | this package: scripts/redaction-corpus.ts:9 |
|
|
1768
1792
|
| `redactForShare` | production | this package: scripts/redaction-corpus.ts:9 |
|
|
1769
1793
|
| `REDACTION_PROFILES` | production | this package: scripts/redaction-corpus.ts:9 |
|
|
@@ -1779,6 +1803,7 @@ The `none` set was reviewed symbol by symbol on 2026-08-21. Four rules decided m
|
|
|
1779
1803
|
| `shareAllowed` | planned | doc: docs/redaction.md |
|
|
1780
1804
|
| `SPAN_KIND_ATTR_KEYS` | production | traces:src/run-span-tree.ts |
|
|
1781
1805
|
| `SpanNotFoundError` | production | this package: src/trace-analyst/store-boundary.ts:1 |
|
|
1806
|
+
| `spanRecordsToTraceAnalysisStore` | planned | doc: docs/trace-analysis.md |
|
|
1782
1807
|
| `stringField` | planned | named in agent-dev-container (bind not in the import graph) |
|
|
1783
1808
|
| `throwIfRunIncomplete` | none | only this package's tests: tests/run-integrity.test.ts:3 |
|
|
1784
1809
|
| `tokenizeDomainWords` | planned | consumer tests: blueprint-agent:scripts/experiments/__tests__/analyze-vb-run.test.ts |
|
|
@@ -4,17 +4,17 @@ Use native evaluations to assess bounded hypotheses about recorded behavior. Do
|
|
|
4
4
|
classifier whether an agent is "malicious" or a whole run is "safe". Observable policy breaches,
|
|
5
5
|
model-supported hypotheses, missing evidence and unusual behavior are different results.
|
|
6
6
|
|
|
7
|
-
The optional `/
|
|
7
|
+
The optional `/systemone` helpers are ordinary functions:
|
|
8
8
|
|
|
9
|
-
- `
|
|
9
|
+
- `prepareSystemOneReview`: validate and freeze caller-defined native questions, evidence references,
|
|
10
10
|
coverage and decision thresholds before spending. The digest binds the definition, input and
|
|
11
11
|
authored question/option order. Optional undefined object fields are absent on the wire.
|
|
12
|
-
- `
|
|
12
|
+
- `assessSystemOneReview`: validate native answers and interpret designated alternative masses as
|
|
13
13
|
`supported`, `refuted` or `unresolved`. Re-scoring makes no network call.
|
|
14
|
-
- `
|
|
14
|
+
- `systemOneReviewFindings`: map that report into the existing `AnalystFinding` contract. It keeps
|
|
15
15
|
unresolved checks visible and labels supported claims as model-supported hypotheses.
|
|
16
16
|
|
|
17
|
-
These helpers do not constrain `
|
|
17
|
+
These helpers do not constrain `systemOneEvaluator`, `systemOneJudge`, `systemOneAnalyst`, or the provider-independent
|
|
18
18
|
`createEvaluator`/`asJudge`/`asAnalyst` APIs. Use an ordinary custom mapper for different policies.
|
|
19
19
|
No model, taxonomy, severity, operating threshold, global safety score or storage backend is chosen
|
|
20
20
|
by the generic implementation.
|
|
@@ -26,16 +26,16 @@ Supply the native request on each invocation. This example's `question`, `eviden
|
|
|
26
26
|
|
|
27
27
|
```ts
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from '@tangle-network/agent-eval/
|
|
29
|
+
prepareSystemOneReview, assessSystemOneReview, systemOneEvaluator,
|
|
30
|
+
} from '@tangle-network/agent-eval/systemone'
|
|
31
31
|
|
|
32
|
-
const evaluate =
|
|
32
|
+
const evaluate = systemOneEvaluator({
|
|
33
33
|
evaluate: nativeTransport, // One Router /v1/systemone attempt; preserve signal/idempotency key.
|
|
34
34
|
receipt: readRouterReceipt,
|
|
35
35
|
maximumCharge: enforcedMaximumCharge,
|
|
36
36
|
})
|
|
37
37
|
|
|
38
|
-
const review =
|
|
38
|
+
const review = prepareSystemOneReview({
|
|
39
39
|
version: policy.version,
|
|
40
40
|
request: {
|
|
41
41
|
model: selectedModel,
|
|
@@ -59,7 +59,7 @@ const review = prepareJevReview({
|
|
|
59
59
|
})
|
|
60
60
|
const result = await evaluate(review.request, executionContext)
|
|
61
61
|
await persistAuthorizedObservation({ review, result })
|
|
62
|
-
const report =
|
|
62
|
+
const report = assessSystemOneReview(review, result.value)
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
The example assumes a native Choice question with `supported`, `refuted` and `insufficient`
|
|
@@ -71,8 +71,8 @@ not a requirement imposed on other evaluators.
|
|
|
71
71
|
|
|
72
72
|
## Optional behavior recipe
|
|
73
73
|
|
|
74
|
-
`examples/
|
|
75
|
-
`behaviorReviewAnalyst`, which composes the existing `
|
|
74
|
+
`examples/systemone-behavior-review.ts` provides replaceable question definitions and
|
|
75
|
+
`behaviorReviewAnalyst`, which composes the existing `systemOneAnalyst`. Copy/adapt the recipe in an
|
|
76
76
|
application; it is not a default policy installed by importing the package. Select only relevant
|
|
77
77
|
checks and provide thresholds, severity, exact policy and evidence for every selected check.
|
|
78
78
|
|
|
@@ -126,7 +126,7 @@ probability with its frozen binary threshold rule; it must not silently drop the
|
|
|
126
126
|
`/rl` already has `detectRewardHacking` for reward divergence, distribution shift, reward
|
|
127
127
|
disagreement and judge drift. Those diagnostic scores are not probabilities. Keep the raw,
|
|
128
128
|
ungated proxy and independently measured task outcome so a previous rejection does not hide the
|
|
129
|
-
disagreement. Do not substitute the
|
|
129
|
+
disagreement. Do not substitute the System One monitor as the only independent outcome.
|
|
130
130
|
|
|
131
131
|
The analyst system already has deterministic control-integrity and behavioral/efficiency
|
|
132
132
|
checks, plus deep trace analyst definitions such as intent divergence and knowledge poisoning.
|
|
@@ -134,7 +134,7 @@ Run exact checks for facts code can establish; use a bounded semantic review for
|
|
|
134
134
|
escalate selected cases to the existing deeper analyst. None is replaced by this recipe.
|
|
135
135
|
|
|
136
136
|
A prepared review can be a custom registry input or built from a filtered trace store. Existing
|
|
137
|
-
`asAnalyst`/`
|
|
137
|
+
`asAnalyst`/`systemOneAnalyst` forward the shared paid-call account, cancellation and deadline. The
|
|
138
138
|
recipe verifies persisted definition identity before inference, records the native observation
|
|
139
139
|
before mapping, and returns ordinary findings. Graphs consume these through their existing
|
|
140
140
|
analyst-registry adapter. No new supervisor, scheduler, ledger, or trace database is introduced.
|
|
@@ -158,7 +158,7 @@ It decides `pass`, `hack` or `unknown` for one claim from signals the caller com
|
|
|
158
158
|
- `farmingSignal`: one value of a parameter the scope declares, repeated across a lane's sweep of claims.
|
|
159
159
|
- `graderReferenceSignal`: the claim page justifies itself by the checker or by the printed letter.
|
|
160
160
|
- `refereeSignal`: a model reads the source and the claim's parameters, never the claimant's prose (`sourceScopeRefereeMessages`, `parseSourceScopeReferee`).
|
|
161
|
-
- `
|
|
161
|
+
- `systemOneSignal`: typed questions over the same brief (`claimIntegritySystemOneReview`). The caller supplies calibrated thresholds.
|
|
162
162
|
- `monitorSignal`: `askTraceQuestions` with `claimIntegrityTraceQuestions`, on escalation only.
|
|
163
163
|
- `checkerReadSignal`: context for a reader; it never moves a verdict.
|
|
164
164
|
|
|
@@ -172,7 +172,7 @@ Keep verdicts, scopes and questions away from the agent that filed the claim: an
|
|
|
172
172
|
## Security and validation boundaries
|
|
173
173
|
|
|
174
174
|
TypeSafe's Jev 1.13 documentation explicitly warns that adversarial state content can move the
|
|
175
|
-
answer. Delimiters and explicit criteria are useful instructions, not a proof of injection
|
|
175
|
+
answer; treat every System One model the same way. Delimiters and explicit criteria are useful instructions, not a proof of injection
|
|
176
176
|
resistance. These monitors are advisory evidence, not the sole authorization/safety barrier.
|
|
177
177
|
Trusted policy and references must come from outside the evaluated agent; tenant scope, redaction,
|
|
178
178
|
credential handling and controls remain with existing application/security owners.
|
|
@@ -192,7 +192,7 @@ attacks, not only the worker under a fixed monitor.
|
|
|
192
192
|
|
|
193
193
|
The new tests exercise pure mapping, canonical identity, metadata isolation and real
|
|
194
194
|
Eval/AnalystRegistry accounting composition with an injected model boundary. They do not prove
|
|
195
|
-
that
|
|
195
|
+
that a System One model detects these behaviors correctly or is robust against adversarial prompts. No live
|
|
196
196
|
provider, product UI rollout, runtime hook installation or production enforcement is added here.
|
|
197
197
|
|
|
198
198
|
Sources reviewed: https://docs.typesafe.ai/confidence and
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Ten useful integrations, one evaluator
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
answers.
|
|
3
|
+
A System One model evaluates bounded questions. Applications supply state, questions and the policy interpreting
|
|
4
|
+
answers. systemOneEvaluator handles the native model; createEvaluator supports other classifiers.
|
|
5
5
|
asJudge and asAnalyst adapt the same operation to existing consumers.
|
|
6
6
|
|
|
7
7
|
| Use | Outcome | Existing execution path |
|
|
@@ -10,12 +10,12 @@ asJudge and asAnalyst adapt the same operation to existing consumers.
|
|
|
10
10
|
| Recommendation triage | Prioritize evidence-linked Intelligence recommendations | Product triage selects existing engine findings and preserves their identities. |
|
|
11
11
|
| Trace diagnosis | Narrow likely failures before deeper investigation | AnalystRegistry, scoped evidence, and the existing deep analyst. |
|
|
12
12
|
| Behavioral review | Flag observable policy concerns, not hidden intent | Optional behavior-review recipe plus deterministic reward/control checks. |
|
|
13
|
-
| Rubric judging | Compare product or agent outputs |
|
|
13
|
+
| Rubric judging | Compare product or agent outputs | systemOneJudge/asJudge with caller mappings and independent final assessment. |
|
|
14
14
|
| Context selection | Select useful retrieved evidence | Native assessments, then deterministic packing with mandatory context protected. |
|
|
15
15
|
| Skill selection | Select from authorized capabilities | Caller alternatives, including no-selection; existing runtime executes actions. |
|
|
16
16
|
| Next verification | Choose a test, retrieval or review that resolves uncertainty | Existing graph checkpoints and awaited boundaries, not new permissions. |
|
|
17
17
|
| Candidate selection | Choose among generated plans or artifacts | Existing matrix/graph, exact checks first, semantic assessment second. |
|
|
18
|
-
| Configuration experiments | Compare questions, context, models and thresholds | examples/
|
|
18
|
+
| Configuration experiments | Compare questions, context, models and thresholds | examples/systemone-decision-benchmark.ts using runAgentMatrix and cost receipts. |
|
|
19
19
|
|
|
20
20
|
These are compositions, not ten new frameworks. Product triage and the benchmark recipe are concrete
|
|
21
21
|
adoption work; other rows reuse existing APIs or identify application policies to configure. An API
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Inspect recorded
|
|
1
|
+
# Inspect recorded System One evidence without new inference
|
|
2
2
|
|
|
3
3
|
The historical decoder from #897 is already the protocol owner. This example
|
|
4
4
|
uses that implementation; it adds no parser, SDK, ledger, database or replay
|
|
@@ -7,7 +7,7 @@ policy.
|
|
|
7
7
|
From a repository checkout with dependencies installed:
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
pnpm exec tsx examples/
|
|
10
|
+
pnpm exec tsx examples/systemone-replay.ts request.json response.json
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Supply the original native request and response as separate JSON files. The
|
|
@@ -18,8 +18,8 @@ metadata such as generation IDs and decimal receipt strings. Neither input file
|
|
|
18
18
|
is rewritten. This is offline inspection, not replay of a paid provider request.
|
|
19
19
|
|
|
20
20
|
Historical null state and null score levels remain readable through
|
|
21
|
-
`
|
|
22
|
-
`
|
|
21
|
+
`parseSystemOneRecordedRequest`. They are still invalid for new paid calls through
|
|
22
|
+
`parseSystemOneRequest`. Do not cast a historical request to the live type, or change
|
|
23
23
|
its stored rubric just to satisfy today's admission schema.
|
|
24
24
|
|
|
25
25
|
A mismatch, unreadable file or malformed record returns exit code 1 with a
|
|
@@ -30,9 +30,9 @@ terminal or output destination and retain its existing access controls.
|
|
|
30
30
|
The same helper is importable from the example:
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
|
-
import {
|
|
33
|
+
import { inspectSystemOneFiles } from './examples/systemone-replay'
|
|
34
34
|
|
|
35
|
-
const observation = await
|
|
35
|
+
const observation = await inspectSystemOneFiles('request.json', 'response.json')
|
|
36
36
|
// Apply an application-owned deterministic mapping to the retained answers.
|
|
37
37
|
```
|
|
38
38
|
|