{"modulePath":"github.com/Open-MBEE/OpenSysML","version":"v0.13.0","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package analysis\n\nPackage analysis is the analysis framework: one contract every way of answering a question about a model implements, one scale for the strength of an answer, a registry of engines and the dispatch that turns a question into the engines that answer it.\n\nA Question names a subject, what is asked of it and what is left free. An Engine covers a set of questions and answers one with a Result whose Strength says how the claim is supported. A Registry holds the engines a binary knows, and Registry.Answer dispatches a question under \\`auto\\`: the strongest covering engine answers, a not-covered result advances to the next, and the Plan records every engine consulted.\n\nThe engines here — run, explore, sweep and solve — are adapters over the interpreter, runtime.Explore, Context.RunSweep and internal/exec/solve.\n\n## Constants\n\n```go\nconst (\n\tDefaultCheckDepth  = 10000\n\tDefaultCheckStates = 1000000\n)\n```\nThe bounds a check searches under when the budget leaves them 0: the moves one schedule may make and the distinct states the search may visit.\n\n```go\nconst CheckEngineName = \"check\"\n```\nCheckEngineName is the name of the engine that searches an action's schedules explicitly.\n\n```go\nconst ClockObservable = \"clock\"\n```\nClockObservable names the observable every run of a Monte Carlo reports without being asked: the clock reading the run completed at.\n\n```go\nconst DefaultOutputLimit = 64 \u003c\u003c 20\n```\nDefaultOutputLimit is the bound when OutputLimitEnv is unset or unusable.\n\n```go\nconst DefaultToolTimeout = solve.DefaultTimeout\n```\nDefaultToolTimeout is how long a tool is given to answer one invocation before the performance fails with a timeout: the solver's default.\n\n```go\nconst DefaultUnroll = 4\n```\nDefaultUnroll is how many iterations of a body loop a symbolic engine unrolls when Budget.Unroll is zero.\n\n```go\nconst EnginesEnv = \"OPENSYSML_ENGINES\"\n```\nEnginesEnv names the environment variable holding the engine manifest: a directory with one JSON entry per external engine or strategy. Either directory may hold any kind.\n\n```go\nconst ExploreEngineName = \"explore\"\n```\nExploreEngineName is the name of the engine that runs every linearization.\n\n```go\nconst JobMemoryBudget = 512 \u003c\u003c 20\n```\nJobMemoryBudget is the memory the default jobs reserve per worker: one per CPU, fewer when the memory available to the process would leave a worker less than this.\n\n```go\nconst JobsEnvVar = \"OPENSYSML_JOBS\"\n```\nJobsEnvVar names the variable setting how many runs of one plan go concurrently.\n\n```go\nconst ManifestExt = \".json\"\n```\nManifestExt is the extension of a manifest entry; other files in the directory are ignored.\n\n```go\nconst OutputLimitEnv = \"OPENSYSML_TOOL_MAX_OUTPUT\"\n```\nOutputLimitEnv names the environment variable bounding what one external process may write: one reply or one protocol line on standard output, and the whole of standard error, for tools and engines alike. Bytes, or bytes with a \\`K\\`, \\`M\\` or \\`G\\` suffix.\n\n```go\nconst ProgressInterval = 250 * time.Millisecond\n```\nProgressInterval is the least time between two reports of one run: an engine that sends a notification per state costs the pipe, not the report.\n\n```go\nconst RunEngineName = \"run\"\n```\nRunEngineName is the name of the engine that runs the interpreter once.\n\n```go\nconst SMTEngineName = \"smt\"\n```\nSMTEngineName is the name of the symbolic engine over an SMT solver, which lives in package smt and joins the build's registry through package engines.\n\n```go\nconst ServeAll = \"all\"\n```\nServeAll is the spelling that serves every manifest engine.\n\n```go\nconst SolveEngineName = \"solve\"\n```\nSolveEngineName is the name of the engine that puts conditions to an SMT solver.\n\n```go\nconst SolveProcess = \"an SMT solver: the one \" + solve.SolverEnv + \" names, else z3 or cvc5 on PATH\"\n```\nSolveProcess is what the solve engine needs, as its description names it.\n\n```go\nconst SweepEngineName = \"sweep\"\n```\nSweepEngineName is the name of the engine that runs a domain row by row.\n\n```go\nconst ToolEnginePrefix = \"tool:\"\n```\nToolEnginePrefix starts the name of every tool engine: \\`tool:ModelCenter\\`.\n\n```go\nconst ToolEnvPassthroughEnv = \"OPENSYSML_TOOL_ENV_PASSTHROUGH\" // #nosec G101 -- a variable name, not a credential\n\n```\nToolEnvPassthroughEnv lists, comma-separated, the variables of this process a tool with an invocation block is started with besides PATH, HOME, TMPDIR and LANG.\n\n```go\nconst ToolKeepEnv = \"OPENSYSML_TOOL_KEEP\"\n```\nToolKeepEnv, set to 1, keeps every invocation's temporary directory instead of removing it once the reply is read.\n\n```go\nconst ToolTimeoutEnv = \"OPENSYSML_TOOL_TIMEOUT\"\n```\nToolTimeoutEnv names the environment variable bounding one tool invocation and, for an external engine, one message round trip and the grace a cancel is given.\n\n```go\nconst ToolsEnv = \"OPENSYSML_TOOLS\"\n```\nToolsEnv names the environment variable holding the tool manifest: a directory with one JSON entry per external tool.\n\n```go\nconst TransportGRPC = \"grpc\"\n```\nTransportGRPC is a bidirectional streaming RPC to an address; defined, not yet served.\n\n```go\nconst TransportStdio = \"stdio\"\n```\nTransportStdio is a child process on a pair of pipes, the one transport this build serves.\n\n## Variables\n\n```go\nvar BaseToolEnv = []string{\"PATH\", \"HOME\", \"TMPDIR\", \"LANG\"}\n```\nBaseToolEnv are the variables of this process every tool with an invocation block is started with; the rest of the environment is not inherited.\n\n```go\nvar BoundNames = []string{\"depth\", \"steps\", \"runs\", \"memory\"}\n```\nBoundNames are the bounds an engine entry may take, as the budget spells them.\n\n```go\nvar ErrConstruct = errors.New(\"construct outside the check engine's search\")\n```\nErrConstruct is the typed refusal of a construct the check engine does not search.\n\n```go\nvar ErrDomain = errors.New(\"engine has no domain for that type\")\n```\nErrDomain is the typed error for a free input whose declared type the engine cannot narrow to a domain it ranges over.\n\n```go\nvar ErrDuplicateEngine = errors.New(\"engine already registered\")\n```\nErrDuplicateEngine is the typed error Register returns for a name already registered.\n\n```go\nvar ErrEngineExited = errors.New(\"engine process exited\")\n```\nErrEngineExited is the typed error for an engine process that ended before it answered.\n\n```go\nvar ErrEngineFault = errors.New(\"engine answered with an error\")\n```\nErrEngineFault is the typed error for an engine answering a request with an error.\n\n```go\nvar ErrEngineRefusal = errors.New(\"engine does not cover the question\")\n```\nErrEngineRefusal is the typed error for an engine answering covers with false.\n\n```go\nvar ErrEngineTimeout = errors.New(\"engine did not answer in time\")\n```\nErrEngineTimeout is the typed error for a message unanswered within OPENSYSML\\_TOOL\\_TIMEOUT.\n\n```go\nvar ErrEngineWithheld = errors.New(\"engine is not served by this service\")\n```\nErrEngineWithheld is the typed error for a manifest engine a service lists but does not run: a request naming it asks to run a program on the server the operator did not grant.\n\n```go\nvar ErrFreedom = errors.New(\"engine cannot leave that free\")\n```\nErrFreedom is the typed error a concrete engine refuses with for a question that leaves free what the engine fixes.\n\n```go\nvar ErrHandshake = errors.New(\"engine describes itself otherwise than its manifest entry\")\n```\nErrHandshake is the typed error for a describe answer that disagrees with the manifest.\n\n```go\nvar ErrInconsistentResult = errors.New(\"claim and strength do not agree\")\n```\nErrInconsistentResult is the typed error for a claim at a strength the scale does not admit.\n\n```go\nvar ErrInput = errors.New(\"engine cannot free that input\")\n```\nErrInput is the typed error for a feature a question names as an input that the engine cannot leave free: one the behavior lacks, or one it writes back.\n\n```go\nvar ErrInputNotFree = errors.New(\"a witness input the question does not leave free\")\n```\nErrInputNotFree is the typed refusal of a witness input the question does not leave free.\n\n```go\nvar ErrJob = errors.New(\"job index must not be negative\")\n```\nErrJob is the typed error for a run asking for a worker at a negative job index.\n\n```go\nvar ErrJobs = errors.New(\"jobs must be a positive integer\")\n```\nErrJobs is the typed error for a jobs setting that is not a positive integer.\n\n```go\nvar ErrMalformedQuestion = errors.New(\"question lacks the ask its kind needs\")\n```\nErrMalformedQuestion is the typed error for a question missing the ask its kind needs.\n\n```go\nvar ErrManifest = errors.New(\"tool manifest is malformed\")\n```\nErrManifest is the typed error every fault in a manifest unwraps to.\n\n```go\nvar ErrNoEngine = errors.New(\"no engine answers this kind of question\")\n```\nErrNoEngine is the typed error Answer returns when no registered engine answers the question's kind at all.\n\n```go\nvar ErrNoReplay = errors.New(\"no action to replay the witness on\")\n```\nErrNoReplay is the typed refusal of a witness on a question with no action to replay it on.\n\n```go\nvar ErrNoRuntime = errors.New(\"model builds no runtime of a run's own\")\n```\nErrNoRuntime is the typed error for a run needing a context the model does not build.\n\n```go\nvar ErrNotAsked = errors.New(\"engine does not answer this kind of question\")\n```\nErrNotAsked is the typed error an engine refuses with for a kind it does not answer.\n\n```go\nvar ErrNotExternal = errors.New(\"not an external engine\")\n```\nErrNotExternal is the typed error for a name given to serve that is not a manifest engine.\n\n```go\nvar ErrNotServed = errors.New(\"manifest entry is not served in this build\")\n```\nErrNotServed is the typed error for a manifest entry this build lists but does not run.\n\n```go\nvar ErrOverclaim = errors.New(\"engine answered above its authority\")\n```\nErrOverclaim is the typed error for an engine answering above its declared authority.\n\n```go\nvar ErrProcessAbsent = errors.New(\"engine's process is absent\")\n```\nErrProcessAbsent is the typed error an external engine refuses with when its process is not found.\n\n```go\nvar ErrProtocol = errors.New(\"engine broke protocol\")\n```\nErrProtocol is the typed error for an engine that broke the message protocol.\n\n```go\nvar ErrSessionEnded = errors.New(\"engine session ended\")\n```\nErrSessionEnded is the typed error for a request to an engine whose session in this plan has already ended.\n\n```go\nvar ErrSubject = errors.New(\"engine does not answer for the subject\")\n```\nErrSubject is the typed error for a question about a subject the entry does not name.\n\n```go\nvar ErrToolAbsent = errors.New(\"tool's executable is absent\")\n```\nErrToolAbsent is the typed error for a manifest entry whose executable is not found.\n\n```go\nvar ErrToolVariable = errors.New(\"tool does not accept the variable\")\n```\nErrToolVariable is the typed error for a call using tool variables the manifest entry does not accept.\n\n```go\nvar ErrUnansweredRun = errors.New(\"run ended unanswered\")\n```\nErrUnansweredRun is the typed error for a run that ended without an answer after reporting progress.\n\n```go\nvar ErrUnknownEngine = errors.New(\"no such engine\")\n```\nErrUnknownEngine is the typed error for a selection naming no registered engine.\n\n```go\nvar ErrWireValue = errors.New(\"value is not carried by the engine protocol\")\n```\nErrWireValue is the typed error for a value the protocol does not carry.\n\n```go\nvar ErrWrongTool = errors.New(\"call names another tool\")\n```\nErrWrongTool is the typed error a tool engine refuses with for a call naming another tool.\n\n```go\nvar GraphsVersions = []int{modelform.GraphsVersion}\n```\nGraphsVersions are the versions of the \\`graphs:\\\u003cv\u003e\\` model form this build serves.\n\n```go\nvar ProtocolVersions = []int{1}\n```\nProtocolVersions are the versions of the engine message set this build serves.\n\n## Functions\n\n```go\nfunc ClockStepOf(ctx *runtime.Context) float64\n```\nClockStepOf is the clock step set on ctx, 0 (a continuous clock) when ctx is nil.\n\n```go\nfunc Compose(results []Result) (Result, []Disagreement)\n```\nCompose is the one result of several engines' answers, taken in engine-name order: a witness stands over the universal claim it refutes (a disagreement) — a violation over holds, a satisfying assignment over unsatisfiable, and to a Sensitive question a replayed sensitivity over the feature held not sensitive — else the strongest strength earned.\n\n```go\nfunc Consistent(claim Claim, strength Strength) error\n```\nConsistent is the typed error for a claim at a strength the scale does not admit, nil for a pair it does: nothing at not covered, an existential at witnessed, a concrete claim at observed, a universal at observed, bounded or proved.\n\n```go\nfunc DeclaringScope(sym *symbols.Symbol, root *symbols.Scope) *symbols.Scope\n```\nDeclaringScope is the scope sym's names resolve in: its owner's, else root.\n\n```go\nfunc DefaultJobs() int\n```\nDefaultJobs is the jobs a plan has when nothing sets them: one per CPU, fewer where the memory available leaves less than JobMemoryBudget per worker; never fewer than one.\n\n```go\nfunc DistributionLines(table sweep.SweepTable, text func(*runtime.Context, runtime.Value) string) []string\n```\nDistributionLines summarise each observable over the completed runs: its extremes, mean and percentiles where the runs produced numbers, the count of each distinct value otherwise, and a histogram of the numbers.\n\n```go\nfunc DrawnMean(d *runtime.Distribution) semantics.Value\n```\nDrawnMean is a distribution's mean as the Real it is.\n\n```go\nfunc DrawsOf(ctx *runtime.Context) runtime.DrawPolicy\n```\nDrawsOf is the draw policy set on ctx, random when ctx is nil.\n\n```go\nfunc Explores(selection Selection, schedule runtime.SchedulePolicy) (runtime.SchedulePolicy, bool)\n```\nExplores is the exploration a selection and a schedule together ask of a behavior: the schedule's own when it explores, else the default one when the selection names the explore engine, \\`-engine explore\\` being \\`-schedule explore\\`.\n\n```go\nfunc JobsFromEnv() (int, error)\n```\nJobsFromEnv is the jobs OPENSYSML\\_JOBS asks for, DefaultJobs when it is unset or empty; a value that is not a positive integer is reported rather than left at the default.\n\n```go\nfunc Lines(listings []Listing) []string\n```\nLines tables listings as a report prints them — name, kind, protocol, authority, kinds, status — then one source line per manifest entry.\n\n```go\nfunc Observe(ctx *runtime.Context, outcome runtime.Outcome, observables []string) []runtime.CalcOutputValue\n```\nObserve is what one run reports: the observables named, in that order, from the clock and the outcome's features; every feature in name order and the clock when none are named. The clock's name is reserved, so a feature called clock is never reported; a feature the run does not hold is left out.\n\n```go\nfunc OutputColumns(table sweep.SweepTable) []string\n```\nOutputColumns names a table's outputs in the order its rows first produced them.\n\n```go\nfunc OutputLimitFromEnv() int\n```\nOutputLimitFromEnv reads OutputLimitEnv, falling back to DefaultOutputLimit for an unset, unparsable or non-positive value.\n\n```go\nfunc ParseJobs(source, text string) (int, error)\n```\nParseJobs reads a jobs setting written at source: a positive integer, else a JobsError.\n\n```go\nfunc ProcessDetail(path string, err error, stderr []byte) string\n```\nProcessDetail spells a failed process: how it exited and what it wrote to standard error.\n\n```go\nfunc ProgressText(p enginewire.ProgressParams) string\n```\nProgressText spells progress as a report prints it: \\`runs 120, depth 17, steps 3: text\\`.\n\n```go\nfunc RenderReply(reply map[string]runtime.ToolValue) string\n```\nRenderReply spells a reply's outputs canonically, by variable name, as it was written and before binding: two invocations of equal inputs compare by it.\n\n```go\nfunc SensitivityFile(subject, performer, feature, label string) string\n```\nSensitivityFile names one witness of a pair of schedules ending with different values of a feature, \\`test.race-x-A.witness\\` and \\`test.race-x-B.witness\\`: the checked name, the feature's segments and the label, \\`A\\` or \\`B\\`, of the copy that ran it.\n\n```go\nfunc ToolEngineName(tool string) string\n```\nToolEngineName is the name of the engine answering for the tool named.\n\n```go\nfunc ToolEnvNames() ([]string, error)\n```\nToolEnvNames are the names of this process's variables a tool's environment may carry: the base ones and each ToolEnvPassthroughEnv lists. An entry holding \\`=\\` or a NUL byte is not an environment variable name and is refused.\n\n```go\nfunc ToolReplyOf(tool string, stdout []byte) (map[string]runtime.ToolValue, error)\n```\nToolReplyOf reads the tool's standard output as the protocol's one JSON object: the outputs keyed by ToolVariable name, or the tool's own error as a ToolError.\n\n```go\nfunc ToolRequestOf(call *runtime.ToolCall) ([]byte, error)\n```\nToolRequestOf is the JSON object the protocol writes to the tool for one call: the toolName and uri passed through, the inputs keyed by ToolVariable name. Its bytes are the same for equal inputs, so two invocations compare by them.\n\n```go\nfunc ToolTimeoutFromEnv() time.Duration\n```\nToolTimeoutFromEnv reads the tool timeout, falling back to DefaultToolTimeout for an unset, unparsable or non-positive value.\n\n```go\nfunc Unobserved(table sweep.SweepTable, observables []string) error\n```\nUnobserved is the error of an observable no completed run produced: the action holds no such feature, or holds one no run gave a value. Nothing is held against a table whose every run failed.\n\n```go\nfunc ValidationReason(report runtime.ValidationReport) string\n```\nValidationReason says what kept a validation from holding: that the object states no assertion, how many fail, how many are undecided, whether every object was reached.\n\n```go\nfunc ViolationFile(subject, performer string, n int) string\n```\nViolationFile names the witness of the n-th violation of the subject, performed by performer when one is named: \\`test.race.violation-1.witness\\`, \\`Plant.fill@Plant.tank.violation-1.witness\\`. Its one \\`-\\` tells it from a divergence's file, whose tokens carry none.\n\n```go\nfunc WithReporter(ctx context.Context, report Reporter) context.Context\n```\nWithReporter installs the reporter a plan's external engines report progress to.\n\n```go\nfunc WithUnit(x semantics.Value, unit string) string\n```\nWithUnit spells a number as the table spells it, in unit, bare when it has none.\n\n```go\nfunc WitnessLine(w *Witness) string\n```\nWitnessLine spells a witness: the file it was written to, else its draws and choices as one schedule, \"no choices\" for an empty one.\n\n```go\nfunc WriteWitness(path, text string) (err error)\n```\nWriteWitness writes the witness text beside path and moves it into place over what the path held, so a link planted there is replaced, never followed to what it points at. The directory is made when it does not exist.\n\n## Types\n\n```go\ntype Answer struct {\n\tClaim Claim\n\t// Reason says why nothing is claimed when no error does.\n\tReason string\n\t// Err is the failure that ended the execution: a typed runtime error, whose\n\t// budget the engine reports as a bound reached.\n\tErr    error\n\tValues []Evaluation\n}\n```\nAnswer is what one performance established: the claim it supports, the values it produced, and why when it claims nothing.\n\n```go\nfunc CaseAnswer(result runtime.AnalysisResult, err error) Answer\n```\nCaseAnswer is what one analysis case run established: its outputs.\n\n```go\nfunc CheckAnswer(result runtime.CheckResult, err error) Answer\n```\nCheckAnswer is what a constraint, requirement or satisfaction check established. A false verdict arrives as an error unwrapping to runtime.ErrViolated and is a violation.\n\n```go\nfunc ValidationAnswer(report runtime.ValidationReport, err error) Answer\n```\nValidationAnswer is what validating an object established: a violated assertion is a violation, every assertion holding on every object reached is holding, and an undecided assertion or an unreached object claims nothing.\n\n```go\nfunc ValuesAnswer(values []Evaluation, err error) Answer\n```\nValuesAnswer is what a run producing values established: the values, or nothing when it failed.\n\n```go\nfunc VerificationAnswer(result runtime.VerificationResult, err error) Answer\n```\nVerificationAnswer is what one verification case run established: pass holds, fail is violated, and an inconclusive or erroring body establishes nothing.\n\n```go\ntype Asking func(*solve.Solver, context.Context, *solve.Query) (*solve.Result, error)\n```\nAsking puts one query to the solver in a method expression's shape. An error is that query's failure, not the question's; nil for both is a query withheld, which stays uncovered.\n\n```go\ntype Bound struct {\n\t// Name is the bound's, as the budget spells it: runs, depth, steps,\n\t// elements, solver, configurations.\n\tName string\n\t// Limit is the value the run was held to: a count, or milliseconds for a time.\n\tLimit int64\n\t// Reached reports the run stopped at the limit rather than finishing within it.\n\tReached bool\n}\n```\nBound is one limit a run took, and whether the run reached it.\n\n```go\nfunc (b Bound) String() string\n```\nString renders the bound as \\`name=limit\\`, a reached one marked \\`(reached)\\`.\n\n```go\ntype BoundedBuffer struct {\n\t// contains filtered or unexported fields\n}\n```\nboundedBuffer keeps the first limit bytes written to it and stops the process at the first byte beyond. It is a plain Writer so every byte passes through Write; mu lets a process's two streams and the reader that inspects them share one.\n\n```go\nfunc NewBoundedBuffer(limit int, stop context.CancelFunc) *BoundedBuffer\n```\nNewBoundedBuffer is a buffer of limit bytes that calls stop when the limit is passed.\n\n```go\nfunc (b *BoundedBuffer) Bytes() []byte\n```\nBytes is a copy of what was kept.\n\n```go\nfunc (b *BoundedBuffer) Over() bool\n```\nOver reports whether the limit was passed.\n\n```go\nfunc (b *BoundedBuffer) Write(p []byte) (int, error)\n```\n\n```go\ntype Bounds []Bound\n```\nBounds is every bound a run took, in the order the budget names them.\n\n```go\nfunc (b Bounds) Limit(name string) (int64, bool)\n```\nLimit is the limit of the named bound, and whether the run took it at all.\n\n```go\nfunc (b Bounds) Reached() bool\n```\nReached reports whether any bound stopped the run.\n\n```go\nfunc (b Bounds) String() string\n```\nString renders the bounds as a report qualifies a claim by them: \\`runs=1024 depth=64\\`.\n\n```go\ntype Budget struct {\n\t// Deadline is the wall clock for the whole plan, met as context.DeadlineExceeded; zero means none.\n\tDeadline time.Time\n\t// Jobs is how many runs may go concurrently, as -jobs, %jobs or OPENSYSML_JOBS set it\n\t// and BudgetOf fills it; zero means one. Memory times Jobs is what the fleet may hold.\n\tJobs int\n\t// Runs is how many runs an exploration, rows a sweep or queries a solver\n\t// may make; the unit is the engine's.\n\tRuns int\n\t// Depth is how many moves one run may resolve.\n\tDepth int\n\t// Unroll is how many iterations of a body loop a symbolic engine unrolls; zero is\n\t// DefaultUnroll.\n\tUnroll int\n\t// Steps is the step budget of one run, as OPENSYSML_MAX_STEPS names it.\n\tSteps int\n\t// Solver is the time one query may take, as OPENSYSML_SMT_TIMEOUT names it.\n\tSolver time.Duration\n\t// Memory is the elements one run may hold, as OPENSYSML_MAX_ELEMENTS names it.\n\tMemory int\n}\n```\nBudget is what a run may spend; a zero field is the engine's own default. Runs, Depth and Solver are applied by the engines in their own units, Deadline by Registry.Answer to the plan's context; Steps and Memory name the context's.\n\n```go\nfunc BudgetOf(limits runtime.Budgets, policy runtime.SchedulePolicy, kind Kind, jobs int) Budget\n```\nBudgetOf is the budget a question of kind has under limits, policy and jobs, its Runs in the kind's own unit: an exploring policy's runs for outcomes, the sweep runs for a sweep. Jobs is the surface's setting, DefaultJobs when it is not positive.\n\n```go\ntype CheckAsk struct {\n\t// Start begins the invocation in a context of the check's own; a replay begins it the same way.\n\tStart runtime.Starter\n\t// Performer names the object Start performs the behaviors on, as the surface\n\t// spelled it, so the witnesses of one behavior on two objects are two sets of\n\t// files; empty when no object performs it.\n\tPerformer string\n\t// Properties are evaluated at every stable state; one false is a violation.\n\tProperties []runtime.CheckProperty\n\t// Diverge names the features whose final values are compared across the\n\t// complete schedules; none compares the behaviors' own attributes and final\n\t// states, and the performing object's features when one performs them.\n\tDiverge []string\n\t// WitnessDir is where every violation's and divergent value's witness is\n\t// written, a file per witness; empty writes none.\n\tWitnessDir string\n}\n```\nCheckAsk is what a check question asks over the schedules of one invocation: how its behaviors begin on one clock, what must hold at every stable state, what may not diverge, and where the witnesses go.\n\n```go\ntype CheckConditions struct {\n\tProperties []runtime.CheckProperty\n\tConditions []*symbols.Symbol\n\tAssume     []*symbols.Symbol\n\tScope      *symbols.Scope\n}\n```\nCheckConditions are the constraints and requirements a check evaluates and assumes, resolved from the names a caller gave: Properties evaluated at every stable state about every object the invocation's behaviors perform on, each holding when it holds of each; Conditions the same symbols for the symbolic engine to translate; Assume the symbols it assumes; Scope the scope they resolve in.\n\n```go\nfunc ResolveCheckConditions(lookup func(name string) (*symbols.Symbol, error), root *symbols.Scope, properties, assume []string) (CheckConditions, error)\n```\nResolveCheckConditions resolves the property and assumption names through lookup, root being the scope a symbol without an owning scope is read in. A name that resolves to neither a constraint nor a requirement is an error, as is a name given when nothing is loaded (root nil).\n\n```go\ntype CheckStatus int\n```\nCheckStatus is how a check's answer stands: the condition held of every searched schedule, some schedule failed it, or nothing was decided.\n\n```go\nconst (\n\tCheckUndecided CheckStatus = iota\n\tCheckHolds\n\tCheckFails\n)\n```\n\n```go\nfunc CheckLines(label string, result Result) (CheckStatus, []string, bool)\n```\nCheckLines renders what one engine answered to a check of the behavior label names, as the \\`sysml\\` command prints it: the status line, then each violation with its probability and witness, each divergent value, and each outcome of the complete schedules; for an answer carrying no search report (the symbolic engine's or an external one's) the claim, the inputs and assumptions it rests on and its witnesses. Unresolved is true when no engine covered the question.\n\n```go\nfunc (s CheckStatus) String() string\n```\nString spells the status as the service reports it.\n\n```go\ntype Checked struct {\n\tReport     *runtime.CheckReport\n\tViolations []string\n\tDivergent  [][]string\n}\n```\nChecked is a check's report with where its witnesses were written: a path per violation and per divergent value, in the report's order; none without a directory.\n\n```go\ntype Claim int\n```\nClaim is what a result asserts about its question.\n\n```go\nconst (\n\t// ClaimNone asserts nothing; the result's Reason says why.\n\tClaimNone Claim = iota\n\t// ClaimHolds asserts the condition holds for what the question left free.\n\tClaimHolds\n\t// ClaimViolated asserts an execution violates the condition.\n\tClaimViolated\n\t// ClaimSensitive asserts the behavior's result depends on its schedule.\n\tClaimSensitive\n\t// ClaimValue asserts the values in Values are what the subject produces.\n\tClaimValue\n\t// ClaimTable asserts the rows in Values are the domain's, one per row.\n\tClaimTable\n\t// ClaimOutcomes asserts the outcomes in Values are what the behavior can do.\n\tClaimOutcomes\n\t// ClaimSatisfiable asserts an assignment in Values meets the conditions.\n\tClaimSatisfiable\n\t// ClaimUnsatisfiable asserts no assignment meets the conditions.\n\tClaimUnsatisfiable\n\t// ClaimUnbounded asserts an objective has no optimum: better values exist without limit.\n\tClaimUnbounded\n)\n```\n\n```go\nfunc ParseClaim(text string) (Claim, bool)\n```\nParseClaim reads a claim as Claim.String spells it.\n\n```go\nfunc (c Claim) Concrete() bool\n```\nConcrete reports whether the claim is the values concrete executions produced — a value, a table — which are only ever observed.\n\n```go\nfunc (c Claim) Existential() bool\n```\nExistential reports whether the claim is that some execution exists — a violation, a sensitivity, a satisfying assignment — for which witnessed is the one strength that is a claim at all.\n\n```go\nfunc (c Claim) String() string\n```\nString names the claim as a plan spells it.\n\n```go\nfunc (c Claim) Universal() bool\n```\nUniversal reports whether the claim is over everything the question left free — holds, an outcome set, unsatisfiable, unbounded — graded proved, bounded or observed.\n\n```go\ntype Column struct {\n\tName    string\n\tIndex   int\n\tByIndex bool\n}\n```\nColumn is a CSV column: a header name, or a zero-based index as a JSON integer.\n\n```go\nfunc (c Column) MarshalJSON() ([]byte, error)\n```\nMarshalJSON writes the column as it is read.\n\n```go\nfunc (c Column) String() string\n```\nString spells the column for an error: the name, or the index.\n\n```go\nfunc (c *Column) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON reads a name or a zero-based index; a negative index, a fraction, a boolean or null is malformed.\n\n```go\ntype ComputeAsk struct {\n\tCall *runtime.ToolCall\n\t// contains filtered or unexported fields\n}\n```\nComputeAsk is the invocation a Compute question asks for: one performance of an action annotated ToolExecution, as the runtime hands it to the tool.\n\n```go\nfunc (a *ComputeAsk) Ran(use ToolUse)\n```\nRan reports a tool call's use to the asker, when one listens.\n\n```go\ntype ConditionCheck func(*runtime.Context, *symbols.Symbol, *symbols.Scope, *runtime.Instance) (runtime.CheckResult, error)\n```\nConditionCheck evaluates a constraint or requirement about an object.\n\n```go\nfunc ResolveCondition(lookup func(name string) (*symbols.Symbol, error), name string) (*symbols.Symbol, ConditionCheck, error)\n```\nResolveCondition resolves name to the constraint or requirement it names and how the runtime evaluates it about an object.\n\n```go\ntype ConstructError struct {\n\tEngine    string\n\tConstruct string\n}\n```\nConstructError names the construct the check engine met and does not search.\n\n```go\nfunc (e *ConstructError) Error() string\n```\nError names the engine and the construct.\n\n```go\nfunc (e *ConstructError) Is(target error) bool\n```\nIs matches ErrConstruct.\n\n```go\ntype CountedText struct {\n\tText  string\n\tCount int\n}\n```\nCountedText is one distinct non-numeric value an observable took, spelled through its run's context, and how many completed runs produced it.\n\n```go\ntype Coverage struct {\n\tCovered bool\n\t// Refusal names the construct, condition or absent process the engine\n\t// cannot handle; nil when covered.\n\tRefusal error\n}\n```\nCoverage is what Covers answers: covered, or refused for a typed reason.\n\n```go\ntype Description struct {\n\t// Questions are the kinds the engine answers.\n\tQuestions []Kind\n\t// Process names the external process the engine needs, empty for none.\n\tProcess string\n\t// Bounds names the bounds the engine takes, in the order it reports them.\n\tBounds []string\n\t// Replays reports whether the engine's witnesses replay through the interpreter.\n\tReplays bool\n\t// Authority is the strongest evidence the engine can ever produce.\n\tAuthority Strength\n}\n```\nDescription is an engine's capability declaration.\n\n```go\nfunc (d Description) Answers(k Kind) bool\n```\nAnswers reports whether the engine declares the kind.\n\n```go\ntype Disagreement struct {\n\t// Stands names the engine whose witnessed result the composition kept.\n\tStands string\n\t// Demoted names the engine whose result was demoted, and Claimed is that result as it answered.\n\tDemoted string\n\tClaimed Result\n\t// Reason is the disagreement as the demoted result's Reason spells it.\n\tReason string\n}\n```\nDisagreement is two engines contradicting each other about one question: a witnessed existential claim against a universal claim it refutes. The interpreter is normative, so the witness stands and the other result is demoted to not covered with the disagreement as its reason.\n\n```go\ntype DomainError struct {\n\tEngine  string\n\tFeature string\n\t// Type is the declared type, as written; \"\" when the feature declares none.\n\tType string\n\t// Reason says what the type lacks, when the engine can say more than its name.\n\tReason string\n}\n```\nDomainError reports a free input of a type the engine has no domain for; the question is not covered, since ranging over an unconstrained variable would claim what the model does not say.\n\n```go\nfunc (e *DomainError) Error() string\n```\nError names the engine, the feature and its type.\n\n```go\nfunc (e *DomainError) Is(target error) bool\n```\nIs matches ErrDomain.\n\n```go\ntype DryRun struct {\n\tTool, Version, Manifest, Executable, Protocol string\n\t// Args are the argv entries after the executable, as the invocation block renders\n\t// them; nil for an entry without one.\n\tArgs []string\n\t// Env is the environment in NAME=value pairs, sorted; nil when the entry has no\n\t// invocation block, in which case the whole environment is inherited. A variable\n\t// taken from this process is spelt \"NAME=\u003cfrom this process\u003e\"; only the block's\n\t// own entries show their rendered values.\n\tEnv []string\n\t// Cwd is the working directory; empty inherits this process's.\n\tCwd string\n\t// Stdin says what the process reads; StdinJSON for an entry without the block.\n\tStdin StdinFormat\n\t// StdinData is what standard input carries.\n\tStdinData []byte\n\t// InputFile is the file the block's `inputFile` writes, nil when it has none.\n\tInputFile *DryRunFile\n\t// OutputDir marks that the entry uses {outputDir}.\n\tOutputDir bool\n\t// Inputs are the values the call sent the tool.\n\tInputs []runtime.ToolInput\n\t// Outputs are the bindings the call expects back, sorted by variable.\n\tOutputs []runtime.ToolOutput\n\t// Reply is the entry's `reply` block; nil is the object protocol.\n\tReply *Reply\n\t// ReplySource is where the reply is read, rendered like argv: stdout, or\n\t// file:\u003ctemplate\u003e with {outputDir} spelled \u003coutputDir\u003e.\n\tReplySource string\n}\n```\nDryRun is what one tool call would be given, composed without starting the process.\n\n```go\nfunc (d DryRun) InputText(in runtime.ToolInput) string\n```\nInputText spells one of the preview's inputs as the protocol sends it, \"?\" for a value the protocol cannot carry.\n\n```go\nfunc (d DryRun) Lines() []string\n```\nLines spells the preview as the surfaces print it, one element per line.\n\n```go\ntype DryRunFile struct {\n\tName   string\n\tFormat InputFormat\n\tData   []byte\n}\n```\nDryRunFile is the input file a dry run would write: its name, format and contents.\n\n```go\ntype DryRunner struct {\n\t// contains filtered or unexported fields\n}\n```\nDryRunner answers every call with the call's preview instead of the tool's run, remembering the first preview it made for the surfaces to read.\n\n```go\nfunc (d *DryRunner) Reached() (*ToolDryRunError, bool)\n```\nReached is the first preview RunTool made, when a call reached the tool: a call an objective's condition made ends the run with no error to read.\n\n```go\nfunc (d *DryRunner) RunTool(call *runtime.ToolCall) (runtime.ToolAnswer, error)\n```\nRunTool walks the selection's candidates in the order the real runner consults them, probing only tool entries: a non-tool candidate ahead of the tool's own is undecided under auto, and refusing or not a tool entry under a named selection. Under all every covering engine runs, so an engine ahead of the tool is passed — one refusing the call never runs, one covering it runs beside the tool; only when no entry of the tool's name is registered does an engine that covers the call, or an external one that cannot be probed and may, leave the preview undecided.\n\n```go\ntype DuplicateEngineError struct {\n\tName string\n}\n```\nDuplicateEngineError reports a second registration under one name.\n\n```go\nfunc (e *DuplicateEngineError) Error() string\n```\nError names the engine.\n\n```go\nfunc (e *DuplicateEngineError) Is(target error) bool\n```\nIs matches ErrDuplicateEngine.\n\n```go\ntype Engine interface {\n\t// Name is the engine's stable identity.\n\tName() string\n\t// Describe reports what the engine can do, fixed at registration.\n\tDescribe() Description\n\t// Covers says, before any work, whether the engine can answer q for this model;\n\t// a refusal names what it cannot handle and is never a result.\n\tCovers(model *Model, q Question) Coverage\n\t// Run answers q within the budget, in a context of its own. It never\n\t// mutates model; it stops when ctx is done and reports how far it got.\n\tRun(ctx context.Context, model *Model, q Question, budget Budget) (Result, error)\n}\n```\nEngine is one registered way of answering questions about a model.\n\n```go\nfunc NewCheck() Engine\n```\nNewCheck returns the check engine.\n\n```go\nfunc NewExplore() Engine\n```\nNewExplore returns the explore engine.\n\n```go\nfunc NewRun() Engine\n```\nNewRun returns the run engine.\n\n```go\nfunc NewSweep() Engine\n```\nNewSweep returns the sweep engine.\n\n```go\ntype EngineEntry struct {\n\t// File is the entry read; Dir its directory, which a relative command is confined to.\n\tFile string\n\tDir  string\n\t// Kind is engine, policy or sampler.\n\tKind EntryKind\n\t// Name is the engine's registered name, as -engine selects it.\n\tName    string\n\tVersion string\n\t// Command is the executable and its arguments as written; Executable the resolved path\n\t// of Command[0], confined to Dir when relative.\n\tCommand    []string\n\tExecutable string\n\t// Transport is stdio or grpc; Address is where a grpc engine listens.\n\tTransport string\n\tAddress   string\n\t// Module is a WebAssembly module in place of Command; defined, served by a later stage.\n\tModule string\n\t// Protocol is the version of the message set the engine speaks.\n\tProtocol int\n\t// Answers, Subjects, Bounds and Witness are the engine's Description. Subjects are\n\t// declaration kinds as the notation spells them without def (action, state, calc);\n\t// empty means any subject.\n\tAnswers  []Kind\n\tSubjects []string\n\tBounds   []string\n\tWitness  WitnessKind\n\t// Model names the forms of the model the engine reads; sources is always sent.\n\tModel []ModelForm\n\t// Authority is the strongest strength the engine says it produces for a universal claim.\n\tAuthority Strength\n\t// Concurrent says whether one process may hold several run requests open at once.\n\tConcurrent bool\n}\n```\nEngineEntry is one \\`engine\\`, \\`policy\\` or \\`sampler\\` entry of a manifest, as the framework's Description written down: the fields the host checks before any process runs.\n\n```go\nfunc (e EngineEntry) Description() Description\n```\nDescription is the entry as the framework describes an engine.\n\n```go\nfunc (e EngineEntry) Forms() []ModelForm\n```\nForms are the model forms a run carries: sources always, then what the entry asked for.\n\n```go\nfunc (e EngineEntry) Origin() Origin\n```\nOrigin is where the entry comes from, as a listing prints it.\n\n```go\nfunc (e EngineEntry) Present() error\n```\nPresent checks the entry's program is there without running it: a regular file, executable by someone for a command. It is the one check a listing makes of the file system.\n\n```go\nfunc (e EngineEntry) Program() string\n```\nProgram is the resolved executable or module path the entry runs, empty for a grpc engine.\n\n```go\nfunc (e EngineEntry) Served() error\n```\nServed reports whether this build runs the entry, and the typed reason when it does not: strategies, WebAssembly modules, the grpc transport and the rdf form are later stages.\n\n```go\ntype EngineExitedError struct {\n\tEngine  string\n\tProcess string\n\t// Started reports whether the process had answered describe before it ended.\n\tStarted bool\n\tErr     error\n\tStderr  string\n}\n```\nEngineExitedError reports the process ending: at start, or during a request. Stderr is what it wrote to standard error, within the output bound.\n\n```go\nfunc (e *EngineExitedError) Error() string\n```\nError names the engine, the process and how it ended.\n\n```go\nfunc (e *EngineExitedError) Is(target error) bool\n```\nIs matches ErrEngineExited.\n\n```go\nfunc (e *EngineExitedError) Unwrap() error\n```\nUnwrap is the process error.\n\n```go\ntype EngineFaultError struct {\n\tEngine  string\n\tMethod  string\n\tCode    string\n\tMessage string\n}\n```\nEngineFaultError is the engine's error answer: its code and message.\n\n```go\nfunc (e *EngineFaultError) Error() string\n```\nError names the engine, the code and the message.\n\n```go\nfunc (e *EngineFaultError) Is(target error) bool\n```\nIs matches ErrEngineFault.\n\n```go\ntype EngineRefusalError struct {\n\tEngine string\n\tReason string\n}\n```\nEngineRefusalError is the engine's own refusal of a question, with the reason it gave.\n\n```go\nfunc (e *EngineRefusalError) Error() string\n```\nError names the engine and its reason.\n\n```go\nfunc (e *EngineRefusalError) Is(target error) bool\n```\nIs matches ErrEngineRefusal.\n\n```go\ntype EngineTimeoutError struct {\n\tEngine  string\n\tMethod  string\n\tTimeout time.Duration\n}\n```\nEngineTimeoutError reports a request unanswered within the timeout: describe or covers within the round-trip bound, or a cancelled run within the grace after cancel.\n\n```go\nfunc (e *EngineTimeoutError) Error() string\n```\nError names the engine, the request and the bound.\n\n```go\nfunc (e *EngineTimeoutError) Is(target error) bool\n```\nIs matches ErrEngineTimeout.\n\n```go\ntype EngineWithheldError struct {\n\tName string\n}\n```\nEngineWithheldError names the engine a service withholds.\n\n```go\nfunc (e *EngineWithheldError) Error() string\n```\nError reads \\`engine 'spin-bridge' is not served by this service\\`.\n\n```go\nfunc (e *EngineWithheldError) Is(target error) bool\n```\nIs matches ErrEngineWithheld.\n\n```go\ntype EntryKind string\n```\nEntryKind is what a manifest entry registers: a tool the model names, an engine, or a strategy a later build serves.\n\n```go\nconst (\n\t// KindTool is an executable a ToolExecution names; the default when `kind` is absent.\n\tKindTool EntryKind = \"tool\"\n\t// KindEngine is an external analysis engine answering questions over the protocol.\n\tKindEngine EntryKind = \"engine\"\n\t// KindPolicy is an external scheduling policy, not served in this build.\n\tKindPolicy EntryKind = \"policy\"\n\t// KindSampler is an external sweep sampler, not served in this build.\n\tKindSampler EntryKind = \"sampler\"\n)\n```\n\n```go\ntype Evaluation struct {\n\t// Name is the feature, output, row or query the evaluation is of.\n\tName string\n\t// Value is a feature value or output.\n\tValue runtime.Value\n\t// Row is one row of a sweep.\n\tRow *sweep.SweepRow\n\t// Explored is the outcome set an exploration reached.\n\tExplored *runtime.Exploration\n\t// Solved is a solver's answer to one query.\n\tSolved *solve.Result\n\t// Checked is what a search of an action's schedules found, with its witnesses written.\n\tChecked *Checked\n\t// Err is what failed this unit.\n\tErr error\n}\n```\nEvaluation is one thing the question asked for, as the engine established it: exactly one of Value, Row, Explored, Solved and Checked is set, or Err when this unit failed.\n\n```go\nfunc OutputValues(outputs []runtime.CalcOutputValue) []Evaluation\n```\nOutputValues is a case's or calculation's outputs as evaluations.\n\n```go\nfunc ValuesOf(held map[string]runtime.Value) []Evaluation\n```\nValuesOf is a behavior's outputs or state data as evaluations, in name order.\n\n```go\ntype External interface {\n\tEngine\n\t// Process names the process found (`z3 at /usr/bin/z3`), or reports its\n\t// absence as the typed error Covers refuses with.\n\tProcess() (string, error)\n}\n```\nExternal is an engine that needs a process outside the build, and reports whether it found one.\n\n```go\nfunc ExternalsFromEnv(workspaces ...string) ([]External, error)\n```\nExternalsFromEnv reads both manifests the environment names as engines: one \\`tool:\\\u003cname\u003e\\` per tool entry and one engine per engine, policy or sampler entry, in manifest then entry order, each whether or not its program is found or this build serves it; none when both are unset. A manifest that cannot be read is a ManifestError.\n\n```go\nfunc NewSolve(discover func() (*solve.Solver, error)) External\n```\nNewSolve returns the solve engine over the solver discover finds; nil discovers as solve.Discover does.\n\n```go\nfunc NewTool(entry ToolEntry) External\n```\nNewTool returns the \\`tool:\\\u003cname\u003e\\` engine of a manifest entry. It registers whether or not the executable is found and refuses through Covers while it is not. An invocation or reply block not yet checked by a manifest load is checked here; a faulty one refuses every question.\n\n```go\ntype Freedom int\n```\nFreedom is what a question leaves free; a set of the flags below.\n\n```go\nconst (\n\t// FreeNothing fixes every choice: one execution, or one per row.\n\tFreeNothing Freedom = 0\n\t// FreeSchedule leaves the scheduling of concurrent behavior open.\n\tFreeSchedule Freedom = 1 \u003c\u003c iota\n\t// FreeInputs leaves unbound inputs open.\n\tFreeInputs\n)\n```\n\n```go\nfunc (f Freedom) Has(flag Freedom) bool\n```\nHas reports whether the freedom includes f.\n\n```go\nfunc (f Freedom) String() string\n```\nString names what is free: \\`nothing\\`, \\`the schedule\\`, \\`the inputs\\`, or both.\n\n```go\ntype FreedomError struct {\n\tEngine string\n\tFree   Freedom\n}\n```\nFreedomError reports a question leaving free what the engine fixes: inputs to one that runs concrete values only, the schedule to one that runs under one policy.\n\n```go\nfunc (e *FreedomError) Error() string\n```\nError names the engine and what it cannot leave free.\n\n```go\nfunc (e *FreedomError) Is(target error) bool\n```\nIs matches ErrFreedom.\n\n```go\ntype HandshakeError struct {\n\tEngine   string\n\tField    string\n\tManifest string\n\tAnswer   string\n}\n```\nHandshakeError reports the field of describe that differs from the manifest entry.\n\n```go\nfunc (e *HandshakeError) Error() string\n```\nError names the engine, the field and both spellings.\n\n```go\nfunc (e *HandshakeError) Is(target error) bool\n```\nIs matches ErrHandshake.\n\n```go\ntype HoldsAsk struct {\n\t// Behavior is the action definition or usage whose schedules are asked about.\n\tBehavior *symbols.Symbol\n\t// Scope is the scope Behavior's body resolves in; Behavior's own when nil.\n\tScope *symbols.Scope\n\t// Conditions are the requirements and constraints asked to hold at every\n\t// move, each as `-check-property` names it; none asks only that no schedule deadlocks.\n\tConditions []*symbols.Symbol\n\t// Start begins one run of Behavior in a fresh context, as an explored run is\n\t// begun: the executor made, on the object performing it when there is one.\n\tStart Start\n\t// Inputs names features of Behavior or its performer to leave free although\n\t// the model binds them, as `-check-input` spells them.\n\tInputs []string\n\t// Assume are the constraints or requirements assumed over the initial state.\n\tAssume []*symbols.Symbol\n\t// Diverge names the features whose final values a Sensitive question compares\n\t// across the complete schedules, as `-check-diverge` spells them; none compares\n\t// the action's own attributes, and the performing object's when one performs it.\n\tDiverge []string\n\t// Performer names the object performing Behavior, \"\" when the action runs on\n\t// its own; a witness file is named after the subject and it.\n\tPerformer string\n\t// WitnessDir is where a violation's or a sensitivity's witnesses are written, \"\" for nowhere.\n\tWitnessDir string\n}\n```\nHoldsAsk is the behavior a Holds or Sensitive question is about, the conditions asked to hold over its schedules, the features whose final values a Sensitive question compares across them, and how one run of it begins in a fresh context.\n\n```go\ntype InconsistentResultError struct {\n\tEngine   string\n\tClaim    Claim\n\tStrength Strength\n}\n```\nInconsistentResultError reports a result whose claim and strength the scale does not admit together: a defect in the engine, never an answer.\n\n```go\nfunc (e *InconsistentResultError) Error() string\n```\nError names the pair, and the engine when known.\n\n```go\nfunc (e *InconsistentResultError) Is(target error) bool\n```\nIs matches ErrInconsistentResult.\n\n```go\ntype Input struct {\n\t// Name is the feature as the performance holds it.\n\tName string\n\t// Type is the declared type, as written; \"\" when the feature declares none.\n\tType string\n\t// Sort is the solver sort the feature's values range over (Int, Real, Bool, an\n\t// enumeration's datatype).\n\tSort string\n\t// Domain says what the sort is narrowed to (`\u003e= 0`, the constructors, an\n\t// interval); \"\" when the sort alone is the domain.\n\tDomain string\n\t// Free reports whether the engine ranged over the domain; false pins Value.\n\tFree bool\n\t// Optional reports a free input whose multiplicity admits no value (`[0..1]`):\n\t// the engine ranged over its absence too, which a witness spells `null`.\n\tOptional bool\n\t// Value is the value pinned, or the one a witness chose for a free input,\n\t// spelled as the witness file's input line spells it; \"\" for a free input\n\t// of a claim with no witness, or a pinned one held without a value.\n\tValue string\n}\n```\nInput is one feature of the behavior or its performer an engine ranged over or pinned in the initial state: free in the domain its declared type narrows the sort to, or fixed at the value the model binds it to.\n\n```go\nfunc (in Input) String() string\n```\nString spells the input as a report lists it: \\`x : Integer free\\`, \\`n : Natural free in \u003e= 0\\`, \\`x : Integer free or absent\\`, \\`mode = Mode::Fast\\`.\n\n```go\ntype InputError struct {\n\tEngine  string\n\tFeature string\n\tReason  string\n}\n```\nInputError reports a named input the engine refuses to leave free, and why.\n\n```go\nfunc (e *InputError) Error() string\n```\nError names the engine, the feature and the reason.\n\n```go\nfunc (e *InputError) Is(target error) bool\n```\nIs matches ErrInput.\n\n```go\ntype InputFile struct {\n\tFormat InputFormat `json:\"format\"`\n\tName   string      `json:\"name\"`\n}\n```\nInputFile is the \\`inputFile\\` field: the format and the bare file name written into the invocation's temporary directory.\n\n```go\ntype InputFormat string\n```\nInputFormat is what an input file holds.\n\n```go\nconst (\n\t// InputJSON is the protocol's request object.\n\tInputJSON InputFormat = \"json\"\n\t// InputCSV is one header row and one row of the inputs sent.\n\tInputCSV InputFormat = \"csv\"\n)\n```\n\n```go\ntype InputNotFreeError struct {\n\tEngine  string\n\tFeature string\n}\n```\nInputNotFreeError names the input an engine's witness fixed that the question had bound.\n\n```go\nfunc (e *InputNotFreeError) Error() string\n```\nError names the engine and the input.\n\n```go\nfunc (e *InputNotFreeError) Is(target error) bool\n```\nIs matches ErrInputNotFree.\n\n```go\ntype Invocation struct {\n\t// Args are the argv entries after the executable, each one template.\n\tArgs []string `json:\"args,omitempty\"`\n\t// Env are variables added to the minimal base environment, each value one template.\n\tEnv map[string]string `json:\"env,omitempty\"`\n\t// Cwd is the working directory: absolute, or relative to the manifest directory and\n\t// confined to it. Empty inherits this process's.\n\tCwd string `json:\"cwd,omitempty\"`\n\t// Stdin says what the process reads: the JSON request by default.\n\tStdin StdinSpec `json:\"stdin\"`\n\t// InputFile, when set, is written into the invocation's temporary directory before the\n\t// process starts; `{inputFile}` names its path.\n\tInputFile *InputFile `json:\"inputFile,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nInvocation is a tool entry's \\`invocation\\` block: how the process is composed from one call's values. Absent, the executable starts as before: no arguments, the JSON request.\n\n```go\ntype JobsError struct {\n\tSource string\n\tValue  string\n}\n```\nJobsError reports a jobs setting no plan can run under: the value as written and where it was written, the variable or the flag.\n\n```go\nfunc (e *JobsError) Error() string\n```\nError names the source and the value, and what a usable one is.\n\n```go\nfunc (e *JobsError) Is(target error) bool\n```\nIs matches ErrJobs.\n\n```go\ntype Kind int\n```\nKind is what a question asks of its subject.\n\n```go\nconst (\n\t// Evaluate asks for one execution under stated bindings and a stated\n\t// scheduling policy: a calc, a case, a behavior, or a condition on a subject.\n\tEvaluate Kind = iota\n\t// Outcomes asks what a behavior can do over every schedule.\n\tOutcomes\n\t// Holds asks whether a condition holds over a behavior or a case, with the\n\t// schedule and/or the unbound inputs free within stated bounds.\n\tHolds\n\t// Sensitive asks whether a behavior's result depends on its schedule.\n\tSensitive\n\t// Satisfiable asks whether some assignment to the unbound features meets a\n\t// set of conditions.\n\tSatisfiable\n\t// Sweep asks a calc or case once per row of a domain the rows enumerate or sample.\n\tSweep\n\t// Compute asks an external tool once, as an action annotated ToolExecution names it.\n\tCompute\n)\n```\n\n```go\nfunc CheckKind(check *CheckAsk, holds *HoldsAsk, unroll int) Kind\n```\nCheckKind is what a check asks: Sensitive once a feature is named to compare across the schedules; else Holds once a property or condition is stated, an input released, an assumption made or the unroll bound set (what a symbolic engine alone answers or reads); else Outcomes.\n\n```go\nfunc ParseKind(text string) (Kind, bool)\n```\nParseKind reads a kind of question as Kind.String spells it.\n\n```go\nfunc (k Kind) String() string\n```\nString names the kind as a plan spells it.\n\n```go\ntype Linearization func(*runtime.Context) (runtime.Outcome, error)\n```\nLinearization runs the behavior once in a fresh context under the context's schedule, in the shape runtime.Explore drives.\n\n```go\ntype Listing struct {\n\tStatus\n\tDescription\n\tOrigin\n\t// Withheld is the typed reason the registry lists the engine but does not run it; nil\n\t// when it is served.\n\tWithheld error\n}\n```\nListing is one engine as -engines, %engines and ListEngines report it: its capability declaration beside the state of its process and where it comes from.\n\n```go\nfunc (l Listing) Kinds() string\n```\nKinds spells the question kinds the engine answers, comma-separated.\n\n```go\nfunc (l Listing) OriginText() string\n```\nOriginText is the manifest entry's source line, empty for a built-in engine: \\`spin-bridge 1.4.0: engine from /etc/opensysml/engines/spin-bridge.json, runs /opt/spin-bridge/bin/spin-bridge, not admitted\\`.\n\n```go\nfunc (l Listing) Ready() bool\n```\nReady reports whether the engine can run: it is served, and it needs no process or its process is found.\n\n```go\nfunc (l Listing) Served() bool\n```\nServed reports whether the registry runs the engine when a question reaches it.\n\n```go\nfunc (l Listing) StatusText() string\n```\nStatusText is the engine's state in a word: \\`ready\\`, \\`ready (z3 at /usr/bin/z3)\\`, \\`unavailable: \\\u003cwhy\u003e\\` or \\`withheld: \\\u003cwhy\u003e\\`.\n\n```go\ntype MalformedQuestionError struct {\n\tKind Kind\n\t// Missing names the field the kind needs.\n\tMissing string\n}\n```\nMalformedQuestionError reports a question whose kind's ask is missing.\n\n```go\nfunc (e *MalformedQuestionError) Error() string\n```\nError names the kind and the field.\n\n```go\nfunc (e *MalformedQuestionError) Is(target error) bool\n```\nIs matches ErrMalformedQuestion.\n\n```go\ntype Manifest struct {\n\t// Dir is the directory read.\n\tDir string\n\t// Env names the variable that named Dir.\n\tEnv string\n\t// Tools are the `tool` entries.\n\tTools []ToolEntry\n\t// Engines are the `engine`, `policy` and `sampler` entries.\n\tEngines []EngineEntry\n}\n```\nManifest is what one manifest directory registers, each list in name order.\n\n```go\nfunc ManifestsFromEnv(workspaces ...string) ([]*Manifest, error)\n```\nManifestsFromEnv reads both manifest directories the environment names, OPENSYSML\\_TOOLS then OPENSYSML\\_ENGINES, skipping one unset and refusing one under a workspace; a manifest that cannot be read is a ManifestError.\n\n```go\nfunc ReadManifest(dir, env string, workspaces ...string) (*Manifest, error)\n```\nReadManifest reads the manifest in dir, named by the environment variable env: every \\`.json\\` file is one entry of the kind its \\`kind\\` field says, \\`tool\\` when absent. Every fault is a ManifestError; a duplicate name among entries of one kind is one too. A dir under one of the workspaces is refused unread: a manifest comes from the environment, never from a workspace or a model.\n\n```go\nfunc (m *Manifest) Externals() []External\n```\nExternals is the manifest's entries as engines: its tools, then its engines.\n\n```go\ntype ManifestError struct {\n\t// Env names the variable that named the directory; ToolsEnv when empty.\n\tEnv string\n\t// Path is the directory or the entry file at fault.\n\tPath string\n\t// Detail is what is wrong.\n\tDetail string\n\t// Err is the fault as the file system or the decoder reported it, when one did.\n\tErr error\n}\n```\nManifestError reports one fault in a manifest: the directory or entry it is in and what is wrong with it.\n\n```go\nfunc (e *ManifestError) Error() string\n```\nError names the variable, the path and the fault.\n\n```go\nfunc (e *ManifestError) Is(target error) bool\n```\nIs matches ErrManifest.\n\n```go\nfunc (e *ManifestError) Unwrap() error\n```\nUnwrap returns the underlying report.\n\n```go\ntype Manifested interface {\n\tExternal\n\tOrigin() Origin\n}\n```\nManifested is an engine registered from a manifest entry, which reports its origin.\n\n```go\nfunc NewEngine(entry EngineEntry) Manifested\n```\nNewEngine is the engine of a manifest entry: registered whether or not this build serves it, listing the typed reason through Process and refusing every question through Covers.\n\n```go\ntype Mode int\n```\nMode is how a plan chooses the engines it puts a question to.\n\n```go\nconst (\n\t// SelectAuto puts the question to the strongest covering engine, and to the\n\t// next on a not-covered result; the plan names each.\n\tSelectAuto Mode = iota\n\t// SelectNamed puts the question to exactly one engine; its refusal or\n\t// not-covered result is the result.\n\tSelectNamed\n\t// SelectAll puts the question to every covering engine, in name order, and\n\t// composes what they answered.\n\tSelectAll\n)\n```\n\n```go\ntype Model struct {\n\t// Context is the surface's own runtime over the model; nil when the surface holds none.\n\tContext func() (*runtime.Context, error)\n\t// Semantics builds a worker's own model-derived part — resolver, semantic model and\n\t// the runtime's memo tables — over the shared frozen index.\n\tSemantics func() (*runtime.Model, error)\n\t// Fresh builds a run's own context on a worker, under the surface's limits.\n\tFresh func(*Worker) (*runtime.Context, error)\n\t// contains filtered or unexported fields\n}\n```\nModel is the model a question is about, reached through the runtime contexts a surface builds over it: an evaluation runs in the surface's own where it holds one, every other run in a context of the run's own, on the worker the plan builds (see Worker).\n\n```go\nfunc Held(ctx *runtime.Context) *Model\n```\nHeld is the model as a surface reaches it through a context it holds: an execution runs in ctx, under its limits, and no run of its own is built.\n\n```go\nfunc (m *Model) NewContext(budget Budget) (*runtime.Context, error)\n```\nNewContext builds a run's own context on the plan's first worker, taking the budget's Steps as MaxSteps and Memory as MaxElements; a zero field, like every other bound, keeps Fresh's.\n\n```go\nfunc (m *Model) NewContextOn(job int, budget Budget) (*runtime.Context, error)\n```\nNewContextOn builds a run's own context on the plan's worker for job, under the budget as NewContext takes it.\n\n```go\nfunc (m *Model) Worker() (*Worker, error)\n```\nWorker is the plan's first worker, the one every run of a plan under one job is made on.\n\n```go\nfunc (m *Model) WorkerAt(job int) (*Worker, error)\n```\nWorkerAt is the plan's worker for job, built on first use and kept for every later run under that job; the plan's jobs run concurrently, each on a worker of its own.\n\n```go\ntype ModelForm string\n```\nModelForm is one form of the model an engine reads.\n\n```go\nconst (\n\t// FormSources is every document of the model as text with the library version.\n\tFormSources ModelForm = \"sources\"\n\t// FormRDF is the model as Turtle; defined, served by a later stage.\n\tFormRDF ModelForm = \"rdf\"\n)\n```\n\n```go\nfunc GraphsForm(v int) ModelForm\n```\nGraphsForm is the \\`graphs:\\\u003cv\u003e\\` form at version v.\n\n```go\nfunc (f ModelForm) GraphsVersion() (int, bool)\n```\nGraphsVersion reads the version of a \\`graphs:\\\u003cv\u003e\\` form; false for any other form.\n\n```go\ntype ModelSeed struct {\n\tSeed uint64\n\tSet  bool\n}\n```\nModelSeed is a seed for the modeled draws of a question's runs, and whether one is set.\n\n```go\nfunc ModelSeedOf(ctx *runtime.Context) ModelSeed\n```\nModelSeedOf is the model seed set on ctx, none when ctx is nil or has none.\n\n```go\ntype NoEngineError struct {\n\tKind Kind\n}\n```\nNoEngineError reports a kind no registered engine declares.\n\n```go\nfunc (e *NoEngineError) Error() string\n```\nError names the kind.\n\n```go\nfunc (e *NoEngineError) Is(target error) bool\n```\nIs matches ErrNoEngine.\n\n```go\ntype NoReplayError struct {\n\tEngine string\n\tKind   Kind\n}\n```\nNoReplayError names the question a schedule witness cannot be replayed for.\n\n```go\nfunc (e *NoReplayError) Error() string\n```\nError names the engine and the question's kind.\n\n```go\nfunc (e *NoReplayError) Is(target error) bool\n```\nIs matches ErrNoReplay.\n\n```go\ntype NoRuntimeError struct {\n\tEngine string\n}\n```\nNoRuntimeError reports an engine refusing a model that builds no context its runs need.\n\n```go\nfunc (e *NoRuntimeError) Error() string\n```\nError names the engine.\n\n```go\nfunc (e *NoRuntimeError) Is(target error) bool\n```\nIs matches ErrNoRuntime.\n\n```go\ntype NotAToolEntryError struct {\n\tEngine string\n}\n```\nNotAToolEntryError is the dry runner's refusal of a call whose engine answers Compute questions but is no tool manifest entry.\n\n```go\nfunc (e *NotAToolEntryError) Error() string\n```\nError names the engine.\n\n```go\ntype NotAskedError struct {\n\tEngine string\n\tKind   Kind\n}\n```\nNotAskedError reports a question of a kind the engine does not answer.\n\n```go\nfunc (e *NotAskedError) Error() string\n```\nError names the engine and the kind.\n\n```go\nfunc (e *NotAskedError) Is(target error) bool\n```\nIs matches ErrNotAsked.\n\n```go\ntype NotExternalError struct {\n\tName string\n\t// Known lists the manifest engines that can be served.\n\tKnown []string\n}\n```\nNotExternalError reports a name asked to be served that names no manifest engine: a built-in, a tool or nothing at all.\n\n```go\nfunc (e *NotExternalError) Error() string\n```\nError names the engine and the ones that could have been meant.\n\n```go\nfunc (e *NotExternalError) Is(target error) bool\n```\nIs matches ErrNotExternal.\n\n```go\ntype NotServedError struct {\n\tName string\n\tKind EntryKind\n\t// Reason names what the entry needs that this build does not have.\n\tReason string\n}\n```\nNotServedError reports an entry a later build serves: listed with the reason, never run.\n\n```go\nfunc (e *NotServedError) Error() string\n```\nError names the entry and the reason.\n\n```go\nfunc (e *NotServedError) Is(target error) bool\n```\nIs matches ErrNotServed.\n\n```go\ntype ObservableSummary struct {\n\tName         string\n\tUnit         string\n\tNumbers      int\n\tMixedUnits   bool\n\tDistribution *runtime.Distribution\n\tCounted      []CountedText\n}\n```\nObservableSummary is one observable over a table's completed runs: the distribution of the numbers it produced, in Unit, and the count of each distinct value that is not a number. MixedUnits reports numbers in more than one unit, which have no distribution.\n\n```go\nfunc Summarize(table sweep.SweepTable, name string, text func(*runtime.Context, runtime.Value) string) ObservableSummary\n```\nSummarize reads one observable off the completed rows; text spells a value that is not a number through the row's context.\n\n```go\nfunc (s ObservableSummary) Lines() []string\n```\nLines is the summary as the CLI prints it: the distribution line and its histogram, then the distinct values with their counts.\n\n```go\ntype Origin struct {\n\t// Kind is the manifest entry's kind; empty for a built-in engine.\n\tKind EntryKind\n\t// Version is the entry's.\n\tVersion string\n\t// File is the manifest entry; Command the executable it resolved to.\n\tFile    string\n\tCommand string\n\t// Transport and Protocol are an engine entry's; empty and zero for a tool.\n\tTransport string\n\tProtocol  int\n\t// Exchange is a tool's ToolEntry.Protocol; empty for an engine entry.\n\tExchange string\n}\n```\nOrigin is where an engine comes from: the build for one built in, otherwise the manifest entry that registered it and what it runs.\n\n```go\nfunc (o Origin) KindText() string\n```\nKindText names the origin's kind as a listing prints it: \\`built-in\\` for the build's own.\n\n```go\nfunc (o Origin) ProtocolText() string\n```\nProtocolText names how the engine is spoken to: \\`-\\` for one built in, \\`object\\` for a tool's one JSON object each way, \\`argv+\\\u003cstdin\u003e\\` for one composed from its invocation block — the reply's format alone or \\`argv+\\\u003cstdin\u003e/\\\u003cformat\u003e\\` when it is not \\`object\\` — and \\`\\\u003ctransport\u003e/\\\u003cprotocol\u003e\\` for an engine entry.\n\n```go\ntype OverclaimError struct {\n\tEngine    string\n\tClaimed   Strength\n\tAuthority Strength\n}\n```\nOverclaimError reports a result whose strength exceeds what its engine's Description says it can earn: a defect in the engine, never a stronger answer.\n\n```go\nfunc (e *OverclaimError) Error() string\n```\nError names the engine and the two strengths.\n\n```go\nfunc (e *OverclaimError) Is(target error) bool\n```\nIs matches ErrOverclaim.\n\n```go\ntype Performance func(*runtime.Context) (Answer, error)\n```\nPerformance makes one execution in the given context and reports what it established. An error is a fault, not a failed execution, which is an Answer claiming nothing.\n\n```go\ntype Plan struct {\n\tQuestion  Question\n\tSelection Selection\n\tSteps     []Step\n\t// Result is the first covered answer under auto or a named engine, and the\n\t// composition of every finished engine's answer under all; when no engine\n\t// covered the question it is the last not-covered result, or one naming\n\t// every refusal.\n\tResult Result\n\t// Disagreements are the contradictions the composition under all resolved,\n\t// each in the interpreter's favor; empty under auto or a named engine.\n\tDisagreements []Disagreement\n\t// Tools is every tool call the plan's runs made when the plan ended, in call order.\n\tTools []ToolUse\n\n\t// Workers is how many workers the plan built over every fleet its engines ran on, and\n\t// Warming the time building them took, summed.\n\tWorkers int\n\tWarming time.Duration\n\t// contains filtered or unexported fields\n}\n```\nPlan is how a question was answered: the selection made, every engine consulted in the order the selection ranks them, and the answer that stood.\n\n```go\nfunc Perform[T any](\n\tctx context.Context,\n\tr *Registry,\n\treq Request,\n\tcall func(*runtime.Context) (T, error),\n\tanswer func(T, error) Answer,\n) (T, Plan, error)\n```\nPerform puts one execution (call, in the request's model's context) to the registry; answer says what it established. A dispatch fault or refusal is the execution's error, and the plan is how it was answered.\n\n```go\nfunc (p Plan) Refusals() []error\n```\nRefusals is every pre-run refusal in the plan, in step order.\n\n```go\nfunc (p Plan) Refused() error\n```\nRefused is the typed error for a plan no engine ran: every refusal it met. It is nil when some engine ran, whatever it answered.\n\n```go\nfunc (p Plan) Results() []Result\n```\nResults is every result the plan's engines answered, in step order, a demoted one as demoted; nil when no engine ran.\n\n```go\nfunc (p Plan) Standing() string\n```\nStanding is the plan's result's standing, followed by the plan when it consulted more than one engine or was made under all: \\`; all: run holds (observed), solve refused (…)\\`.\n\n```go\nfunc (p Plan) ToolMark() int\n```\nToolMark is the count of tool calls made so far: a mark taken before a point — a Monte Carlo conclusion's run in a row's context — bounds the calls before it.\n\n```go\nfunc (p Plan) ToolTexts() []string\n```\nToolTexts is what every tool call the plan made ran, as ToolUse spells it, including calls a run's context made after the plan ended.\n\n```go\nfunc (p Plan) ToolTextsIn(ctx *runtime.Context) []string\n```\nToolTextsIn is the texts of the calls made from ctx, nil for a nil ctx.\n\n```go\nfunc (p Plan) ToolTextsInBefore(ctx *runtime.Context, mark int) []string\n```\nToolTextsInBefore is the texts of the calls made from ctx before mark: calls the same context made after it, a conclusion's, are not the run's.\n\n```go\ntype PreviewUndecidedError struct {\n\tEngine string\n\tTool   string\n}\n```\nPreviewUndecidedError is the dry runner's answer when a higher-ranked engine may answer the call first and cannot be probed without a model or a process.\n\n```go\nfunc (e *PreviewUndecidedError) Error() string\n```\nError names the engine consulted before the tool.\n\n```go\ntype Prober interface {\n\tExternal\n\tProbe() (string, error)\n}\n```\nProber is an engine that can start its process once to check it against its manifest, as -engines -probe asks; Probe answers as Process does, after the handshake.\n\n```go\ntype ProcessAbsentError struct {\n\tEngine string\n\t// Process is what the engine needs, as its Description names it.\n\tProcess string\n\t// Err is the probe's own report of the absence.\n\tErr error\n}\n```\nProcessAbsentError reports an external engine whose process was not found.\n\n```go\nfunc (e *ProcessAbsentError) Error() string\n```\nError is the probe's own report, which already names what is absent and how to supply it; without one, Engine and Process say whose need it is.\n\n```go\nfunc (e *ProcessAbsentError) Is(target error) bool\n```\nIs matches ErrProcessAbsent.\n\n```go\nfunc (e *ProcessAbsentError) Unwrap() error\n```\nUnwrap returns the probe's report.\n\n```go\ntype ProgressReport struct {\n\tEngine   string\n\tProgress enginewire.ProgressParams\n}\n```\nProgressReport is one coalesced progress notification of an external engine's run.\n\n```go\ntype ProtocolError struct {\n\tEngine string\n\tDetail string\n}\n```\nProtocolError reports a line the host could not take as a message: not JSON, no jsonrpc member, no id, a member of the wrong type, an error code outside the protocol's, a line or standard error over the output bound, a witness of the wrong kind. The session is ended with it.\n\n```go\nfunc (e *ProtocolError) Error() string\n```\nError names the engine and what broke.\n\n```go\nfunc (e *ProtocolError) Is(target error) bool\n```\nIs matches ErrProtocol.\n\n```go\ntype Question struct {\n\tKind Kind\n\t// Subject names the element asked about, as the surface spelled it.\n\tSubject string\n\t// Schedule is the scheduling policy the question states: the one an\n\t// evaluation runs under, or the exploring one whose budget bounds outcomes.\n\tSchedule runtime.SchedulePolicy\n\t// ModelSeed is the seed the runs' modeled draws come from when one is set\n\t// apart from the schedule (runtime.Context.SetModelSeed).\n\tModelSeed ModelSeed\n\t// Draws is how the runs resolve their RandomFunctions draws: at random from\n\t// the seeded stream, or at each call's min, max or average (runtime.Context.SetDrawPolicy).\n\tDraws runtime.DrawPolicy\n\t// ClockStep is the step the runs' clock ticks by, in seconds, on which their\n\t// waits come due; 0 is a continuous clock (runtime.Context.SetClockStep).\n\tClockStep float64\n\t// Free is what the question leaves open.\n\tFree Freedom\n\t// Perform makes the one execution an Evaluate question asks for.\n\tPerform Performance\n\t// Linearize makes one run of the behavior an Outcomes question asks about,\n\t// in a context of the run's own.\n\tLinearize Linearization\n\t// Sweep is the domain and the row of a Sweep question.\n\tSweep *SweepAsk\n\t// Solve is the queries of a Satisfiable question and how each is asked.\n\tSolve *SolveAsk\n\t// Holds is the behavior, the condition and the start of one run of a Holds question.\n\tHolds *HoldsAsk\n\t// Compute is the tool invocation a Compute question asks for.\n\tCompute *ComputeAsk\n\t// Check is the action an Outcomes or Holds question asks the check engine to\n\t// search the schedules of, with what must hold and what may not diverge.\n\tCheck *CheckAsk\n}\n```\nQuestion is what is asked, independently of who answers it: a subject, what is asked of it, what is fixed and what is free, and the ask for its kind saying how one unit is made.\n\n```go\ntype RefusedError struct {\n\tKind     Kind\n\tRefusals []error\n}\n```\nRefusedError reports a question every engine declaring its kind refused.\n\n```go\nfunc (e *RefusedError) Error() string\n```\nError is the one refusal's text when one engine refused, else every refusal named by its engine.\n\n```go\nfunc (e *RefusedError) Unwrap() []error\n```\nUnwrap exposes each refusal to errors.Is and errors.As.\n\n```go\ntype Registry struct {\n\t// contains filtered or unexported fields\n}\n```\nRegistry holds the engines one owner answers with. There is no package-level registry: a binary builds one with Default, a test with NewRegistry, and neither sees the other's.\n\n```go\nfunc Default() *Registry\n```\nDefault returns a registry of the framework's own engines: run, explore, check, sweep and solve. Solve registers whether or not a solver is found and refuses through Covers. The build's registry, which adds the engines of other packages, is engines.Default.\n\n```go\nfunc DefaultFromEnv(workspaces ...string) (*Registry, error)\n```\nDefaultFromEnv returns the default registry with every entry of the manifests OPENSYSML\\_TOOLS and OPENSYSML\\_ENGINES name: one \\`tool:\\\u003cname\u003e\\` engine per tool entry and one engine per engine, policy or sampler entry. A manifest that cannot be read, or lies under one of the workspaces, is a ManifestError. Each registers whether or not its executable is found or this build serves it, and refuses through Covers; a name registered twice across the manifests is a DuplicateEngineError.\n\n```go\nfunc NewRegistry() *Registry\n```\nNewRegistry returns an empty registry.\n\n```go\nfunc (r *Registry) Answer(ctx context.Context, model *Model, q Question, budget Budget) (Plan, error)\n```\nAnswer answers q under \\`auto\\`: engines of q's kind strongest first, a refusal or a not-covered result advancing (and kept in the plan), an error from Run stopping the plan. A Deadline in the budget bounds the plan through ctx; meeting it is an error like any other, checked before each engine is consulted and before an answer is taken from it. The plan works on a copy of model, so its worker is its own and model is never written.\n\n```go\nfunc (r *Registry) AnswerWith(ctx context.Context, model *Model, q Question, budget Budget, selection Selection) (Plan, error)\n```\nAnswerWith answers q under the selection: as Answer does under auto; putting it to one engine alone under a named selection, whose refusal or not-covered result is the result; and under all to every covering engine, up to the budget's Jobs of them at once with the Jobs shared out among them, composing what they answered as if they had run one after another in name order. Under all a deadline met cancels the engine that met it and every one not finished, each named in the plan with the bound it reached, and the finished engines' results stand composed; only a plan no engine finished fails with the deadline. The plan works on copies of model, one fleet of workers per engine under all, so model is never written.\n\n```go\nfunc (r *Registry) Check(ctx context.Context, req Request, kind Kind, free Freedom, check *CheckAsk, holds *HoldsAsk, run Linearization) (Plan, error)\n```\nCheck puts an action's schedules to the registry as a question of kind, free being what the asker leaves open beside them: check is the explicit-state search's ask, holds the symbolic one, and run performs the action once for an engine exploring it. A Holds or Sensitive question over a start leaving an input unbound has the inputs free too.\n\n```go\nfunc (r *Registry) DryRunner(selection Selection) *DryRunner\n```\nDryRunner is a runtime.ToolRunner that previews the first tool call the selection's engines reach and fails the performance with ToolDryRunError.\n\n```go\nfunc (r *Registry) Engines() []Engine\n```\nEngines returns every registered engine in name order.\n\n```go\nfunc (r *Registry) Explore(ctx context.Context, req Request, run Linearization) (Plan, error)\n```\nExplore puts a behavior's outcomes to the registry: run performs it once per linearization the request's schedule asks for, each in a context its model makes. The plan's result holds the Exploration reached.\n\n```go\nfunc (r *Registry) External() []Manifested\n```\nExternal is the engine's manifest entries: every Manifested engine that is not a tool.\n\n```go\nfunc (r *Registry) Listings() []Listing\n```\nListings lists every engine in name order with its description, status and origin; no process is started.\n\n```go\nfunc (r *Registry) Names() []string\n```\nNames is every registered engine's name, in name order.\n\n```go\nfunc (r *Registry) Probed() []Listing\n```\nProbed lists as Listings does, but starts each external engine's process once and checks its handshake against its manifest, reporting the outcome as the status.\n\n```go\nfunc (r *Registry) Prove(ctx context.Context, req Request, queries []*solve.Query) (Plan, error)\n```\nProve puts an element's violation queries to the registry as a Holds question: an unsat proves the claim holds for every assignment of the free features — a proved one when the evaluator rounds the conditions — and a sat witnesses a violation. The plan's result holds the answers in order, and the error is an absent solver.\n\n```go\nfunc (r *Registry) Register(e Engine) error\n```\nRegister adds an engine; a second engine with the same name is a typed error, not a silent replacement.\n\n```go\nfunc (r *Registry) Select(text string) (Selection, error)\n```\nSelect parses a selection and checks that a named engine is registered and served, so a misspelling or a withheld engine is refused where it is written rather than run as a refusal.\n\n```go\nfunc (r *Registry) Serving(names []string) (*Registry, error)\n```\nServing returns the registry as a service runs it: every manifest engine not named is withheld — listed, refused when selected or reached — and \\`all\\` names every one. A name that is not a manifest engine is a NotExternalError; tools and built-ins are served as they are.\n\n```go\nfunc (r *Registry) Solve(ctx context.Context, req Request, queries []*solve.Query, ask Asking) (Plan, error)\n```\nSolve puts an element's condition sets to the registry under the request's selection, ask being the operation made of each; the request's model is what an engine outside the process is sent, nil when there is none. The plan's result holds the answers in order, and the error is an absent solver.\n\n```go\nfunc (r *Registry) Statuses() []Status\n```\nStatuses lists every engine in name order with the state of its process.\n\n```go\nfunc (r *Registry) Sweep(ctx context.Context, req Request, plan sweep.SweepPlan, row sweep.SweepRun) (Plan, error)\n```\nSweep puts a domain to the registry: row runs the subject once per row of the plan, each in a context of its own the request's model builds; the answered plan's result tables the rows.\n\n```go\nfunc (r *Registry) ToolRunner(ctx context.Context, held *runtime.Context, budget Budget, selection Selection) runtime.ToolRunner\n```\nToolRunner is the runner a surface attaches to a context it drives outside any plan — the prompt's action debugger — so a tool-computed action it steps is put to the registry as a Compute question under the selection, as one performed inside a plan is. Divergence between equal-input answers is remembered for as long as the runner is attached.\n\n```go\ntype Reply struct {\n\t// Format names how the reply is read; empty reads the `object` protocol.\n\tFormat ReplyFormat `json:\"format,omitempty\"`\n\t// Source is `stdout` or `file:\u003ctemplate\u003e`; the template may name {outputDir} alone.\n\tSource string `json:\"source,omitempty\"`\n\t// Outputs maps each tool variable to the selector finding its value; required for\n\t// every format but `object`.\n\tOutputs map[string]*ReplyOutput `json:\"outputs,omitempty\"`\n\t// Header is whether the first CSV record names the columns; default true.\n\tHeader *bool `json:\"header,omitempty\"`\n\t// Delimiter is the CSV field separator, one rune; default a comma.\n\tDelimiter string `json:\"delimiter,omitempty\"`\n\t// Regex is an RE2 expression whose named groups are the `lines` outputs.\n\tRegex string `json:\"regex,omitempty\"`\n\t// Success are the `exitcode` statuses that render true; default [0].\n\tSuccess []int `json:\"success,omitempty\"`\n\t// ErrorPath is a `json` pointer to the tool's own refusal message.\n\tErrorPath string `json:\"errorPath,omitempty\"`\n\t// ErrorColumn is the `csv` column holding the same.\n\tErrorColumn *Column `json:\"errorColumn,omitempty\"`\n\t// ErrorKey is the `lines` key holding the same.\n\tErrorKey string `json:\"errorKey,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\nReply is a tool entry's \\`reply\\` block: where the reply is read from and where each output is found in it. Absent, or \\`format: \"object\"\\`, the reply is the protocol's JSON object.\n\n```go\ntype ReplyFormat string\n```\nReplyFormat is how a tool's reply is read once the process has run.\n\n```go\nconst (\n\t// ReplyObject is the protocol's one JSON object, the default.\n\tReplyObject ReplyFormat = \"object\"\n\t// ReplyJSON reads each output by an RFC 6901 pointer into one JSON value.\n\tReplyJSON ReplyFormat = \"json\"\n\t// ReplyCSV reads each output as a cell of a CSV record.\n\tReplyCSV ReplyFormat = \"csv\"\n\t// ReplyLines reads each output as the value of a `key = value` line or a regex group.\n\tReplyLines ReplyFormat = \"lines\"\n\t// ReplyExitCode is the process's exit status as the one output.\n\tReplyExitCode ReplyFormat = \"exitcode\"\n)\n```\n\n```go\ntype ReplyOutput struct {\n\t// Path is the `json` RFC 6901 pointer to the value; the empty pointer names the document.\n\tPath *string `json:\"path,omitempty\"`\n\t// Column is the `csv` column: a header name or a zero-based index.\n\tColumn *Column `json:\"column,omitempty\"`\n\t// Row selects among the CSV data records: `first`, `last` or a zero-based index.\n\tRow *Row `json:\"row,omitempty\"`\n\t// Key is the `lines` key; default the variable's name.\n\tKey string `json:\"key,omitempty\"`\n\t// Type is what the text is read as; default `number` (`exitcode`: `boolean`).\n\tType ValueType `json:\"type,omitempty\"`\n\t// Unit is the value's unit as a fixed expression.\n\tUnit string `json:\"unit,omitempty\"`\n\t// UnitPath is a `json` pointer to a string holding the unit.\n\tUnitPath string `json:\"unitPath,omitempty\"`\n\t// UnitColumn is the `csv` column holding the unit, read from the same row.\n\tUnitColumn *Column `json:\"unitColumn,omitempty\"`\n}\n```\nReplyOutput is one output's selector; which fields are read depends on the format.\n\n```go\ntype Reporter func(ProgressReport)\n```\nReporter takes the progress reports a plan's external engines send, at most one per ProgressInterval per open run; the surface that installs one prints them.\n\n```go\nfunc ReporterFrom(ctx context.Context) Reporter\n```\nReporterFrom is the reporter WithReporter installed, nil when none was.\n\n```go\ntype Request struct {\n\tModel     *Model\n\tSubject   string\n\tSchedule  runtime.SchedulePolicy\n\tModelSeed ModelSeed\n\tDraws     runtime.DrawPolicy\n\tClockStep float64\n\tBudget    Budget\n\tSelection Selection\n}\n```\nRequest is what every question put to the registry carries: the model it is asked of, the subject, schedule, model seed, draw policy and clock step it runs under, and the budget and selection it is answered with.\n\n```go\ntype Result struct {\n\tQuestion Question\n\t// Engine names who answered, and its version where it has one.\n\tEngine string\n\t// Claim is what is asserted.\n\tClaim Claim\n\t// Strength is how the claim is supported.\n\tStrength Strength\n\t// Bounds is every bound the run took, and which were reached.\n\tBounds Bounds\n\t// Witness is a schedule the interpreter replays, when the claim has one.\n\tWitness *Witness\n\t// Contrast is the second schedule of a sensitivity: replayed beside Witness, it gives the\n\t// named feature another value. Nil for every other claim.\n\tContrast *Witness\n\t// Executions are the concrete executions a universal claim was observed on when an\n\t// engine chose them and the interpreter replayed each; nil when none were.\n\tExecutions []Witness\n\t// Inputs are the features of the initial state a symbolic engine ranged over\n\t// or pinned, each with its domain and, for a witness, its value.\n\tInputs []Input\n\t// Assumptions name the constraints assumed over the initial state.\n\tAssumptions []string\n\t// Reason says why, when nothing is claimed: the construct, the unknown,\n\t// the budget, the disagreement.\n\tReason string\n\t// Scope is the reasons the claim was observed short of the run's quiescence: it\n\t// holds at that point, and its strength stands.\n\tScope []runtime.ObservationReason\n\t// Values are the feature values, outputs, rows or answers the question asked for.\n\tValues []Evaluation\n\t// Reply is the canonical rendering of every output an external process answered when\n\t// the engine ran one for a Compute; invocations of equal inputs compare by it.\n\tReply   string\n\tElapsed time.Duration\n\t// Workers is how many workers the plan built for the engine's runs, and Warming the\n\t// time building them took; a plan in the surface's own context builds none.\n\tWorkers int\n\tWarming time.Duration\n}\n```\nResult is what one engine answered to one question.\n\n```go\nfunc (r Result) Check() *Checked\n```\nCheck is what the check engine found, nil for another engine's result.\n\n```go\nfunc (r Result) Covered() bool\n```\nCovered reports whether the result claims anything.\n\n```go\nfunc (r Result) Exploration() *runtime.Exploration\n```\nExploration is the outcome set an Outcomes result reached, nil for any other result.\n\n```go\nfunc (r Result) Standing() string\n```\nStanding is the line a report prints after a verdict: the claim, the strength it earned, and what earned it — \\`holds (observed: 1 run under reverse)\\`, \\`not covered (\\\u003creason\u003e)\\`.\n\n```go\nfunc (r Result) Table() sweep.SweepTable\n```\nTable is the rows of a Sweep result as runtime.RunSweep tables them.\n\n```go\ntype Row struct {\n\tKind  RowKind\n\tIndex int\n}\n```\nRow selects among the CSV data records.\n\n```go\nfunc (r Row) MarshalJSON() ([]byte, error)\n```\nMarshalJSON writes the row as it is read: a name, or the index as a JSON integer.\n\n```go\nfunc (r Row) String() string\n```\nString spells the row for an error.\n\n```go\nfunc (r *Row) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON reads \\`first\\`, \\`last\\`, \\`all\\` or a zero-based index.\n\n```go\ntype RowKind int\n```\nRowKind is which data records a row selector picks.\n\n```go\nconst (\n\t// RowFirst is the first data record.\n\tRowFirst RowKind = iota\n\t// RowLast is the final one, the default.\n\tRowLast\n\t// RowIndex is the zero-based nth.\n\tRowIndex\n\t// RowAll is every data record in order; the output is a sequence of them.\n\tRowAll\n)\n```\n\n```go\ntype Selection struct {\n\tMode Mode\n\t// Engine is the one engine a SelectNamed selection puts the question to.\n\tEngine string\n}\n```\nSelection is the engine choice a surface makes: \\`auto\\`, \\`all\\`, or one engine by name.\n\n```go\nfunc All() Selection\n```\nAll is the selection that runs every covering engine.\n\n```go\nfunc Auto() Selection\n```\nAuto is the selection every surface makes when none is stated.\n\n```go\nfunc Only(engine string) Selection\n```\nOnly is the selection of the one engine named.\n\n```go\nfunc ParseSelection(text string) Selection\n```\nParseSelection reads a selection as a flag spells it; empty is \\`auto\\`, which is what an unset field means on the wire.\n\n```go\nfunc (s Selection) String() string\n```\nString spells the selection as a flag takes it: \\`auto\\`, \\`all\\`, or the engine's name.\n\n```go\ntype SessionEndedError struct {\n\tEngine string\n\tErr    error\n}\n```\nSessionEndedError reports a request after the session ended, with why it ended.\n\n```go\nfunc (e *SessionEndedError) Error() string\n```\nError names the engine and the end.\n\n```go\nfunc (e *SessionEndedError) Is(target error) bool\n```\nIs matches ErrSessionEnded.\n\n```go\nfunc (e *SessionEndedError) Unwrap() error\n```\nUnwrap is why the session ended.\n\n```go\ntype SolveAsk struct {\n\tQueries []*solve.Query\n\tAsk     Asking\n}\n```\nSolveAsk is the queries a satisfiability question puts to a solver, one per condition set, and how each is asked.\n\n```go\ntype Start func(*runtime.Context) (*runtime.ActionExecutor, error)\n```\nStart begins one run of a behavior in the given context and returns the executor about to run it. An error is a fault of the start, not an outcome of the run.\n\n```go\ntype Status struct {\n\tEngine string\n\t// Process names the process found; empty for an in-process engine or an absent one.\n\tProcess string\n\t// Err is the absence of the process, nil when the engine can run.\n\tErr error\n}\n```\nStatus is an engine as the registry lists it: for one that needs a process, the process found or the typed error for its absence.\n\n```go\ntype StdinFormat string\n```\nStdinFormat is what a tool with an invocation block reads on standard input.\n\n```go\nconst (\n\t// StdinJSON is the protocol's request object, as a tool without the block reads.\n\tStdinJSON StdinFormat = \"json\"\n\t// StdinNone writes nothing.\n\tStdinNone StdinFormat = \"none\"\n\t// StdinCSV writes one header row and one row of the inputs sent.\n\tStdinCSV StdinFormat = \"csv\"\n\t// StdinTemplate writes the manifest's template, rendered for the call.\n\tStdinTemplate StdinFormat = \"template\"\n)\n```\n\n```go\ntype StdinSpec struct {\n\tFormat   StdinFormat\n\tTemplate string\n}\n```\nStdinSpec is the \\`stdin\\` field: one of the format names as a string, or \\`{\"template\": \"...\"}\\` for text composed from the call.\n\n```go\nfunc (s StdinSpec) MarshalJSON() ([]byte, error)\n```\nMarshalJSON writes the spec as it is read.\n\n```go\nfunc (s *StdinSpec) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON reads the format name or the template object.\n\n```go\ntype Step struct {\n\tEngine string\n\t// Refusal is why Covers refused, nil when the engine ran.\n\tRefusal error\n\t// Result is what Run answered, nil when the engine refused, faulted or was cancelled.\n\tResult *Result\n\t// Err is the fault that stopped the plan at this engine: what Run reported, or the\n\t// context's error when it was met before the engine ran or before its answer was taken.\n\tErr error\n\t// Cancelled marks an engine the plan under all stopped before it answered: the one\n\t// that met the deadline, and every one not finished by then.\n\tCancelled bool\n\t// Bounds is the bound a cancelled engine reached: the plan's deadline, when one was set.\n\tBounds Bounds\n}\n```\nStep is one engine's part in a plan: a refusal before running, the result it answered, the fault that stopped the plan, or its cancellation under all.\n\n```go\nfunc (s Step) Standing() string\n```\nStanding is one step as the plan's standing lists it: what the engine answered, refused with, faulted on, or was cancelled at.\n\n```go\ntype Strength int\n```\nStrength is how a claim is supported, ranked so a greater Strength is never weaker evidence: Proved \u003e Bounded \u003e Witnessed (the one strength of an existential) \u003e Observed \u003e NotCovered.\n\n```go\nconst (\n\t// NotCovered claims nothing: a refusal, a solver unknown, a budget reached\n\t// without completing, a witness that did not replay.\n\tNotCovered Strength = iota\n\t// Observed means the claim held on the concrete executions that were run,\n\t// which fixed something the question left free.\n\tObserved\n\t// Witnessed means a concrete execution exhibits the claim and the\n\t// interpreter has replayed it.\n\tWitnessed\n\t// Bounded means the claim holds for everything free within the stated\n\t// bounds, which the result names.\n\tBounded\n\t// Proved means the claim holds for everything the question left free, with\n\t// no bound reached.\n\tProved\n)\n```\n\n```go\nfunc ParseStrength(text string) (Strength, bool)\n```\nParseStrength reads a strength as Strength.String spells it.\n\n```go\nfunc (s Strength) String() string\n```\nString names the strength as a report prints it.\n\n```go\ntype SubjectError struct {\n\tEngine   string\n\tSubject  string\n\tFamily   string\n\tSubjects []string\n}\n```\nSubjectError reports a question about a subject whose declaration kind is outside the entry's subjects; Family is the kind found, empty for a subject the model does not declare.\n\n```go\nfunc (e *SubjectError) Error() string\n```\nError names the engine, the subject with its kind, and the kinds the engine answers for.\n\n```go\nfunc (e *SubjectError) Is(target error) bool\n```\nIs matches ErrSubject.\n\n```go\ntype SweepAsk struct {\n\tPlan sweep.SweepPlan\n\tRow  sweep.SweepRun\n}\n```\nSweepAsk is the plan of a sweep and the run of one row of it.\n\n```go\ntype ToolAbsentError struct {\n\tTool       string\n\tExecutable string\n\tErr        error\n}\n```\nToolAbsentError reports a registered tool whose executable is not found.\n\n```go\nfunc (e *ToolAbsentError) Error() string\n```\nError names the tool and its executable.\n\n```go\nfunc (e *ToolAbsentError) Is(target error) bool\n```\nIs matches ErrToolAbsent.\n\n```go\nfunc (e *ToolAbsentError) Unwrap() error\n```\nUnwrap returns the lookup's report.\n\n```go\ntype ToolDryRunError struct {\n\t// Preview is what the call would have been given.\n\tPreview DryRun\n\t// Action is the ToolExecution-annotated action the call was made for.\n\tAction string\n}\n```\nToolDryRunError fails the performance a dry run reached a tool call in; surfaces read the preview from it.\n\n```go\nfunc (e *ToolDryRunError) Error() string\n```\nError says the tool was previewed, not run.\n\n```go\nfunc (e *ToolDryRunError) Is(target error) bool\n```\nIs matches ErrToolDryRun.\n\n```go\ntype ToolEntry struct {\n\t// File is the manifest entry the tool was read from; empty for one built in code.\n\tFile string `json:\"-\"`\n\t// Kind is `tool` or absent.\n\tKind EntryKind `json:\"kind,omitempty\"`\n\t// ToolName is what a ToolExecution's toolName names.\n\tToolName string `json:\"toolName\"`\n\t// Version is the tool's, reported beside its executable.\n\tVersion string `json:\"version,omitempty\"`\n\t// Executable runs the tool: an absolute path, a path relative to the manifest directory,\n\t// or a name looked up on PATH.\n\tExecutable string `json:\"executable\"`\n\t// Variables are the ToolVariable names the tool accepts.\n\tVariables []string `json:\"variables\"`\n\t// Invocation composes the process from the call; nil runs the executable bare with the\n\t// JSON request on standard input.\n\tInvocation *Invocation `json:\"invocation,omitempty\"`\n\t// Reply says how the process's reply is read; nil reads the protocol's one JSON object\n\t// from standard output.\n\tReply *Reply `json:\"reply,omitempty\"`\n}\n```\nToolEntry is one entry of the tool manifest: the tool a ToolExecution names, its version, the executable that answers for it, and the tool-variable names it accepts.\n\n```go\nfunc LoadManifest(dir string) ([]ToolEntry, error)\n```\nLoadManifest reads the tool entries of the manifest in dir: every \\`.json\\` file is one entry. A directory that cannot be read, an entry that is not one JSON object of its kind's fields, an entry without a toolName, executable or variables, one listing a variable twice, or two entries naming one tool is a ManifestError. Entries come back in tool-name order; entries of the other kinds are read and checked but not returned.\n\n```go\nfunc (e ToolEntry) Accepts(variable string) bool\n```\nAccepts reports whether the tool accepts the tool variable named.\n\n```go\nfunc (e ToolEntry) Preview(call *runtime.ToolCall, executable string) (DryRun, error)\n```\nPreview composes the call for the entry without making a temporary directory or starting anything: {inputFile} and {outputDir} spell their names in angle brackets.\n\n```go\nfunc (e ToolEntry) Protocol() string\n```\nProtocol names how the tool is spoken to, as an engine listing reports it: \\`object\\` for one JSON object each way, \\`argv+\\\u003cstdin\u003e\\` for a process composed from an invocation block, and for a reply of another format the format alone or \\`argv+\\\u003cstdin\u003e/\\\u003cformat\u003e\\`.\n\n```go\ntype ToolUse struct {\n\tTool, Version, File, Executable string\n\t// Args are the argv entries after the executable, nil for an entry without an\n\t// invocation block.\n\tArgs []string\n\t// Stdin is the request an entry without an invocation block read.\n\tStdin []byte\n\t// Failed is the failure the call ended with, empty when it answered.\n\tFailed string\n\t// contains filtered or unexported fields\n}\n```\nToolUse is one tool call a plan made: the entry it went to and what was run.\n\n```go\nfunc (u ToolUse) String() string\n```\nString spells the call as one line: \\`ThermalSolver 2.3 from /etc/opensysml/tools/thermal.json: /usr/bin/python3 solve.py --mass 12.5\\`.\n\n```go\ntype ToolVariableError struct {\n\tTool      string\n\tVariables []string\n}\n```\nToolVariableError reports the tool variables a call uses that the tool's entry does not list.\n\n```go\nfunc (e *ToolVariableError) Error() string\n```\nError names the tool and the variables.\n\n```go\nfunc (e *ToolVariableError) Is(target error) bool\n```\nIs matches ErrToolVariable.\n\n```go\ntype UnansweredRunError struct {\n\tEngine   string\n\tProgress enginewire.ProgressParams\n\tErr      error\n}\n```\nUnansweredRunError is why a run ended unanswered, with the last progress it reported.\n\n```go\nfunc (e *UnansweredRunError) Error() string\n```\nError names the end and the last progress.\n\n```go\nfunc (e *UnansweredRunError) Is(target error) bool\n```\nIs matches ErrUnansweredRun.\n\n```go\nfunc (e *UnansweredRunError) Unwrap() error\n```\nUnwrap is the end itself.\n\n```go\ntype UnknownEngineError struct {\n\tName string\n\t// Known is every registered name, so the message can list the choices.\n\tKnown []string\n}\n```\nUnknownEngineError reports a selection naming an engine the registry does not hold.\n\n```go\nfunc (e *UnknownEngineError) Error() string\n```\nError names the engine and lists the registered ones.\n\n```go\nfunc (e *UnknownEngineError) Is(target error) bool\n```\nIs matches ErrUnknownEngine.\n\n```go\ntype ValueType string\n```\nValueType is what an output's text is read as.\n\n```go\nconst (\n\t// TypeNumber is an Integer when the text is one, else a finite Real.\n\tTypeNumber ValueType = \"number\"\n\t// TypeInteger is an Integer alone.\n\tTypeInteger ValueType = \"integer\"\n\t// TypeReal is a finite Real, an integer literal included.\n\tTypeReal ValueType = \"real\"\n\t// TypeBoolean is `true`/`false`, case-insensitive.\n\tTypeBoolean ValueType = \"boolean\"\n\t// TypeString is the text as written.\n\tTypeString ValueType = \"string\"\n)\n```\n\n```go\ntype WireValueError struct {\n\tName string\n\tHeld string\n}\n```\nWireValueError names a value the protocol does not carry.\n\n```go\nfunc (e *WireValueError) Error() string\n```\nError names the value and what it holds.\n\n```go\nfunc (e *WireValueError) Is(target error) bool\n```\nIs matches ErrWireValue.\n\n```go\ntype Withheld interface {\n\tEngine\n\tWithheld() error\n}\n```\nWithheld is an engine a registry lists but does not run, with the typed reason.\n\n```go\ntype Witness struct {\n\tSchedule runtime.SchedulePolicy\n\tInputs   []runtime.InputTaken\n\t// Draws are the random values the execution drew, in the order drawn.\n\tDraws   []runtime.DrawTaken\n\tChoices []runtime.ChoiceTaken\n\t// Written is the file the witness was written to, \"\" when none was asked for.\n\tWritten string\n}\n```\nWitness is an execution the interpreter replays to exhibit a claim: the policy it ran under, the inputs it fixed before its first move and the choices it took.\n\n```go\ntype WitnessKind string\n```\nWitnessKind is the shape of witness an engine's manifest declares it produces.\n\n```go\nconst (\n\t// WitnessNone declares no replayable witness; an existential claim is then not covered.\n\tWitnessNone WitnessKind = \"none\"\n\t// WitnessSchedule declares schedule witnesses in the replay format.\n\tWitnessSchedule WitnessKind = \"schedule\"\n\t// WitnessAssignment declares assignment witnesses: values of the free features.\n\tWitnessAssignment WitnessKind = \"assignment\"\n)\n```\n\n```go\ntype Worker struct {\n\tModel *runtime.Model\n\t// Warming is the time building the worker took: the cost of one more worker.\n\tWarming time.Duration\n}\n```\nWorker is one model-derived runtime part — resolver, semantic model and the runtime's memo tables — over the shared frozen index; all memoize into plain maps, so a worker serves one plan's runs, one at a time, and never another plan's.\n\n```go\ntype WrongToolError struct {\n\tEngine string\n\tTool   string\n}\n```\nWrongToolError reports a Compute question put to the engine of a tool it does not name.\n\n```go\nfunc (e *WrongToolError) Error() string\n```\nError names the engine and the tool the call named.\n\n```go\nfunc (e *WrongToolError) Is(target error) bool\n```\nIs matches ErrWrongTool.\n\n","path":"github.com/Open-MBEE/OpenSysML/internal/exec/analysis","name":"analysis","synopsis":"Package analysis is the analysis framework: one contract every way of answering a question about a model implements, one scale for the strength of an answer, a registry of engines and the dispatch that turns a question into the engines that answer it.","isRedistributable":true}
