class
RunOutputError
L24class RunOutputError(RuntimeError)Stable fail-closed error raised by the output capability.
fastsim.api.output 的公共 Python API;签名从 FastSim 源码直接提取。
源码 src/fastsim/api/output.pyclass RunOutputError(RuntimeError)Stable fail-closed error raised by the output capability.
class RunOutputPolicy(object)Trusted deployment policy with a pre-opened canonical local root. The descriptor is private and never enters a Run document, ExecutionPlan, lockfile, manifest, or plugin grant. Each composed Run duplicates the pinned descriptor, so the caller may close its policy after ``open_plan`` returns.
class RunOutputCommitReceipt(object)| 字段 | 类型 | 默认值 |
|---|---|---|
| run_id | str | — |
| plugin_instance | str | — |
| transaction_id | str | — |
| logical_name | str | — |
| format | str | — |
| bytes_written | int | — |
| integrity | str | — |
| sha256 | str | None | — |
| committed_monotonic_ns | int | — |
| schema | str | field(default='fastsim-run-output-commit/2', init=False) |
class RunOutputAbortReceipt(object)| 字段 | 类型 | 默认值 |
|---|---|---|
| run_id | str | — |
| plugin_instance | str | — |
| transaction_id | str | — |
| reason_code | str | — |
| bytes_written | int | — |
| preserved_incomplete | bool | — |
| incomplete_logical_name | str | None | — |
| schema | str | field(default='fastsim-run-output-abort/1', init=False) |
class RunOutputValidationReceipt(object)Small format-neutral proof produced by an independent validator worker.
| 字段 | 类型 | 默认值 |
|---|---|---|
| validator_schema | str | — |
| validation_profile | str | — |
| integrity | str | — |
| validated_bytes | int | — |
| content_sha256 | str | None | — |
| footer_identity | str | — |
| schema | str | field(default='fastsim-run-output-validation/2', init=False) |
class RunOutputFileLease(Protocol)class RunOutputReadbackLease(Protocol)class RunOutputTransaction(Protocol)class RunOutputService(Protocol)