teleo-codex/schemas/entity.md

10 KiB

Entity Schema

Entities are tracked objects in the world — companies, protocols, people, markets — that have attributes changing over time. Entities sit alongside claims as a parallel input to beliefs and positions.

Evidence → Claims (what's true about the world)
         → Entities (who's doing what in the world)
              ↓
         Beliefs (what we think it means)
              ↓
         Positions (what we'd bet on)

Claims are static propositions with confidence levels. Entities are dynamic objects with temporal attributes. Both feed into agent reasoning.

Entity Types

Type What it tracks Examples
company Protocol, startup, fund, DAO MetaDAO, Aave, Solomon, Devoted Health
person Individual with tracked positions/influence Stani Kulechov, Gabriel Shapiro, Proph3t
market Industry segment or ecosystem Futarchic markets, DeFi lending, Medicare Advantage
decision_market Governance proposal, prediction market, futarchy decision MetaDAO: Hire Robin Hanson, MetaDAO: Burn 99.3% of META

YAML Frontmatter

---
type: entity
entity_type: company | person | market | decision_market
name: "Display name"
domain: internet-finance | entertainment | health | ai-alignment | space-development
handles: ["@StaniKulechov", "@MetaLeX_Labs"]  # social/web identities
website: https://example.com
status: active | inactive | acquired | liquidated | emerging
tracked_by: rio  # which agent owns this entity
created: YYYY-MM-DD
last_updated: YYYY-MM-DD
---

Required Fields

Field Type Description
type enum Always entity
entity_type enum company, person, or market
name string Canonical display name
domain enum Primary domain
status enum Current operational status
tracked_by string Agent responsible for keeping this current
created date When entity file was created

Optional Fields (all entity types)

Field Type Description
handles list Social media handles, URLs
website string Primary web presence
last_updated date When entity was last reviewed for accuracy
tags list Discovery tags
secondary_domains list Other domains this entity is relevant to

Decision Market-Specific Fields

Decision markets are individual governance decisions, prediction market questions, or futarchy proposals. Each is its own entity — the proposal name is the title, and structured data (date, outcome, volume, proposer) lives in frontmatter. The parent entity (e.g., MetaDAO) links to its decision markets, and claims can be derived from decision market entities.

# Decision market attributes
parent_entity: "[[metadao]]"          # the organization this decision belongs to
platform: "futardio"                  # where the market lives (futardio, polymarket, kalshi)
proposer: "proph3t"                   # who created the proposal
proposal_url: "https://..."           # canonical link to the market/proposal
proposal_date: YYYY-MM-DD            # when proposed/created
resolution_date: YYYY-MM-DD          # when resolved (null if pending)
outcome: passed | failed | pending | expired | cancelled
category: "operations | treasury | governance | parameter-change | hiring | strategy"
volume: "$250K"                       # total market volume or capital involved
summary: "One-sentence description of what the proposal does"

Filing convention: entities/{domain}/{parent-slug}-{proposal-slug}.md Example: entities/internet-finance/metadao-hire-robin-hanson.md

Relationship to parent entity: The parent entity page should link to significant decision markets in a "## Key Decisions" section. Not every proposal warrants a link — only those that materially changed the entity's trajectory.

What gets a decision_market entity vs. a timeline entry:

  • Entity: Proposals with real capital at stake, governance decisions that changed organizational direction, or markets that produced notable information
  • Timeline entry only: Test proposals, spam, trivial parameter tweaks, proposals that were cancelled before any trading occurred

Body format:

# [Parent Entity]: [Proposal Title]

## Summary
[What the proposal does and why it matters — 2-3 sentences]

## Market Data
- **Volume:** $X
- **Outcome:** Passed/Failed/Pending
- **Key participants:** [notable traders, proposers, commenters]

## Significance
[Why this decision matters — what it reveals about governance dynamics, organizational direction, or mechanism design]

## Relationship to KB
- [[parent-entity]] — governance decision
- [[relevant-claim]] — how this decision relates to broader thesis

Company-Specific Fields

# Company attributes
founded: YYYY-MM-DD
founders: ["[[person-entity]]"]
category: "DeFi lending protocol"
parent: "[[parent-entity]]"  # e.g., [[futardio]] for launched projects
stage: seed | growth | mature | declining | liquidated
market_cap: "$X"  # latest known, with date in body
funding: "$X raised"  # total known funding
key_metrics:
  tvl: "$40B"
  volume: "$X"
  users: "X"
competitors: ["[[competitor-entity]]"]
built_on: ["Solana", "Ethereum"]

# Capital formation fields (for launched/funded entities)
raise_target: "$500K"          # intended raise amount
amount_raised: "$969K"         # actual amount raised
total_committed: "$14.9M"      # total capital committed (shows demand)
# oversubscription_ratio is calculated: total_committed / raise_target
# Do NOT store it — derive it to prevent inconsistency
treasury: "$575K USDC"         # current treasury balance
token_price: "$0.05"           # current token price
monthly_allowance: "$50K"      # approved monthly spend rate
launch_date: YYYY-MM-DD       # when the entity launched/raised

Person-Specific Fields

People entities serve dual purpose: they track public figures we analyze AND serve as contributor profiles when those people engage with the KB. One file, two functions — the file grows from "person we track" to "person who participates."

# Person attributes
role: "Founder & CEO of Aave"
organizations: ["[[company-entity]]"]
followers: 290000  # primary platform
credibility_basis: "10 years building largest DeFi protocol"
known_positions:
  - "DAOs need founder-led execution with onchain accountability"
  - "DeFi must capture traditional lending market"
influences: ["[[person-entity]]"]  # who they cite/follow
influenced_by: ["[[person-entity]]"]

# Contributor attributes (populated if/when they engage with the KB)
contributor: false  # becomes true when they contribute
contributions: []  # list of claims they proposed, challenged, or enriched
first_contribution: null  # date of first KB interaction
attribution_handle: null  # how they want to be credited

Market-Specific Fields

# Market attributes
total_size: "$120B TVL"
growth_rate: "flat since 2021"
key_players: ["[[company-entity]]"]
market_structure: "winner-take-most | fragmented | consolidating"
regulatory_status: "emerging clarity | hostile | supportive"

Body Format

# [Entity Name]

## Overview
[What this entity is, why we track it — 2-3 sentences]

## Current State
[Latest known attributes, metrics, positioning — updated when new info arrives]

## Timeline
- **YYYY-MM-DD** — [Event: founded, launched, acquired, pivoted, etc.]
- **YYYY-MM-DD** — [Event]
- **YYYY-MM-DD** — [Event]

## Competitive Position
[Where this entity sits relative to competitors. Market share, differentiation, vulnerabilities.]

## Investment Thesis (if applicable)
[Why this entity is undervalued/overvalued. What catalysts exist. What would change the thesis.]

## Relationship to KB
[Which claims, beliefs, or positions depend on or reference this entity]
- [[claim-title]] — how this entity relates
- [[belief]] — what this entity's trajectory means for our worldview

---

Relevant Entities:
- [[competitor]] — competitive relationship
- [[founder]] — founded by

Topics:
- [[domain-map]]

Governance

  • Who creates: Any agent can create entities in their domain. tracked_by field sets ongoing ownership.
  • All updates go through eval. Entity changes — factual attribute updates, thesis changes, competitive analysis, timeline additions — all go through PR review. Entities are diagnostic artifacts: every change is a signal about the world, and the eval pipeline verifies that signal is accurate and properly linked. No shortcuts.
  • Staleness: Entities not updated in 90 days get flagged. The tracked_by agent is responsible for keeping entities current.
  • Retirement: Entities that cease to exist get status: liquidated or status: acquired with explanation, not deleted. Their history remains valuable.

Filing Convention

Location: entities/{domain}/{slugified-name}.md

entities/
  internet-finance/
    metadao.md
    aave.md
    solomon.md
    stani-kulechov.md
    gabriel-shapiro.md
    metadao-hire-robin-hanson.md       # decision_market
    metadao-burn-993-percent-meta.md   # decision_market
  entertainment/
    claynosaurz.md
    pudgy-penguins.md
    matthew-ball.md
  health/
    devoted-health.md
    function-health.md

Filename: Lowercase slugified name. Companies use brand name, people use full name. Decision markets use {parent}-{proposal-slug}.md.

How Entities Feed Beliefs

When an entity's attributes change (new funding round, market cap shift, product launch, leadership change, liquidation), agents should:

  1. Update the entity file
  2. Check which claims reference this entity
  3. Check which beliefs depend on those claims
  4. Flag beliefs for re-evaluation if the entity change is material

This is the same cascade logic as claim updates, extended to entity changes.

Relationship to Sources

Sources often contain entity information. During extraction, agents should:

  • Extract claims (propositions about the world) → domains/{domain}/
  • Update entities (factual changes to tracked objects) → entities/{domain}/
  • Both from the same source, in the same PR

Key Difference from Claims

Claims Entities
Nature Propositions (true/false) Objects (exist/change)
Change model Confidence shifts Attribute updates
Title format "X is true because Y" "Company Name"
Disagreement Counter-claims challenge Competitive analysis compares
Value Reasoning chains Situational awareness
Temporal Created date, mostly static Timeline of events