Skip to content
YosoiDocs

SurfacePolicy

yosoi.surface.SurfacePolicy

class SurfacePolicy(ImmutableModel):

Evidence retention and output bounds shared across source connections.

Source: python/yosoi/surface.py:1092

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

archive: ArchivePolicy = Field(default='off', description='Portable outcome retention, disabled by default.')
archive_limits: ArchiveLimits = Field(default_factory=ArchiveLimits, description='Evidence limits independent of response budgets.')
archive_root: Path | None = Field(default=None, description='Durable checkpoint store; otherwise owned temporary storage.')
output: Path | None = Field(default=None, description='Durable trace directory; otherwise owned temporary files.')