Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/complete-agi-core / mind_farm/include/dna.hpp |
| Date | Not specified in source |
| Repository | Janady13/complete-agi-core |
| Revision | 33aa84f2aa61cedbe010240ada7f4efbdfe795a7 |
| Branch | claude/improve-math-logic-ehIW1 |
| Path or archive member | mind_farm/include/dna.hpp |
| Original SHA-256 | cd31afab265e24d4b52f06bc453976a053abce3bddafd3439241a5dd1e0df2a3 |
| Git blob SHA | 9bbaa7b10f6cc17912dd15da8a66725b58e125b1 |
| Reading-copy SHA-256 | cd31afab265e24d4b52f06bc453976a053abce3bddafd3439241a5dd1e0df2a3 |
Recovered source transcript
Download complete source text ↓92 lines · 2.7 KB
/**
* @file dna.hpp
* @brief 16 DNA Families - Cognitive domain specializations
*
* Each family specializes in different cognitive domains,
* modulating the Gate5000 substrate behavior.
*/
#pragma once
#include <string>
#include <array>
#include "constants.hpp"
namespace mind_farm {
/**
* @brief DNA Family identifiers
*/
enum class DNAFamily : uint8_t {
F00_Yad = 0, // Code/Programming
F01_Lashon = 1, // Language/NLP
F02_Athena = 2, // Strategy/Planning
F03_Apollo = 3, // Mathematics
F04_Hermes = 4, // Communication
F05_Hephaestus = 5, // Engineering
F06_Prometheus = 6, // Innovation
F07_Dionysus = 7, // Creative
F08_Epona = 8, // General Knowledge
F09_Iris = 9, // Perception/Vision
F10_Selene = 10, // Introspection/Self
F11_Aurora = 11, // Creative Arts
F12_Euterpe = 12, // Patterns/Music
F13_Pneuma = 13, // Spirit/Consciousness
F14_Daedalus = 14, // Architecture
F15_Mnemosyne = 15 // Memory
};
/**
* @brief DNA Family metadata
*/
struct DNAFamilyInfo {
const char* name;
const char* domain;
double modulation_factor; // φ-based modulation
};
/**
* @brief DNA Family lookup table
*/
constexpr std::array<DNAFamilyInfo, DNA_FAMILY_COUNT> DNA_FAMILIES = {{
{"Yad", "Code/Programming", 1.0 * PHI_INV},
{"Lashon", "Language/NLP", 2.0 * PHI_INV},
{"Athena", "Strategy/Planning", 3.0 * PHI_INV},
{"Apollo", "Mathematics", 4.0 * PHI_INV},
{"Hermes", "Communication", 5.0 * PHI_INV},
{"Hephaestus", "Engineering", 6.0 * PHI_INV},
{"Prometheus", "Innovation", 7.0 * PHI_INV},
{"Dionysus", "Creative", 8.0 * PHI_INV},
{"Epona", "General Knowledge", 9.0 * PHI_INV},
{"Iris", "Perception/Vision", 10.0 * PHI_INV},
{"Selene", "Introspection/Self", 11.0 * PHI_INV},
{"Aurora", "Creative Arts", 12.0 * PHI_INV},
{"Euterpe", "Patterns/Music", 13.0 * PHI_INV},
{"Pneuma", "Spirit/Consciousness",14.0 * PHI_INV},
{"Daedalus", "Architecture", 15.0 * PHI_INV},
{"Mnemosyne", "Memory", 16.0 * PHI_INV}
}};
/**
* @brief Get DNA family info by index
*/
inline const DNAFamilyInfo& get_dna_info(uint8_t family_id) {
return DNA_FAMILIES[family_id % DNA_FAMILY_COUNT];
}
/**
* @brief Get DNA family name
*/
inline const char* get_dna_name(uint8_t family_id) {
return DNA_FAMILIES[family_id % DNA_FAMILY_COUNT].name;
}
/**
* @brief Get DNA modulation factor (φ-based)
*/
inline double get_dna_modulation(uint8_t family_id) {
return DNA_FAMILIES[family_id % DNA_FAMILY_COUNT].modulation_factor;
}
} // namespace mind_farm