@pour-terra/arete-engine
v1.1.6
Published
> _Excellence is not an act, but a habit. The active pursuit of mastery._
Downloads
922
Readme
⚙️ Arete Engine
Excellence is not an act, but a habit. The active pursuit of mastery.
Welcome to the Arete Engine, the definitive computational heart of Terra's gamified life system.
🏛️ The Name: Why "Arete Engine"?
Arete (ἀρετή) represents the active pursuit of excellence and the fulfillment of one's highest potential.
The suffix -engine was deliberately chosen over "-core". While a "core" implies a static, passive foundation, an "engine" is dynamic. This library actively computes, processes, and propels momentum toward mastery, embodying the Aristotelian concept of energeia (being-at-work). It is the driving force behind continuous personal evolution.
🎯 The Goal: A Single Source of Truth
This package serves as the absolute single source of truth for Terra's gamified life system. It is responsible for housing and executing:
- Business Logic: The fundamental rules that govern the system.
- Mathematical Formulas: Complex calculations for EXP scaling, Gold accumulation, Wager mechanics, and Stress Levels.
- Validation Rules: Ensuring system integrity and preventing logical inconsistencies.
🧠 The Philosophy: Science-Backed Progression
The Arete Engine is not just a game mechanics library; it is a meticulously crafted system designed to enforce deliberate practice and combat cognitive decay. It bridges three major disciplines:
- Behavioral Psychology: Leverages the science of habit formation and "desirable difficulties" to ensure tasks are engaging and meaningful.
- Educational Theory: Incorporates the Challenge Point Framework and principles of andragogy (adult learning) to optimize the learning curve.
- Economic Incentives: Utilizes concepts like diminishing returns and loss aversion to maintain long-term engagement, balance the economy, and prevent system exploitation.
🏗️ The Architecture: App-Agnostic & Modular
Designed with strict separation of concerns, the Arete Engine is a standalone, app-agnostic library. It contains no UI components or database-specific ORM bindings.
This architectural purity allows it to be seamlessly consumed by:
- Frontends: Such as the TerraV2 web or mobile applications.
- Backend AI Agents: Such as Terracode MCP tools, enabling autonomous agents to interact with, validate, and compute life metrics on Terra's behalf.
doing the right things, in the right way, at the right difficulty, builds excellence
