Knotrel Docs

Stability classification

Status: APPROVED by the maintainer on 2026-11-21 (roadmap item 0.9.4); applies from v0.9.0. Classes and rules: compatibility.md. This list covers every public surface on main as of 2026-11-21; a surface not listed is internal.

Corrections of 2026-11-22 (v1.0 contract freeze, maintainer decisions 1, 2, 3 and 8 of the freeze review): #[non_exhaustive] on five types, router_with_lifecycle Stable, the public dependencies of knotrel-server, and the classification corrections R6–R8, H8, C1, C2 and M2. Every item that moves from Stable to Experimental is listed in Reclassified from Stable to Experimental; nothing else was narrowed.

Later decisions of 2026-11-22 (freeze review, section 7.1): LifecycleGraph::storage_stats stays Stable and LifecycleStorage becomes Stable with it; every public ETT and HDT interface becomes Stable as a stable interface of an experimental engine (compatibility.md). Both are widenings: nothing was narrowed. For the diagnostic structs, the fields, units and the properties documented as guaranteed are stable and the exact values are implementation-dependent (compatibility.md, Diagnostic values).

How the Rust tables are checked

The Rust tables below are checked in CI (job public API, scripts/public-api.py) against the committed public API snapshot (docs/api/public-api-knotrel-core.txt, docs/api/public-api-knotrel-runtime.txt, docs/api/public-api-knotrel-server.txt, docs/api/public-api-knotrel-storage.txt, generated from rustdoc JSON) and the per-item classification docs/api/public-api-classification.txt, which is the machine-readable source of truth:

Editing this document alone cannot satisfy the check: it can only make it fail when it disagrees with the classification file.

Rust: knotrel-core

Item Class Notes
NodeId, Graph, BfsWorkspace Stable Graph: new, add_node, link, cut, connected, connected_with_workspace, node_count, edge_count; degree, neighbors_after and enable_neighbor_listing added in 0.8.0. Limits live on ConnectivityGraph and LifecycleGraph, not on Graph
IncidenceError Stable Added in 0.8.0; #[non_exhaustive] from 1.0
GraphError Stable #[non_exhaustive] from 1.0
GraphLimits Stable Frozen as is: public fields, built with a struct literal; a new field requires a major release
ConnectivityGraph, ConnectivityGraph::new, ConnectivityGraph::with_limits, ConnectivityGraph::try_from_edges, ConnectivityGraph::limits, ConnectivityGraph::engine, ConnectivityGraph::contains_node Stable Every other method too, including From<Graph>
ConnectivityGraph::as_compact, ConnectivityGraph::enable_neighbor_listing Stable Added in 0.8.0
EngineConfig, EngineConfig::CompactBfs, EngineConfig::as_str Stable #[non_exhaustive] from 1.0. as_str returns the stable KNOTREL_ENGINE values
EngineConfig::EulerTour Stable Stable interface, experimental engine (compatibility.md): the ETT variant and its as_str value ett are kept for 1.x; #[non_exhaustive] does not authorize removing it. Experimental only as to performance, maturity and usage recommendation. Experimental before the later decisions of 2026-11-22; before the first corrections of that day this row named EngineConfig::Ett, which does not exist (R7)
ForestGraph, ForestStats Stable Stable interface, experimental engine: every method, field and trait implementation. ForestStats is frozen exhaustive; its fields, units and the properties its rustdoc lists as guaranteed are stable, the exact counter values are implementation-dependent. Experimental before the later decisions of 2026-11-22
EngineConfig::Hdt Stable Stable interface, experimental engine (compatibility.md): the variant and its as_str value hdt are kept for 1.x; #[non_exhaustive] does not authorize removing it. Experimental only as to performance, maturity and usage recommendation. Experimental before the later decisions of 2026-11-22
EngineConfig::ClusterForest Stable New in 1.1. Stable interface, experimental engine (compatibility.md), like EulerTour and Hdt: the variant and its as_str value cluster-forest are kept for 1.x; #[non_exhaustive] does not authorize removing it. Experimental only as to performance, maturity and usage recommendation. The backend type and its statistics are internal (not exported); the engine is reached through ConnectivityGraph and LifecycleGraph (ADR 0014, decision D2)
EngineConfig::is_experimental Stable Reports the experimental engine qualification, not the stability class: false for CompactBfs, true for EulerTour, Hdt and ClusterForest; the value for the experimental engines may stay true for 1.x and becomes false only on a recorded promotion. Experimental before the later decisions of 2026-11-22
HdtGraph, HdtStats, HdtStorageStats, HdtLevelStorage Stable Stable interface, experimental engine: every method, field and trait implementation. HdtStats, HdtStorageStats and HdtLevelStorage are frozen exhaustive; their fields, units and the properties their rustdoc lists as guaranteed are stable, the exact counter and storage values are implementation-dependent. Experimental before the later decisions of 2026-11-22
LifecycleGraph, LifecycleError, NodeSpec, EdgeSpec Stable Lifecycle on compact-bfs and, from 1.1, cluster-forest (topology-lifecycle.md). NodeSpec and EdgeSpec are frozen as is (struct literals; a new field requires a major release); LifecycleError is #[non_exhaustive]
LifecycleGraph::degree, LifecycleGraph::incident_after Stable Added in 0.8.0
ConnectivityGraph::for_each_node, ConnectivityGraph::for_each_edge, LifecycleGraph::for_each_node, LifecycleGraph::for_each_edge Experimental New in 1.3: bulk listing of every vertex and edge (with flags on the lifecycle facade), on every engine, in unspecified order, for snapshots (ADR 0016)
EdgeState, EdgeState::new Stable #[non_exhaustive] from 1.0; EdgeState::new (new in 1.0) builds expected values outside the crate
LifecycleStorage Stable Storage introspection, returned by LifecycleGraph::storage_stats (Stable under the LifecycleGraph row, maintainer decision of 2026-11-22). #[non_exhaustive]: fields may be added. Guaranteed: the fields, their unit (element counts, never bytes), that values are computed at the call, and the relations listed in its rustdoc (catalog_nodes == node_count(), engine_vertices == catalog_nodes + retired_vertices, incident_entries == 2 × edge_count(), capacities at least the logical sizes, engine_vertices <= 2 × catalog_nodes + 1024). Implementation-dependent: capacity values and growth, retention after removals, when retired slots are compacted below that bound. Experimental before the later decisions of 2026-11-22
ReferenceGraph Internal Test oracle; public for the test suites and benchmarks, no promise

Rust: knotrel-server

Item Class Notes
serve, ShutdownOutcome Stable ShutdownOutcome is frozen exhaustive: a new outcome requires a major release
router, router_with_config Stable  
router_with_lifecycle Stable Internal before 1.0. Stable including its readiness behavior during the drain: /ready follows the supplied Lifecycle (503 starting; 200 ready, or the synchronization status in source-managed mode; 503 draining from the start of the drain, whatever the synchronization status), GET/HEAD probes and /metrics scrapes stay answerable while draining, every other request (including another method on those paths) gets 503 shutting_down, all with Connection: close (rustdoc, http-api.md)
ServerConfig, ServerConfig::DEFAULT_*, ServerConfig::MAX_*, ServerMode, ConfigError Stable Constructors, from_env, with_* builders, accessors and constants, except the rows below. ServerMode is frozen exhaustive
ServerConfig::with_inspection, ServerConfig::inspection Experimental With KNOTREL_INSPECTION and the inspection routes (R6; reclassified)
ServerConfig::with_feeder_reserved_jobs, ServerConfig::feeder_reserved_jobs Experimental New in 0.9.0, with KNOTREL_FEEDER_RESERVED_JOBS
ServerConfig::with_max_concurrent_queries, ServerConfig::max_concurrent_queries Experimental New in 1.2, with KNOTREL_MAX_CONCURRENT_QUERIES (B2)
ServerConfig::with_authentication, ServerConfig::authentication Experimental New in 1.3, with KNOTREL_AUTH (ADR 0017)
ServerConfig::with_tenant_quotas, ServerConfig::tenant_max_graphs, ServerConfig::tenant_max_pending_jobs, ServerConfig::tenant_max_executing_jobs Experimental New in 1.3, with KNOTREL_TENANT_MAX_* and the graph resource routes (#155)
ServerConfig::with_snapshot_dir, ServerConfig::snapshot_dir Experimental New in 1.3, with KNOTREL_SNAPSHOT_DIR and POST /v1/snapshots (ADR 0016). with_snapshot_dir opens and locks the directory, and is accepted only in source-managed mode
auth (module), auth::Action, auth::Authentication, auth::Authenticator, auth::Authorizer, auth::Forbidden, auth::GatewayIdentity, auth::IdentityError, auth::PeerRange, auth::Principal, auth::RequestHead, auth::Resource, auth::RoleAuthorizer, auth::TenantId, auth::Unauthenticated, auth::IDENTITY_HEADER_PREFIX, auth::SUBJECT_HEADER, auth::TENANT_HEADER, auth::ROLES_HEADER Experimental New in 1.3: optional authentication extension and gateway-verified identity (ADR 0017, http-api.md). Action and Resource are #[non_exhaustive]
ServerConfig::DEFAULT_FEEDER_RESERVED_JOBS, ServerConfig::MAX_FEEDER_RESERVED_JOBS Experimental With KNOTREL_FEEDER_RESERVED_JOBS (R6; reclassified)
Lifecycle, Phase Stable Phase is #[non_exhaustive] from 1.0
router_with_seeded_version, router_with_seeded_state, GateDecision, WorkerPauseHandle, advance_clock, lock_clock_for_test, reset_clock, percent_decode_position, percent_encode_position Internal Behind the test-support feature: test instrumentation, unsupported in production
Lifecycle::pause_next_worker, Lifecycle::pause_next_worker_after_lock, Lifecycle::pause_next_lock_request, Lifecycle::pause_next_ready_probe, Lifecycle::on_drain_loop, Lifecycle::on_gate Internal Behind the test-support feature

Public dependencies of knotrel-server

The stable Rust API of knotrel-server exposes types of two other crates, which are therefore part of that stable API:

Dependency Exposed in Class
axum 0.8 axum::Router, returned by router, router_with_config and router_with_lifecycle and accepted by serve Stable
tokio 1 tokio::net::TcpListener, accepted by serve; serve and request handling require a Tokio runtime Stable

An embedder passes these values only with the same major versions (axum 0.8, tokio 1). Upgrading either to an incompatible version (axum 0.9, tokio 2) changes these signatures, so it requires a SemVer assessment of Knotrel, recorded in the release notes: it is released as a major version from 1.0 unless the assessment shows that the public API is unchanged. Compatible upgrades (axum 0.8.x, tokio 1.x) are ordinary dependency updates. No other dependency appears in a public signature; the snapshot in docs/api/public-api-knotrel-server.txt shows every foreign type used.

Rust: knotrel-storage

First published with v1.3.0 (with knotrel-runtime; the server and the runtime depend on it). Engine-neutral graph snapshots (ADR 0016; format and store details on #157). The whole public API is Experimental (decision Q7 of 2026-11-29): it may change in a minor release. Stability is re-evaluated after experience with WAL and bounded residency (v1.4.0); promoting any item to Stable requires an explicit maintainer decision recorded on this page. The crate has no dependencies, so no foreign type appears in its API.

Item Class Notes
GraphIdentity, GraphConfig, SourceProgress, ImageHeader, NodeRecord, EdgeRecord Experimental The logical image’s content: public fields, built with struct literals
ImageSource, ImageSink, ImageError Experimental Streaming publication and restore; a sink receives finish only after the checksum verified
LogicalImage, ImageCollector Experimental In-memory image in canonical order (same content, same bytes)
encode, decode, ImageLimits, FORMAT_VERSION, MAX_TEXT_BYTES, MAX_TOKEN_BYTES, MAX_METADATA_ENTRIES, MAX_METADATA_KEY_BYTES Experimental Snapshot format version 1. The byte format itself is versioned separately: a reader rejects unknown versions, and migration is forward-only (#160)
SnapshotStore, SnapshotId, SnapshotInfo, PublishReport Experimental Store interface
LocalStore, LocalStoreOptions, DEFAULT_KEEP Experimental Local filesystem store: OS advisory lock, atomic publication, retention (default keep 2)
StoreError, CorruptKind, Limit, IoOp Experimental Typed errors; the enums are exhaustive, and adding a variant is allowed because the class is Experimental

Exhaustiveness and #[non_exhaustive]

From 1.0, EngineConfig, GraphError, IncidenceError and Phase (enums) and EdgeState (struct) are #[non_exhaustive], like LifecycleError and LifecycleStorage before them: Knotrel may add variants or fields in a minor release, and code outside the crate must match them with a wildcard arm and build EdgeState with EdgeState::new. This was a breaking change against v0.9.0, approved by the maintainer without a deprecation window (none is possible) and declared in the crates’ cargo-semver-checks configuration.

#[non_exhaustive] only allows additions. It does not authorize removing or renaming a public variant, field or engine: removing a stable one remains a breaking change that requires deprecation and a major release (compatibility.md), and an experimental one follows the rules of Experimental items.

ServerMode, ShutdownOutcome, GraphLimits, NodeSpec, EdgeSpec, ForestStats, HdtStats, HdtStorageStats and HdtLevelStorage are frozen as they are: exhaustive, so a new variant or field requires a major release.

Experimental items

Every item classified Experimental here, in docs/api/public-api-classification.txt, or with x-knotrel-stability: experimental in docs/openapi.yaml has these guarantees (compatibility.md):

An experimental engine is not an experimental item. The ETT and HDT interfaces (EngineConfig::EulerTour, ForestGraph, ForestStats, EngineConfig::Hdt, HdtGraph, HdtStats, HdtStorageStats, HdtLevelStorage, EngineConfig::is_experimental, the KNOTREL_ENGINE and /v1/info engine values ett and hdt, engine="ett" and engine="hdt") are Stable: none of them is removed or changed incompatibly in a 1.x release, minor releases included, and #[non_exhaustive] on EngineConfig does not change that. Only the engine’s performance, maturity and usage recommendation are experimental (compatibility.md). EngineConfig::is_experimental and the /v1/info field experimental report that qualification, not a stability class. Their value for an engine may change from true to false in a minor release when the engine is promoted, which the release notes and this page record, and never from false to true for an existing engine.

Rust: knotrel-runtime

First published with v1.3.0. knotrel-runtime (ADR 0015). Its whole public API is Experimental (decision Q7 of 2026-11-29). Stability is re-evaluated after experience with WAL and bounded residency (v1.4.0); promoting any item to Stable requires an explicit maintainer decision recorded on this page.

Item Class Notes
Runtime, RuntimeConfig, GraphHandle, LoadingGraph, Admitted, Job, LockObserver Experimental Registry, lifecycle, pinning and job execution; every method and trait implementation
TenantId, GraphId, IdError Experimental Graph identifier format of decision Q6 (g_ and a lowercase UUID v4; default for the default graph)
AdmissionLimits, Lane, LimitError Experimental Per-graph lanes and query limiter (decision Q4)
GraphStatus, AdmitError, GraphUnavailable, CreateError, LookupError, DeleteError, DeletedWhileLoading, ImportBusy, ImportPermit Experimental GraphStatus and the error enums are #[non_exhaustive]
Deletion, DrainOutcome Experimental Deletion drain (30 s default deadline)
TenantQuotas, TenantUsage Experimental Per-tenant quotas over all of a tenant’s graphs (decision Q4; defaults 16 graphs, 64 pending jobs, executing jobs = available CPUs, maintainer decision of 2026-11-29 on #156); the local default tenant has none
GraphSync::begin_restored_generation, RestoreError Experimental New with snapshots (#157): starts a generation from a restored snapshot exactly like an import; RestoreError is #[non_exhaustive]
GraphSync::source_progress Experimental New with snapshots (#157, ADR 0016): returns knotrel_storage::SourceProgress, so knotrel-storage is a public dependency of this crate, with the same version
GraphSync, SyncStatus, ReadinessWord, StateVersion, CanonicalOp, DedupWindow, DedupEntry, DedupLookup, SessionError, GenerationExhausted Experimental Per-graph synchronization state of a source-managed graph (WP-R PR 3 of #156): state version, generation and source cursor, feeder session and lease, status and readiness word, deduplication window; SessionError is #[non_exhaustive]. SyncStatus names and ReadinessWord layout follow the HTTP contract and the readiness probe
GraphRecord, RecordPatch, RecordError, UpdateError, GraphEntry, GraphPage Experimental Descriptive record of a graph resource and paged listing (WP-G of #155): creation time, record revision, engine and mode tokens, name, description, environment and bounded metadata; RecordError and UpdateError are #[non_exhaustive]
GraphHandle::raw_write, GraphHandle::raw_read, GraphHandle::try_raw_write, GraphHandle::try_raw_read, GraphHandle::set_failure_mark_for_test, GraphHandle::lane_semaphore_for_test, GraphHandle::query_limiter_for_test, GraphSync::fields_mut_for_test, GraphSyncFields Internal Behind the test-support feature: test instrumentation for the server’s unit tests, unsupported in production

Reclassified from Stable to Experimental

Clearly marked list (decision 8 of 2026-11-22). These items were covered by a Stable rule of the 2026-11-21 classification (a blanket row or sentence) and are Experimental from the 2026-11-22 corrections. The maintainer approved each correction on the condition that it is called out here. Nothing else moved from Stable to Experimental. The Rust items of this list are also [[narrowing]] entries in docs/api/public-api-policy.toml, which CI requires for any stable Rust item that is narrowed.

Item Previously Stable through Finding
ServerConfig::with_inspection, ServerConfig::inspection The ServerConfig row (“with_*, accessors”) R6
ServerConfig::DEFAULT_FEEDER_RESERVED_JOBS, ServerConfig::MAX_FEEDER_RESERVED_JOBS The ServerConfig row (“DEFAULT_*/MAX_* constants”) R6
HTTP error codes inspection_disabled, inspection_unsupported, invalid_cursor “Every error code in docs/openapi.yaml is stable” H8
/v1/info field inspection The stable GET /v1/info row H8
Label values route="/v1/nodes", route="/v1/nodes/{node}", route="/v1/nodes/{node}/edges", route="/v1/edges" of knotrel_http_requests_total and knotrel_http_request_duration_seconds, and their series “All 27 families … are stable”, closed label value sets M2

The M2 correction also named the knotrel_build_info label values engine="ett" and engine="hdt". The later decisions of 2026-11-22 made both Stable again (stable interface, experimental engine), so they are not narrowed.

Items that move the other way (now Stable): router_with_lifecycle (Internal before), EngineConfig::as_str, ConnectivityGraph::new, with_limits, limits and engine (unnamed before, R8), LOG_FORMAT (C2) and the console variables KNOTREL_UPSTREAM_TIMEOUT (since renamed KNOTREL_CONSOLE_UPSTREAM_TIMEOUT, v1.0 review item S13), KNOTREL_CONSOLE_LISTEN and KNOTREL_CONSOLE_SERVER_NAMES (C1); from the later decisions of 2026-11-22, LifecycleStorage and every ETT and HDT interface (EngineConfig::EulerTour, ForestGraph, ForestStats, EngineConfig::Hdt, HdtGraph, HdtStats, HdtStorageStats, HdtLevelStorage, EngineConfig::is_experimental, KNOTREL_ENGINE=ett and =hdt, engine="ett" and engine="hdt"), Experimental before.

HTTP API

Route Class Notes
GET /health, GET /ready Stable  
GET /v1/info, GET /v1/stats Stable Fields feeder_reserved_jobs (new in 0.9.0), inspection, authentication and persistence (new in 1.3) of /v1/info, and source_id, source_epoch, applied_delivery_sequence and restored_snapshot (new in 1.3) of /v1/stats: Experimental. The engine values ett, hdt and cluster-forest (new in 1.1) are Stable (stable interface, experimental engine); experimental reports the engine qualification and may stay true for them
POST /v1/operations, POST /v1/batch Stable Including the lifecycle operations
POST /v1/feeder/session, /heartbeat, /import, /events, /barrier, /gap Stable The feeder protocol of the integration contract
GET /v1/nodes, GET /v1/nodes/{node}, GET /v1/nodes/{node}/edges, GET /v1/edges Experimental Inspection routes, opt-in, added in 0.8.0; marked x-knotrel-stability: experimental in docs/openapi.yaml
POST /v1/snapshots Experimental New in 1.3, with KNOTREL_SNAPSHOT_DIR (ADR 0016); marked x-knotrel-stability: experimental
GET /metrics Stable Families: see below

Response headers X-Knotrel-Instance-Id, X-Knotrel-Graph-Id, X-Knotrel-Generation, X-Knotrel-State-Version, X-Knotrel-Source-Position, X-Knotrel-Sync-Status and ETag are stable. Every error code in docs/openapi.yaml is stable except inspection_disabled, inspection_unsupported and invalid_cursor, which only the experimental inspection routes emit and are Experimental, and snapshots_disabled, snapshot_in_progress and snapshot_failed (new in 1.3), which only the experimental snapshot route emits and are Experimental, unauthenticated and forbidden (new in 1.3), which only the experimental authentication extension emits and are Experimental, like the request headers X-Knotrel-Auth-Subject, X-Knotrel-Auth-Tenant, X-Knotrel-Auth-Roles, the reserved X-Knotrel-Auth- prefix and the WWW-Authenticate challenge; message texts are internal.

OpenAPI marks stability per operation only. The experimental /v1/info fields and inspection error codes carry no marker there, so scripts/check-openapi-compat.py treats their removal as breaking: it is done only with an entry in docs/api/approved-breaking-changes.yaml.

Configuration

Variable Class
KNOTREL_ADDR, KNOTREL_ALLOW_NON_LOOPBACK, KNOTREL_MODE, KNOTREL_MAX_PENDING_JOBS, KNOTREL_MAX_NODES, KNOTREL_MAX_EDGES, KNOTREL_MAX_CONNECTIONS, KNOTREL_HEADER_READ_TIMEOUT_MS, KNOTREL_REQUEST_TIMEOUT_MS, KNOTREL_SHUTDOWN_TIMEOUT_MS, KNOTREL_MAX_IMPORT_BODY_BYTES, KNOTREL_DEDUP_WINDOW_SIZE, KNOTREL_METRICS_ENABLED, KNOTREL_TOPOLOGY_LIFECYCLE Stable
KNOTREL_ENGINE Stable for compact-bfs, ett, hdt and cluster-forest (new in 1.1) (ett, hdt and cluster-forest: stable interface, experimental engine, compatibility.md)
KNOTREL_INSPECTION Experimental (with the inspection routes)
KNOTREL_FEEDER_RESERVED_JOBS Experimental (new in 0.9.0)
KNOTREL_AUTH, KNOTREL_AUTH_TRUSTED_PEERS Experimental (new in 1.3, ADR 0017)
KNOTREL_SNAPSHOT_DIR Experimental (new in 1.3, ADR 0016)
LOG_FORMAT Stable: json (any case) selects JSON log lines, any other value or none selects text. The content of log lines is internal
RUST_LOG Internal: filter syntax owned by tracing-subscriber; the default is info
KNOTREL_CONSOLE_* prefix, KNOTREL_UPSTREAM, KNOTREL_UPSTREAM_TIMEOUT Stable: reserved for the console container. The server defines no setting under these names and ignores them (no startup failure), so one environment file can configure both; every other unknown KNOTREL_* name fails startup

Metrics

All 27 families of the observability contract are stable: name, type, unit and label names. Label values documented as closed sets (for example kind, reason, result, lane) are extended only additively. These label values are experimental, with the surfaces they describe:

engine="ett" and engine="hdt" of knotrel_build_info are stable, with the stable interfaces of the experimental engines.

knotrel_build_info{version} is an open set: it carries the crate version.

The lane label of knotrel_graph_jobs_outstanding, knotrel_graph_job_capacity and knotrel_requests_rejected_total (new in 1.0.0, contract section 21) is stable. Its values are a closed set: shared, feeder_data, feeder_control, import, plus none on knotrel_requests_rejected_total for shutting_down and unavailable. For a lane, outstanding and capacity always refer to that same lane, and outstanding never exceeds capacity. Adding the label to these existing families is an approved exception of the 1.0 contract freeze (decision 7), to be listed in the v1.0.0 release notes.

Other artifacts

Artifact Class
Console UI and its container configuration (KNOTREL_CONSOLE_UPSTREAM, KNOTREL_CONSOLE_UPSTREAM_TIMEOUT, KNOTREL_CONSOLE_LISTEN, KNOTREL_CONSOLE_SERVER_NAMES, KNOTREL_CONSOLE_SERVER_LABEL) Stable for configuration; the UI itself carries no API promise. KNOTREL_UPSTREAM and KNOTREL_UPSTREAM_TIMEOUT are deprecated aliases of the two upstream variables, supported throughout 1.x with the precedence rule of console.md; their removal follows the deprecation rule
Console static archive layout Internal
integrations/postgres-feeder (code, settings, positions, exit codes) Example: no promise (compatibility.md)
Log messages and fields Internal