Glossary
Concise definitions of Netherframe concepts and terms, listed alphabetically.
Address
The unique state identifier of a construct within an app:
<stack>.<resource_type>.<resource_id> (for example, network.aws_vpc.main),
<stack>.data.<type>.<id> for a data source, <stack>.ephemeral.<type>.<id> for an
ephemeral resource, and <stack>.output.<id> for an output.
Adoption
Bringing an existing cloud or service object under Netherframe management as a reviewed
import plan action—requested explicitly via import_from(), LifecycleRules(adopt=...),
or an adoption manifest (--adopt-from).
App
The root construct (nf.core.App) of a Netherframe deployment. Owns one or more stacks,
execution settings, app-wide checks, and a hybrid state backend.
App Check
A run-level Python validation declared with app.check(fn, phase=...) that runs at
prerequisites, plan, apply, or finalize.
App Input
A type-annotated parameter of an app factory function (def web(env: str = "dev") -> App),
supplied via ++name=value, ++@file, or Project(inputs=...). Deployment inputs are
recorded in state on apply and reused automatically on nf destroy.
Backend
The storage system that persists state, locking, checkpoints, and run records across runs (for example, local file, S3, GCS, Azure Blob, Consul, HCP Terraform, or PostgreSQL).
Construct
Any node in the Netherframe object tree (App, Stack, Provider, Resource,
DataSource, EphemeralResource, Output, or a user-defined Construct subclass).
Cross-Stack Reference
An attribute reference (vpc.output.id) used by a resource in one stack that points to a
construct in another stack of the same app.
Data Source
A read-only provider construct (DataSource) that queries existing external information
without managing its lifecycle.
Deferred Change
A planned change whose provider configuration or import ID depends on a value not yet known at plan time. Deferred changes are planned and applied in subsequent rounds once their prerequisites exist.
Document State
State stored as a single versioned JSON document identified by a lineage and monotonic
serial, protected by locking and compare-and-swap writes.
Ephemeral Resource
A short-lived provider construct (EphemeralResource) opened during a run and closed when
it ends. Its values may flow only to write-only arguments or other ephemeral resources,
never to plans, outputs, or state.
Finalizer
An app check registered with phase="finalize" that runs under the state lock after every
apply or destroy (regardless of outcome) to verify final state and record Evidence
references. Unfinished runs from hard crashes are resumed with nf state verify.
Graph State
Hybrid-only row-level state stored in PostgreSQL (PostgreSQLGraphBackend). Commits each
resource individually, records every mutating provider call as a fenced operation, and
supports --concurrent-applies and --graph-plan-scope affected with retained baselines.
Hybrid Execution
Netherframe's default execution mode (apps in [tool.nf].apps), where nf communicates
directly with Terraform provider binaries over gRPC (tfplugin5/tfplugin6) and owns
planning, state, checks, and recovery—without requiring Terraform or OpenTofu.
Legacy Compatibility
The synthesis workflow (nf synth, [tool.nf].terraform_apps / legacy_apps) that
exports Terraform JSON under .nf.out/ for execution by an external Terraform or OpenTofu
binary.
nf_autoid
The opt-in Python source codec (# coding: nf_autoid from netherframe.codec.autoid)
that injects nf_id automatically from explicit Bind type annotations and BindContext
blocks.
Phase
An ordered execution step produced by Netherframe's phase planner to break circular resource dependencies.
Provider
A construct (Provider or generated class such as AwsProvider) configuring credentials,
region, endpoint, and alias for a Terraform provider binary.
Recovery Strategy
Policy (CHECKPOINT, ROLLBACK, or NONE) governing how hybrid execution responds to a
failed or interrupted apply/destroy. CHECKPOINT (default) retains a pre-run state
snapshot; ROLLBACK deletes resources created by the failing apply.
Retention (LifecycleRules(retain=...))
A hybrid lifecycle rule that keeps a resource and its state entry through nf destroy,
protects its dependency closure, reads it back from the provider, and runs its
@retained_check validators.
Runtime Value
A deferred placeholder (RuntimeValue) returned when reading an attribute of a construct
(such as bucket.output.id) before the infrastructure exists, carrying dependency edges
and expression ASTs through planning and apply.
Saved Plan
An immutable JSON artifact written by nf plan --out FILE and applied with
nf apply --plan-file FILE, protected by a SHA-256 content_digest, state
serial/lineage/fingerprint, provider fingerprints, input digests, and declared app checks.
Stack
A named grouping (nf.core.Stack) of providers, resources, data sources, and outputs
inside an App.
Synthesis
The process of serializing a Netherframe construct tree into Terraform-compatible JSON or
HCL files under .nf.out/.
Teardown Input (Teardown[T])
An app factory parameter annotated with Teardown[T] that is never recorded in state and
is verified at runtime to affect only lifecycle policy (retain, prevent_destroy),
never the deployed resource shape.