sgns::neoswarm¶
Namespaces¶
Classes¶
| Name | |
|---|---|
| struct | sgns::neoswarm::ChainStep |
| struct | sgns::neoswarm::CognitiveAsset |
| struct | sgns::neoswarm::ELMContext |
| struct | sgns::neoswarm::ExecutionChain |
| struct | sgns::neoswarm::InferenceResponse |
| struct | sgns::neoswarm::KnowledgeFact |
| struct | sgns::neoswarm::MemoryContext |
| struct | sgns::neoswarm::NodeOutput |
| struct | sgns::neoswarm::NodeReputation |
| struct | sgns::neoswarm::PromptFeatures |
| struct | sgns::neoswarm::RouteDecision |
| struct | sgns::neoswarm::Task |
Types¶
| Name | |
|---|---|
| enum class uint8_t | Error |
| enum class uint8_t | ExecutionMode |
| enum class uint8_t | RouteTarget |
| enum class uint8_t | ELMRole |
| enum class uint8_t | MemoryObjectType |
| enum class uint8_t | TrustClass { UNVERIFIED = 0, VERIFIED = 1, PREMIUM = 2, REPLICA = 3} Trust classification for memory objects (GAML v1 — per D-01, D-09) |
| using std::shared_ptr< spdlog::logger > | Logger Logger sgns::base::Logger convention. |
Functions¶
| Name | |
|---|---|
| Logger | CreateLogger(const std::string & tag) Create a named logger for a NEO SWARM component. |
Types Documentation¶
enum Error¶
| Enumerator | Value | Description |
|---|---|---|
| ModelLoadFailed | 1 | |
| InferenceFailed | 2 | |
| TokenizerFailed | 3 | |
| FP4DecodeFailed | 4 | |
| RoutingFailed | 5 | |
| NetworkError | 6 | |
| PeerNotFound | 7 | |
| BroadcastTimeout | 8 | |
| StorageError | 9 | |
| ReputationNotFound | 10 | |
| KnowledgeUnavailable | 11 | |
| FactValidationFailed | 12 | |
| IdentityError | 13 | |
| SignatureInvalid | 14 | |
| InvalidArgument | 15 | |
| NotImplemented | 16 | |
| InternalError | 17 | |
| MemoryNotFound | 18 | D-20: requested memory object not found. |
| MemoryUnavailable | 19 | storage offline but not fatal |
| MemoryIngestionFailed | 20 | failed write evaluation |
| NotLoaded | 21 | ELM/ engine not loaded — cannot process. |
| GcsDbError | 22 | GCS GlobalDB operation failed (init, start, topic wiring) |
| SdkNotInitialized | 23 | GeniusSDKGetNode() returned nullptr — SDK init chain has not run. |
enum ExecutionMode¶
| Enumerator | Value | Description |
|---|---|---|
| SingleNode | 0 | Mode 1 — Core LLM only, fast. |
| Specialist | 1 | Mode 2 — Core + Grammar/Math, sequential. |
| Swarm | 2 | Mode 3 — Multiple nodes, weighted consensus. |
| ElmAssisted | 3 | Mode 2 (doc 07 §9.2) — ELM-assisted sequential chain (Phase 7+) |
enum RouteTarget¶
| Enumerator | Value | Description |
|---|---|---|
| CoreOnly | 0 | |
| CorePlusMath | 1 | |
| CorePlusGrammar | 2 | |
| CorePlusCode | 3 | Future. |
enum ELMRole¶
| Enumerator | Value | Description |
|---|---|---|
| Planner | 0 | Analyses task, determines execution plan. |
| PrimaryDraft | 1 | Core draft generation (shared backbone) |
| Verifier | 2 | Reviews outputs for correctness. |
| Arbiter | 3 | Resolves conflicts between outputs. |
| Refiner | 4 | Polishes formatting, style, grammar. |
| Grounding | 5 | Fact-checks against knowledge base. |
| ToolSupport | 6 | Tool-call formatting (stub in Phase 7) |
| Math | 7 | Domain ELM — math. |
| Code | 8 | Domain ELM — code. |
| Science | 9 | Domain ELM — science (shared-backbone only) |
enum MemoryObjectType¶
| Enumerator | Value | Description |
|---|---|---|
| BRIDGE_BLOCK | 0 | Memory bridge block. |
| FACT | 1 | Declarative fact. |
| POLICY | 2 | Behavioral policy / rule. |
| EVENT | 3 | Temporal event record. |
| TENANT_OPERATIONAL | 4 | Tenant operational data. |
enum TrustClass¶
| Enumerator | Value | Description |
|---|---|---|
| UNVERIFIED | 0 | Default privacy stub (D-09) |
| VERIFIED | 1 | Fact-validated. |
| PREMIUM | 2 | Premium tier. |
| REPLICA | 3 | Replicated from remote. |
Trust classification for memory objects (GAML v1 — per D-01, D-09)
using Logger¶
Logger sgns::base::Logger convention.
Functions Documentation¶
function CreateLogger¶
Create a named logger for a NEO SWARM component.
Parameters:
- tag Component name shown in log output (e.g. "Router", "P2PNode").
Return: Logger instance.
Updated on 2026-10-09 at 03:59:42 +0000