NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
migration.h File Reference

Explicit compatibility plans between admitted Program versions. More...

#include <neograph/api.h>
#include <neograph/program/version.h>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for migration.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  neograph::program::MigrationDiagnostic
 Stable, machine-readable evidence for one migration dimension. More...
 
struct  neograph::program::MigrationMapping
 Narrow, explicit mapping retained for a compatible migration dimension. More...
 
class  neograph::program::MigrationPlan
 Immutable proof of whether an admitted run may move to another version. More...
 
struct  neograph::program::StoredArtifactClassificationRule
 Explicit policy result; adapters must not infer a compiler from JSON shape. More...
 

Enumerations

enum class  neograph::program::MigrationCompatibility : std::uint8_t {
  NewRunsOnly , ForkCompatible , DrainOnly , OperatorReconciliation ,
  Blocked , Compatible = ForkCompatible , OwnerMismatch = 5 , CompilerMismatch = 6 ,
  RegistryMismatch = 7 , MaterializationMismatch = 8
}
 
enum class  neograph::program::MigrationDimension : std::uint8_t { }
 Contract dimension covered by a migration proof or rejection. More...
 
enum class  neograph::program::StoredArtifactClassification : std::uint8_t
 Classification of a retained legacy source artifact at the authoring cutover boundary. More...
 
enum class  neograph::program::StoredArtifactKind : std::uint8_t
 Stored source families to which the cutover rules apply.
 

Detailed Description

Explicit compatibility plans between admitted Program versions.

Definition in file migration.h.

Enumeration Type Documentation

◆ MigrationCompatibility

enum class neograph::program::MigrationCompatibility : std::uint8_t
strong
Enumerator
NewRunsOnly 

The version is admitted for new invocations only; pinned runs drain.

ForkCompatible 

The exact source checkpoint may be projected to the target version.

DrainOnly 

Existing source runs drain, but no checkpoint fork is published.

OperatorReconciliation 

A human/operator must reconcile durable state before migration.

Blocked 

The transition is not safe under the v1 contract.

Definition at line 63 of file migration.h.

◆ MigrationDimension

enum class neograph::program::MigrationDimension : std::uint8_t
strong

Contract dimension covered by a migration proof or rejection.

Enumerator
Compiler 

Additional dimensions are appended to preserve persisted ordering.

Schema 

Explicit state-contract coverage appended for generation migration.

Definition at line 85 of file migration.h.

◆ StoredArtifactClassification

enum class neograph::program::StoredArtifactClassification : std::uint8_t
strong

Classification of a retained legacy source artifact at the authoring cutover boundary.

These values are deliberately independent from MigrationCompatibility: they describe whether a stored source may be translated, drained on its exact old runtime, or must be rejected.

Definition at line 25 of file migration.h.