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

The public authoring boundary and stored-artifact migration rules. More...

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

Go to the source code of this file.

Classes

struct  neograph::program::JavaScriptPublicationRequest
 A direct JavaScript publication request. More...
 

Enumerations

enum class  neograph::program::AuthoringFrontend : std::uint8_t
 The only source frontends admitted for new publication.
 

Functions

NEOGRAPH_PROGRAM_API StoredArtifactClassificationRule neograph::program::classify_stored_artifact (StoredArtifactKind kind, bool translated, bool exact_legacy_runtime, bool recoverable_run)
 Build the explicit cutover rule for a retained legacy artifact.
 
NEOGRAPH_PROGRAM_API ProgramBundle neograph::program::compile_javascript (const ProgramCompiler &compiler, JavaScriptPublicationRequest request)
 Compile a JavaScript define()/main() module through the direct API.
 
NEOGRAPH_PROGRAM_API ProgramVersion neograph::program::publish_javascript (const ProgramCompiler &compiler, ProgramCatalog &catalog, JavaScriptPublicationRequest request, ProgramAdmission admission)
 Compile and admit one JavaScript define()/main() module through the direct API.
 

Detailed Description

The public authoring boundary and stored-artifact migration rules.

JavaScript is the public source language. The direct C++ API remains a trusted embedding surface, while the JSON values carried by ProgramSource, bundles, and journals remain canonical data rather than another source language.

Definition in file authoring.h.

Function Documentation

◆ classify_stored_artifact()

NEOGRAPH_PROGRAM_API StoredArtifactClassificationRule neograph::program::classify_stored_artifact ( StoredArtifactKind  kind,
bool  translated,
bool  exact_legacy_runtime,
bool  recoverable_run 
)

Build the explicit cutover rule for a retained legacy artifact.

translated is true only when deterministic equivalence evidence has been accepted. A legacy artifact without that proof is drain-only only when an exact legacy runtime is still available for a recoverable/pinned run; otherwise it is rejected. No rule performs shape-based source selection.

References neograph::program::classify_stored_artifact().

Referenced by neograph::program::classify_stored_artifact().