Tenochtitlan Security Core
Relevant source files
The following files were used as context for generating this wiki page:
Tenochtitlan is the general protection system and total security architecture for the TAMV (Territorio Autónomo de Memoria Viva) ecosystem. It represents a distributed socio-technical infrastructure designed for digital autonomy, operating as an "antifragile" system that strengthens itself through adversity rather than just resisting it. The system is defined by its purely defensive nature, oriented toward prevention, detection, containment, and controlled degradation, ensuring that no AI has final authority over critical decisions.
The core philosophy follows the canon: "TAMV does not defend by attacking. It defends by being impossible to capture." This is achieved through multi-layered encryption, human-in-the-loop guardianship, and the implementation of adaptive adversarial containment environments. Sources: cognition/services/tenochtitlan.md:1-20, TAMV-MASTER-DOCUMENTATION.md:280-285, infrastructure/security/tenochtitlan-config.json:200-210
Architecture and Protection Layers
Tenochtitlan utilizes a multi-tiered defense strategy involving specialized "Centinels" and orchestration layers. The architecture is organized into levels ranging from individual nodes to entire federated civilizations.
Component Hierarchy
The system is composed of four primary security components, each with increasing levels of complexity and security depth:
| Component | Role | Security Depth | Activation Requirements |
|---|---|---|---|
| ANUBIS CENTINEL | Primary Security | 4 Encrypted Layers | Active/Always On |
| HORUS CENTINEL | Evolutionary Standby | 10 Layers (6+2+2) | Human Approval |
| DEKATEOTL | Supreme Orchestration | 11 Verification Layers | Consensus + Ethical + Legal |
| AZTEK GODS | Absolute Standby | 22 Encrypted Layers | Total system failure/Extreme consensus |
Sources: cognition/services/tenochtitlan.md:32-55, infrastructure/security/tenochtitlan-config.json:52-105
System Flow Diagram
The following diagram illustrates the relationship between the primary protection systems and the specialized radars used for threat identification.
Ontological States and Transitions
Tenochtitlan operates through distinct "ontological states" that dictate the security posture and access restrictions of the entire ecosystem.
Security State Definitions
- NORMAL: Standard security level with minimal access restrictions and baseline monitoring.
- SOSPECHA (Suspicion): Elevated security featuring silent micro-segmentation and granular access control.
- CONTENCIÓN (Containment): High security where threats are redirected to a "Cognitive Maze" (Honeypods).
- AMENAZA CIVILIZACIONAL (Civilizational Threat): Maximum security lockdown activating the Aztek Gods protocol.
Sources: cognition/services/tenochtitlan.md:100-125, ARCHIVE/tamv-docs-consolidated-2026-02-02/TAMV-OFFICIAL-SYSTEM-DESCRIPTION.md:55-60
State Transition Logic
Transitions between states require specific justifications and, in higher levels, mandatory approval from the Guardian Council.
Specialized Detection Radars
The system employs three specialized radar systems to monitor different types of threats without infringing on user privacy or imposing mass surveillance.
🐍 Quetzalcoatl (Anti-Fraud)
Focuses on detecting money laundering, economic manipulation, and abuse patterns through multi-cell correlation and temporal signal analysis. Sources: cognition/services/tenochtitlan.md:58-62, infrastructure/security/tenochtitlan-config.json:110-120
👁️ Eye of Ra (Content Integrity)
Monitors for verified illegal activities (abuse, exploitation, violence) but explicitly does not censor ideas or opinions. Action is only taken on verifiable illegality. Sources: cognition/services/tenochtitlan.md:64-67, infrastructure/security/tenochtitlan-config.json:125-135
👥 MOS Twin Radars
A cross-validation system where MOS-A validates a threat while MOS-B questions the findings. If no consensus is reached, no automatic action is taken, and the incident is referred to human review. Sources: cognition/services/tenochtitlan.md:69-72, infrastructure/security/tenochtitlan-config.json:138-148
Antifragility and Metrics
A core metric of Tenochtitlan is the IGA (Índice de Ganancia por Ataque / Attack Gain Index), which measures how much the system improves following an attack.
# Conceptual logic for Antifragility calculation
def calculate_iga_score(improvement_metrics):
"""
Calculates the Attack Gain Index
IGA > 0.7 indicates effective antifragility
"""
weights = {
'detection_speed_improvement': 0.25,
'response_effectiveness_improvement': 0.30,
'false_positive_reduction': 0.20,
'new_attack_patterns_learned': 0.15,
'defense_mechanisms_enhanced': 0.10
}
# Logic processes metrics against these weights
return weighted_score
Sources: cognition/services/tenochtitlan.md:255-285, ARCHIVE/readme-files-consolidated-2026-02-02/README-GITHUB.md:120-130
Operational KPI Summary
| Metric | Target Value |
|---|---|
| Threat Detection Time | < 1 second |
| Response Time | < 5 seconds |
| False Positive Rate | < 0.1% |
| System Availability | 100% (Critical components) |
| Human Oversight | 100% of critical decisions |
Sources: cognition/services/tenochtitlan.md:375-390, infrastructure/security/tenochtitlan-config.json:185-195
Guardian Oversight
Security is not fully automated; it relies on four types of human guardians who hold final authority over the AI systems.
- Technical Guardians: Monitor system health and technical decisions.
- Ethical Guardians: Verify adherence to principles and ethical alignment.
- Legal Guardians: Ensure regulatory compliance and legal justification.
- Economic Guardians: Maintain financial integrity and prevent fraud.
A minimum consensus of 60% among the guardians is required for critical system actions. Sources: cognition/services/tenochtitlan.md:74-85, infrastructure/security/tenochtitlan-config.json:150-170
Summary
Tenochtitlan Security Core is the protective foundation of the TAMV ecosystem. By integrating multi-layered encryption (up to 22 layers), specialized radars, and a rigorous human guardianship model, it ensures a secure, sovereign digital territory. Its antifragile design ensures that every attempt to compromise the system results in a stronger, more resilient infrastructure. Sources: TAMV-MASTER-DOCUMENTATION.md:290-310, cognition/services/tenochtitlan.md:460-475