INNERLOOP_WIKI

Obsidian vault for the Inner Loop living research wiki. This is the working surface for an LLM-native Knowledge Base (Karpathy pattern) where an Opus agent continuously compiles, queries, and lints investment theme articles from member discussions and research documents.

Directory Structure

INNERLOOP_WIKI/
├── raw/                    # Ingested source materials (Slack, R2, transcripts, PDFs, clippings, images)
│   ├── slack/              # Harvested Slack messages
│   ├── r2/                 # R2 corpus documents (~610 existing)
│   ├── transcripts/        # YouTube/podcast transcripts from trusted commentators
│   ├── pdfs/               # Analyst PDFs
│   ├── clippings/          # Web clippings via Obsidian Web Clipper
│   └── images/             # Supporting images
├── wiki/                   # LLM-compiled content
│   ├── themes/             # Investment thesis pages (war-room one-pagers + thesis health)
│   ├── entities/           # Entity pages (assets, people, orgs, regions)
│   ├── sources/            # Source-summary pages (one per R2 doc/transcript/thread)
│   ├── indexes/            # Auto-maintained secondary indexes (by bucket, horizon, signals)
│   ├── digests/            # Daily/weekly digest archives
│   ├── queries/            # Member Q&A responses, filed back into the vault
│   └── lint/               # Integrity reports (stale prices, contradictions, missing citations)
├── index.md                # Master catalog — entry point for every vault operation (DD36)
├── log.md                  # Append-only operation history with parseable prefixes (DD36)
├── page-template.md        # Canonical wiki-page skeleton (DD38)
└── .obsidian/              # Vault config

Who Edits What

  • LLM agent writes and maintains all wiki content — theme articles, entity pages, source summaries, indexes, digests, Q&A responses, lint reports (DD28)
  • Will reviews, queries, and occasionally overrides. Overrides are logged so the agent learns from corrections.
  • Members read only — via the Quartz-published site (Cloudflare Pages + Cloudflare Access). No direct Obsidian access (DD30).

How It Works

The vault is operated by an Opus 4.6 agent running as cron jobs on innerloop-ai (Fly.io) (DD31):

  1. Ingest — raw sources dropped into raw/
  2. Compile — LLM incrementally updates theme/entity/source articles from raw/ deltas
  3. Q&A — LLM researches queries against the wiki, renders markdown answers, files back
  4. Lint — LLM health-checks for stale prices, unreckoned events, contradictions, missing citations
  5. File-back — digests, Q&A responses, and visualisations saved into wiki structure
  • innerloop-ai — the service that runs the vault agent, hosts APIs, and manages cron jobs
  • Quartz — static site generator that publishes this vault to Cloudflare Pages
  • TKG — structured fact-extraction feed that provides input to the wiki

Design Decisions

This vault implements decisions DD27 (KB pattern), DD29 (vault structure), DD36 (index.md + log.md), DD37 (three page types), and DD38 (canonical template). See the parent plan at AETIDIGM_SYNC/Aetidigm Master/Plans/platform-v3-overhaul/PLAN.md for full context.