Skip to main content

Crate arete_artifacts

Crate arete_artifacts 

Source
Expand description

Versioned public artifacts shared by Arete generators, clients, and the hosted control plane.

Composite stack ASTs are accepted only through decompose_legacy_stack and normalize_legacy_stack_v2. New authoring should construct typed V2 artifacts with author_stack_v2 instead.

Structs§

AuthoredStackV2
InstructionResolutionAdapterV2
LegacyDecomposition
LegacyProgramExtensionsV1
LegacySourceProvenance
LiveSpecArtifact
LiveSpecArtifactV2
LiveSpecReferenceV1
LiveSpecReferenceV2
LiveSpecV1
LiveSpecV2
LoadedArtifact
NormalizedLegacyStackV2
PortableComputedFieldSpec
PortableCondition
PortableConditionExpr
PortableEntity
PortableEntitySection
PortableFieldMapping
PortableFieldPath
PortableFieldTypeInfo
PortableHandlerSpec
PortableIdentitySpec
PortableInstructionHook
PortableLookupIndexSpec
PortableResolvedField
PortableResolvedStructType
PortableResolverCondition
PortableResolverExtractSpec
PortableResolverHook
PortableResolverSpec
PortableUrlResolverConfig
PortableView
ProgramAdapterV2
ProgramRequirementV1
ProgramRequirementV2
ProgramSpecArtifact
ProgramSpecReferenceV1
ProgramSpecReferenceV2
ResolvedLiveSpecV2
ResolvedStackCompositionV2
SelectedViewV1
SelectedViewV2
StackAuthoringV2
StackManifestArtifact
StackManifestArtifactV2
StackManifestV1
StackManifestV2

Enums§

ArtifactError
PortableBaseType
PortableBinaryOp
PortableCompareOp
PortableComparisonOp
PortableComputeFunction
PortableComputedExpr
PortableConditionOp
PortableHookAction
PortableHttpMethod
PortableIntegerKind
PortableKeyResolutionStrategy
PortableLogicalOp
PortableMappingSource
PortableParsedCondition
PortablePopulationStrategy
PortablePredicate
PortablePredicateValue
PortableResolveStrategy
PortableResolverStrategy
PortableResolverType
PortableSortOrder
PortableSourceSpec
PortableTransformation
PortableUnaryOp
PortableUrlSource
PortableUrlTemplatePart
PortableViewOutput
PortableViewSource
PortableViewTransform

Constants§

ARTIFACT_VERSION_V1
COMPATIBLE_AST_VERSIONS
CURRENT_AST_VERSION
DEFAULT_LIVE_ALIAS
LEGACY_NORMALIZER_CONTRACT_V1
LIVE_COMPILER_CONTRACT_V1
LIVE_SPEC_KIND
LIVE_SPEC_SCHEMA_V1
LIVE_SPEC_SCHEMA_V2
LIVE_WIRE_CONTRACT_V1
PROGRAM_SPEC_KIND
STACK_MANIFEST_KIND
STACK_MANIFEST_SCHEMA_V1
STACK_MANIFEST_SCHEMA_V2

Functions§

atomic_write
author_stack_v2
compose_stack_manifest_v2
Compose independently authored LiveSpecs without changing the singular semantics of author_stack_v2.
decompose_legacy_stack
Deterministically decompose the supported composite stack AST into public artifacts. Historical ASTs that predate embedded ProgramSpecV1 values must first be enriched from retained IDL provenance; this adapter never fabricates modern IDL hashes from a lossy snapshot.
default_views
live_spec_v2
load_legacy_stack_value
load_live_spec
load_live_spec_v2
load_program_spec
load_stack_manifest
load_stack_manifest_v2
normalize_legacy_stack_v2
normalize_live_spec_v1
normalize_stack_manifest_v1
normalized_client_name
Comparison key shared by TypeScript property and Rust identifier generation. It intentionally erases case and separators so collisions fail before codegen.
program_spec_v1
resolve_stack_composition_v2
Validate and resolve one portable V2 composition. Supplied LiveSpecs are positional because alias order is part of the manifest contract; supplied ProgramSpecs are resolved by typed hash and may be in any filesystem order.
selected_views
stack_manifest_v2
with_default_views
write_authored_stack_v2