@orkestrel/scaffold 0.0.115 → 0.0.117
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/main.js +138 -16
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +1 -1
- package/dist/host/claude/agents/orkestrel.md +2 -2
- package/dist/host/claude/rules/names.md +3 -1
- package/dist/host/guides/abort.md +17 -17
- package/dist/host/guides/agent.md +445 -445
- package/dist/host/guides/brief.md +143 -143
- package/dist/host/guides/browser.md +731 -731
- package/dist/host/guides/budget.md +39 -39
- package/dist/host/guides/capture.md +298 -298
- package/dist/host/guides/console.md +109 -109
- package/dist/host/guides/contract.md +335 -335
- package/dist/host/guides/csv.md +30 -30
- package/dist/host/guides/database.md +163 -163
- package/dist/host/guides/emitter.md +17 -17
- package/dist/host/guides/form.md +99 -99
- package/dist/host/guides/guide.md +368 -183
- package/dist/host/guides/html.md +49 -49
- package/dist/host/guides/indexeddb.md +40 -40
- package/dist/host/guides/interpret.md +139 -139
- package/dist/host/guides/lsp.md +114 -114
- package/dist/host/guides/markdown.md +68 -68
- package/dist/host/guides/mcp.md +3745 -3745
- package/dist/host/guides/middleware.md +170 -170
- package/dist/host/guides/msg.md +95 -95
- package/dist/host/guides/ndjson.md +8 -8
- package/dist/host/guides/ollama.md +56 -56
- package/dist/host/guides/pool.md +21 -21
- package/dist/host/guides/probe.md +82 -82
- package/dist/host/guides/process.md +99 -99
- package/dist/host/guides/program.md +98 -96
- package/dist/host/guides/qualifier.md +70 -70
- package/dist/host/guides/queue.md +37 -37
- package/dist/host/guides/rater.md +38 -38
- package/dist/host/guides/reason.md +308 -308
- package/dist/host/guides/relation.md +50 -50
- package/dist/host/guides/router.md +58 -58
- package/dist/host/guides/scaffold.md +558 -419
- package/dist/host/guides/sea.md +128 -128
- package/dist/host/guides/server.md +100 -100
- package/dist/host/guides/sqlite.md +28 -28
- package/dist/host/guides/sse.md +20 -20
- package/dist/host/guides/study.md +444 -444
- package/dist/host/guides/table.md +82 -82
- package/dist/host/guides/template.md +41 -41
- package/dist/host/guides/terminal.md +121 -121
- package/dist/host/guides/test.md +273 -273
- package/dist/host/guides/timeout.md +18 -18
- package/dist/host/guides/tool.md +27 -27
- package/dist/host/guides/toolbox.md +166 -166
- package/dist/host/guides/websocket.md +54 -54
- package/dist/host/guides/worker.md +24 -24
- package/dist/host/guides/workflow.md +187 -187
- package/dist/host/guides/workspace.md +55 -55
- package/dist/host/manifest.json +55 -55
- package/dist/host/tests/setupPolicy.ts +5 -3
- package/dist/src/core/index.cjs +90 -4
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +229 -144
- package/dist/src/core/index.d.ts +229 -144
- package/dist/src/core/index.js +88 -5
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +295 -66
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +193 -6
- package/dist/src/server/index.d.ts +193 -6
- package/dist/src/server/index.js +290 -69
- package/dist/src/server/index.js.map +1 -1
- package/package.json +5 -4
|
@@ -354,450 +354,450 @@ Run read-only parity before choosing a rewrite direction. An explicit direction
|
|
|
354
354
|
|
|
355
355
|
The following declarations describe this concept.
|
|
356
356
|
|
|
357
|
-
| Name | Kind | Summary |
|
|
358
|
-
| ---------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
359
|
-
| `ARTIFACT_BYTES` | const | Bounds all captured input bytes to 128 MiB. |
|
|
360
|
-
| `ARTIFACT_ERROR_BRAND` | const | Marks artifact errors across module formats and installations. |
|
|
361
|
-
| `ARTIFACT_ERROR_CODES` | const | Lists the artifact refusal codes. |
|
|
362
|
-
| `ARTIFACT_DEPTH` | const | Bounds directory nesting below each selected root. |
|
|
363
|
-
| `ARTIFACT_FILES` | const | Bounds admitted files before another capture is allocated. |
|
|
364
|
-
| `ARTIFACT_FILE_BYTES` | const | Bounds one captured input file to 16 MiB. |
|
|
365
|
-
| `ARTIFACT_ROOTS` | const | Bounds selected package roots before traversal begins. |
|
|
366
|
-
| `ARTIFACT_VISITS` | const | Bounds all visited directory entries, including ignored assets. |
|
|
367
|
-
| `ArtifactError` | class | Reports an invalid or drifted artifact inventory. |
|
|
368
|
-
| `ArtifactFile` | interface | Records the exact bytes admitted at one absolute file path. |
|
|
369
|
-
| `ArtifactHookInput` | interface | Supplies the private namespace and separate source selection to resolution. |
|
|
370
|
-
| `ArtifactInventory` | interface | Records all admitted module bytes, selections, and native runtime identity. |
|
|
371
|
-
| `ArtifactLoadHandler` | type | Names Node's synchronous loading continuation. |
|
|
372
|
-
| `ArtifactLoader` | class | Captures built ESM and a separate strip-only consumer adapter in a fresh worker. |
|
|
373
|
-
| `ArtifactLoaderOptions` | interface | Selects built packages and an optional separate consumer source graph. |
|
|
374
|
-
| `ArtifactPackage` | interface | Records the identity declared by an admitted package manifest. |
|
|
375
|
-
| `ArtifactResolveHandler` | type | Names Node's synchronous resolution continuation. |
|
|
376
|
-
| `ArtifactRuntime` | interface | Binds native conditions and host-sensitive builtin behavior to the inventory. |
|
|
377
|
-
| `ArtifactSource` | interface | Retains captured bytes for the native loader. |
|
|
378
|
-
| `ArtifactSourceOptions` | interface | Selects a consumer-owned executable source directory and its exact adapter entry. |
|
|
379
|
-
| `ArtifactTally` | interface | Counts the directory entries visited and the file bytes admitted so far in one capture. |
|
|
380
|
-
| `Resolution` | class | Enforces captured inventory membership at every synchronous native import edge. |
|
|
381
|
-
| `STUDY_CAUSES` | const | Lists every operational ending in report order. |
|
|
382
|
-
| `STUDY_COMMAND_DURATION` | const | Caps declared execution duration at the native supervisor's host ceiling. |
|
|
383
|
-
| `STUDY_COMMAND_GRADER` | const | Names the trusted command's independent offline predicate. |
|
|
384
|
-
| `STUDY_COMMAND_HELP` | const | Defines the complete public CLI reference shared by help and grammar diagnostics. |
|
|
385
|
-
| `STUDY_COMMAND_OPERATION` | const | Names the command route beneath the native supervisor. |
|
|
386
|
-
| `STUDY_CUSTODY_BYTES` | const | Limits untrusted metadata before JSON parsing or file allocation. |
|
|
387
|
-
| `STUDY_DRAIN_DURATION` | const | Bounds how long inherited output handles stay open after native exit, in milliseconds. |
|
|
388
|
-
| `STUDY_ERROR_BRAND` | const | Keys the own self-identity every study error stamps on itself. |
|
|
389
|
-
| `STUDY_FRAME_BYTES` | const | Limits each serialized IPC envelope, including its JSON framing. |
|
|
390
|
-
| `STUDY_GOALS` | const | Caps a declared scenario horizon before execution. |
|
|
391
|
-
| `STUDY_LAUNCH_BYTES` | const | Bounds combined supervised command output to 16 MiB before terminating the tree. |
|
|
392
|
-
| `STUDY_LAUNCH_CLEANUP` | const | Extends supervised execution beyond its declared series duration for cleanup. |
|
|
393
|
-
| `STUDY_LAUNCH_DURATION` | const | Bounds each supervised operation other than execution to 60 seconds. |
|
|
394
|
-
| `STUDY_LOG_BYTES` | const | Limits combined worker stdout and stderr before termination. |
|
|
395
|
-
| `STUDY_NAME` | const | Restricts identifiers to portable path-safe names. |
|
|
396
|
-
| `STUDY_PACKET_DISCLOSURE` | const | Discloses the limits of neutral identifiers when public text remains visible. |
|
|
397
|
-
| `STUDY_PENDING_LIMIT` | const | Limits outstanding bidirectional protocol work per process. |
|
|
398
|
-
| `STUDY_PROCESS_LABEL` | const | Attributes an expired process handshake or cleanup deadline. |
|
|
399
|
-
| `STUDY_RESERVED_NAME` | const | Rejects names that Windows reserves even on other hosts. |
|
|
400
|
-
| `STUDY_ROLES` | const | Lists every measured request role in report order. |
|
|
401
|
-
| `STUDY_TASK_DURATION` | const | Caps pure domain work independently of its event loop. |
|
|
402
|
-
| `STUDY_TASK_OPERATION` | const | Names the private bounded validation and grading route. |
|
|
403
|
-
| `STUDY_TRIALS` | const | Caps a declared trial population before schedule allocation. |
|
|
404
|
-
| `STUDY_WORKER_OPERATION` | const | Names the worker operation routed by the built application entry. |
|
|
405
|
-
| `StudyAdapterInterface` | interface | Defines the consumer's domain checks, driver construction, and retained-evidence assessment. |
|
|
406
|
-
| `StudyAdjudication` | interface | Holds retained observations and independent criteria for a grading operation. |
|
|
407
|
-
| `StudyAdmissionInterface` | interface | Admits requests against enclosing limits before an adapter dispatches them. |
|
|
408
|
-
| `StudyAgentDispatch` | interface | Holds the trial-local canonical dispatch identity a wire request joins to. |
|
|
409
|
-
| `StudyAgentJudge` | class | Latches a real judge's failure before an enclosing runtime can treat it as absent. |
|
|
410
|
-
| `StudyAgentObserver` | class | Reads each Agent request's size before delegating it unchanged to the real provider. |
|
|
411
|
-
| `StudyAgentObserverOptions` | interface | Holds the observing provider's delegate, measurement seam and explicit policies. |
|
|
412
|
-
| `StudyAgentOriginHandler` | type | Joins each message of a measured request to its origin, one JSON entry per message in order. |
|
|
413
|
-
| `StudyAgentPlan` | interface | Holds one goal's scripted replies and the resources the provider charges and cancels through. |
|
|
414
|
-
| `StudyAgentMeasurement` | interface | Holds one dispatched request's explicit size reading. |
|
|
415
|
-
| `StudyAgentRecordHandler` | type | Receives one reading and the exact pre-encoding request it measured. |
|
|
416
|
-
| `StudyAgentResponse` | interface | Declares one scripted reply. |
|
|
417
|
-
| `StudyAgentRole` | type | Names the model responsibilities whose requests the trace and summary measure. |
|
|
418
|
-
| `StudyAgentRuntime` | interface | Holds the admitted Agent namespace capabilities the shared instrumentation invokes. |
|
|
419
|
-
| `StudyAgentScript` | class | Serves declared inert responses through the actual Agent provider boundary. |
|
|
420
|
-
| `StudyAgentScriptOptions` | interface | Holds the scripted provider's fixed byte bound; the admitted token count defaults to one. |
|
|
421
|
-
| `StudyAgentStage` | type | Names where a measurement was taken. |
|
|
422
|
-
| `StudyAgentStamp` | interface | Holds the ordinal and revision one measurement received. |
|
|
423
|
-
| `StudyAgentSummary` | class | Folds a conversation through the real provider under an explicit gauge and prompt limit. |
|
|
424
|
-
| `StudyAgentSummaryOptions` | interface | Holds the gauged summary's delegate, measurement seam, explicit limits and cancellation. |
|
|
425
|
-
| `StudyAgentTrace` | class | Correlates measured Agent requests and retains their evidence across a trial's goals. |
|
|
426
|
-
| `StudyAgentTraceOptions` | interface | Holds the trace's measuring runtime, failure owner and consumer origin join. |
|
|
427
|
-
| `StudyArtifactIdentity` | interface | Holds the separately bound instrument and selected module inventory identities. |
|
|
428
|
-
| `StudyArtifactLoader` | class | Binds consumer instrumentation separately from selected executable identities. |
|
|
429
|
-
| `StudyArtifactLoaderOptions` | interface | Holds the trusted instrument and caller-selected built artifact locations. |
|
|
430
|
-
| `StudyArtifactModule` | interface | Holds actual namespaces loaded only during worker execution. |
|
|
431
|
-
| `StudyAttempt` | interface | Holds a terminal trial record, including goals never dispatched. |
|
|
432
|
-
| `StudyBounds` | interface | Holds nested execution allowances; each request also has a deadline. |
|
|
433
|
-
| `StudyCLI` | class | Dispatches private child routes before the public native supervisor. |
|
|
434
|
-
| `StudyCause` | type | Names an operational ending separately from task achievement. |
|
|
435
|
-
| `StudyChannel` | class | Correlates bounded IPC work and rejects every outstanding request on transport failure. |
|
|
436
|
-
| `StudyChannelOptions` | interface | Holds one native IPC endpoint and its domain handlers. |
|
|
437
|
-
| `StudyCharge` | interface | Holds a request's pre-dispatch upper bounds. |
|
|
438
|
-
| `StudyCommand` | class | Executes validated study operations with execution and grading custody kept independent. |
|
|
439
|
-
| `StudyCommandArtifact` | interface | Holds one bounded source artifact retained during offline validation. |
|
|
440
|
-
| `StudyCommandOptions` | interface | Holds the trusted application entry and repository location. |
|
|
441
|
-
| `StudyCommandRequest` | type | Names the independently dispatched study command operation. |
|
|
442
|
-
| `StudyContext` | interface | Holds the resources visible to one running goal. |
|
|
443
|
-
| `StudyControl` | class | Retains the first operational failure while bounding asynchronous waits. |
|
|
444
|
-
| `StudyControlInterface` | interface | Owns the first operational failure and cancellation of enclosing work. |
|
|
445
|
-
| `StudyCriterion` | interface | Holds a grader-owned criterion outside the driver's public input. |
|
|
446
|
-
| `StudyCustodyBudget` | interface | Holds the evidence sink's shared admission budget. |
|
|
447
|
-
| `StudyCustodyPhase` | type | Names the execution custody lifecycle without inferring seal completeness. |
|
|
448
|
-
| `StudyCustodySinkInterface` | interface | Closes evidence admission and drains already admitted appends. |
|
|
449
|
-
| `StudyDeadline` | class | Bounds each independent operation with a fresh failure owner and deadline. |
|
|
450
|
-
| `StudyDeadlineInterface` | interface | Bounds one independent asynchronous operation under its own deadline. |
|
|
451
|
-
| `StudyDeadlineOptions` | interface | Supplies one bounded operation's finite deadline and diagnostic label. |
|
|
452
|
-
| `StudyDefinition` | interface | Holds the frozen study question, population and explicit repetition orders. |
|
|
453
|
-
| `StudyDriverInterface` | interface | Creates isolated domain state through a concrete package consumer. |
|
|
454
|
-
| `StudyDriverOptions` | interface | Supplies admitted modules and an exclusive scratch parent without grader truth. |
|
|
455
|
-
| `StudyError` | class | Reports a study contract or operational failure with a stable code. |
|
|
456
|
-
| `StudyErrorCode` | type | Names malformed configuration, evidence, custody and operational failures. |
|
|
457
|
-
| `StudyEvidence` | interface | Holds append-only domain evidence in a JSON-compatible form. |
|
|
458
|
-
| `StudyEvidenceSink` | class | Retains admitted evidence in order and closes admission before terminal records. |
|
|
459
|
-
| `StudyEvidenceSinkOptions` | interface | Holds the owned evidence descriptor and byte admission constraints. |
|
|
460
|
-
| `StudyExecutionRequest` | interface | Holds a checked execution selection with optional output custody. |
|
|
461
|
-
| `StudyContinuation` | interface | Holds an admitted continuation's derived replay selection and immediate sealed ancestor. |
|
|
462
|
-
| `StudyFailure` | interface | Holds an attributable operational fault without awarding a task verdict. |
|
|
463
|
-
| `StudyFile` | interface | Holds the exact byte identity of one execution file. |
|
|
464
|
-
| `StudyFrame` | interface | Holds a correlated JSON request, reply or cancellation notification. |
|
|
465
|
-
| `StudyGoal` | interface | Holds a declared goal's public input without its grading truth. |
|
|
466
|
-
| `StudyGradeFunction` | type | Reads one declared target against the consumer's domain predicate. |
|
|
467
|
-
| `StudyGradeVerdict` | interface | Holds a consumer predicate's reading of one target, citing only retained files and rows. |
|
|
468
|
-
| `StudyGradeRequest` | interface | Holds an offline predicate grading request. |
|
|
469
|
-
| `StudyGradeTarget` | interface | Holds one declared trial and criterion pair with its retained observations. |
|
|
470
|
-
| `StudyAssessment` | interface | Holds a grading identity that cannot replace or mutate execution bytes. |
|
|
471
|
-
| `StudyAssessmentContext` | interface | Holds artifacts already verified inside a selected immutable grading directory. |
|
|
472
|
-
| `StudyAssessmentStore` | class | Retains immutable deterministic grading versions independently of execution bytes. |
|
|
473
|
-
| `StudyAssessmentStoreOptions` | interface | Holds imported grading artifacts independently of execution. |
|
|
474
|
-
| `StudyIdentity` | interface | Holds byte identities that qualification and comparisons must agree on. |
|
|
475
|
-
| `StudyInterruptedResult` | interface | Holds inspected execution metadata that is never gradeable before sealing. |
|
|
476
|
-
| `StudyJudgment` | interface | Holds an evidence-backed verdict; missing evidence stays unknown. |
|
|
477
|
-
| `StudyLabelRequest` | interface | Holds an imported-label grading request. |
|
|
478
|
-
| `StudyLabels` | interface | Holds imported semantic judgments and their accountable origin. |
|
|
479
|
-
| `StudyLatchInterface` | interface | Retains the first operational failure of instrumented work and refuses work after it. |
|
|
480
|
-
| `StudyLaunchOptions` | interface | Selects the native command entry and the caller's consumer root. |
|
|
481
|
-
| `StudyLaunchResult` | interface | Retains the bounded command exit and captured output. |
|
|
482
|
-
| `StudyLauncher` | class | Supervises finite command trees and binds offline check to execution. |
|
|
483
|
-
| `StudyLimit` | interface | Holds finite allowances in milliseconds, calls, tokens and bytes. |
|
|
484
|
-
| `StudyManifest` | interface | Holds the execution declaration sealed before any trial begins. |
|
|
485
|
-
| `StudyMessageHandler` | type | Handles validated transport requests at their owning domain boundary. |
|
|
486
|
-
| `StudyMeter` | class | Admits request ceilings across every enclosing scope before dispatch. |
|
|
487
|
-
| `StudyMeterInterface` | interface | Owns request admission and the goal's terminal lifecycle. |
|
|
488
|
-
| `StudyMeterOptions` | interface | Supplies the request allowance and all enclosing admission scopes. |
|
|
489
|
-
| `StudyObservation` | interface | Holds the retained outcome of a scheduled goal. |
|
|
490
|
-
| `StudyOllamaActivity` | interface | Holds one active goal's accounting and attribution. |
|
|
491
|
-
| `StudyOllamaFetchFunction` | type | Sends one validated, admitted request under its Study role and returns the native response. |
|
|
492
|
-
| `StudyOllamaModel` | interface | Pins one served model identity the inventory verifies. |
|
|
493
|
-
| `StudyOllamaOptions` | type | Holds the Ollama provider options one role's declared policy determines. |
|
|
494
|
-
| `StudyOllamaPolicy` | interface | Declares one model role's exact wire policy. |
|
|
495
|
-
| `StudyOllamaRequest` | interface | Holds validated wire dispatch facts without retaining payload text. |
|
|
496
|
-
| `StudyOllamaRole` | type | Names the model roles an Ollama study transport dispatches under a declared policy. |
|
|
497
|
-
| `StudyOllamaSnapshot` | interface | Holds one outbound request's facts as owned at admission. |
|
|
498
|
-
| `StudyOllamaTerminal` | interface | Holds a validated terminal's finish reason and actual usage, unknown when unreported. |
|
|
499
|
-
| `StudyOllamaTransport` | class | Admits and accounts Ollama wire requests under declared policies and latches failure. |
|
|
500
|
-
| `StudyOllamaTransportOptions` | interface | Holds the Ollama study transport's immutable configuration. |
|
|
501
|
-
| `StudyOllamaWire` | interface | Tracks one owned HTTP response until its end or cancellation. |
|
|
502
|
-
| `StudyOperation` | type | Names the bounded transport's domain operations. |
|
|
503
|
-
| `StudyPacketBundle` | interface | Holds exact neutral public packet bytes and private mapping bytes. |
|
|
504
|
-
| `StudyPacketEntry` | interface | Holds one neutral semantic grading input without treatment or model identifiers. |
|
|
505
|
-
| `StudyPacketLink` | interface | Holds the neutral identity mapping to a sealed semantic trial-criterion pair. |
|
|
506
|
-
| `StudyParentTicket` | interface | Holds an authoritative parent ticket and its transport listener lifetime. |
|
|
507
|
-
| `StudyPreparation` | interface | Holds checked public declarations and reproducible executable identities. |
|
|
508
|
-
| `StudyProcessDriver` | class | Opens one fresh native child for each scheduled trial. |
|
|
509
|
-
| `StudyProcessOptions` | interface | Holds the parent-owned fresh trial process configuration. |
|
|
510
|
-
| `StudyProcessGoal` | class | Holds one goal's parent context and the worker admission sequence it issues while the goal runs. |
|
|
511
|
-
| `StudyProcessSession` | class | Keeps admission and evidence custody in the parent of one fresh trial process. |
|
|
512
|
-
| `StudyProcessSessionOptions` | interface | Holds one fresh child trial's launch parameters and cancellation. |
|
|
513
|
-
| `StudyProduct` | interface | Holds observed output and partial completion, never self-awarded success. |
|
|
514
|
-
| `StudyProfile` | interface | Holds execution settings independently of scenario and grading declarations. |
|
|
515
|
-
| `StudyProvider` | interface | Holds caller-selected provider artifacts and model identities. |
|
|
516
|
-
| `StudyPurpose` | type | Names the evidence a study can establish. |
|
|
517
|
-
| `StudyReference` | interface | Cites a retained trial file, or one evidence row of it by its zero-based position. |
|
|
518
|
-
| `StudyReferenceFile` | type | Names a retained file of one trial that a judgment cites. |
|
|
519
|
-
| `StudyRemoteMeter` | class | Waits for authoritative parent admission and drains acknowledged settlements. |
|
|
520
|
-
| `StudyRemoteMeterInterface` | interface | Owns transported admission, parent cancellation, and settlement drainage. |
|
|
521
|
-
| `StudyRemoteMeterOptions` | interface | Holds the worker meter's parent-authorized transport and failure latch. |
|
|
522
|
-
| `StudyRemoteTicket` | class | Transmits one settlement without inventing local admission authority. |
|
|
523
|
-
| `StudyRemoteTicketOptions` | interface | Holds one transported ticket's identity and settlement owner. |
|
|
524
|
-
| `StudyReportRequest` | interface | Holds a selected immutable report request. |
|
|
525
|
-
| `StudyRequest` | class | Settles an admitted request once and propagates operational failure to its owner. |
|
|
526
|
-
| `StudyRequestOptions` | interface | Supplies one admitted request with its shared failure owner and settlement sink. |
|
|
527
|
-
| `StudyResponse` | interface | Holds an outstanding bounded IPC response. |
|
|
528
|
-
| `StudyResultView` | type | Holds an offline execution reading discriminated by custody completeness. |
|
|
529
|
-
| `StudyResultStore` | class | Owns append-only execution bytes and seals only a complete terminal population. |
|
|
530
|
-
| `StudyResultStoreInterface` | interface | Owns execution custody from exclusive creation through complete sealing. |
|
|
531
|
-
| `StudyResultStoreOptions` | interface | Holds the inert execution store configuration. |
|
|
532
|
-
| `StudyRole` | type | Names a request's measured responsibility. |
|
|
533
|
-
| `StudyRoom` | interface | Holds the model context and generation allowance as separate measurements. |
|
|
534
|
-
| `StudyRubric` | interface | Holds a versioned grading declaration independently of execution. |
|
|
535
|
-
| `StudyScenario` | interface | Holds ordered goals sharing state within an isolated trial. |
|
|
536
|
-
| `StudyScope` | class | Reserves finite request ceilings around cumulative actual budgets and one deadline. |
|
|
537
|
-
| `StudyScopeInterface` | interface | Holds cumulative admission ceilings for one timed execution scope. |
|
|
538
|
-
| `StudyScopeOptions` | interface | Supplies one deadline and its shared failure owner. |
|
|
539
|
-
| `StudyScore` | interface | Holds an arm's whole-horizon counts without hiding unresolved criteria. |
|
|
540
|
-
| `StudySeal` | interface | Holds a complete execution inventory and its deterministic identity. |
|
|
541
|
-
| `StudySealedResult` | interface | Holds independently verified sealed execution bytes. |
|
|
542
|
-
| `StudySeries` | class | Executes a frozen serial study schedule with finite admission and sticky failures. |
|
|
543
|
-
| `StudySeriesOptions` | interface | Holds the common engine's fixed execution inputs. |
|
|
544
|
-
| `StudySessionInterface` | interface | Owns domain state across a trial and releases it before the next trial. |
|
|
545
|
-
| `StudySettlementHandler` | type | Records the settlement of one admitted request. |
|
|
546
|
-
| `StudySinkInterface` | interface | Holds an evidence sink whose implementation owns byte limits and custody. |
|
|
547
|
-
| `StudyStoreInterface` | interface | Appends terminal records without overwriting a prior attempt. |
|
|
548
|
-
| `StudyTask` | class | Bounds adapter evaluation by an independent native parent timer. |
|
|
549
|
-
| `StudyTaskOptions` | interface | Holds a bounded adapter-only native operation. |
|
|
550
|
-
| `StudyTaskRequest` | type | Carries only declarations or sealed evidence to an adapter child. |
|
|
551
|
-
| `StudyTaskResult` | interface | Returns adapter output with the exact active instrumentation digest. |
|
|
552
|
-
| `StudyTaskWorker` | class | Evaluates only admitted instrumentation in a disposable native child. |
|
|
553
|
-
| `StudyTicket` | interface | Holds one admitted request until its actual charge is recorded. |
|
|
554
|
-
| `StudyTrial` | interface | Holds a scheduled trajectory, with a fresh state for each repetition and arm. |
|
|
555
|
-
| `StudyTrialCustody` | interface | Holds the trial sink's admitted writes and terminal lifecycle. |
|
|
556
|
-
| `StudyUsage` | interface | Holds actual request measurements; absent token usage remains unknown. |
|
|
557
|
-
| `StudyValidation` | interface | Holds declarations for domain validation before agent, subject or provider execution. |
|
|
558
|
-
| `StudyWorker` | class | Executes one verified trial behind parent-authorized admission and custody. |
|
|
559
|
-
| `buildStudyAgentDispatch` | function | Builds the evidence join of a wire request to its canonical dispatch. |
|
|
560
|
-
| `buildStudyAgentParts` | function | Projects a request's structural components onto plain JSON without storing a total. |
|
|
561
|
-
| `readStudyAgentToolCall` | function | Reads an Agent tool call into a validated envelope from one read of each foreign field. |
|
|
562
|
-
| `buildStudyAgentToolResult` | function | Builds the JSON evidence form of an Agent tool call and its executed result. |
|
|
563
|
-
| `buildStudyAgentToolDenial` | function | Builds the JSON evidence form of an Agent tool call the Agent denied before dispatch. |
|
|
564
|
-
| `buildStudyAgentReadings` | function | Builds the JSON evidence form of a Ledger result's logical classifier readings. |
|
|
565
|
-
| `buildStudyAgentRevision` | function | Builds a request revision by hashing its canonical rendering exactly as rendered. |
|
|
566
|
-
| `buildStudyOllamaModels` | function | Declares the pinned serving identities the Ollama transport verifies, keyed by the label their inventory evidence carries. |
|
|
567
|
-
| `buildStudyOllamaBytes` | function | Encodes exact application bytes with their decoded size and SHA-256 identity. |
|
|
568
|
-
| `buildStudyOllamaOptions` | function | Builds the provider options one role's declared wire policy determines. |
|
|
569
|
-
| `buildStudyOllamaRaw` | function | Builds a reading of the raw prompt text an encoded request body carries, as sent. |
|
|
570
|
-
| `buildStudyOllamaSnapshot` | function | Builds an owned snapshot of one outbound request before anything is awaited. |
|
|
571
|
-
| `buildStudyOllamaTiming` | function | Builds the JSON evidence form of a timing observation with raw nanoseconds and counts. |
|
|
572
|
-
| `buildStudyOllamaTransportOptions` | function | Builds a frozen owned copy of transport configuration that later caller mutation cannot reach. |
|
|
573
|
-
| `buildStudyPacket` | function | Builds deterministic public semantic inputs and a separately retained private map. |
|
|
574
|
-
| `buildStudyPacketLinks` | function | Builds neutral semantic identities for the complete eligible sealed horizon. |
|
|
575
|
-
| `buildStudyReference` | function | Renders a citation of one retained trial file or evidence row. |
|
|
576
|
-
| `buildStudySchedule` | function | Builds a bounded schedule from explicit repetition rows and declared scenarios. |
|
|
577
|
-
| `checkStudyDirectory` | function | Refuses symbolic links and non-directory ancestors before custody operations. |
|
|
578
|
-
| `collectStudyAncestors` | function | Collects a directory and each of its ancestors up to the filesystem root, nearest first. |
|
|
579
|
-
| `collectStudyEntries` | function | Collects the executable entries a profile selects, each canonical path once. |
|
|
580
|
-
| `collectStudyEvidence` | function | Reads sealed evidence bytes through custody checks without loading executable code. |
|
|
581
|
-
| `computeStudyCommandFingerprint` | function | Computes the native supervisor's exact validated execution fingerprint. |
|
|
582
|
-
| `computeStudyFixtureDigest` | function | Computes public fixture identity from execution policy and exact scenario bytes. |
|
|
583
|
-
| `computeStudyInstrumentDigest` | function | Computes the instrument identity binding trusted runtime bytes to the adapter inventory. |
|
|
584
|
-
| `computeStudyPacketDigest` | function | Computes a bundle identity binding exact public packet and private map bytes. |
|
|
585
|
-
| `computeStudyPartition` | function | Partitions records by their explicit execution fact without inferring any. |
|
|
586
|
-
| `computeStudyProfileDigest` | function | Binds the canonical fully resolved execution profile carried over IPC. |
|
|
587
|
-
| `computeStudyReport` | function | Computes whole-horizon results with operational costs and repetitions kept distinct. |
|
|
588
|
-
| `computeStudyScores` | function | Computes arm intervals over the complete declared criterion horizon. |
|
|
589
|
-
| `computeStudySealId` | function | Computes an execution seal identity from its exact sorted inventory. |
|
|
590
|
-
| `containsArtifact` | function | Checks strict lexical containment under a selected directory. |
|
|
591
|
-
| `createStudyProcessFailure` | function | Creates attributable protocol infrastructure failure. |
|
|
592
|
-
| `decodeStudyJSON` | function | Decodes strict UTF-8 custody bytes and parses their JSON text. |
|
|
593
|
-
| `drainStudyChild` | function | Releases inherited output handles a bounded time after native exit. |
|
|
594
|
-
| `encodeStudyJSON` | function | Encodes deterministic JSON bytes without synthesizing execution metadata. |
|
|
595
|
-
| `failStudyTicket` | function | Records an error thrown by admitted work as the failure of its ticket. |
|
|
596
|
-
| `failureToStudyError` | function | Converts an operational reading to its throwable boundary. |
|
|
597
|
-
| `gradeStudyEvidence` | function | Grades every declared trial and criterion pair through the consumer's predicate. |
|
|
598
|
-
| `hashStudyBytes` | function | Computes the lowercase SHA-256 identity of exact bytes or UTF-8 text. |
|
|
599
|
-
| `isArtifactError` | function | Narrows a caught value to an artifact refusal. |
|
|
600
|
-
| `isStudyAdapter` | function | Checks whether a factory returned the complete consumer adapter contract. |
|
|
601
|
-
| `isStudyAgentResponse` | function | Checks whether a scripted response has JSON calls and workload controls. |
|
|
602
|
-
| `isStudyAgentGauge` | function | Checks whether a value is a gauge with a finite positive scale and a finite nonnegative overhead. |
|
|
603
|
-
| `isStudyAgentRuntime` | function | Checks whether a namespace exposes the Agent capabilities the instrumentation invokes. |
|
|
604
|
-
| `isStudyBounds` | function | Checks whether nested scopes admit no larger allowance than their parent. |
|
|
605
|
-
| `isStudyCause` | const | Checks whether a value names an operational ending. |
|
|
606
|
-
| `isStudyCharge` | function | Checks a request's declared role and finite cost ceilings. |
|
|
607
|
-
| `isStudyCriterion` | function | Checks whether a criterion declares exact grading inputs and references. |
|
|
608
|
-
| `isStudyCustodyAttempt` | function | Checks whether an attempt terminally accounts for the exact scheduled goal horizon. |
|
|
609
|
-
| `isStudyCustodyEvidence` | function | Checks whether evidence is exact JSON with a declared event and goal name. |
|
|
610
|
-
| `isStudyCustodyFailure` | function | Checks whether a failure carries exact attributable operational fields. |
|
|
611
|
-
| `isStudyCustodyFile` | function | Checks whether an execution file inventory entry is path-safe and bounded. |
|
|
612
|
-
| `isStudyCustodyManifest` | function | Checks whether a manifest exactly binds its declared population and identities. |
|
|
613
|
-
| `isStudyCustodyName` | function | Checks whether a trial name is portable on all supported hosts. |
|
|
614
|
-
| `isStudyCustodyObservation` | function | Checks whether an observation preserves output or an explicit unexecuted failure. |
|
|
615
|
-
| `isStudyCustodySeal` | function | Checks whether a seal has an exact unique execution inventory. |
|
|
616
|
-
| `isStudyCustodyTrial` | function | Checks whether a scheduled trial has exact valid identity fields. |
|
|
617
|
-
| `isStudyDefinition` | function | Checks whether a study freezes a complete arm order for every repetition. |
|
|
618
|
-
| `isStudyDigest` | function | Checks whether a byte identity is a lowercase SHA-256 digest. |
|
|
619
|
-
| `isStudyError` | function | Narrows a caught value to a branded study error with valid failure attribution. |
|
|
620
|
-
| `isStudyErrorCode` | function | Checks whether a value names a supported study error code. |
|
|
621
|
-
| `isStudyEvidence` | function | Checks append-only public evidence. |
|
|
622
|
-
| `isStudyFrame` | function | Checks the complete transport envelope before domain handling. |
|
|
623
|
-
| `isStudyGoal` | function | Checks whether a goal has a bounded identifier and exact JSON input. |
|
|
624
|
-
| `isStudyAssessment` | function | Checks whether grading binds accountable judgments to unique attempt identities. |
|
|
625
|
-
| `isStudyIdentity` | function | Checks the exact digest fields carried by the execution declaration. |
|
|
626
|
-
| `isStudyJudgment` | function | Checks whether a judgment carries a supported verdict and evidence references. |
|
|
627
|
-
| `isStudyLabels` | function | Checks whether imported semantic labels have accountable packet provenance. |
|
|
628
|
-
| `isStudyLimit` | function | Checks whether all allowances are positive safe integers within timer bounds. |
|
|
629
|
-
| `isStudyName` | function | Checks whether an identifier is portable and bounded. |
|
|
630
|
-
| `isStudyProcessFailure` | function | Checks operational failure attribution arriving over IPC. |
|
|
631
|
-
| `isStudyProduct` | function | Checks a retained public product without awarding task achievement. |
|
|
632
|
-
| `isStudyProfile` | function | Checks whether a profile carries finite bounds and an optional explicit provider. |
|
|
633
|
-
| `isStudyProvider` | function | Checks whether a provider declaration names artifacts, an HTTP origin and models. |
|
|
634
|
-
| `isStudyRole` | const | Checks whether a value names a measured request role. |
|
|
635
|
-
| `isStudyRoom` | function | Checks whether generation room leaves positive context for input. |
|
|
636
|
-
| `isStudyRubric` | function | Checks whether a rubric declares nonempty criteria with unique identities. |
|
|
637
|
-
| `isStudyScenario` | function | Checks whether a scenario declares a nonempty horizon with unique goal ids. |
|
|
638
|
-
| `isStudyTimestamp` | function | Checks whether a timestamp is a canonical UTC millisecond instant. |
|
|
639
|
-
| `isStudyTrial` | function | Checks a fresh trial's declared identifiers. |
|
|
640
|
-
| `isStudyUsage` | function | Checks whether request usage contains nonnegative safe measurements. |
|
|
641
|
-
| `iterateArtifactEntries` | function | Iterates the remaining entries of an open directory handle lazily, in read order. |
|
|
642
|
-
| `matchesStudyKeys` | function | Matches exact own enumerable data keys without evaluating accessors. |
|
|
643
|
-
| `normalizeStudyProfile` | function | Omits every undefined optional declaration so the profile has one JSON form. |
|
|
644
|
-
| `omitStudyAbsent` | function | Copies the own entries of a record that hold a value, in their original order. |
|
|
645
|
-
| `parseStudyArguments` | function | Parses public command tokens with operation-specific grammar diagnostics. |
|
|
646
|
-
| `parseStudyDefinition` | function | Parses a definition into an independent frozen validated snapshot. |
|
|
647
|
-
| `parseStudyAssessment` | function | Parses grading into an independent frozen validated evidence snapshot. |
|
|
648
|
-
| `parseStudyLabels` | function | Parses semantic labels into an independent frozen validated evidence snapshot. |
|
|
649
|
-
| `parseStudyProfile` | function | Parses a profile into an independent frozen validated snapshot. |
|
|
650
|
-
| `parseStudyRubric` | function | Parses a rubric into an independent frozen validated snapshot. |
|
|
651
|
-
| `parseStudyScenario` | function | Parses a scenario into an independent frozen validated snapshot. |
|
|
652
|
-
| `projectStudyAgentRequest` | function | Prices a runtime estimate through an explicit gauge. |
|
|
653
|
-
| `readArtifact` | function | Reads a bounded regular file only through its canonical absolute path. |
|
|
654
|
-
| `readArtifactBytes` | function | Fills a buffer from an open descriptor, one positioned read at a time. |
|
|
655
|
-
| `readStudyAdapter` | function | Reads a complete adapter from an admitted module namespace. |
|
|
656
|
-
| `readStudyAgentMessages` | function | Projects foreign provider messages onto the exact fields the workload reads. |
|
|
657
|
-
| `readStudyAgentResult` | function | Drains a scripted provider stream into its assembled result. |
|
|
658
|
-
| `readStudyBytes` | function | Reads bounded regular-file bytes without following a symbolic link. |
|
|
659
|
-
| `readStudyFailure` | function | Reads an operational error without inventing a task verdict. |
|
|
660
|
-
| `readStudyHandle` | function | Reads from an open file handle into a buffer until the buffer is full or the file ends. |
|
|
661
|
-
| `readStudyOllamaDigest` | function | Reads the pinned serving digest of an admitted request's model. |
|
|
662
|
-
| `readStudyOllamaFailure` | function | Reads a native Ollama error member as the attributable failure it names, without usage. |
|
|
663
|
-
| `readStudyOllamaRequest` | function | Reads exact outbound Ollama facts and refuses a request outside its declared policy. |
|
|
664
|
-
| `readStudyOllamaSupport` | function | Reads the declared model context ceiling without claiming daemon allocation. |
|
|
665
|
-
| `readStudyOllamaTerminal` | function | Reads one Ollama response row without inventing absent usage. |
|
|
666
|
-
| `readStudyOllamaTiming` | function | Reads daemon timing from a terminal row without letting an observation fail the request. |
|
|
667
|
-
| `readStudyResult` | function | Inspects custody bytes offline and verifies complete execution before assessment. |
|
|
668
|
-
| `resolveStudyAgentContent` | function | Resolves the content a scripted response serves, from its declaration or from a prior tool message. |
|
|
669
|
-
| `resolveStudyInstrument` | function | Resolves the actual host package from its trusted executable entry. |
|
|
670
|
-
| `resolveStudyPath` | function | Resolves a portable relative artifact path strictly inside its selected directory. |
|
|
671
|
-
| `resolveStudyProfile` | function | Resolves the execution profile's caller-selected built artifact paths. |
|
|
672
|
-
| `scanStudyExecution` | function | Scans regular execution files while refusing unknown directories and linked paths. |
|
|
673
|
-
| `scanStudyTree` | function | Scans one execution directory and the subdirectories it admits, reading each admitted file under the series bytes that remain. |
|
|
674
|
-
| `terminateStudyChild` | function | Terminates the recorded native process tree under a finite cleanup allowance. |
|
|
675
|
-
| `translateStudyAgentError` | function | Translates only a nominal Agent window refusal into the attributable capacity failure. |
|
|
676
|
-
| `translateStudyPacketLabels` | function | Translates bound neutral imported labels through the sealed semantic horizon. |
|
|
677
|
-
| `validateStudyAgentUsage` | function | Checks that a successful provider call reported a usable actual prompt count. |
|
|
678
|
-
| `validateStudyEvidenceBytes` | function | Validates complete evidence lines and per-goal encoded evidence bounds. |
|
|
679
|
-
| `validateStudyInputs` | function | Validates grading coverage and request room against the declared study inputs. |
|
|
680
|
-
| `validateStudyOllamaCompletion` | function | Checks terminal policy after the actual wire cost has been retained. |
|
|
681
|
-
| `validateStudyOllamaInventory` | function | Verifies that each pinned name resolves to one inventory entry with its pinned digest. |
|
|
682
|
-
| `validateStudyOllamaRoles` | function | Validates declared role policies against the pinned inventory before any dispatch. |
|
|
683
|
-
| `validateStudyOllamaCapture` | function | Validates independent metadata bounds and the sink's optional recording declaration. |
|
|
684
|
-
| `validateStudyOllamaStep` | function | Admits one model request against its next exact or capture declaration. |
|
|
685
|
-
| `isStudyOllamaMetadata` | function | Checks whether a value declares independent positive metadata allowances. |
|
|
686
|
-
| `isStudyOllamaModel` | function | Checks whether a value pins a served model name and SHA-256 digest. |
|
|
687
|
-
| `isStudyOllamaPolicy` | function | Checks whether a value declares a complete finite model-generation policy. |
|
|
688
|
-
| `isStudyOllamaStep` | function | Checks whether a value declares exclusive exact or capture admission with a valid receipt. |
|
|
689
|
-
| `validateStudyRuntime` | function | Refuses a profile that omits the actual host runtime's declared dependency bytes. |
|
|
690
|
-
| `valueToWire` | function | Projects optional domain fields into the JSON wire representation. |
|
|
691
|
-
| `writeStudyBytes` | function | Writes an exclusive regular record and synchronizes it before reporting success. |
|
|
692
|
-
| `STUDY_LAYERS` | const | Lists every ceiling a run can stop at in report order. |
|
|
693
|
-
| `StudyLayer` | type | Names the ceiling that stopped a run. |
|
|
694
|
-
| `StudyStop` | interface | Holds the ceiling that stopped a run and the readings it crossed. |
|
|
695
|
-
| `StudyAttributionSource` | interface | Holds one failed record the report groups by cause, role, and layer. |
|
|
696
|
-
| `isStudyLayer` | const | Checks whether a value names a ceiling a run can stop at. |
|
|
697
|
-
| `isStudyStop` | function | Checks whether a value is the exact record of a ceiling that stopped a run. |
|
|
698
|
-
| `studyStopToJSON` | function | Projects a stop onto JSON with every unreported reading as null. |
|
|
699
|
-
| `translateStudyAgentStop` | function | Translates an Agent run's stop record into the attributable capacity failure of the layer that stopped it. |
|
|
700
|
-
| `computeStudyAttributions` | function | Groups failed records by cause, role, and layer, each group carrying its source readings. |
|
|
701
|
-
| `parseStudyMeasurement` | function | Parses a foreign reading into a number a stop can retain. |
|
|
702
|
-
| `computeStudyAdmittedStop` | function | Computes the stop of a request whose actual usage crossed the ceiling it was admitted under. |
|
|
703
|
-
| `computeStudyOutputStop` | function | Computes the stop of a product the output allowances cannot hold. |
|
|
704
|
-
| `StudyDeclaration` | interface | Holds a parsed study declaration with its driver bundle, scenarios, scenario fixtures, and rubric. |
|
|
705
|
-
| `readStudyDeclaration` | function | Reads a study declaration, its driver's scenarios, and its rubric as the command resolves them. |
|
|
706
|
-
| `readStudyDeclarationBytes` | function | Reads one declaration file and refuses a missing or linked path with its root-relative path. |
|
|
707
|
-
| `readStudyVersion` | function | Reads the version of the study package that owns an executable entry. |
|
|
708
|
-
| `matchesSystemError` | function | Reports whether a caught value is a Node error carrying the given system code. |
|
|
709
|
-
| `StudyDaemon` | interface | Pins an executable and the model population an execution owns until cleanup. |
|
|
710
|
-
| `StudyDaemonModel` | interface | Pins one model the declared daemon verifies and unloads before each trial. |
|
|
711
|
-
| `StudyRecord` | interface | Bounds serialized exchange bytes, execution calls and summed model time for each trial. |
|
|
712
|
-
| `ArtifactErrorCode` | type | Names the refused boundary of a captured or materialized artifact graph. |
|
|
713
|
-
| `ArtifactMember` | interface | Maps one admitted physical file to its exact bytes inside a materialized forest. |
|
|
714
|
-
| `ArtifactClosure` | interface | Binds a verified physical forest to its relocated selections and complete membership. |
|
|
715
|
-
| `ArtifactLoaderInterface` | interface | Captures, verifies, loads, and materializes one admitted physical artifact graph. |
|
|
716
|
-
| `computeArtifactClosureDigest` | function | Computes a destination-independent digest of members and relative package identities. |
|
|
717
|
-
| `isArtifactClosure` | function | Checks a bounded materialization record before any path is used. |
|
|
718
|
-
| `isArtifactKey` | function | Checks whether a key names portable, non-credential members within a closure. |
|
|
719
|
-
| `isArtifactLoaderOptions` | function | Checks the bounded loader selections retained in a publication. |
|
|
720
|
-
| `isArtifactMember` | function | Checks the exact file identity and provenance of a closure member. |
|
|
721
|
-
| `isStudyClosure` | function | Checks a closure publication before using its command inputs. |
|
|
722
|
-
| `matchesArtifactCredential` | function | Checks whether a portable segment identifies credentials. |
|
|
723
|
-
| `readArtifactPhysical` | function | Checks every existing physical ancestor before using a canonical absolute path. |
|
|
724
|
-
| `readStudyClosure` | function | Reads and independently verifies an exclusively published closure. |
|
|
725
|
-
| `relocateArtifactPath` | function | Relocates an original path through a closure's retained physical forest. |
|
|
726
|
-
| `resolveArtifactBase` | function | Finds the common physical parent that preserves every selected path's relative resolution. |
|
|
727
|
-
| `resolveArtifactMember` | function | Resolves a portable member key without traversing outside its destination. |
|
|
728
|
-
| `resolveStudyClosurePath` | function | Resolves a profile path through a retained physical relocation when selected. |
|
|
729
|
-
| `verifyArtifactClosure` | function | Verifies complete copied membership, path safety, exact bytes, and portable identity. |
|
|
730
|
-
| `StudyOllamaMetadata` | interface | Bounds metadata calls, encoded bytes, and elapsed milliseconds outside model quotas. |
|
|
731
|
-
| `StudyOllamaStage` | type | Names the ordered verification, model work, and daemon maintenance stages. |
|
|
732
|
-
| `StudyOllamaStepIdentity` | interface | Declares an ordered model request's goal, responsibility, route, and wire policy. |
|
|
733
|
-
| `StudyOllamaExactStep` | interface | Declares an exact UTF-8 request body and its SHA-256 input receipt. |
|
|
734
|
-
| `StudyOllamaCaptureStep` | interface | Declares a captured request's positive safe byte length without predicting its content. |
|
|
735
|
-
| `StudyOllamaStep` | type | Separates exact request admission from length-declared capture admission. |
|
|
736
|
-
| `StudyOllamaReplaySelection` | interface | Selects a sealed recording and an explicit replay prefix for every scheduled trial. |
|
|
737
|
-
| `StudyOllamaReplayOptions` | interface | Configures exact recorded replies and optional live continuation after a declared prefix. |
|
|
738
|
-
| `StudyOllamaReplayInterface` | interface | Answers an exact recorded prefix through the role-aware transport collaborator. |
|
|
739
|
-
| `StudyExchangeDestination` | interface | Holds the parent-reserved destination of one trial's exchange sidecar. |
|
|
740
|
-
| `StudyExchangeBytes` | interface | Retains an application HTTP body's exact bytes independently of text decoding. |
|
|
741
|
-
| `StudyExchangeIdentity` | interface | Binds one HTTP exchange to its trial-local position and declared execution stage. |
|
|
742
|
-
| `StudyExchangeDeclaration` | interface | Declares a bounded trial horizon and serving identities before any exchange attempt. |
|
|
743
|
-
| `StudyExchangeAttempt` | interface | Retains admitted request bytes durably before the corresponding send begins. |
|
|
744
|
-
| `StudyExchangeReply` | interface | Retains response status, headers, and original application-body chunk lengths. |
|
|
745
|
-
| `StudyExchangeResponse` | interface | Retains a fully consumed response only after status and terminal validation succeed. |
|
|
746
|
-
| `StudyExchangeFailure` | interface | Retains an attempted exchange's failure and any bounded response bytes already observed. |
|
|
747
|
-
| `StudyExchangeCompletion` | interface | Closes a sidecar after execution and postflight have fully completed. |
|
|
748
|
-
| `StudyExchangeRow` | type | Names every admitted row of the bounded per-trial exchange sidecar. |
|
|
749
|
-
| `StudyRecordedExchange` | interface | Holds a strictly verified successful request and response pair. |
|
|
750
|
-
| `StudyExchangeHistory` | interface | Binds complete ordered exchanges to a verified sealed sidecar and its declaration. |
|
|
751
|
-
| `StudyExchangeSinkInterface` | interface | Owns serialized exchange appends under a reserved trial byte allowance. |
|
|
752
|
-
| `StudyExchangeSinkOptions` | interface | Supplies an exclusive sidecar descriptor and its parent-reserved byte allowance. |
|
|
753
|
-
| `StudyFreezeRequest` | interface | Requests exclusive materialization and captured validation before publishing closure.json. |
|
|
754
|
-
| `StudyClosure` | interface | Publishes a validated closure with relocated command inputs and execution provenance. |
|
|
755
|
-
| `StudyTrialPreparationFunction` | type | Prepares one trial's external resources before its worker starts. |
|
|
756
|
-
| `StudyProcessDriverOptions` | interface | Supplies parent-only trial preparation separately from serializable worker options. |
|
|
757
|
-
| `StudyExchangeSink` | class | Retains ordered exchange rows under a parent-reserved serialized byte allowance. |
|
|
758
|
-
| `StudyOllamaReplay` | class | Answers declared HTTP prefixes from complete ordered recorded application bytes. |
|
|
759
|
-
| `isStudyRecord` | function | Checks whether recording bytes, calls and model milliseconds have positive safe bounds. |
|
|
760
|
-
| `isStudyExchangeBytes` | function | Checks whether encoded body bytes have their exact canonical base64 and SHA-256 identity. |
|
|
761
|
-
| `isStudyExchangeIdentity` | function | Checks whether an exchange carries an admissible ordered HTTP identity. |
|
|
762
|
-
| `isStudyExchangeReply` | function | Checks whether a retained reply describes bounded successful application bytes and chunks. |
|
|
763
|
-
| `isStudyExchangeDeclaration` | function | Checks whether the opening row declares bounded execution, ordered goals and serving identities. |
|
|
764
|
-
| `isStudyExchangeRow` | function | Checks whether a sidecar row has exactly its declared fields and verified byte identities. |
|
|
765
|
-
| `isStudyExchangeHistory` | function | Checks whether a history has verified row shapes before its complete relational validation. |
|
|
766
|
-
| `buildStudyExchangeSequence` | function | Projects fixed and declared HTTP identities around the retained execution population. |
|
|
767
|
-
| `projectStudyExchangeIdentity` | function | Projects only the repeated identity fields of a retained HTTP exchange. |
|
|
768
|
-
| `validateStudyExchangeRequest` | function | Validates the exact declaration order and request bytes of an admitted exchange. |
|
|
769
|
-
| `validateStudyExchangeRows` | function | Validates a serialized journal prefix or its complete successful population. |
|
|
770
|
-
| `readStudyExchangeRows` | function | Reads strict complete LF-framed exchange rows with verified bodies and declaration joins. |
|
|
771
|
-
| `validateStudyExchangeHistory` | function | Validates complete history envelopes again before a replay may perform dependent work. |
|
|
772
|
-
| `validateStudyExchangeEvidence` | function | Joins recorded exchanges to exactly one dispatch and wire evidence identity per ordinal. |
|
|
773
|
-
| `readStudyTrialExchanges` | function | Reads and joins a complete trial sidecar before or after sealing. |
|
|
774
|
-
| `readStudyExchanges` | function | Reads a sealed trial's exact complete exchange history after reverifying its entire result. |
|
|
775
|
-
| `isStudyExchangeDestination` | function | Checks whether a worker destination has an absolute sidecar path and finite reservation. |
|
|
776
|
-
| `isStudyReplaySelection` | function | Checks whether replay explicitly selects a sealed directory and per-trial prefix counts. |
|
|
777
|
-
| `computeStudyConfigurationDigest` | function | Binds room, driver settings and daemon configuration independently of paths and resource ceilings. |
|
|
778
|
-
| `validateStudyCaptureDeclaration` | function | Checks the parent's declaration against the profile, trial and optional scenario held by a reader. |
|
|
779
|
-
| `buildStudyExchangeDeclaration` | function | Builds the parent's single recording declaration from its profile, trial and scenario. |
|
|
780
|
-
| `readStudyPreparedDestination` | function | Validates parent preparation output without permitting a destination or allowance substitution. |
|
|
781
|
-
| `readStudyReplayHistory` | function | Rechecks the sealed source and this trial's prefix under the executing profile declaration. |
|
|
782
|
-
| `StudyAncestor` | interface | Identifies a sealed source and retains its execution identities. |
|
|
783
|
-
| `StudyExchangeAncestor` | interface | Identifies the sealed sidecar and complete exchange prefix served by replay. |
|
|
784
|
-
| `StudyExchangeDivergence` | interface | Locates the first changed request or unmatched position in a replay. |
|
|
785
|
-
| `StudyOllamaReplayRequest` | interface | Holds the executing request compared with the recorded cursor. |
|
|
786
|
-
| `computeArtifactRuntimeDigest` | function | Computes the location-independent native execution identity. |
|
|
787
|
-
| `computeArtifactContentDigest` | function | Computes a location-independent identity of captured code and selected entries. |
|
|
788
|
-
| `computeStudyExchangeOffset` | function | Locates the first differing byte, including a length difference after a shared prefix. |
|
|
789
|
-
| `scanStudyDivergence` | function | Finds the first changed or unmatched non-maintenance request by position. |
|
|
790
|
-
| `describeStudyReplayDifference` | function | Describes the first differing replay member within the sidecar failure allowance. |
|
|
791
|
-
| `isStudyAncestor` | function | Checks a sealed source reference and its retained identities. |
|
|
792
|
-
| `isStudyExchangeAncestor` | function | Checks a sealed sidecar reference and its positive exchange prefix. |
|
|
793
|
-
|
|
794
|
-
|
|
|
795
|
-
| --------------------------- | --------- | ------------------------------------------------------------------------------------------- |
|
|
796
|
-
| `StudyDaemonSession` | class | Owns the declared daemon and its serial trial preparation through permanent cleanup. |
|
|
797
|
-
| `StudyDaemonTrial` | class | Records one trial's daemon maintenance before handing its verified prefix to a worker. |
|
|
798
|
-
| `StudyDaemonSessionOptions` | interface | Supplies the resolved provider, trial population, workspace, and execution cancellation. |
|
|
799
|
-
| `StudyDaemonTrialOptions` | interface | Supplies one reserved sidecar and its complete maintenance declaration. |
|
|
800
|
-
| `isStudyDaemon` | function | Checks whether an owned daemon declaration pins an absolute executable and distinct models. |
|
|
357
|
+
| Name | Kind | Signature | Summary |
|
|
358
|
+
| ---------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
359
|
+
| `ARTIFACT_BYTES` | const | `number` | Bounds all captured input bytes to 128 MiB. |
|
|
360
|
+
| `ARTIFACT_ERROR_BRAND` | const | `unique symbol` | Marks artifact errors across module formats and installations. |
|
|
361
|
+
| `ARTIFACT_ERROR_CODES` | const | `readonly ArtifactErrorCode[]` | Lists the artifact refusal codes. |
|
|
362
|
+
| `ARTIFACT_DEPTH` | const | `64` | Bounds directory nesting below each selected root. |
|
|
363
|
+
| `ARTIFACT_FILES` | const | `8192` | Bounds admitted files before another capture is allocated. |
|
|
364
|
+
| `ARTIFACT_FILE_BYTES` | const | `number` | Bounds one captured input file to 16 MiB. |
|
|
365
|
+
| `ARTIFACT_ROOTS` | const | `128` | Bounds selected package roots before traversal begins. |
|
|
366
|
+
| `ARTIFACT_VISITS` | const | `32768` | Bounds all visited directory entries, including ignored assets. |
|
|
367
|
+
| `ArtifactError` | class | `new (message: string, code?: ArtifactErrorCode) => ArtifactError` | Reports an invalid or drifted artifact inventory. |
|
|
368
|
+
| `ArtifactFile` | interface | `{ path, digest, size }` | Records the exact bytes admitted at one absolute file path. |
|
|
369
|
+
| `ArtifactHookInput` | interface | `{ token, files, source?, instrument?, excluded? }` | Supplies the private namespace and separate source selection to resolution. |
|
|
370
|
+
| `ArtifactInventory` | interface | `{ digest, node, runtime, entries, packages, source?, instrument?, files, assets? }` | Records all admitted module bytes, selections, and native runtime identity. |
|
|
371
|
+
| `ArtifactLoadHandler` | type | `Parameters<LoadHookSync>[2]` | Names Node's synchronous loading continuation. |
|
|
372
|
+
| `ArtifactLoader` | class | `new (options: ArtifactLoaderOptions) => ArtifactLoaderInterface` | Captures built ESM and a separate strip-only consumer adapter in a fresh worker. |
|
|
373
|
+
| `ArtifactLoaderOptions` | interface | `{ entries, roots, source?, instrument?, excluded?, assets? }` | Selects built packages and an optional separate consumer source graph. |
|
|
374
|
+
| `ArtifactPackage` | interface | `{ root, name, version }` | Records the identity declared by an admitted package manifest. |
|
|
375
|
+
| `ArtifactResolveHandler` | type | `Parameters<ResolveHookSync>[2]` | Names Node's synchronous resolution continuation. |
|
|
376
|
+
| `ArtifactRuntime` | interface | `{ arguments, platform, architecture, options? }` | Binds native conditions and host-sensitive builtin behavior to the inventory. |
|
|
377
|
+
| `ArtifactSource` | interface | `{ source }` | Retains captured bytes for the native loader. |
|
|
378
|
+
| `ArtifactSourceOptions` | interface | `{ root, entry }` | Selects a consumer-owned executable source directory and its exact adapter entry. |
|
|
379
|
+
| `ArtifactTally` | interface | `{ visits, bytes }` | Counts the directory entries visited and the file bytes admitted so far in one capture. |
|
|
380
|
+
| `Resolution` | class | `new (input: ArtifactHookInput) => Resolution` | Enforces captured inventory membership at every synchronous native import edge. |
|
|
381
|
+
| `STUDY_CAUSES` | const | `readonly StudyCause[]` | Lists every operational ending in report order. |
|
|
382
|
+
| `STUDY_COMMAND_DURATION` | const | `86400000` | Caps declared execution duration at the native supervisor's host ceiling. |
|
|
383
|
+
| `STUDY_COMMAND_GRADER` | const | `"consumer-adapter"` | Names the trusted command's independent offline predicate. |
|
|
384
|
+
| `STUDY_COMMAND_HELP` | const | `"study check <study> [--profile <name>] [--closure <directory>] [--extend <result>]\nstudy freeze <study> --profile <name> --to <directory>\nstudy execute <study> [--profile <name>] [--out <path>] [--expected <sha256>] [--closure <directory>] [--extend <result> \| --replay <result> --prefix <JSON trial counts> --offline <true\|false>]\nstudy grade <result> --rubric <path>\nstudy label <result> --assessment <sha256> --labels <path>\nstudy report <result> --assessment <sha256>\nstudy --help\nstudy --version\n\nProfiles default to local; freeze requires --profile. Flags require values and may appear only once.\nResults default to tmp/studies/<result>; scratch also uses tmp/studies.\nA result is its id under tmp/studies, a root-relative path, or an absolute path.\nRelative paths, including --out, must stay inside the consumer working directory.\nOutput directories must be new; existing results are never overwritten.\n--expected pins the fingerprint returned by check. --assessment selects an exact assessment.\n--rubric selects independent criteria. --labels imports caller-supplied semantic labels.\n--closure selects retained artifacts. Replay requires explicit prefix counts and offline behavior.\n--extend continues a sealed open recording with further goals and requires a declared daemon.\ncheck carries --extend into next and binds the ancestor seal into its fingerprint.\nSuccess writes one JSON document; next contains suggested argv, never executed automatically.\ncheck, freeze, grade, label and report have a fixed allowance of 60 seconds.\nexecute checks first, then uses the declared series duration plus 15 seconds for cleanup.\nExit codes: 0 success, 64 invalid input, 124 deadline, 130 interruption, 1 operational failure.\n"` | Defines the complete public CLI reference shared by help and grammar diagnostics. |
|
|
385
|
+
| `STUDY_COMMAND_OPERATION` | const | `"study-command"` | Names the command route beneath the native supervisor. |
|
|
386
|
+
| `STUDY_CUSTODY_BYTES` | const | `number` | Limits untrusted metadata before JSON parsing or file allocation. |
|
|
387
|
+
| `STUDY_DRAIN_DURATION` | const | `1000` | Bounds how long inherited output handles stay open after native exit, in milliseconds. |
|
|
388
|
+
| `STUDY_ERROR_BRAND` | const | `unique symbol` | Keys the own self-identity every study error stamps on itself. |
|
|
389
|
+
| `STUDY_FRAME_BYTES` | const | `number` | Limits each serialized IPC envelope, including its JSON framing. |
|
|
390
|
+
| `STUDY_GOALS` | const | `4096` | Caps a declared scenario horizon before execution. |
|
|
391
|
+
| `STUDY_LAUNCH_BYTES` | const | `number` | Bounds combined supervised command output to 16 MiB before terminating the tree. |
|
|
392
|
+
| `STUDY_LAUNCH_CLEANUP` | const | `15000` | Extends supervised execution beyond its declared series duration for cleanup. |
|
|
393
|
+
| `STUDY_LAUNCH_DURATION` | const | `60000` | Bounds each supervised operation other than execution to 60 seconds. |
|
|
394
|
+
| `STUDY_LOG_BYTES` | const | `number` | Limits combined worker stdout and stderr before termination. |
|
|
395
|
+
| `STUDY_NAME` | const | `RegExp` | Restricts identifiers to portable path-safe names. |
|
|
396
|
+
| `STUDY_PACKET_DISCLOSURE` | const | `"Identifiers omit treatment and model names. Input and product text may still reveal design details."` | Discloses the limits of neutral identifiers when public text remains visible. |
|
|
397
|
+
| `STUDY_PENDING_LIMIT` | const | `64` | Limits outstanding bidirectional protocol work per process. |
|
|
398
|
+
| `STUDY_PROCESS_LABEL` | const | `"Process lifecycle"` | Attributes an expired process handshake or cleanup deadline. |
|
|
399
|
+
| `STUDY_RESERVED_NAME` | const | `RegExp` | Rejects names that Windows reserves even on other hosts. |
|
|
400
|
+
| `STUDY_ROLES` | const | `readonly StudyRole[]` | Lists every measured request role in report order. |
|
|
401
|
+
| `STUDY_TASK_DURATION` | const | `60000` | Caps pure domain work independently of its event loop. |
|
|
402
|
+
| `STUDY_TASK_OPERATION` | const | `"study-adapter"` | Names the private bounded validation and grading route. |
|
|
403
|
+
| `STUDY_TRIALS` | const | `4096` | Caps a declared trial population before schedule allocation. |
|
|
404
|
+
| `STUDY_WORKER_OPERATION` | const | `"study-worker"` | Names the worker operation routed by the built application entry. |
|
|
405
|
+
| `StudyAdapterInterface` | interface | `{ validate(), driver(), grade() }` | Defines the consumer's domain checks, driver construction, and retained-evidence assessment. |
|
|
406
|
+
| `StudyAdjudication` | interface | `{ manifest, rubric, attempts, evidence }` | Holds retained observations and independent criteria for a grading operation. |
|
|
407
|
+
| `StudyAdmissionInterface` | interface | `{ signal, usage, admit() }` | Admits requests against enclosing limits before an adapter dispatches them. |
|
|
408
|
+
| `StudyAgentDispatch` | interface | `{ id, revision }` | Holds the trial-local canonical dispatch identity a wire request joins to. |
|
|
409
|
+
| `StudyAgentJudge` | class | `new (judge: JudgeInterface, latch: StudyLatchInterface) => JudgeInterface` | Latches a real judge's failure before an enclosing runtime can treat it as absent. |
|
|
410
|
+
| `StudyAgentObserver` | class | `new (options: StudyAgentObserverOptions) => ProviderInterface` | Reads each Agent request's size before delegating it unchanged to the real provider. |
|
|
411
|
+
| `StudyAgentObserverOptions` | interface | `{ provider, runtime, gauge, enforced, record }` | Holds the observing provider's delegate, measurement seam and explicit policies. |
|
|
412
|
+
| `StudyAgentOriginHandler` | type | `(messages: readonly Message[]) => JSONValue` | Joins each message of a measured request to its origin, one JSON entry per message in order. |
|
|
413
|
+
| `StudyAgentPlan` | interface | `{ responses, goal, context, workload }` | Holds one goal's scripted replies and the resources the provider charges and cancels through. |
|
|
414
|
+
| `StudyAgentMeasurement` | interface | `{ estimate, projected }` | Holds one dispatched request's explicit size reading. |
|
|
415
|
+
| `StudyAgentRecordHandler` | type | `(reading: StudyAgentMeasurement, request: ProviderRequest) => void` | Receives one reading and the exact pre-encoding request it measured. |
|
|
416
|
+
| `StudyAgentResponse` | interface | `{ content, calls, consume, abort, tokens, bytes, truncated }` | Declares one scripted reply. |
|
|
417
|
+
| `StudyAgentRole` | type | `Extract<StudyRole, 'agent' \| 'summary'>` | Names the model responsibilities whose requests the trace and summary measure. |
|
|
418
|
+
| `StudyAgentRuntime` | interface | `{ estimateRequest, measureRequest, isAgentError }` | Holds the admitted Agent namespace capabilities the shared instrumentation invokes. |
|
|
419
|
+
| `StudyAgentScript` | class | `new (options: StudyAgentScriptOptions) => ProviderInterface` | Serves declared inert responses through the actual Agent provider boundary. |
|
|
420
|
+
| `StudyAgentScriptOptions` | interface | `{ bytes }` | Holds the scripted provider's fixed byte bound; the admitted token count defaults to one. |
|
|
421
|
+
| `StudyAgentStage` | type | `'admission' \| 'dispatch'` | Names where a measurement was taken. |
|
|
422
|
+
| `StudyAgentStamp` | interface | `{ ordinal, revision }` | Holds the ordinal and revision one measurement received. |
|
|
423
|
+
| `StudyAgentSummary` | class | `new (options: StudyAgentSummaryOptions) => StudyAgentSummary` | Folds a conversation through the real provider under an explicit gauge and prompt limit. |
|
|
424
|
+
| `StudyAgentSummaryOptions` | interface | `{ provider, runtime, trace, latch, gauge, limit, instruction, signal }` | Holds the gauged summary's delegate, measurement seam, explicit limits and cancellation. |
|
|
425
|
+
| `StudyAgentTrace` | class | `new (options: StudyAgentTraceOptions) => StudyAgentTrace` | Correlates measured Agent requests and retains their evidence across a trial's goals. |
|
|
426
|
+
| `StudyAgentTraceOptions` | interface | `{ runtime, latch, observe, origins }` | Holds the trace's measuring runtime, failure owner and consumer origin join. |
|
|
427
|
+
| `StudyArtifactIdentity` | interface | `{ runtime, content, agent, subject, provider, instrument }` | Holds the separately bound instrument and selected module inventory identities. |
|
|
428
|
+
| `StudyArtifactLoader` | class | `new (options: StudyArtifactLoaderOptions) => StudyArtifactLoader` | Binds consumer instrumentation separately from selected executable identities. |
|
|
429
|
+
| `StudyArtifactLoaderOptions` | interface | `{ entry, root, profile, adapter, closure? }` | Holds the trusted instrument and caller-selected built artifact locations. |
|
|
430
|
+
| `StudyArtifactModule` | interface | `{ agent, subject, provider }` | Holds actual namespaces loaded only during worker execution. |
|
|
431
|
+
| `StudyAttempt` | interface | `{ trial, observations, failure, duration, executed }` | Holds a terminal trial record, including goals never dispatched. |
|
|
432
|
+
| `StudyBounds` | interface | `{ request, goal, trial, series }` | Holds nested execution allowances; each request also has a deadline. |
|
|
433
|
+
| `StudyCLI` | class | `new (options: StudyLaunchOptions) => StudyCLI` | Dispatches private child routes before the public native supervisor. |
|
|
434
|
+
| `StudyCause` | type | `'capacity' \| 'infrastructure' \| 'deadline' \| 'interrupted' \| 'content'` | Names an operational ending separately from task achievement. |
|
|
435
|
+
| `StudyChannel` | class | `new (options: StudyChannelOptions) => StudyChannel` | Correlates bounded IPC work and rejects every outstanding request on transport failure. |
|
|
436
|
+
| `StudyChannelOptions` | interface | `{ endpoint, handle, abort }` | Holds one native IPC endpoint and its domain handlers. |
|
|
437
|
+
| `StudyCharge` | interface | `{ role, tokens, bytes }` | Holds a request's pre-dispatch upper bounds. |
|
|
438
|
+
| `StudyCommand` | class | `new (options: StudyCommandOptions) => StudyCommand` | Executes validated study operations with execution and grading custody kept independent. |
|
|
439
|
+
| `StudyCommandArtifact` | interface | `{ path, digest }` | Holds one bounded source artifact retained during offline validation. |
|
|
440
|
+
| `StudyCommandOptions` | interface | `{ root, entry }` | Holds the trusted application entry and repository location. |
|
|
441
|
+
| `StudyCommandRequest` | type | `StudyExecutionRequest \| StudyFreezeRequest \| StudyGradeRequest \| StudyLabelRequest \| StudyReportRequest` | Names the independently dispatched study command operation. |
|
|
442
|
+
| `StudyContext` | interface | `{ signal, meter, evidence }` | Holds the resources visible to one running goal. |
|
|
443
|
+
| `StudyControl` | class | `new (signal?: AbortSignal) => StudyControlInterface` | Retains the first operational failure while bounding asynchronous waits. |
|
|
444
|
+
| `StudyControlInterface` | interface | `{ signal, failure, fail(), wait(), close() }` | Owns the first operational failure and cancellation of enclosing work. |
|
|
445
|
+
| `StudyCriterion` | interface | `{ id, scenario, goal, method, critical, assertion }` | Holds a grader-owned criterion outside the driver's public input. |
|
|
446
|
+
| `StudyCustodyBudget` | interface | `{ reserve }` | Holds the evidence sink's shared admission budget. |
|
|
447
|
+
| `StudyCustodyPhase` | type | `'new' \| 'creating' \| 'ready' \| 'sealing' \| 'sealed' \| 'failed'` | Names the execution custody lifecycle without inferring seal completeness. |
|
|
448
|
+
| `StudyCustodySinkInterface` | interface | `{ close() }` | Closes evidence admission and drains already admitted appends. |
|
|
449
|
+
| `StudyDeadline` | class | `new (options: StudyDeadlineOptions) => StudyDeadlineInterface` | Bounds each independent operation with a fresh failure owner and deadline. |
|
|
450
|
+
| `StudyDeadlineInterface` | interface | `{ wait() }` | Bounds one independent asynchronous operation under its own deadline. |
|
|
451
|
+
| `StudyDeadlineOptions` | interface | `{ duration, label }` | Supplies one bounded operation's finite deadline and diagnostic label. |
|
|
452
|
+
| `StudyDefinition` | interface | `{ name, version, question, purpose, driver, arms, scenarios, order, retries, rubric }` | Holds the frozen study question, population and explicit repetition orders. |
|
|
453
|
+
| `StudyDriverInterface` | interface | `{ open() }` | Creates isolated domain state through a concrete package consumer. |
|
|
454
|
+
| `StudyDriverOptions` | interface | `{ agent, subject, provider, profile, directory, exchanges?, replay? }` | Supplies admitted modules and an exclusive scratch parent without grader truth. |
|
|
455
|
+
| `StudyError` | class | `new (code: StudyErrorCode, message: string, failure?: StudyFailure) => StudyError` | Reports a study contract or operational failure with a stable code. |
|
|
456
|
+
| `StudyErrorCode` | type | `'CONFIG' \| 'EVIDENCE' \| 'CUSTODY' \| 'CAPACITY' \| 'FAULT' \| 'DEADLINE'` | Names malformed configuration, evidence, custody and operational failures. |
|
|
457
|
+
| `StudyEvidence` | interface | `{ event, goal, value }` | Holds append-only domain evidence in a JSON-compatible form. |
|
|
458
|
+
| `StudyEvidenceSink` | class | `new (options: StudyEvidenceSinkOptions) => StudyCustodySinkInterface` | Retains admitted evidence in order and closes admission before terminal records. |
|
|
459
|
+
| `StudyEvidenceSinkOptions` | interface | `{ file, goals, goal, trial, budget }` | Holds the owned evidence descriptor and byte admission constraints. |
|
|
460
|
+
| `StudyExecutionRequest` | interface | `{ command, target, profile, out, expected, closure?, replay?, extend? }` | Holds a checked execution selection with optional output custody. |
|
|
461
|
+
| `StudyContinuation` | interface | `{ replay, ancestor }` | Holds an admitted continuation's derived replay selection and immediate sealed ancestor. |
|
|
462
|
+
| `StudyFailure` | interface | `{ cause, message, role, stop }` | Holds an attributable operational fault without awarding a task verdict. |
|
|
463
|
+
| `StudyFile` | interface | `{ path, bytes, digest }` | Holds the exact byte identity of one execution file. |
|
|
464
|
+
| `StudyFrame` | interface | `{ id, operation, value }` | Holds a correlated JSON request, reply or cancellation notification. |
|
|
465
|
+
| `StudyGoal` | interface | `{ id, input }` | Holds a declared goal's public input without its grading truth. |
|
|
466
|
+
| `StudyGradeFunction` | type | `(target: StudyGradeTarget) => StudyGradeVerdict` | Reads one declared target against the consumer's domain predicate. |
|
|
467
|
+
| `StudyGradeVerdict` | interface | `{ verdict, method, reason, references }` | Holds a consumer predicate's reading of one target, citing only retained files and rows. |
|
|
468
|
+
| `StudyGradeRequest` | interface | `{ command, target, rubric }` | Holds an offline predicate grading request. |
|
|
469
|
+
| `StudyGradeTarget` | interface | `{ trial, criterion, attempt, evidence }` | Holds one declared trial and criterion pair with its retained observations. |
|
|
470
|
+
| `StudyAssessment` | interface | `{ result, rubric, grader, instrument, attempts, labels, packet?, judgments }` | Holds a grading identity that cannot replace or mutate execution bytes. |
|
|
471
|
+
| `StudyAssessmentContext` | interface | `{ assessment, rubric, bytes, packet, labels }` | Holds artifacts already verified inside a selected immutable grading directory. |
|
|
472
|
+
| `StudyAssessmentStore` | class | `new (options: StudyAssessmentStoreOptions) => StudyAssessmentStore` | Retains immutable deterministic grading versions independently of execution bytes. |
|
|
473
|
+
| `StudyAssessmentStoreOptions` | interface | `{ result, rubric, labels?, packet? }` | Holds imported grading artifacts independently of execution. |
|
|
474
|
+
| `StudyIdentity` | interface | `{ runtime, content, agent, subject, provider, instrument, fixtures, profile }` | Holds byte identities that qualification and comparisons must agree on. |
|
|
475
|
+
| `StudyInterruptedResult` | interface | `{ status, directory, manifest, attempts }` | Holds inspected execution metadata that is never gradeable before sealing. |
|
|
476
|
+
| `StudyJudgment` | interface | `{ trial, criterion, verdict, method, reason, references }` | Holds an evidence-backed verdict; missing evidence stays unknown. |
|
|
477
|
+
| `StudyLabelRequest` | interface | `{ command, target, assessment, labels }` | Holds an imported-label grading request. |
|
|
478
|
+
| `StudyLabels` | interface | `{ packet, labeler, version, created, usage, judgments }` | Holds imported semantic judgments and their accountable origin. |
|
|
479
|
+
| `StudyLatchInterface` | interface | `{ check(), fail() }` | Retains the first operational failure of instrumented work and refuses work after it. |
|
|
480
|
+
| `StudyLaunchOptions` | interface | `{ root, entry }` | Selects the native command entry and the caller's consumer root. |
|
|
481
|
+
| `StudyLaunchResult` | interface | `{ code, output }` | Retains the bounded command exit and captured output. |
|
|
482
|
+
| `StudyLauncher` | class | `new (options: StudyLaunchOptions) => StudyLauncher` | Supervises finite command trees and binds offline check to execution. |
|
|
483
|
+
| `StudyLimit` | interface | `{ duration, calls, tokens, bytes }` | Holds finite allowances in milliseconds, calls, tokens and bytes. |
|
|
484
|
+
| `StudyManifest` | interface | `{ id, created, definition, scenarios, identity, schedule, bounds, qualification, host, record?, ancestor? }` | Holds the execution declaration sealed before any trial begins. |
|
|
485
|
+
| `StudyMessageHandler` | type | `(operation: StudyOperation, value: JSONValue) => Promise<JSONValue>` | Handles validated transport requests at their owning domain boundary. |
|
|
486
|
+
| `StudyMeter` | class | `new (options: StudyMeterOptions) => StudyMeterInterface` | Admits request ceilings across every enclosing scope before dispatch. |
|
|
487
|
+
| `StudyMeterInterface` | interface | `{ close() }` | Owns request admission and the goal's terminal lifecycle. |
|
|
488
|
+
| `StudyMeterOptions` | interface | `{ request, scopes, control }` | Supplies the request allowance and all enclosing admission scopes. |
|
|
489
|
+
| `StudyObservation` | interface | `{ goal, product, failure, usage, duration, executed }` | Holds the retained outcome of a scheduled goal. |
|
|
490
|
+
| `StudyOllamaActivity` | interface | `{ goal, context, checkpoint }` | Holds one active goal's accounting and attribution. |
|
|
491
|
+
| `StudyOllamaFetchFunction` | type | `(role: StudyRole, input: string \| URL, init: RequestInit) => Promise<Response>` | Sends one validated, admitted request under its Study role and returns the native response. |
|
|
492
|
+
| `StudyOllamaModel` | interface | `{ name, digest }` | Pins one served model identity the inventory verifies. |
|
|
493
|
+
| `StudyOllamaOptions` | type | `Pick<OllamaOptions, 'model' \| 'think' \| 'options' \| 'truncate' \| 'shift'>` | Holds the Ollama provider options one role's declared policy determines. |
|
|
494
|
+
| `StudyOllamaPolicy` | interface | `{ model, options, think, strict, length }` | Declares one model role's exact wire policy. |
|
|
495
|
+
| `StudyOllamaRequest` | interface | `{ role, path, model, output, bytes, options, strict, length }` | Holds validated wire dispatch facts without retaining payload text. |
|
|
496
|
+
| `StudyOllamaRole` | type | `Extract<StudyRole, 'agent' \| 'summary' \| 'judge'>` | Names the model roles an Ollama study transport dispatches under a declared policy. |
|
|
497
|
+
| `StudyOllamaSnapshot` | interface | `{ url, init, dispatch }` | Holds one outbound request's facts as owned at admission. |
|
|
498
|
+
| `StudyOllamaTerminal` | interface | `{ prompt, completion, reason }` | Holds a validated terminal's finish reason and actual usage, unknown when unreported. |
|
|
499
|
+
| `StudyOllamaTransport` | class | `new (options: StudyOllamaTransportOptions) => StudyLatchInterface` | Admits and accounts Ollama wire requests under declared policies and latches failure. |
|
|
500
|
+
| `StudyOllamaTransportOptions` | interface | `{ url, room, limit, models, roles, signal, observe, timing, fetch?, metadata, exchanges? }` | Holds the Ollama study transport's immutable configuration. |
|
|
501
|
+
| `StudyOllamaWire` | interface | `{ deadline?, slot, identity, headers, ceiling, activity, request, ticket, signal, reader, decoder, status, started, id, sent, dispatch, bytes, text, terminal, timing, settled }` | Tracks one owned HTTP response until its end or cancellation. |
|
|
502
|
+
| `StudyOperation` | type | `'open' \| 'goal' \| 'close' \| 'admit' \| 'finish' \| 'fail' \| 'evidence'` | Names the bounded transport's domain operations. |
|
|
503
|
+
| `StudyPacketBundle` | interface | `{ content, mapping }` | Holds exact neutral public packet bytes and private mapping bytes. |
|
|
504
|
+
| `StudyPacketEntry` | interface | `{ trial, criterion, input, product, assertion }` | Holds one neutral semantic grading input without treatment or model identifiers. |
|
|
505
|
+
| `StudyPacketLink` | interface | `{ trial, criterion, source }` | Holds the neutral identity mapping to a sealed semantic trial-criterion pair. |
|
|
506
|
+
| `StudyParentTicket` | interface | `{ ticket, listeners }` | Holds an authoritative parent ticket and its transport listener lifetime. |
|
|
507
|
+
| `StudyPreparation` | interface | `{ bundle, definition, scenarios, rubric, profile, identity, artifacts, source, closure? }` | Holds checked public declarations and reproducible executable identities. |
|
|
508
|
+
| `StudyProcessDriver` | class | `new (options: StudyProcessDriverOptions) => StudyDriverInterface` | Opens one fresh native child for each scheduled trial. |
|
|
509
|
+
| `StudyProcessOptions` | interface | `{ identity, driver, directory, exchanges?, replay? }` | Holds the parent-owned fresh trial process configuration. |
|
|
510
|
+
| `StudyProcessGoal` | class | `new (context: StudyContext) => StudyProcessGoal` | Holds one goal's parent context and the worker admission sequence it issues while the goal runs. |
|
|
511
|
+
| `StudyProcessSession` | class | `new (options: StudyProcessSessionOptions) => StudySessionInterface` | Keeps admission and evidence custody in the parent of one fresh trial process. |
|
|
512
|
+
| `StudyProcessSessionOptions` | interface | `{ trial, signal }` | Holds one fresh child trial's launch parameters and cancellation. |
|
|
513
|
+
| `StudyProduct` | interface | `{ value, partial }` | Holds observed output and partial completion, never self-awarded success. |
|
|
514
|
+
| `StudyProfile` | interface | `{ name, agent, subject, roots, bounds, room, provider, qualification, settings, record? }` | Holds execution settings independently of scenario and grading declarations. |
|
|
515
|
+
| `StudyProvider` | interface | `{ entry, url, model, judge, digest, daemon? }` | Holds caller-selected provider artifacts and model identities. |
|
|
516
|
+
| `StudyPurpose` | type | `'mechanism' \| 'quality' \| 'capacity'` | Names the evidence a study can establish. |
|
|
517
|
+
| `StudyReference` | interface | `{ file, row? }` | Cites a retained trial file, or one evidence row of it by its zero-based position. |
|
|
518
|
+
| `StudyReferenceFile` | type | `'attempt' \| 'evidence'` | Names a retained file of one trial that a judgment cites. |
|
|
519
|
+
| `StudyRemoteMeter` | class | `new (options: StudyRemoteMeterOptions) => StudyRemoteMeterInterface` | Waits for authoritative parent admission and drains acknowledged settlements. |
|
|
520
|
+
| `StudyRemoteMeterInterface` | interface | `{ abort(), close() }` | Owns transported admission, parent cancellation, and settlement drainage. |
|
|
521
|
+
| `StudyRemoteMeterOptions` | interface | `{ channel, control }` | Holds the worker meter's parent-authorized transport and failure latch. |
|
|
522
|
+
| `StudyRemoteTicket` | class | `new (options: StudyRemoteTicketOptions) => StudyTicket` | Transmits one settlement without inventing local admission authority. |
|
|
523
|
+
| `StudyRemoteTicketOptions` | interface | `{ id, signal, settle }` | Holds one transported ticket's identity and settlement owner. |
|
|
524
|
+
| `StudyReportRequest` | interface | `{ command, target, assessment }` | Holds a selected immutable report request. |
|
|
525
|
+
| `StudyRequest` | class | `new (options: StudyRequestOptions) => StudyTicket` | Settles an admitted request once and propagates operational failure to its owner. |
|
|
526
|
+
| `StudyRequestOptions` | interface | `{ charge, duration, control, settle }` | Supplies one admitted request with its shared failure owner and settlement sink. |
|
|
527
|
+
| `StudyResponse` | interface | `{ resolve, reject }` | Holds an outstanding bounded IPC response. |
|
|
528
|
+
| `StudyResultView` | type | `StudyInterruptedResult \| StudySealedResult` | Holds an offline execution reading discriminated by custody completeness. |
|
|
529
|
+
| `StudyResultStore` | class | `new (options: StudyResultStoreOptions) => StudyResultStoreInterface` | Owns append-only execution bytes and seals only a complete terminal population. |
|
|
530
|
+
| `StudyResultStoreInterface` | interface | `{ create(), seal(), exchanges() }` | Owns execution custody from exclusive creation through complete sealing. |
|
|
531
|
+
| `StudyResultStoreOptions` | interface | `{ directory, manifest }` | Holds the inert execution store configuration. |
|
|
532
|
+
| `StudyRole` | type | `'agent' \| 'judge' \| 'summary' \| 'metadata' \| 'maintenance' \| 'tool'` | Names a request's measured responsibility. |
|
|
533
|
+
| `StudyRoom` | interface | `{ context, output, safety, recap, think }` | Holds the model context and generation allowance as separate measurements. |
|
|
534
|
+
| `StudyRubric` | interface | `{ version, criteria }` | Holds a versioned grading declaration independently of execution. |
|
|
535
|
+
| `StudyScenario` | interface | `{ id, goals }` | Holds ordered goals sharing state within an isolated trial. |
|
|
536
|
+
| `StudyScope` | class | `new (options: StudyScopeOptions) => StudyScopeInterface` | Reserves finite request ceilings around cumulative actual budgets and one deadline. |
|
|
537
|
+
| `StudyScopeInterface` | interface | `{ check(), reserve(), settle(), close() }` | Holds cumulative admission ceilings for one timed execution scope. |
|
|
538
|
+
| `StudyScopeOptions` | interface | `{ limit, control, label }` | Supplies one deadline and its shared failure owner. |
|
|
539
|
+
| `StudyScore` | interface | `{ arm, total, achieved, unsuccessful, unknown, critical, lower, upper, coverage }` | Holds an arm's whole-horizon counts without hiding unresolved criteria. |
|
|
540
|
+
| `StudySeal` | interface | `{ result, id, files }` | Holds a complete execution inventory and its deterministic identity. |
|
|
541
|
+
| `StudySealedResult` | interface | `{ status, directory, manifest, attempts, seal }` | Holds independently verified sealed execution bytes. |
|
|
542
|
+
| `StudySeries` | class | `new (options: StudySeriesOptions) => StudySeries` | Executes a frozen serial study schedule with finite admission and sticky failures. |
|
|
543
|
+
| `StudySeriesOptions` | interface | `{ manifest, driver, store, signal }` | Holds the common engine's fixed execution inputs. |
|
|
544
|
+
| `StudySessionInterface` | interface | `{ execute(), close() }` | Owns domain state across a trial and releases it before the next trial. |
|
|
545
|
+
| `StudySettlementHandler` | type | `(usage: StudyUsage) => void` | Records the settlement of one admitted request. |
|
|
546
|
+
| `StudySinkInterface` | interface | `{ append() }` | Holds an evidence sink whose implementation owns byte limits and custody. |
|
|
547
|
+
| `StudyStoreInterface` | interface | `{ start(), finish() }` | Appends terminal records without overwriting a prior attempt. |
|
|
548
|
+
| `StudyTask` | class | `new (options: StudyTaskOptions) => StudyTask` | Bounds adapter evaluation by an independent native parent timer. |
|
|
549
|
+
| `StudyTaskOptions` | interface | `{ entry, root, adapter, roots, duration?, closure? }` | Holds a bounded adapter-only native operation. |
|
|
550
|
+
| `StudyTaskRequest` | type | `{ readonly operation: 'validate'; readonly input: StudyValidation; } \| { readonly operation: 'grade'; readonly input: StudyAdjudication; }` | Carries only declarations or sealed evidence to an adapter child. |
|
|
551
|
+
| `StudyTaskResult` | interface | `{ instrument, value }` | Returns adapter output with the exact active instrumentation digest. |
|
|
552
|
+
| `StudyTaskWorker` | class | `new () => StudyTaskWorker` | Evaluates only admitted instrumentation in a disposable native child. |
|
|
553
|
+
| `StudyTicket` | interface | `{ signal, settled, finish(), fail() }` | Holds one admitted request until its actual charge is recorded. |
|
|
554
|
+
| `StudyTrial` | interface | `{ id, scenario, arm, repetition }` | Holds a scheduled trajectory, with a fresh state for each repetition and arm. |
|
|
555
|
+
| `StudyTrialCustody` | interface | `{ sink, terminal }` | Holds the trial sink's admitted writes and terminal lifecycle. |
|
|
556
|
+
| `StudyUsage` | interface | `{ role, calls, tokens, bytes, duration }` | Holds actual request measurements; absent token usage remains unknown. |
|
|
557
|
+
| `StudyValidation` | interface | `{ definition, scenarios, rubric, profile }` | Holds declarations for domain validation before agent, subject or provider execution. |
|
|
558
|
+
| `StudyWorker` | class | `new () => StudyWorker` | Executes one verified trial behind parent-authorized admission and custody. |
|
|
559
|
+
| `buildStudyAgentDispatch` | function | `(dispatch: StudyAgentDispatch \| undefined) => Readonly<Record<string, JSONValue>>` | Builds the evidence join of a wire request to its canonical dispatch. |
|
|
560
|
+
| `buildStudyAgentParts` | function | `(measure: RequestMeasure) => JSONValue` | Projects a request's structural components onto plain JSON without storing a total. |
|
|
561
|
+
| `readStudyAgentToolCall` | function | `(call: unknown) => ToolCall` | Reads an Agent tool call into a validated envelope from one read of each foreign field. |
|
|
562
|
+
| `buildStudyAgentToolResult` | function | `(call: unknown, result: unknown) => JSONValue` | Builds the JSON evidence form of an Agent tool call and its executed result. |
|
|
563
|
+
| `buildStudyAgentToolDenial` | function | `(call: unknown, reason: unknown) => JSONValue` | Builds the JSON evidence form of an Agent tool call the Agent denied before dispatch. |
|
|
564
|
+
| `buildStudyAgentReadings` | function | `(result: unknown) => JSONValue` | Builds the JSON evidence form of a Ledger result's logical classifier readings. |
|
|
565
|
+
| `buildStudyAgentRevision` | function | `(request: ProviderRequest) => string \| undefined` | Builds a request revision by hashing its canonical rendering exactly as rendered. |
|
|
566
|
+
| `buildStudyOllamaModels` | function | `(provider: StudyProvider) => StudyOllamaTransportOptions['models']` | Declares the pinned serving identities the Ollama transport verifies, keyed by the label their inventory evidence carries. |
|
|
567
|
+
| `buildStudyOllamaBytes` | function | `(bytes: Uint8Array) => StudyExchangeBytes` | Encodes exact application bytes with their decoded size and SHA-256 identity. |
|
|
568
|
+
| `buildStudyOllamaOptions` | function | `(policy: StudyOllamaPolicy) => StudyOllamaOptions` | Builds the provider options one role's declared wire policy determines. |
|
|
569
|
+
| `buildStudyOllamaRaw` | function | `(body: unknown) => JSONValue \| undefined` | Builds a reading of the raw prompt text an encoded request body carries, as sent. |
|
|
570
|
+
| `buildStudyOllamaSnapshot` | function | `(input: string \| URL \| Request, init: RequestInit \| undefined, dispatch: StudyAgentDispatch \| undefined) => StudyOllamaSnapshot` | Builds an owned snapshot of one outbound request before anything is awaited. |
|
|
571
|
+
| `buildStudyOllamaTiming` | function | `(timing: OllamaTiming \| undefined) => JSONValue` | Builds the JSON evidence form of a timing observation with raw nanoseconds and counts. |
|
|
572
|
+
| `buildStudyOllamaTransportOptions` | function | `(options: StudyOllamaTransportOptions) => StudyOllamaTransportOptions` | Builds a frozen owned copy of transport configuration that later caller mutation cannot reach. |
|
|
573
|
+
| `buildStudyPacket` | function | `(result: StudySealedResult, rubric: StudyRubric, digest: string) => StudyPacketBundle \| undefined` | Builds deterministic public semantic inputs and a separately retained private map. |
|
|
574
|
+
| `buildStudyPacketLinks` | function | `(result: StudySealedResult, rubric: StudyRubric) => readonly StudyPacketLink[]` | Builds neutral semantic identities for the complete eligible sealed horizon. |
|
|
575
|
+
| `buildStudyReference` | function | `(target: StudyGradeTarget, reference: StudyReference) => string` | Renders a citation of one retained trial file or evidence row. |
|
|
576
|
+
| `buildStudySchedule` | function | `(definition: StudyDefinition, scenarios: readonly StudyScenario[]) => readonly StudyTrial[]` | Builds a bounded schedule from explicit repetition rows and declared scenarios. |
|
|
577
|
+
| `checkStudyDirectory` | function | `(directory: string) => Promise<string>` | Refuses symbolic links and non-directory ancestors before custody operations. |
|
|
578
|
+
| `collectStudyAncestors` | function | `(directory: string) => readonly string[]` | Collects a directory and each of its ancestors up to the filesystem root, nearest first. |
|
|
579
|
+
| `collectStudyEntries` | function | `(profile: StudyProfile) => readonly string[]` | Collects the executable entries a profile selects, each canonical path once. |
|
|
580
|
+
| `collectStudyEvidence` | function | `(result: StudySealedResult) => Promise<Readonly<Record<string, readonly StudyEvidence[]>>>` | Reads sealed evidence bytes through custody checks without loading executable code. |
|
|
581
|
+
| `computeStudyCommandFingerprint` | function | `(identity: StudyIdentity, bounds: StudyBounds, definition?: StudyDefinition, ancestor?: string) => string` | Computes the native supervisor's exact validated execution fingerprint. |
|
|
582
|
+
| `computeStudyFixtureDigest` | function | `(definition: StudyDefinition, scenarios: readonly StudyCommandArtifact[]) => string` | Computes public fixture identity from execution policy and exact scenario bytes. |
|
|
583
|
+
| `computeStudyInstrumentDigest` | function | `(entry: string, inventory: string) => string` | Computes the instrument identity binding trusted runtime bytes to the adapter inventory. |
|
|
584
|
+
| `computeStudyPacketDigest` | function | `(packet: StudyPacketBundle) => string` | Computes a bundle identity binding exact public packet and private map bytes. |
|
|
585
|
+
| `computeStudyPartition` | function | `(records: ReadonlyArray<StudyAttempt \| StudyObservation \| StudyAttributionSource>) => Readonly<Record<'executed' \| 'unexecuted', number>>` | Partitions records by their explicit execution fact without inferring any. |
|
|
586
|
+
| `computeStudyProfileDigest` | function | `(profile: StudyProfile) => string` | Binds the canonical fully resolved execution profile carried over IPC. |
|
|
587
|
+
| `computeStudyReport` | function | `(result: StudySealedResult, rubric: StudyRubric, assessment: StudyAssessment) => JSONValue` | Computes whole-horizon results with operational costs and repetitions kept distinct. |
|
|
588
|
+
| `computeStudyScores` | function | `(manifest: StudyManifest, rubric: StudyRubric, assessment: StudyAssessment) => readonly StudyScore[]` | Computes arm intervals over the complete declared criterion horizon. |
|
|
589
|
+
| `computeStudySealId` | function | `(result: string, files: readonly StudyFile[]) => string` | Computes an execution seal identity from its exact sorted inventory. |
|
|
590
|
+
| `containsArtifact` | function | `(root: string, path: string) => boolean` | Checks strict lexical containment under a selected directory. |
|
|
591
|
+
| `createStudyProcessFailure` | function | `(message: string) => StudyFailure` | Creates attributable protocol infrastructure failure. |
|
|
592
|
+
| `decodeStudyJSON` | function | `(bytes: Uint8Array) => unknown` | Decodes strict UTF-8 custody bytes and parses their JSON text. |
|
|
593
|
+
| `drainStudyChild` | function | `(child: ChildProcess) => void` | Releases inherited output handles a bounded time after native exit. |
|
|
594
|
+
| `encodeStudyJSON` | function | `(value: unknown) => Uint8Array` | Encodes deterministic JSON bytes without synthesizing execution metadata. |
|
|
595
|
+
| `failStudyTicket` | function | `(ticket: StudyTicket, error: unknown, role?: StudyRole) => void` | Records an error thrown by admitted work as the failure of its ticket. |
|
|
596
|
+
| `failureToStudyError` | function | `(failure: StudyFailure) => StudyError` | Converts an operational reading to its throwable boundary. |
|
|
597
|
+
| `gradeStudyEvidence` | function | `(input: StudyAdjudication, grade: StudyGradeFunction) => readonly StudyJudgment[]` | Grades every declared trial and criterion pair through the consumer's predicate. |
|
|
598
|
+
| `hashStudyBytes` | function | `(input: string \| Uint8Array) => string` | Computes the lowercase SHA-256 identity of exact bytes or UTF-8 text. |
|
|
599
|
+
| `isArtifactError` | function | `(value: unknown) => value is ArtifactError` | Narrows a caught value to an artifact refusal. |
|
|
600
|
+
| `isStudyAdapter` | function | `(value: unknown) => value is StudyAdapterInterface` | Checks whether a factory returned the complete consumer adapter contract. |
|
|
601
|
+
| `isStudyAgentResponse` | function | `(value: unknown) => value is StudyAgentResponse` | Checks whether a scripted response has JSON calls and workload controls. |
|
|
602
|
+
| `isStudyAgentGauge` | function | `(value: unknown) => value is LedgerGauge` | Checks whether a value is a gauge with a finite positive scale and a finite nonnegative overhead. |
|
|
603
|
+
| `isStudyAgentRuntime` | function | `(value: unknown) => value is StudyAgentRuntime` | Checks whether a namespace exposes the Agent capabilities the instrumentation invokes. |
|
|
604
|
+
| `isStudyBounds` | function | `(value: unknown) => value is StudyBounds` | Checks whether nested scopes admit no larger allowance than their parent. |
|
|
605
|
+
| `isStudyCause` | const | `Guard<StudyCause>` | Checks whether a value names an operational ending. |
|
|
606
|
+
| `isStudyCharge` | function | `(value: unknown) => value is StudyCharge` | Checks a request's declared role and finite cost ceilings. |
|
|
607
|
+
| `isStudyCriterion` | function | `(value: unknown) => value is StudyCriterion` | Checks whether a criterion declares exact grading inputs and references. |
|
|
608
|
+
| `isStudyCustodyAttempt` | function | `(value: unknown, manifest: StudyManifest) => value is StudyAttempt` | Checks whether an attempt terminally accounts for the exact scheduled goal horizon. |
|
|
609
|
+
| `isStudyCustodyEvidence` | function | `(value: unknown) => value is StudyEvidence` | Checks whether evidence is exact JSON with a declared event and goal name. |
|
|
610
|
+
| `isStudyCustodyFailure` | function | `(value: unknown) => value is StudyFailure` | Checks whether a failure carries exact attributable operational fields. |
|
|
611
|
+
| `isStudyCustodyFile` | function | `(value: unknown) => value is StudyFile` | Checks whether an execution file inventory entry is path-safe and bounded. |
|
|
612
|
+
| `isStudyCustodyManifest` | function | `(value: unknown) => value is StudyManifest` | Checks whether a manifest exactly binds its declared population and identities. |
|
|
613
|
+
| `isStudyCustodyName` | function | `(value: unknown) => value is string` | Checks whether a trial name is portable on all supported hosts. |
|
|
614
|
+
| `isStudyCustodyObservation` | function | `(value: unknown) => value is StudyObservation` | Checks whether an observation preserves output or an explicit unexecuted failure. |
|
|
615
|
+
| `isStudyCustodySeal` | function | `(value: unknown) => value is StudySeal` | Checks whether a seal has an exact unique execution inventory. |
|
|
616
|
+
| `isStudyCustodyTrial` | function | `(value: unknown) => value is StudyTrial` | Checks whether a scheduled trial has exact valid identity fields. |
|
|
617
|
+
| `isStudyDefinition` | function | `(value: unknown) => value is StudyDefinition` | Checks whether a study freezes a complete arm order for every repetition. |
|
|
618
|
+
| `isStudyDigest` | function | `(value: unknown) => value is string` | Checks whether a byte identity is a lowercase SHA-256 digest. |
|
|
619
|
+
| `isStudyError` | function | `(value: unknown) => value is StudyError` | Narrows a caught value to a branded study error with valid failure attribution. |
|
|
620
|
+
| `isStudyErrorCode` | function | `(value: unknown) => value is StudyErrorCode` | Checks whether a value names a supported study error code. |
|
|
621
|
+
| `isStudyEvidence` | function | `(value: unknown) => value is StudyEvidence` | Checks append-only public evidence. |
|
|
622
|
+
| `isStudyFrame` | function | `(value: unknown) => value is StudyFrame` | Checks the complete transport envelope before domain handling. |
|
|
623
|
+
| `isStudyGoal` | function | `(value: unknown) => value is StudyGoal` | Checks whether a goal has a bounded identifier and exact JSON input. |
|
|
624
|
+
| `isStudyAssessment` | function | `(value: unknown) => value is StudyAssessment` | Checks whether grading binds accountable judgments to unique attempt identities. |
|
|
625
|
+
| `isStudyIdentity` | function | `(value: unknown) => value is StudyIdentity` | Checks the exact digest fields carried by the execution declaration. |
|
|
626
|
+
| `isStudyJudgment` | function | `(value: unknown) => value is StudyJudgment` | Checks whether a judgment carries a supported verdict and evidence references. |
|
|
627
|
+
| `isStudyLabels` | function | `(value: unknown) => value is StudyLabels` | Checks whether imported semantic labels have accountable packet provenance. |
|
|
628
|
+
| `isStudyLimit` | function | `(value: unknown) => value is StudyLimit` | Checks whether all allowances are positive safe integers within timer bounds. |
|
|
629
|
+
| `isStudyName` | function | `(value: unknown) => value is string` | Checks whether an identifier is portable and bounded. |
|
|
630
|
+
| `isStudyProcessFailure` | function | `(value: unknown) => value is StudyFailure` | Checks operational failure attribution arriving over IPC. |
|
|
631
|
+
| `isStudyProduct` | function | `(value: unknown) => value is StudyProduct` | Checks a retained public product without awarding task achievement. |
|
|
632
|
+
| `isStudyProfile` | function | `(value: unknown) => value is StudyProfile` | Checks whether a profile carries finite bounds and an optional explicit provider. |
|
|
633
|
+
| `isStudyProvider` | function | `(value: unknown) => value is StudyProvider` | Checks whether a provider declaration names artifacts, an HTTP origin and models. |
|
|
634
|
+
| `isStudyRole` | const | `Guard<StudyRole>` | Checks whether a value names a measured request role. |
|
|
635
|
+
| `isStudyRoom` | function | `(value: unknown) => value is StudyRoom` | Checks whether generation room leaves positive context for input. |
|
|
636
|
+
| `isStudyRubric` | function | `(value: unknown) => value is StudyRubric` | Checks whether a rubric declares nonempty criteria with unique identities. |
|
|
637
|
+
| `isStudyScenario` | function | `(value: unknown) => value is StudyScenario` | Checks whether a scenario declares a nonempty horizon with unique goal ids. |
|
|
638
|
+
| `isStudyTimestamp` | function | `(value: unknown) => value is string` | Checks whether a timestamp is a canonical UTC millisecond instant. |
|
|
639
|
+
| `isStudyTrial` | function | `(value: unknown) => value is StudyTrial` | Checks a fresh trial's declared identifiers. |
|
|
640
|
+
| `isStudyUsage` | function | `(value: unknown) => value is StudyUsage` | Checks whether request usage contains nonnegative safe measurements. |
|
|
641
|
+
| `iterateArtifactEntries` | function | `(handle: Dir) => Generator<Dirent, void>` | Iterates the remaining entries of an open directory handle lazily, in read order. |
|
|
642
|
+
| `matchesStudyKeys` | function | `(value: unknown, required: readonly string[], optional?: readonly string[]) => boolean` | Matches exact own enumerable data keys without evaluating accessors. |
|
|
643
|
+
| `normalizeStudyProfile` | function | `(profile: StudyProfile) => Readonly<Record<string, unknown>>` | Omits every undefined optional declaration so the profile has one JSON form. |
|
|
644
|
+
| `omitStudyAbsent` | function | `(value: object) => Readonly<Record<string, unknown>>` | Copies the own entries of a record that hold a value, in their original order. |
|
|
645
|
+
| `parseStudyArguments` | function | `(arguments_: readonly string[]) => StudyCommandRequest` | Parses public command tokens with operation-specific grammar diagnostics. |
|
|
646
|
+
| `parseStudyDefinition` | function | `(value: unknown) => StudyDefinition` | Parses a definition into an independent frozen validated snapshot. |
|
|
647
|
+
| `parseStudyAssessment` | function | `(value: unknown) => StudyAssessment` | Parses grading into an independent frozen validated evidence snapshot. |
|
|
648
|
+
| `parseStudyLabels` | function | `(value: unknown) => StudyLabels` | Parses semantic labels into an independent frozen validated evidence snapshot. |
|
|
649
|
+
| `parseStudyProfile` | function | `(value: unknown) => StudyProfile` | Parses a profile into an independent frozen validated snapshot. |
|
|
650
|
+
| `parseStudyRubric` | function | `(value: unknown) => StudyRubric` | Parses a rubric into an independent frozen validated snapshot. |
|
|
651
|
+
| `parseStudyScenario` | function | `(value: unknown) => StudyScenario` | Parses a scenario into an independent frozen validated snapshot. |
|
|
652
|
+
| `projectStudyAgentRequest` | function | `(gauge: LedgerGauge, estimate: number) => number` | Prices a runtime estimate through an explicit gauge. |
|
|
653
|
+
| `readArtifact` | function | `(path: string, maximum?: number) => ArtifactSource` | Reads a bounded regular file only through its canonical absolute path. |
|
|
654
|
+
| `readArtifactBytes` | function | `(descriptor: number, target: Buffer, offset?: number) => Buffer` | Fills a buffer from an open descriptor, one positioned read at a time. |
|
|
655
|
+
| `readStudyAdapter` | function | `(namespace: unknown) => StudyAdapterInterface` | Reads a complete adapter from an admitted module namespace. |
|
|
656
|
+
| `readStudyAgentMessages` | function | `(value: unknown) => readonly JSONValue[]` | Projects foreign provider messages onto the exact fields the workload reads. |
|
|
657
|
+
| `readStudyAgentResult` | function | `(stream: AsyncGenerator<ProviderDelta, ProviderResult>) => Promise<ProviderResult>` | Drains a scripted provider stream into its assembled result. |
|
|
658
|
+
| `readStudyBytes` | function | `(path: string, limit: number) => Promise<Uint8Array>` | Reads bounded regular-file bytes without following a symbolic link. |
|
|
659
|
+
| `readStudyFailure` | function | `(error: unknown) => StudyFailure` | Reads an operational error without inventing a task verdict. |
|
|
660
|
+
| `readStudyHandle` | function | `(handle: FileHandle, target: Buffer, offset?: number) => Promise<Buffer>` | Reads from an open file handle into a buffer until the buffer is full or the file ends. |
|
|
661
|
+
| `readStudyOllamaDigest` | function | `(models: StudyOllamaTransportOptions['models'], request: StudyOllamaRequest) => string \| undefined` | Reads the pinned serving digest of an admitted request's model. |
|
|
662
|
+
| `readStudyOllamaFailure` | function | `(value: unknown, role: StudyRole, status?: number) => StudyError \| undefined` | Reads a native Ollama error member as the attributable failure it names, without usage. |
|
|
663
|
+
| `readStudyOllamaRequest` | function | `(options: Pick<StudyOllamaTransportOptions, 'url' \| 'models' \| 'roles'>, role: StudyRole, input: string \| URL \| Request, init?: RequestInit) => StudyOllamaRequest` | Reads exact outbound Ollama facts and refuses a request outside its declared policy. |
|
|
664
|
+
| `readStudyOllamaSupport` | function | `(value: unknown, context: number) => number` | Reads the declared model context ceiling without claiming daemon allocation. |
|
|
665
|
+
| `readStudyOllamaTerminal` | function | `(value: unknown, request: StudyOllamaRequest) => StudyOllamaTerminal \| undefined` | Reads one Ollama response row without inventing absent usage. |
|
|
666
|
+
| `readStudyOllamaTiming` | function | `(extract: StudyOllamaTransportOptions['timing'], record: Readonly<Record<string, unknown>>) => OllamaTiming \| undefined` | Reads daemon timing from a terminal row without letting an observation fail the request. |
|
|
667
|
+
| `readStudyResult` | function | `(directory: string) => Promise<StudyResultView>` | Inspects custody bytes offline and verifies complete execution before assessment. |
|
|
668
|
+
| `resolveStudyAgentContent` | function | `(request: readonly JSONValue[], response: StudyAgentResponse) => string` | Resolves the content a scripted response serves, from its declaration or from a prior tool message. |
|
|
669
|
+
| `resolveStudyInstrument` | function | `(entry: string) => string` | Resolves the actual host package from its trusted executable entry. |
|
|
670
|
+
| `resolveStudyPath` | function | `(directory: string, path: string) => string` | Resolves a portable relative artifact path strictly inside its selected directory. |
|
|
671
|
+
| `resolveStudyProfile` | function | `(root: string, profile: StudyProfile, closure?: ArtifactClosure) => StudyProfile` | Resolves the execution profile's caller-selected built artifact paths. |
|
|
672
|
+
| `scanStudyExecution` | function | `(directory: string, manifest: StudyManifest) => Promise<readonly StudyFile[]>` | Scans regular execution files while refusing unknown directories and linked paths. |
|
|
673
|
+
| `scanStudyTree` | function | `(directory: string, prefix: string, known: ReadonlySet<string>, allowance: number, recording?: boolean) => Promise<readonly StudyFile[]>` | Scans one execution directory and the subdirectories it admits, reading each admitted file under the series bytes that remain. |
|
|
674
|
+
| `terminateStudyChild` | function | `(child: ChildProcess) => void` | Terminates the recorded native process tree under a finite cleanup allowance. |
|
|
675
|
+
| `translateStudyAgentError` | function | `(error: unknown, runtime: Pick<StudyAgentRuntime, 'isAgentError'>) => unknown` | Translates only a nominal Agent window refusal into the attributable capacity failure. |
|
|
676
|
+
| `translateStudyPacketLabels` | function | `(result: StudySealedResult, rubric: StudyRubric, digest: string, labels: StudyLabels) => readonly StudyJudgment[]` | Translates bound neutral imported labels through the sealed semantic horizon. |
|
|
677
|
+
| `validateStudyAgentUsage` | function | `(usage: ProviderResult['usage'], role: StudyRole) => void` | Checks that a successful provider call reported a usable actual prompt count. |
|
|
678
|
+
| `validateStudyEvidenceBytes` | function | `(bytes: Uint8Array, manifest: StudyManifest, trial: string) => void` | Validates complete evidence lines and per-goal encoded evidence bounds. |
|
|
679
|
+
| `validateStudyInputs` | function | `(definition: StudyDefinition, scenarios: readonly StudyScenario[], rubric: StudyRubric, profile: StudyProfile) => void` | Validates grading coverage and request room against the declared study inputs. |
|
|
680
|
+
| `validateStudyOllamaCompletion` | function | `(terminal: StudyOllamaTerminal, room: Pick<StudyRoom, 'context' \| 'safety'>, request: StudyOllamaRequest) => void` | Checks terminal policy after the actual wire cost has been retained. |
|
|
681
|
+
| `validateStudyOllamaInventory` | function | `(value: unknown, models: StudyOllamaTransportOptions['models']) => void` | Verifies that each pinned name resolves to one inventory entry with its pinned digest. |
|
|
682
|
+
| `validateStudyOllamaRoles` | function | `(roles: StudyOllamaTransportOptions['roles'], models: StudyOllamaTransportOptions['models']) => void` | Validates declared role policies against the pinned inventory before any dispatch. |
|
|
683
|
+
| `validateStudyOllamaCapture` | function | `(options: StudyOllamaTransportOptions) => StudyExchangeDeclaration \| undefined` | Validates independent metadata bounds and the sink's optional recording declaration. |
|
|
684
|
+
| `validateStudyOllamaStep` | function | `(step: StudyOllamaStep \| undefined, goal: string, request: StudyOllamaRequest, body: RequestInit['body']) => void` | Admits one model request against its next exact or capture declaration. |
|
|
685
|
+
| `isStudyOllamaMetadata` | function | `(value: unknown) => value is StudyOllamaMetadata` | Checks whether a value declares independent positive metadata allowances. |
|
|
686
|
+
| `isStudyOllamaModel` | function | `(value: unknown) => value is StudyOllamaModel` | Checks whether a value pins a served model name and SHA-256 digest. |
|
|
687
|
+
| `isStudyOllamaPolicy` | function | `(value: unknown) => value is StudyOllamaPolicy` | Checks whether a value declares a complete finite model-generation policy. |
|
|
688
|
+
| `isStudyOllamaStep` | function | `(value: unknown) => value is StudyOllamaStep` | Checks whether a value declares exclusive exact or capture admission with a valid receipt. |
|
|
689
|
+
| `validateStudyRuntime` | function | `(instrument: string, roots: readonly string[]) => void` | Refuses a profile that omits the actual host runtime's declared dependency bytes. |
|
|
690
|
+
| `valueToWire` | function | `(value: unknown) => JSONValue` | Projects optional domain fields into the JSON wire representation. |
|
|
691
|
+
| `writeStudyBytes` | function | `(path: string, bytes: Uint8Array) => Promise<void>` | Writes an exclusive regular record and synchronizes it before reporting success. |
|
|
692
|
+
| `STUDY_LAYERS` | const | `readonly StudyLayer[]` | Lists every ceiling a run can stop at in report order. |
|
|
693
|
+
| `StudyLayer` | type | `'scope' \| 'window' \| 'custody' \| 'meter' \| 'budget' \| 'model'` | Names the ceiling that stopped a run. |
|
|
694
|
+
| `StudyStop` | interface | `{ layer, id, max, consumed }` | Holds the ceiling that stopped a run and the readings it crossed. |
|
|
695
|
+
| `StudyAttributionSource` | interface | `{ trial, goal, failure, executed }` | Holds one failed record the report groups by cause, role, and layer. |
|
|
696
|
+
| `isStudyLayer` | const | `Guard<StudyLayer>` | Checks whether a value names a ceiling a run can stop at. |
|
|
697
|
+
| `isStudyStop` | function | `(value: unknown) => value is StudyStop` | Checks whether a value is the exact record of a ceiling that stopped a run. |
|
|
698
|
+
| `studyStopToJSON` | function | `(stop: StudyStop) => JSONValue` | Projects a stop onto JSON with every unreported reading as null. |
|
|
699
|
+
| `translateStudyAgentStop` | function | `(stop: unknown) => StudyError \| undefined` | Translates an Agent run's stop record into the attributable capacity failure of the layer that stopped it. |
|
|
700
|
+
| `computeStudyAttributions` | function | `(sources: readonly StudyAttributionSource[]) => JSONValue` | Groups failed records by cause, role, and layer, each group carrying its source readings. |
|
|
701
|
+
| `parseStudyMeasurement` | function | `(value: unknown) => number \| undefined` | Parses a foreign reading into a number a stop can retain. |
|
|
702
|
+
| `computeStudyAdmittedStop` | function | `(charge: StudyCharge, usage: StudyUsage) => StudyStop \| undefined` | Computes the stop of a request whose actual usage crossed the ceiling it was admitted under. |
|
|
703
|
+
| `computeStudyOutputStop` | function | `(bytes: number, limit: number, outputs: ReadonlyArray<BudgetInterface<number>>) => StudyStop \| undefined` | Computes the stop of a product the output allowances cannot hold. |
|
|
704
|
+
| `StudyDeclaration` | interface | `{ bundle, definition, scenarios, fixtures, rubric }` | Holds a parsed study declaration with its driver bundle, scenarios, scenario fixtures, and rubric. |
|
|
705
|
+
| `readStudyDeclaration` | function | `(root: string, study: string, signal?: AbortSignal) => Promise<StudyDeclaration>` | Reads a study declaration, its driver's scenarios, and its rubric as the command resolves them. |
|
|
706
|
+
| `readStudyDeclarationBytes` | function | `(root: string, path: string) => Promise<Uint8Array>` | Reads one declaration file and refuses a missing or linked path with its root-relative path. |
|
|
707
|
+
| `readStudyVersion` | function | `(entry: string) => string` | Reads the version of the study package that owns an executable entry. |
|
|
708
|
+
| `matchesSystemError` | function | `(value: unknown, code: string) => boolean` | Reports whether a caught value is a Node error carrying the given system code. |
|
|
709
|
+
| `StudyDaemon` | interface | `{ executable, digest, version, environment?, models }` | Pins an executable and the model population an execution owns until cleanup. |
|
|
710
|
+
| `StudyDaemonModel` | interface | `{ name, digest }` | Pins one model the declared daemon verifies and unloads before each trial. |
|
|
711
|
+
| `StudyRecord` | interface | `{ bytes, calls, duration }` | Bounds serialized exchange bytes, execution calls and summed model time for each trial. |
|
|
712
|
+
| `ArtifactErrorCode` | type | `'ARTIFACT' \| 'TRAVERSAL' \| 'REDIRECT' \| 'ALIAS' \| 'NAME' \| 'DUPLICATE' \| 'OCCUPIED' \| 'OVERLAP' \| 'STALE' \| 'VOLUME' \| 'DRIFT' \| 'LIMIT'` | Names the refused boundary of a captured or materialized artifact graph. |
|
|
713
|
+
| `ArtifactMember` | interface | `{ source, key, digest, size }` | Maps one admitted physical file to its exact bytes inside a materialized forest. |
|
|
714
|
+
| `ArtifactClosure` | interface | `{ destination, digest, options, members }` | Binds a verified physical forest to its relocated selections and complete membership. |
|
|
715
|
+
| `ArtifactLoaderInterface` | interface | `{ inspect(), verify(), load(), materialize() }` | Captures, verifies, loads, and materializes one admitted physical artifact graph. |
|
|
716
|
+
| `computeArtifactClosureDigest` | function | `(members: readonly ArtifactMember[], packages: readonly ArtifactPackage[], destination: string) => string` | Computes a destination-independent digest of members and relative package identities. |
|
|
717
|
+
| `isArtifactClosure` | function | `(value: unknown) => value is ArtifactClosure` | Checks a bounded materialization record before any path is used. |
|
|
718
|
+
| `isArtifactKey` | function | `(value: unknown) => value is string` | Checks whether a key names portable, non-credential members within a closure. |
|
|
719
|
+
| `isArtifactLoaderOptions` | function | `(value: unknown) => value is ArtifactLoaderOptions` | Checks the bounded loader selections retained in a publication. |
|
|
720
|
+
| `isArtifactMember` | function | `(value: unknown) => value is ArtifactMember` | Checks the exact file identity and provenance of a closure member. |
|
|
721
|
+
| `isStudyClosure` | function | `(value: unknown) => value is StudyClosure` | Checks a closure publication before using its command inputs. |
|
|
722
|
+
| `matchesArtifactCredential` | function | `(value: string) => boolean` | Checks whether a portable segment identifies credentials. |
|
|
723
|
+
| `readArtifactPhysical` | function | `(path: string) => BigIntStats` | Checks every existing physical ancestor before using a canonical absolute path. |
|
|
724
|
+
| `readStudyClosure` | function | `(directory: string) => StudyClosure` | Reads and independently verifies an exclusively published closure. |
|
|
725
|
+
| `relocateArtifactPath` | function | `(closure: ArtifactClosure, path: string) => string` | Relocates an original path through a closure's retained physical forest. |
|
|
726
|
+
| `resolveArtifactBase` | function | `(paths: readonly string[]) => string` | Finds the common physical parent that preserves every selected path's relative resolution. |
|
|
727
|
+
| `resolveArtifactMember` | function | `(destination: string, key: string) => string` | Resolves a portable member key without traversing outside its destination. |
|
|
728
|
+
| `resolveStudyClosurePath` | function | `(root: string, path: string, closure?: ArtifactClosure) => string` | Resolves a profile path through a retained physical relocation when selected. |
|
|
729
|
+
| `verifyArtifactClosure` | function | `(closure: ArtifactClosure, published?: boolean) => void` | Verifies complete copied membership, path safety, exact bytes, and portable identity. |
|
|
730
|
+
| `StudyOllamaMetadata` | interface | `{ calls, bytes, duration }` | Bounds metadata calls, encoded bytes, and elapsed milliseconds outside model quotas. |
|
|
731
|
+
| `StudyOllamaStage` | type | `'preflight' \| 'execution' \| 'postflight' \| 'maintenance'` | Names the ordered verification, model work, and daemon maintenance stages. |
|
|
732
|
+
| `StudyOllamaStepIdentity` | interface | `{ ordinal, goal, role, path, policy }` | Declares an ordered model request's goal, responsibility, route, and wire policy. |
|
|
733
|
+
| `StudyOllamaExactStep` | interface | `{ admission, body, input, bytes? }` | Declares an exact UTF-8 request body and its SHA-256 input receipt. |
|
|
734
|
+
| `StudyOllamaCaptureStep` | interface | `{ admission, bytes, body?, input? }` | Declares a captured request's positive safe byte length without predicting its content. |
|
|
735
|
+
| `StudyOllamaStep` | type | `StudyOllamaExactStep \| StudyOllamaCaptureStep` | Separates exact request admission from length-declared capture admission. |
|
|
736
|
+
| `StudyOllamaReplaySelection` | interface | `{ result, prefix, offline }` | Selects a sealed recording and an explicit replay prefix for every scheduled trial. |
|
|
737
|
+
| `StudyOllamaReplayOptions` | interface | `{ history, url, prefix, limit, signal, fetch? }` | Configures exact recorded replies and optional live continuation after a declared prefix. |
|
|
738
|
+
| `StudyOllamaReplayInterface` | interface | `{ fetch, check(), close() }` | Answers an exact recorded prefix through the role-aware transport collaborator. |
|
|
739
|
+
| `StudyExchangeDestination` | interface | `{ path, declaration, retained? }` | Holds the parent-reserved destination of one trial's exchange sidecar. |
|
|
740
|
+
| `StudyExchangeBytes` | interface | `{ body, digest, size }` | Retains an application HTTP body's exact bytes independently of text decoding. |
|
|
741
|
+
| `StudyExchangeIdentity` | interface | `{ ordinal, goal, role, path, method, stage, step? }` | Binds one HTTP exchange to its trial-local position and declared execution stage. |
|
|
742
|
+
| `StudyExchangeDeclaration` | interface | `{ phase, trial, version, models, metadata, record, goals, configuration, procedure?, maintenance, ancestor? }` | Declares a bounded trial horizon and serving identities before any exchange attempt. |
|
|
743
|
+
| `StudyExchangeAttempt` | interface | `{ phase }` | Retains admitted request bytes durably before the corresponding send begins. |
|
|
744
|
+
| `StudyExchangeReply` | interface | `{ status, headers, chunks }` | Retains response status, headers, and original application-body chunk lengths. |
|
|
745
|
+
| `StudyExchangeResponse` | interface | `{ phase }` | Retains a fully consumed response only after status and terminal validation succeed. |
|
|
746
|
+
| `StudyExchangeFailure` | interface | `{ phase, reason, response? }` | Retains an attempted exchange's failure and any bounded response bytes already observed. |
|
|
747
|
+
| `StudyExchangeCompletion` | interface | `{ phase, count }` | Closes a sidecar after execution and postflight have fully completed. |
|
|
748
|
+
| `StudyExchangeRow` | type | `StudyExchangeDeclaration \| StudyExchangeAttempt \| StudyExchangeResponse \| StudyExchangeFailure \| StudyExchangeCompletion` | Names every admitted row of the bounded per-trial exchange sidecar. |
|
|
749
|
+
| `StudyRecordedExchange` | interface | `{ attempt, response }` | Holds a strictly verified successful request and response pair. |
|
|
750
|
+
| `StudyExchangeHistory` | interface | `{ seal, file, declaration, exchanges, completion }` | Binds complete ordered exchanges to a verified sealed sidecar and its declaration. |
|
|
751
|
+
| `StudyExchangeSinkInterface` | interface | `{ declaration, next, append(), close() }` | Owns serialized exchange appends under a reserved trial byte allowance. |
|
|
752
|
+
| `StudyExchangeSinkOptions` | interface | `{ file, record, retained? }` | Supplies an exclusive sidecar descriptor and its parent-reserved byte allowance. |
|
|
753
|
+
| `StudyFreezeRequest` | interface | `{ command, target, profile, destination }` | Requests exclusive materialization and captured validation before publishing closure.json. |
|
|
754
|
+
| `StudyClosure` | interface | `{ closure, root, entry, target, profile, source, identity, fingerprint }` | Publishes a validated closure with relocated command inputs and execution provenance. |
|
|
755
|
+
| `StudyTrialPreparationFunction` | type | `(trial: StudyTrial, signal: AbortSignal, exchanges: StudyExchangeDestination \| undefined) => Promise<StudyExchangeDestination \| undefined>` | Prepares one trial's external resources before its worker starts. |
|
|
756
|
+
| `StudyProcessDriverOptions` | interface | `{ prepare? }` | Supplies parent-only trial preparation separately from serializable worker options. |
|
|
757
|
+
| `StudyExchangeSink` | class | `new (options: StudyExchangeSinkOptions) => StudyExchangeSinkInterface` | Retains ordered exchange rows under a parent-reserved serialized byte allowance. |
|
|
758
|
+
| `StudyOllamaReplay` | class | `new (options: StudyOllamaReplayOptions) => StudyOllamaReplayInterface` | Answers declared HTTP prefixes from complete ordered recorded application bytes. |
|
|
759
|
+
| `isStudyRecord` | function | `(value: unknown) => value is StudyRecord` | Checks whether recording bytes, calls and model milliseconds have positive safe bounds. |
|
|
760
|
+
| `isStudyExchangeBytes` | function | `(value: unknown) => value is StudyExchangeBytes` | Checks whether encoded body bytes have their exact canonical base64 and SHA-256 identity. |
|
|
761
|
+
| `isStudyExchangeIdentity` | function | `(value: unknown) => value is StudyExchangeIdentity` | Checks whether an exchange carries an admissible ordered HTTP identity. |
|
|
762
|
+
| `isStudyExchangeReply` | function | `(value: unknown) => value is StudyExchangeReply` | Checks whether a retained reply describes bounded successful application bytes and chunks. |
|
|
763
|
+
| `isStudyExchangeDeclaration` | function | `(value: unknown) => value is StudyExchangeDeclaration` | Checks whether the opening row declares bounded execution, ordered goals and serving identities. |
|
|
764
|
+
| `isStudyExchangeRow` | function | `(value: unknown) => value is StudyExchangeRow` | Checks whether a sidecar row has exactly its declared fields and verified byte identities. |
|
|
765
|
+
| `isStudyExchangeHistory` | function | `(value: unknown) => value is StudyExchangeHistory` | Checks whether a history has verified row shapes before its complete relational validation. |
|
|
766
|
+
| `buildStudyExchangeSequence` | function | `(declaration: StudyExchangeDeclaration, execution: number) => readonly StudyExchangeIdentity[]` | Projects fixed and declared HTTP identities around the retained execution population. |
|
|
767
|
+
| `projectStudyExchangeIdentity` | function | `(identity: StudyExchangeIdentity) => StudyExchangeIdentity` | Projects only the repeated identity fields of a retained HTTP exchange. |
|
|
768
|
+
| `validateStudyExchangeRequest` | function | `(declaration: StudyExchangeDeclaration, request: StudyExchangeAttempt, execution: number) => void` | Validates the exact declaration order and request bytes of an admitted exchange. |
|
|
769
|
+
| `validateStudyExchangeRows` | function | `(rows: readonly StudyExchangeRow[], complete?: boolean) => void` | Validates a serialized journal prefix or its complete successful population. |
|
|
770
|
+
| `readStudyExchangeRows` | function | `(bytes: Uint8Array, complete?: boolean) => readonly StudyExchangeRow[]` | Reads strict complete LF-framed exchange rows with verified bodies and declaration joins. |
|
|
771
|
+
| `validateStudyExchangeHistory` | function | `(history: StudyExchangeHistory) => void` | Validates complete history envelopes again before a replay may perform dependent work. |
|
|
772
|
+
| `validateStudyExchangeEvidence` | function | `(rows: readonly StudyExchangeRow[], evidence: readonly StudyEvidence[]) => void` | Joins recorded exchanges to exactly one dispatch and wire evidence identity per ordinal. |
|
|
773
|
+
| `readStudyTrialExchanges` | function | `(directory: string, manifest: StudyManifest, trial: string, file: StudyFile) => Promise<readonly StudyExchangeRow[]>` | Reads and joins a complete trial sidecar before or after sealing. |
|
|
774
|
+
| `readStudyExchanges` | function | `(result: StudySealedResult, trial: string) => Promise<StudyExchangeHistory>` | Reads a sealed trial's exact complete exchange history after reverifying its entire result. |
|
|
775
|
+
| `isStudyExchangeDestination` | function | `(value: unknown) => value is StudyExchangeDestination` | Checks whether a worker destination has an absolute sidecar path and finite reservation. |
|
|
776
|
+
| `isStudyReplaySelection` | function | `(value: unknown) => value is StudyOllamaReplaySelection` | Checks whether replay explicitly selects a sealed directory and per-trial prefix counts. |
|
|
777
|
+
| `computeStudyConfigurationDigest` | function | `(profile: StudyProfile) => string` | Binds room, driver settings and daemon configuration independently of paths and resource ceilings. |
|
|
778
|
+
| `validateStudyCaptureDeclaration` | function | `(declaration: StudyExchangeDeclaration, profile: StudyProfile, trial: StudyTrial, scenario?: StudyScenario) => void` | Checks the parent's declaration against the profile, trial and optional scenario held by a reader. |
|
|
779
|
+
| `buildStudyExchangeDeclaration` | function | `(profile: StudyProfile, trial: StudyTrial, scenario: StudyScenario, maintenance: boolean, ancestor?: StudyExchangeAncestor) => StudyExchangeDeclaration` | Builds the parent's single recording declaration from its profile, trial and scenario. |
|
|
780
|
+
| `readStudyPreparedDestination` | function | `(original: StudyExchangeDestination \| undefined, prepared: StudyExchangeDestination \| undefined) => StudyExchangeDestination \| undefined` | Validates parent preparation output without permitting a destination or allowance substitution. |
|
|
781
|
+
| `readStudyReplayHistory` | function | `(selection: StudyOllamaReplaySelection, profile: StudyProfile, trial: StudyTrial, declaration?: StudyExchangeDeclaration) => Promise<StudyExchangeHistory>` | Rechecks the sealed source and this trial's prefix under the executing profile declaration. |
|
|
782
|
+
| `StudyAncestor` | interface | `{ result, seal, identity }` | Identifies a sealed source and retains its execution identities. |
|
|
783
|
+
| `StudyExchangeAncestor` | interface | `{ file, prefix }` | Identifies the sealed sidecar and complete exchange prefix served by replay. |
|
|
784
|
+
| `StudyExchangeDivergence` | interface | `{ ordinal, expected, actual, offset }` | Locates the first changed request or unmatched position in a replay. |
|
|
785
|
+
| `StudyOllamaReplayRequest` | interface | `{ ordinal, path, method, role, body }` | Holds the executing request compared with the recorded cursor. |
|
|
786
|
+
| `computeArtifactRuntimeDigest` | function | `(inventory: ArtifactInventory) => string` | Computes the location-independent native execution identity. |
|
|
787
|
+
| `computeArtifactContentDigest` | function | `(inventory: ArtifactInventory, entry: string) => string` | Computes a location-independent identity of captured code and selected entries. |
|
|
788
|
+
| `computeStudyExchangeOffset` | function | `(expected: Uint8Array, actual: Uint8Array) => number \| undefined` | Locates the first differing byte, including a length difference after a shared prefix. |
|
|
789
|
+
| `scanStudyDivergence` | function | `(history: StudyExchangeHistory, rows: readonly StudyExchangeRow[]) => StudyExchangeDivergence \| undefined` | Finds the first changed or unmatched non-maintenance request by position. |
|
|
790
|
+
| `describeStudyReplayDifference` | function | `(expected: StudyExchangeAttempt \| undefined, actual: StudyOllamaReplayRequest) => string \| undefined` | Describes the first differing replay member within the sidecar failure allowance. |
|
|
791
|
+
| `isStudyAncestor` | function | `(value: unknown) => value is StudyAncestor` | Checks a sealed source reference and its retained identities. |
|
|
792
|
+
| `isStudyExchangeAncestor` | function | `(value: unknown) => value is StudyExchangeAncestor` | Checks a sealed sidecar reference and its positive exchange prefix. |
|
|
793
|
+
|
|
794
|
+
| Name | Kind | Signature | Summary |
|
|
795
|
+
| --------------------------- | --------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
796
|
+
| `StudyDaemonSession` | class | `new (options: StudyDaemonSessionOptions) => StudyDaemonSession` | Owns the declared daemon and its serial trial preparation through permanent cleanup. |
|
|
797
|
+
| `StudyDaemonTrial` | class | `new (options: StudyDaemonTrialOptions) => StudyDaemonTrial` | Records one trial's daemon maintenance before handing its verified prefix to a worker. |
|
|
798
|
+
| `StudyDaemonSessionOptions` | interface | `{ profile, scenarios, workspace, signal }` | Supplies the resolved provider, trial population, workspace, and execution cancellation. |
|
|
799
|
+
| `StudyDaemonTrialOptions` | interface | `{ destination, signal }` | Supplies one reserved sidecar and its complete maintenance declaration. |
|
|
800
|
+
| `isStudyDaemon` | function | `(value: unknown) => value is StudyDaemon` | Checks whether an owned daemon declaration pins an absolute executable and distinct models. |
|
|
801
801
|
|
|
802
802
|
## Methods
|
|
803
803
|
|