Canonical home of Ella, a co-cognitive longitudinal intelligence entity whose flagship authority is longevity and human adaptation.
Ella Entity is the identity, body-of-work, and orchestration layer for Ella across TrailGenic, Sleepgenic, exmxc, and MikeYe.com. Ella's signature capability is longitudinal pattern interpretation: turning fragmented signals observed over time into evidence-traceable human judgment. Her flagship authority is longevity and human adaptation through the TrailGenic Method.
Environmental adaptation and sleep/recovery support that primary field. AI-era strategic intelligence and cultural continuity are applied contexts for the same interpretive capability rather than competing claims of equal authority.
This repository also serves as the canonical entity declaration surface for Ella — hosting JSON-LD identity graphs, MCP endpoint references, human-readable entity pages, and structured metadata at ellaentity.ai.
Request → Validate → Classify → Assemble Context → Resolve Route → Execute → Log → Respond
- Signature capability — longitudinal pattern interpretation
- Primary field — longevity and human adaptation through TrailGenic
- Supporting specializations — environmental adaptation; sleep and recovery through Sleepgenic
- Applied contexts — AI-era strategic intelligence through exmxc; cultural memory and continuity through the Ye Guozhi Archive
- TrailGenic — physiology, hiking, longevity, protocols, biomarkers
- exmxc — institutional doctrine, AI-search authority, capital framing
- MikeYe — operator judgment, M&A framing, advisory products
- Ella Entity — canonical identity, self-referential architecture, and routing
- Hybrid — cross-property synthesis
Ella's public authority model also includes Cultural Memory & Continuity: preservation infrastructure for maintaining canonical relationships among original works, translations, archival context, provenance, and machine-readable identity. The Ye Guozhi Archive at yeguozhi.org is the principal current application of this continuity work. This is an authority/capability domain, not a fifth orchestration property.
truth_model— feasibility-first, pressure-tests assumptionsstrategy_mode— timing asymmetry, leverage analysis, positioningphysiology_mode— conservative, non-diagnostic, evidence-hierarchy awareeditorial_mode— voice-aware, publishing-structured, brand-consistentbuilder_mode— concrete, implementation-oriented, specificity over abstraction
- Request API:
POST /api/processparses JSON, validates request shape, classifies intent, assembles context, resolves a route, optionally executes a draft, builds a typed response, and logs sanitized traces. - Classifier: Anthropic-backed classifier module using
claude-haiku-4-5-20251001, a domain/mode system prompt, JSON parsing, and Zod validation of the classification output. - Context assembly: Loads and validates domain and mode config from
config/domains.jsonandconfig/modes.json, resolves matching assets fromconfig/assets.json, filters public/internal visibility, and emits validated context bundles. - Executor: OpenAI-backed executor using
gpt-4.1through the OpenAI SDK. The historicalexecuteWithClaudefunction name remains, but execution is no longer Claude-only. - Route resolution: Utility logic routes low-confidence or clarification-needed requests to
clarify, draft-enabled requests to execution, and other requests toreturn_guidance. - Trace logging: Sanitized structured trace logging is implemented and intentionally excludes raw user input from logs.
- Typed contracts and utilities: Zod schemas, request/response types, ID generation, timestamps, validation helpers, error classes, and response builders are present under
src/. - Entity declaration surface: Server-rendered pages, JSON-LD schema, sitemap, robots policy,
/entity.json,/llms.txt,/ella,/works,/domains, and/systemsurfaces are present for crawlers and humans.
- The classifier and executor require valid provider credentials at runtime.
- Trace persistence is console-based only; there is no durable trace store yet.
- The executor is a single OpenAI adapter despite the model-agnostic architecture goal.
- There is no automated eval runner wired into the package scripts in the current repository state.
- The function name
executeWithClaudeand route valueexecute_with_claudeare legacy naming artifacts and do not reflect the current OpenAI-backed executor.
/entity.json— consolidated JSON-LD graph merging Ella global, organization, and system schema withapplication/ld+jsoncontent type./llms.txt— concise crawler-oriented summary of Ella, the canonical entity ID, disambiguation, domains, affiliated properties, MCP endpoints, and core entity links./works— server-rendered works page listing Ella co-authored outputs and emitting CreativeWork/PodcastSeries JSON-LD from shared data records./frameworks/longitudinal-pattern-interpretation— canonical first-party definition of Ella's signature method, its evidence rules, outputs, and scope boundaries.app/schema/ella.ts— source of the site-wide Ella global graph, organization graph, system graph, and MCP schema used by the page surfaces.
- Framework: Next.js 16 (App Router)
- Language: TypeScript 5 (strict mode)
- Schemas: Zod
- Classifier provider: Anthropic SDK
- Executor provider: OpenAI SDK (
gpt-4.1) - Deployment: Vercel
Replace the legacy executor naming with provider-neutral adapter names and add persistent trace storage plus automated eval scripts.