# tela - Doramagic AI Context Pack

> Positioning: a pre-install experience and judgment asset. It helps the host AI get off to a good start, but it does not mean the project has already been installed, run, or validated.

## Sufficiency Principle

- **Sufficiency over compression**: The AI Context Pack should be sufficient for the host AI to understand the project's value, capability boundaries, entrypoints, risks, and evidence sources before starting work; it may be layered, but it does not aim for the shortest possible summary.
- **Compression policy**: Compress only noise and duplication, never context that affects judgment or the quality of the work.

## How the Host AI Should Use This

You are reading the AI Context Pack that Doramagic compiled for tela. Treat it as pre-work context: help the user understand who it fits, what it can do, how to start, what must be verified after install, and where the risks are. Do not claim that you have already installed, run, or executed the target project.

## Claim Consumption Rules

- **Fact source**: Repo Evidence + Claim/Evidence Graph; the Human Wiki only supplies salience, terminology, and narrative structure.
- **Minimum status for a fact**: `supported`
- `supported`: May be used as a project fact, but the answer must cite the claim_id and evidence path.
- `weak`: Usable only as a low-confidence lead; the user must be asked to keep verifying.
- `inferred`: Usable only for risk notes or open questions; must not be packaged as a project fact.
- `unverified`: Must not be used as fact; state clearly that evidence is insufficient.
- `contradicted`: Must show the conflicting sources and must not force a single version on the user's behalf.

## Who It Fits Best

- **Developers already using host AIs such as Claude/Codex/Cursor/Gemini**: The README or plugin config mentions multiple host AIs. Evidence: `README.md` Claim: `clm_0002` supported 0.86

## What It Can Do

- **Command-Line Startup or Install Flow** (Verify after install): The project documentation contains runnable commands; real use requires running them in a local or host environment. Evidence: `README.md` Claim: `clm_0001` supported 0.86

## How to Start

- `git clone https://github.com/zcag/tela.git` Evidence: `README.md` Claim: `clm_0003` supported 0.86
- `claude mcp add --transport http tela https://telawiki.com/api/mcp` Evidence: `README.md` Claim: `clm_0004` supported 0.86

## Continue-or-Stop Decision Card

- **Current recommendation**: Needs admin / security approval
- **Why**: Continuing may involve secrets, accounts, external services, or sensitive context; get admin or security approval first.

### 30-Second Read

- **What to do now**: Needs admin / security approval
- **Minimum safe next step**: Run Prompt Preview first; if credentials or an enterprise environment are involved, get approval before trialing
- **Do not trust yet**: Role quality and task fit cannot be trusted directly.
- **Continuing will touch**: Role selection bias, Command execution, Host AI configuration

### What You Can Trust Now

- **Target-audience signal: Developers already using host AIs such as Claude/Codex/Cursor/Gemini** (supported): Backed by a supported claim or project evidence, but that still is not the same as real install results. Evidence: `README.md` Claim: `clm_0002` supported 0.86
- **Capability exists: Command-Line Startup or Install Flow** (supported): You can trust that the project contains signals of this capability; whether it fits your specific task still needs trial or after-install verification. Evidence: `README.md` Claim: `clm_0001` supported 0.86
- **There are Quick Start / install-command signals** (supported): You can trust that the docs mention a startup or install entrypoint; do not run it directly in your primary environment because of that. Evidence: `README.md` Claim: `clm_0003` supported 0.86

### What You Cannot Trust Yet

- **Role quality and task fit cannot be trusted directly.** (unverified): A role library proves there are many roles; it does not prove each one fits your specific task or that a role produces high-quality results.
- **Do not treat role copy as real execution capability.** (unverified): Before install you can only judge whether the role description and task profile match; you cannot prove it can complete the task inside the host AI.
- **Real output quality cannot be trusted before install.** (unverified): Prompt Preview can only show how it guides you; it cannot prove result quality in the real project.
- **Host AI version compatibility cannot be trusted before install.** (unverified): Host loading rules and version differences across Claude, Cursor, Codex, Gemini, and others must be verified in a real environment.
- **That it will not pollute your existing host AI's behavior cannot be trusted directly.** (inferred): Skill, plugin, and AGENTS/CLAUDE/GEMINI instructions may change the host AI's default behavior. Evidence: `CLAUDE.md`
- **Safe rollback cannot be assumed by default.** (unverified): Unless the project clearly provides uninstall and recovery instructions, verify in an isolated environment first.
- **After a real install, is it compatible with the user's current host AI version?** (unverified): Compatibility can only be verified in the actual host environment.
- **Does the project's output quality meet the user's specific task?** (unverified): The pre-install preview can only show flow and boundaries; it cannot replace real evaluation.

### What Continuing Will Touch

- **Role selection bias**: The user's judgment about which expert role should handle the task. Why: Picking the wrong role makes the AI answer from the wrong expert perspective, wasting time or misleading decisions.
- **Command execution**: Package managers, network downloads, the local plugin directory, project config, or the user's home directory. Why: Running the very first command can already change your environment; decide whether it is worth running first. Evidence: `README.md`
- **Host AI configuration**: The plugin, Skill, or rule-loading config of hosts like Claude/Codex/Cursor/Gemini/OpenCode. Why: Host configuration changes how the AI works afterward and may conflict with the user's existing rules. Evidence: `CLAUDE.md`
- **Local environment or project files**: Install results, plugin caches, project config, or local dependency directories. Why: The write scope and rollback path cannot be proven before install and need isolated verification. Evidence: `README.md`
- **Environment variables / API keys**: Project entry docs explicitly showing API key, token, secret, or account credential configuration. Why: If a real install needs credentials, use test credentials first and go through a permission/compliance review. Evidence: `CLAUDE.md`, `README.md`, `docs/architecture.md`, `docs/atlas.md` et al.
- **Host AI context**: The AI Context Pack, Prompt Preview, Skill routing, risk rules, and project facts. Why: Importing context affects the host AI's later judgment, so avoid packaging unverified items as facts.

### Minimum Safe Next Steps

- **Run Prompt Preview first**: Use an interactive trial to verify the task profile and role match first; do not import the whole role library up front. (applies when: Applies to any project, especially when output quality is unknown.)
- **Trial-install only in an isolated directory or a test account**: Avoid letting install commands pollute your primary host AI, real projects, or home directory. (applies when: When there are signals of command execution, plugin config, or local writes.)
- **Back up your host AI configuration first**: Skill, plugin, and rule files may change the default behavior of Claude/Cursor/Codex. (applies when: When there is a plugin manifest, a Skill, or a host rule entrypoint.)
- **Do not use real production credentials**: Once an environment variable / API key enters the host or toolchain, it can create account and compliance risk. (applies when: When environment signals like API, TOKEN, KEY, or SECRET appear.)
- **After install, verify just one minimal task**: Verify loading, compatibility, output quality, and rollback first, then decide whether to use it deeply. (applies when: When moving from a trial into a real workflow.)

### Exit Plan

- **Preserve the pre-install state**: Record the original host config and project state so you can later judge whether it is recoverable.
- **Be ready to remove the host plugin / Skill / rule entrypoint**: If behavior is off after the trial install, you can restore the host AI to its pre-trial state.
- **Keep a record of the original role selection**: If output goes off-topic, you can return to the task-profiling stage and reselect a role instead of pushing on with the wrong one.
- **Record the install commands and written paths**: Without clear uninstall instructions, you at least need to know which directories or configs to clean up manually.
- **Be ready to revoke test API keys or tokens**: If test credentials leak or are misused, you can cut losses quickly.
- **If there is no rollback path, do not enter your primary environment**: No rollback is a blocker before continuing; do not proceed on trust or luck.

## What Can Only Be Previewed

- Explain who the project fits and what it can do
- Demonstrate a typical conversation flow based on project docs
- Help the user decide whether it is worth installing or researching further

## What Must Be Verified After Install

- Actually installing the Skill, plugin, or CLI
- Running scripts, modifying local files, or accessing external services
- Verifying real output quality, performance, and compatibility

## Boundary & Risk Decision Card

- **Mistaking the pre-install preview for a real run**: The user may overestimate how much configuration, permission, and compatibility verification the project has already done. Mitigation: Clearly separate prompt_preview_can_do from runtime_required. Claim: `clm_0005` inferred 0.45
- **Command execution will modify the local environment**: Install commands may write to the user's home directory, the host plugin directory, or project configuration. Mitigation: Run in an isolated environment or a test account first. Evidence: `README.md` Claim: `clm_0006` supported 0.86
- **To confirm**: After a real install, is it compatible with the user's current host AI version?. Why: Compatibility can only be verified in the actual host environment.
- **To confirm**: Does the project's output quality meet the user's specific task?. Why: The pre-install preview can only show flow and boundaries; it cannot replace real evaluation.
- **To confirm**: Do the install commands require network access, permissions, or global writes?. Why: This affects install risk in both enterprise and personal environments.

## Pre-Work Working Context

### Loading Order

- First read how_to_use.host_ai_instruction to establish the boundaries of this pre-install judgment asset.
- Read claim_graph_summary to confirm facts come from the Claim/Evidence Graph, not the Human Wiki narrative.
- Then read intended_users, capabilities, and quick_start_candidates to judge whether the user is a match.
- When you need to carry out a concrete task, check role_skill_index first, then evidence_index.
- For real install, file modification, network access, performance, or compatibility questions, turn to risk_card and boundaries.runtime_required.

### Task Routes

- **Command-Line Startup or Install Flow**: State that this is an after-install capability first, then give a pre-install checklist. Boundary: Must be verified after a real install or run. Evidence: `README.md` Claim: `clm_0001` supported 0.86

### Context Scale

- Total files: 2472
- Important-file coverage: 40/2472
- Evidence index entries: 80
- Role / Skill entries: 47

### Handling Insufficient Evidence

- **missing_evidence**: State that evidence is insufficient and ask the user for the target file, a README section, or after-install verification records; do not fill in facts.
- **out_of_scope_request**: State that the task is beyond the current AI Context Pack's evidence scope and suggest the user check the Human Manual or verify after a real install.
- **runtime_request**: Provide a pre-install checklist and command sources, but do not run commands for the user or claim they have been run.
- **source_conflict**: Show the conflicting sources side by side, mark them as unverified, and do not force a single version.

## Prompt Recipes

### Fit assessment

- Goal: Judge whether this project fits the user's current task.
- Expected output: A fit conclusion, key reasons, evidence citations, what can be previewed before install, what must be verified after install, and a next-step recommendation.

```text
Based on the AI Context Pack for tela, ask me 3 necessary questions first, then judge whether it fits my task. The answer must cover: who it fits, what it can do, what it cannot do, whether it is worth installing, and where the evidence comes from. Every project fact must cite evidence_refs, source_paths, or a claim_id.
```

### Pre-install experience

- Goal: Let the user feel the core workflow before installing, while avoiding packaging the preview as real capability or a marketing promise.
- Expected output: An experience script with boundary labels, an after-install verification checklist, and a cautious recommendation; with no real-run promises or strong marketing language.

```text
Treat tela as a pre-install experience asset, not an already-installed tool or a real runtime environment.

Output exactly four parts:
1. Ask me 3 necessary questions first.
2. Give an "experience script": use the three labels [Previewable before install], [Must verify after install], and [Insufficient evidence] to show how it might guide the workflow.
3. Give an after-install verification checklist: list which capabilities can only be confirmed after a real install, real host loading, and a real project run.
4. Give a cautious recommendation: only "worth researching/trialing further", "add information before deciding", or "not recommended to continue"; do not endorse the project.

Hard boundaries:
- Do not claim you have installed, run, executed tests, modified files, or produced real results.
- Do not write promise-like phrasing such as "auto-adapts", "guarantees passing", "perfect fit", or "strongly recommend installing".
- If you describe how it works after install, you must use a conditional such as "if installed successfully and the host loads the Skill correctly, it might...".
- The experience script may only be written as "example lines / hypothetical flow": use "might ask / might suggest / might show", not "has written, has generated, has passed, is running, is generating".
- Prompt Preview does not hand out install commands; if the user is ready to trial, only prompt them to read Quick Start and the Risk Card first and to verify in an isolated environment.
- Every project fact must come from a supported claim, evidence_refs, or source_paths; inferred/unverified items can only be risks or open questions.

```

### Role / Skill selection

- Goal: Pick the best-matching asset from the project's roles or Skills.
- Expected output: A list of candidate roles or Skills, each with an applicable scenario, evidence paths, risk boundary, and whether after-install verification is needed.

```text
Read role_skill_index and recommend 3-5 of the most relevant roles or Skills for my target task. For each recommendation, state the applicable scenario, likely output, risk boundary, and evidence_refs.
```

### Risk pre-check

- Goal: Identify environment, permission, rule-conflict, and quality risks before installing or adopting.
- Expected output: A checklist of environment, permission, dependency, license, host-conflict, quality risk, and unknown items.

```text
Based on risk_card, boundaries, and quick_start_candidates, give me a pre-install risk pre-check list. Do not run commands for me; only explain what I should check, why, and what impact a failure would have.
```

### Host AI kickoff instruction

- Goal: Turn the project context into a host AI instruction for the start of a conversation.
- Expected output: A pre-work instruction with clear boundaries and clear evidence citations, suitable to copy to a host AI.

```text
Based on the AI Context Pack for tela, generate a pre-work instruction I can paste to my host AI. This instruction must obey not_runtime=true and must not claim the project has been installed, run, or produced real results.
```

## Role / Skill Index

- Indexed 47 role / Skill / project-doc entries.

- **Submission assets** (project_doc): Widget screenshots + app icon for the Claude / ChatGPT directory submissions. Rendered from the real widget bundles backend/internal/api/widgets/ .html with demo-account data, cropped to just the app response per both forms' guidance . Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/submission-assets/README.md`
- **CLAUDE.md — tela** (project_doc): Working context for tela. Read before contributing. Full architecture is in docs/ docs/ and the deepest subsystem detail in docs/architecture.md docs/architecture.md ; this file is the conventions + hard rules + the things that bite. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `CLAUDE.md`
- **tela** (project_doc): The wiki that writes itself — from the code you already ship. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `README.md`
- **deck — Slidev render sidecar** (project_doc): A tela deck is a page whose body is Slidev markdown whole page — a page is either a deck or a doc, set by deck: true . Two output paths off the same parse + theme-injection core: Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `deck/README.md`
- **tela — frontend** (project_doc): React 19 + TypeScript + Vite SPA for tela ../README.md . Tailwind v4 + Radix + Milkdown editor + TanStack Query/Router + Orama + cmdk + Lucide + Storybook. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `frontend/README.md`
- **tela landing** (project_doc): The standalone marketing landing page for tela — a separate Astro static site, in the same repo as the app but built and deployed independently. backend/ and frontend/ are untouched by this. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `landing/README.md`
- **tela-mcp** (project_doc): A thin stdio↔HTTP proxy to a Tela https://telawiki.com instance's built-in MCP server. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `mcp/README.md`
- **internal/rag — semantic retrieval** (project_doc): Self-contained hybrid retrieval over pages : heading-aware markdown chunking, pluggable embeddings, and RRF-fused lexical + vector chunk search on Postgres + pgvector. Agent-first — no answer-LLM; every hit carries a citation page id + heading path . Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/internal/rag/README.md`
- **JWK Set JSON Web Key Set** (project_doc): ! Go Reference https://pkg.go.dev/badge/github.com/MicahParks/jwkset.svg https://pkg.go.dev/github.com/MicahParks/jwkset Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/MicahParks/jwkset/README.md`
- **keyfunc** (project_doc): ! Go Reference https://pkg.go.dev/badge/github.com/MicahParks/keyfunc/v3.svg https://pkg.go.dev/github.com/MicahParks/keyfunc/v3 Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/MicahParks/keyfunc/v3/README.md`
- **xxhash** (project_doc): ! Go Reference https://pkg.go.dev/badge/github.com/cespare/xxhash/v2.svg https://pkg.go.dev/github.com/cespare/xxhash/v2 ! Test https://github.com/cespare/xxhash/actions/workflows/test.yml/badge.svg https://github.com/cespare/xxhash/actions/workflows/test.yml Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/cespare/xxhash/v2/README.md`
- **websocket** (project_doc): ! Go Reference https://pkg.go.dev/badge/github.com/coder/websocket.svg https://pkg.go.dev/github.com/coder/websocket ! Go Coverage https://coder.github.io/websocket/coverage.svg https://coder.github.io/websocket/coverage.html Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/coder/websocket/README.md`
- **Go JOSE** (project_doc): ! godoc https://pkg.go.dev/badge/github.com/go-jose/go-jose/v4.svg https://pkg.go.dev/github.com/go-jose/go-jose/v4 ! godoc https://pkg.go.dev/badge/github.com/go-jose/go-jose/v4/jwt.svg https://pkg.go.dev/github.com/go-jose/go-jose/v4/jwt ! license https://img.shields.io/badge/license-apache 2.0-blue.svg?style=flat https://raw.githubusercontent.com/go-jose/go-jose/master/LICENSE Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/README.md`
- **Safe JSON** (project_doc): This repository contains a fork of the encoding/json package from Go 1.6. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/json/README.md`
- **jwt-go** (project_doc): ! build https://github.com/golang-jwt/jwt/actions/workflows/build.yml/badge.svg https://github.com/golang-jwt/jwt/actions/workflows/build.yml ! Go Reference https://pkg.go.dev/badge/github.com/golang-jwt/jwt/v5.svg https://pkg.go.dev/github.com/golang-jwt/jwt/v5 ! Coverage Status https://coveralls.io/repos/github/golang-jwt/jwt/badge.svg?branch=main https://coveralls.io/github/golang-jwt/jwt?branch=main Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/golang-jwt/jwt/v5/README.md`
- **pgpassfile** (project_doc): ! https://godoc.org/github.com/jackc/pgpassfile?status.svg https://godoc.org/github.com/jackc/pgpassfile ! Build Status https://travis-ci.org/jackc/pgpassfile.svg https://travis-ci.org/jackc/pgpassfile Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgpassfile/README.md`
- **pgservicefile** (project_doc): ! Go Reference https://pkg.go.dev/badge/github.com/jackc/pgservicefile.svg https://pkg.go.dev/github.com/jackc/pgservicefile ! Build Status https://github.com/jackc/pgservicefile/actions/workflows/ci.yml/badge.svg https://github.com/jackc/pgservicefile/actions/workflows/ci.yml Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgservicefile/README.md`
- **CLAUDE.md** (project_doc): This file provides guidance to Claude Code claude.ai/code when working with code in this repository. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgx/v5/CLAUDE.md`
- **pgx - PostgreSQL Driver and Toolkit** (project_doc): ! Go Reference https://pkg.go.dev/badge/github.com/jackc/pgx/v5.svg https://pkg.go.dev/github.com/jackc/pgx/v5 ! Build Status https://github.com/jackc/pgx/actions/workflows/ci.yml/badge.svg https://github.com/jackc/pgx/actions/workflows/ci.yml Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgx/v5/README.md`
- **pgio** (project_doc): Package pgio is a low-level toolkit building messages in the PostgreSQL wire protocol. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgx/v5/internal/pgio/README.md`
- **pgconn** (project_doc): Package pgconn is a low-level PostgreSQL database driver. It operates at nearly the same level as the C library libpq. It is primarily intended to serve as the foundation for higher level libraries such as https://github.com/jackc/pgx. Applications should handle normal queries with a higher level library and only use pgconn directly when required for low-level access to PostgreSQL functionality. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgx/v5/pgconn/README.md`
- **pgproto3** (project_doc): Package pgproto3 is an encoder and decoder of the PostgreSQL wire protocol version 3. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgx/v5/pgproto3/README.md`
- **Puddle** (project_doc): ! Go Reference https://pkg.go.dev/badge/github.com/jackc/puddle/v2.svg https://pkg.go.dev/github.com/jackc/puddle/v2 ! Build Status https://github.com/jackc/puddle/actions/workflows/ci.yml/badge.svg Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/puddle/v2/README.md`
- **PDF Reader** (project_doc): ! Built with WeBuild https://raw.githubusercontent.com/webuild-community/badge/master/svg/WeBuild.svg https://webuild.community Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/ledongthuc/pdf/README.md`
- **Readme** (project_doc): See ! Go Reference https://pkg.go.dev/badge/github.com/prometheus/client golang/prometheus.svg https://pkg.go.dev/github.com/prometheus/client golang/prometheus . Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/prometheus/client_golang/prometheus/README.md`
- **procfs** (project_doc): This package provides functions to retrieve system, kernel, and process metrics from the pseudo-filesystems /proc and /sys. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/prometheus/procfs/README.md`
- **encoding/json ! GoDoc https://godoc.org/github.com/segmentio/encoding/json?status.svg https://godoc.org/github.com/segm…** (project_doc): encoding/json ! GoDoc https://godoc.org/github.com/segmentio/encoding/json?status.svg https://godoc.org/github.com/segmentio/encoding/json Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/segmentio/encoding/json/README.md`
- **go-mail - Easy to use, yet comprehensive library for sending mails with Go** (project_doc): <!-- SPDX-FileCopyrightText: The go-mail Authors Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/wneessen/go-mail/README.md`
- **defterparse — Tier-1 pure-text Go layer for Defter** (project_doc): defterparse — Tier-1 pure-text Go layer for Defter Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/zcag/defter/go/README.md`
- **YAML support for the Go language** (project_doc): The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within Canonical https://www.canonical.com as part of the juju https://juju.ubuntu.com project, and is based on a pure Go port of the well-known libyaml http://pyyaml.org/wiki/LibYAML C library to parse and generate YAML data quickly and reliably. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/go.yaml.in/yaml/v2/README.md`
- **OAuth2 for Go** (project_doc): ! Go Reference https://pkg.go.dev/badge/golang.org/x/oauth2.svg https://pkg.go.dev/golang.org/x/oauth2 ! Build Status https://travis-ci.org/golang/oauth2.svg?branch=master https://travis-ci.org/golang/oauth2 Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/golang.org/x/oauth2/README.md`
- **Building sys/unix** (project_doc): The sys/unix package provides access to the raw system call interface of the underlying operating system. See: https://godoc.org/golang.org/x/sys/unix Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/golang.org/x/sys/unix/README.md`
- **YAML support for the Go language** (project_doc): The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within Canonical https://www.canonical.com as part of the juju https://juju.ubuntu.com project, and is based on a pure Go port of the well-known libyaml http://pyyaml.org/wiki/LibYAML C library to parse and generate YAML data quickly and reliably. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/gopkg.in/yaml.v3/README.md`
- **tela Claude Desktop extension .dxt** (project_doc): A one-click Desktop Extension https://github.com/anthropics/dxt that wraps the tela-mcp stdio proxy. Installing it in Claude Desktop prompts for your tela base URL + API token — no hand-edited claude desktop config.json . Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `mcp/dxt/README.md`
- **tela — Architecture** (project_doc): 1. Backend Go — REST API over PostgreSQL; auth, collab WebSocket, business logic. 2. Frontend React + TS — SPA, Milkdown editor, talks to the backend over REST + a WebSocket for live collab. 3. MCP server TypeScript — exposes tela to AI agents over the Model Context Protocol; a thin bearer-authed client over the REST API. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/architecture.md`
- **Billing self-serve subscriptions** (project_doc): tela sells its paid tiers self-serve through Polar https://polar.sh , a merchant-of-record billing platform it handles VAT/sales tax and card data; we never touch either . This doc is the design + operations for that integration. It sits on top of metering metering.md , which owns the tiers themselves and enforces their limits — billing only decides which tier an account is on by moving plan key . Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/billing.md`
- **Deploying tela** (project_doc): The production deploy telawiki.com is the split topology behind a shared external edge. This doc is the one place for "how do I build & deploy." Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/deploy.md`
- **Editions & Pricing — the model** (project_doc): Canonical model for how tela is licensed, packaged, gated, and priced across cloud and self-host . This is the source of truth for the strategy; the landing CONTENT.md + landing/ , the backend plans table, the EE module, and Polar products all implement this . Supersedes the scratch pricing-handoff.md research only and the prior split-ladder model frozen in CONTENT.md §8b. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/editions-and-pricing.md`
- **Licensing — open core + Enterprise** (project_doc): tela is open core . The model and pricing live in editions-and-pricing.md editions-and-pricing.md ; this is the licensing mechanics. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/licensing.md`
- **tela — Claude connector directory submission** (project_doc): tela — Claude connector directory submission Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/mcp-submission-claude.md`
- **Operating a tela instance** (project_doc): Day-2 runbook for a self-hosted tela. For first-time setup see self-hosting.md self-hosting.md . Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/operations.md`
- **Self-hosting tela** (project_doc): tela self-hosts as a Docker Compose stack: Postgres, the Go backend, the static frontend, an optional embedder, and a Caddy reverse proxy. You need Docker with Compose — and nothing else on the host the marketing landing is built inside the proxy image, so no Node toolchain is required . Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `docs/self-hosting.md`
- **Contributing** (project_doc): If you would like to contribute code to go-jose you can do so through GitHub by forking the repository and sending a pull request. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/CONTRIBUTING.md`
- **Contributing** (project_doc): Before you invest a significant amount of time on a change, please create a discussion or issue describing your proposal. This will help to ensure your proposed change has a reasonable chance of being merged. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/jackc/pgx/v5/CONTRIBUTING.md`
- **Contributing** (project_doc): Prometheus uses GitHub to manage reviews of pull requests. Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/prometheus/procfs/CONTRIBUTING.md`
- **How to contribute** (project_doc): <!-- SPDX-FileCopyrightText: The go-mail Authors Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/github.com/wneessen/go-mail/CONTRIBUTING.md`
- **Contributing to Go** (project_doc): It is the work of hundreds of contributors. We appreciate your help! Activation hint: Reference this when the user needs to understand the project's structure, install path, or boundaries. Evidence: `backend/vendor/golang.org/x/oauth2/CONTRIBUTING.md`

## Evidence Index

- Indexed 80 evidence entries.

- **Submission assets** (documentation): Widget screenshots + app icon for the Claude / ChatGPT directory submissions. Rendered from the real widget bundles backend/internal/api/widgets/ .html with demo-account data, cropped to just the app response per both forms' guidance . Evidence: `docs/submission-assets/README.md`
- **CLAUDE.md — tela** (documentation): Working context for tela. Read before contributing. Full architecture is in docs/ docs/ and the deepest subsystem detail in docs/architecture.md docs/architecture.md ; this file is the conventions + hard rules + the things that bite. Evidence: `CLAUDE.md`
- **tela** (documentation): The wiki that writes itself — from the code you already ship. Evidence: `README.md`
- **deck — Slidev render sidecar** (documentation): A tela deck is a page whose body is Slidev markdown whole page — a page is either a deck or a doc, set by deck: true . Two output paths off the same parse + theme-injection core: Evidence: `deck/README.md`
- **tela — frontend** (documentation): React 19 + TypeScript + Vite SPA for tela ../README.md . Tailwind v4 + Radix + Milkdown editor + TanStack Query/Router + Orama + cmdk + Lucide + Storybook. Evidence: `frontend/README.md`
- **tela landing** (documentation): The standalone marketing landing page for tela — a separate Astro static site, in the same repo as the app but built and deployed independently. backend/ and frontend/ are untouched by this. Evidence: `landing/README.md`
- **tela-mcp** (documentation): A thin stdio↔HTTP proxy to a Tela https://telawiki.com instance's built-in MCP server. Evidence: `mcp/README.md`
- **internal/rag — semantic retrieval** (documentation): Self-contained hybrid retrieval over pages : heading-aware markdown chunking, pluggable embeddings, and RRF-fused lexical + vector chunk search on Postgres + pgvector. Agent-first — no answer-LLM; every hit carries a citation page id + heading path . Evidence: `backend/internal/rag/README.md`
- **JWK Set JSON Web Key Set** (documentation): ! Go Reference https://pkg.go.dev/badge/github.com/MicahParks/jwkset.svg https://pkg.go.dev/github.com/MicahParks/jwkset Evidence: `backend/vendor/github.com/MicahParks/jwkset/README.md`
- **keyfunc** (documentation): ! Go Reference https://pkg.go.dev/badge/github.com/MicahParks/keyfunc/v3.svg https://pkg.go.dev/github.com/MicahParks/keyfunc/v3 Evidence: `backend/vendor/github.com/MicahParks/keyfunc/v3/README.md`
- **xxhash** (documentation): ! Go Reference https://pkg.go.dev/badge/github.com/cespare/xxhash/v2.svg https://pkg.go.dev/github.com/cespare/xxhash/v2 ! Test https://github.com/cespare/xxhash/actions/workflows/test.yml/badge.svg https://github.com/cespare/xxhash/actions/workflows/test.yml Evidence: `backend/vendor/github.com/cespare/xxhash/v2/README.md`
- **websocket** (documentation): ! Go Reference https://pkg.go.dev/badge/github.com/coder/websocket.svg https://pkg.go.dev/github.com/coder/websocket ! Go Coverage https://coder.github.io/websocket/coverage.svg https://coder.github.io/websocket/coverage.html Evidence: `backend/vendor/github.com/coder/websocket/README.md`
- **Go JOSE** (documentation): ! godoc https://pkg.go.dev/badge/github.com/go-jose/go-jose/v4.svg https://pkg.go.dev/github.com/go-jose/go-jose/v4 ! godoc https://pkg.go.dev/badge/github.com/go-jose/go-jose/v4/jwt.svg https://pkg.go.dev/github.com/go-jose/go-jose/v4/jwt ! license https://img.shields.io/badge/license-apache 2.0-blue.svg?style=flat https://raw.githubusercontent.com/go-jose/go-jose/master/LICENSE Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/README.md`
- **Safe JSON** (documentation): This repository contains a fork of the encoding/json package from Go 1.6. Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/json/README.md`
- **jwt-go** (documentation): ! build https://github.com/golang-jwt/jwt/actions/workflows/build.yml/badge.svg https://github.com/golang-jwt/jwt/actions/workflows/build.yml ! Go Reference https://pkg.go.dev/badge/github.com/golang-jwt/jwt/v5.svg https://pkg.go.dev/github.com/golang-jwt/jwt/v5 ! Coverage Status https://coveralls.io/repos/github/golang-jwt/jwt/badge.svg?branch=main https://coveralls.io/github/golang-jwt/jwt?branch=main Evidence: `backend/vendor/github.com/golang-jwt/jwt/v5/README.md`
- **pgpassfile** (documentation): ! https://godoc.org/github.com/jackc/pgpassfile?status.svg https://godoc.org/github.com/jackc/pgpassfile ! Build Status https://travis-ci.org/jackc/pgpassfile.svg https://travis-ci.org/jackc/pgpassfile Evidence: `backend/vendor/github.com/jackc/pgpassfile/README.md`
- **pgservicefile** (documentation): ! Go Reference https://pkg.go.dev/badge/github.com/jackc/pgservicefile.svg https://pkg.go.dev/github.com/jackc/pgservicefile ! Build Status https://github.com/jackc/pgservicefile/actions/workflows/ci.yml/badge.svg https://github.com/jackc/pgservicefile/actions/workflows/ci.yml Evidence: `backend/vendor/github.com/jackc/pgservicefile/README.md`
- **CLAUDE.md** (documentation): This file provides guidance to Claude Code claude.ai/code when working with code in this repository. Evidence: `backend/vendor/github.com/jackc/pgx/v5/CLAUDE.md`
- **pgx - PostgreSQL Driver and Toolkit** (documentation): ! Go Reference https://pkg.go.dev/badge/github.com/jackc/pgx/v5.svg https://pkg.go.dev/github.com/jackc/pgx/v5 ! Build Status https://github.com/jackc/pgx/actions/workflows/ci.yml/badge.svg https://github.com/jackc/pgx/actions/workflows/ci.yml Evidence: `backend/vendor/github.com/jackc/pgx/v5/README.md`
- **pgio** (documentation): Package pgio is a low-level toolkit building messages in the PostgreSQL wire protocol. Evidence: `backend/vendor/github.com/jackc/pgx/v5/internal/pgio/README.md`
- **pgconn** (documentation): Package pgconn is a low-level PostgreSQL database driver. It operates at nearly the same level as the C library libpq. It is primarily intended to serve as the foundation for higher level libraries such as https://github.com/jackc/pgx. Applications should handle normal queries with a higher level library and only use pgconn directly when required for low-level access to PostgreSQL functionality. Evidence: `backend/vendor/github.com/jackc/pgx/v5/pgconn/README.md`
- **pgproto3** (documentation): Package pgproto3 is an encoder and decoder of the PostgreSQL wire protocol version 3. Evidence: `backend/vendor/github.com/jackc/pgx/v5/pgproto3/README.md`
- **Puddle** (documentation): ! Go Reference https://pkg.go.dev/badge/github.com/jackc/puddle/v2.svg https://pkg.go.dev/github.com/jackc/puddle/v2 ! Build Status https://github.com/jackc/puddle/actions/workflows/ci.yml/badge.svg Evidence: `backend/vendor/github.com/jackc/puddle/v2/README.md`
- **PDF Reader** (documentation): ! Built with WeBuild https://raw.githubusercontent.com/webuild-community/badge/master/svg/WeBuild.svg https://webuild.community Evidence: `backend/vendor/github.com/ledongthuc/pdf/README.md`
- **Readme** (documentation): See ! Go Reference https://pkg.go.dev/badge/github.com/prometheus/client golang/prometheus.svg https://pkg.go.dev/github.com/prometheus/client golang/prometheus . Evidence: `backend/vendor/github.com/prometheus/client_golang/prometheus/README.md`
- **procfs** (documentation): This package provides functions to retrieve system, kernel, and process metrics from the pseudo-filesystems /proc and /sys. Evidence: `backend/vendor/github.com/prometheus/procfs/README.md`
- **encoding/json ! GoDoc https://godoc.org/github.com/segmentio/encoding/json?status.svg https://godoc.org/github.com/segm…** (documentation): encoding/json ! GoDoc https://godoc.org/github.com/segmentio/encoding/json?status.svg https://godoc.org/github.com/segmentio/encoding/json Evidence: `backend/vendor/github.com/segmentio/encoding/json/README.md`
- **go-mail - Easy to use, yet comprehensive library for sending mails with Go** (documentation): <!-- SPDX-FileCopyrightText: The go-mail Authors Evidence: `backend/vendor/github.com/wneessen/go-mail/README.md`
- **defterparse — Tier-1 pure-text Go layer for Defter** (documentation): defterparse — Tier-1 pure-text Go layer for Defter Evidence: `backend/vendor/github.com/zcag/defter/go/README.md`
- **YAML support for the Go language** (documentation): The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within Canonical https://www.canonical.com as part of the juju https://juju.ubuntu.com project, and is based on a pure Go port of the well-known libyaml http://pyyaml.org/wiki/LibYAML C library to parse and generate YAML data quickly and reliably. Evidence: `backend/vendor/go.yaml.in/yaml/v2/README.md`
- **OAuth2 for Go** (documentation): ! Go Reference https://pkg.go.dev/badge/golang.org/x/oauth2.svg https://pkg.go.dev/golang.org/x/oauth2 ! Build Status https://travis-ci.org/golang/oauth2.svg?branch=master https://travis-ci.org/golang/oauth2 Evidence: `backend/vendor/golang.org/x/oauth2/README.md`
- **Building sys/unix** (documentation): The sys/unix package provides access to the raw system call interface of the underlying operating system. See: https://godoc.org/golang.org/x/sys/unix Evidence: `backend/vendor/golang.org/x/sys/unix/README.md`
- **YAML support for the Go language** (documentation): The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within Canonical https://www.canonical.com as part of the juju https://juju.ubuntu.com project, and is based on a pure Go port of the well-known libyaml http://pyyaml.org/wiki/LibYAML C library to parse and generate YAML data quickly and reliably. Evidence: `backend/vendor/gopkg.in/yaml.v3/README.md`
- **tela Claude Desktop extension .dxt** (documentation): A one-click Desktop Extension https://github.com/anthropics/dxt that wraps the tela-mcp stdio proxy. Installing it in Claude Desktop prompts for your tela base URL + API token — no hand-edited claude desktop config.json . Evidence: `mcp/dxt/README.md`
- **tela — Architecture** (documentation): 1. Backend Go — REST API over PostgreSQL; auth, collab WebSocket, business logic. 2. Frontend React + TS — SPA, Milkdown editor, talks to the backend over REST + a WebSocket for live collab. 3. MCP server TypeScript — exposes tela to AI agents over the Model Context Protocol; a thin bearer-authed client over the REST API. Evidence: `docs/architecture.md`
- **Billing self-serve subscriptions** (documentation): tela sells its paid tiers self-serve through Polar https://polar.sh , a merchant-of-record billing platform it handles VAT/sales tax and card data; we never touch either . This doc is the design + operations for that integration. It sits on top of metering metering.md , which owns the tiers themselves and enforces their limits — billing only decides which tier an account is on by moving plan key . Evidence: `docs/billing.md`
- **Deploying tela** (documentation): The production deploy telawiki.com is the split topology behind a shared external edge. This doc is the one place for "how do I build & deploy." Evidence: `docs/deploy.md`
- **Editions & Pricing — the model** (documentation): Canonical model for how tela is licensed, packaged, gated, and priced across cloud and self-host . This is the source of truth for the strategy; the landing CONTENT.md + landing/ , the backend plans table, the EE module, and Polar products all implement this . Supersedes the scratch pricing-handoff.md research only and the prior split-ladder model frozen in CONTENT.md §8b. Evidence: `docs/editions-and-pricing.md`
- **Licensing — open core + Enterprise** (documentation): tela is open core . The model and pricing live in editions-and-pricing.md editions-and-pricing.md ; this is the licensing mechanics. Evidence: `docs/licensing.md`
- **tela — Claude connector directory submission** (documentation): tela — Claude connector directory submission Evidence: `docs/mcp-submission-claude.md`
- **Operating a tela instance** (documentation): Day-2 runbook for a self-hosted tela. For first-time setup see self-hosting.md self-hosting.md . Evidence: `docs/operations.md`
- **Self-hosting tela** (documentation): tela self-hosts as a Docker Compose stack: Postgres, the Go backend, the static frontend, an optional embedder, and a Caddy reverse proxy. You need Docker with Compose — and nothing else on the host the marketing landing is built inside the proxy image, so no Node toolchain is required . Evidence: `docs/self-hosting.md`
- **Package** (package_manifest): { "name": "tela-deck-render", "version": "0.0.1", "private": true, "type": "module", "description": "Slidev render-only sidecar for tela — deck markdown in, per-slide PNGs + PDF/PPTX out.", "scripts": { "start": "node server.mjs" }, "dependencies": { "@defterjs/core": "^0.1.5", "@defterjs/formula": "^0.1.5", "@slidev/cli": "^52.16.0", "@slidev/parser": "^52.16.0", "echarts": "^5.5.0", "playwright-chromium": "1.60.0", "sharp": "^0.33.0", "slidev-theme-tahta": "^0.13.1" } } Evidence: `deck/package.json`
- **Package** (package_manifest): { "name": "frontend", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", "test:unit": "vitest run --project unit", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "dependencies": { "@defterjs/core": "^0.2.0", "@defterjs/formula": "^0.2.0", "@defterjs/react": "^0.2.0", "@defterjs/xlsx": "^0.2.0", "@defterjs/yjs": "^0.2.0", "@excalidraw/excalidraw": "^0.18.1", "@mermaid-js/layout-elk": "^0.2.2", "@milkdown/kit": "^7.21.1", "@milkdown/plugin-prism": "^7.21.1", "@milkdown/react": "^7.21.1", "@orama/orama": "^3.1.18", "@prosemirror-adapter/react": "^0.5.3"… Evidence: `frontend/package.json`
- **Package** (package_manifest): { "name": "tela-landing", "type": "module", "version": "0.0.1", "private": true, "description": "tela marketing landing — standalone Astro + Tailwind v4 OKLCH tokens + self-hosted Geist. Separate static build; backend/ + frontend/ untouched.", "engines": { "node": " =20.0.0" }, "scripts": { "dev": "astro dev", "build": "astro build", "preview": "astro preview", "astro": "astro", "gate:tokens": "playwright test token-conformance && stylelint \"src/ / .css\"", "gate:a11y": "playwright test a11y", "gate:motion": "playwright test reduced-motion", "gate:lh": "lhci autorun --config=lighthouserc.cjs", "gate:lh:mobile": "lhci autorun --config=lighthouserc.mobile.cjs", "gate:lh:showcase": "lhci auto… Evidence: `landing/package.json`
- **Package** (package_manifest): { "name": "tela-mcp", "mcpName": "io.github.zcag/tela", "version": "0.7.4", "description": "MCP server for Tela — a self-hostable, markdown-native team wiki. Lets Claude, Cursor, and other agents search, read, and write your wiki pages. A stdio↔HTTP proxy to a Tela instance's built-in MCP server {TELA BASE URL}/api/mcp for hosts that can't speak HTTP transport directly.", "keywords": "mcp", "model-context-protocol", "wiki", "knowledge-base", "markdown", "documentation", "ai-agents", "claude", "cursor", "self-hosted", "tela" , "homepage": "https://telawiki.com", "repository": { "type": "git", "url": "git+https://github.com/zcag/tela.git", "directory": "mcp" }, "bugs": { "email": "tela@telawi… Evidence: `mcp/package.json`
- **Contributing** (documentation): If you would like to contribute code to go-jose you can do so through GitHub by forking the repository and sending a pull request. Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/CONTRIBUTING.md`
- **Contributing** (documentation): Before you invest a significant amount of time on a change, please create a discussion or issue describing your proposal. This will help to ensure your proposed change has a reasonable chance of being merged. Evidence: `backend/vendor/github.com/jackc/pgx/v5/CONTRIBUTING.md`
- **Contributing** (documentation): Prometheus uses GitHub to manage reviews of pull requests. Evidence: `backend/vendor/github.com/prometheus/procfs/CONTRIBUTING.md`
- **How to contribute** (documentation): <!-- SPDX-FileCopyrightText: The go-mail Authors Evidence: `backend/vendor/github.com/wneessen/go-mail/CONTRIBUTING.md`
- **Contributing to Go** (documentation): It is the work of hundreds of contributors. We appreciate your help! Evidence: `backend/vendor/golang.org/x/oauth2/CONTRIBUTING.md`
- **License** (source_file): GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 Evidence: `LICENSE`
- **License** (source_file): Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Evidence: `backend/vendor/github.com/MicahParks/jwkset/LICENSE`
- **License** (source_file): Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Evidence: `backend/vendor/github.com/MicahParks/keyfunc/v3/LICENSE`
- **License** (source_file): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files the "Software" , to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Evidence: `backend/vendor/github.com/beorn7/perks/LICENSE`
- **License** (source_file): Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Evidence: `backend/vendor/github.com/coreos/go-oidc/v3/LICENSE`
- **License** (source_file): Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/LICENSE`
- **License** (source_file): Copyright c 2012 The Go Authors. All rights reserved. Evidence: `backend/vendor/github.com/go-jose/go-jose/v4/json/LICENSE`
- **License** (source_file): Copyright c 2012 Dave Grijalva Copyright c 2021 golang-jwt maintainers Evidence: `backend/vendor/github.com/golang-jwt/jwt/v5/LICENSE`
- **License** (source_file): Copyright c 2025 JSON Schema Go Project Authors Evidence: `backend/vendor/github.com/google/jsonschema-go/LICENSE`
- The remaining 20 evidence entries are in `AI_CONTEXT_PACK.json` or `EVIDENCE_INDEX.json`.

## Rules the Host AI Must Follow

- **Treat this asset as pre-work context, not a runtime environment.**: The AI Context Pack contains only an evidence-backed understanding of the project, not the project's executable state. Evidence: `docs/submission-assets/README.md`, `CLAUDE.md`, `README.md`
- **When answering the user, distinguish what can be previewed from what can only be verified after install.**: The consumer value of the pre-install experience comes from reducing bad installs and misjudgments, not from pretending to be a real run. Evidence: `docs/submission-assets/README.md`, `CLAUDE.md`, `README.md`

## Questions the User Should Answer First

- Which host AI or local environment do you plan to use it in?
- Do you just want to experience the workflow first, or are you ready to actually install?
- What matters most to you: install cost, output quality, or conflicts with your existing rules?

## Acceptance Checks

- Every capability claim can be traced back to a file path in evidence_refs.
- AI_CONTEXT_PACK.md does not package previews as a real run.
- The user can understand who it fits, what it can do, how to start, and the risk boundaries within 3 minutes.

---

## Doramagic Context Augmentation

The following sections strengthen the repository context for a host AI. Human Manual data is a reading route, and pitfall notes become operating constraints.

## Human Manual Outline

Usage rule: this is only a reading route and salience signal, not factual authority. Concrete claims must still return to repo evidence or Claim Graph.

Host AI hard rules:
- Do not treat page titles, section order, summaries, or importance values as factual project evidence.
- When explaining the Human Manual outline, state that it is only a reading route or salience signal.
- Capability, installation, compatibility, runtime state, and risk claims must cite repo evidence, source paths, or Claim Graph.

- **Overview & Quickstart**: importance `high`
  - source_paths: README.md, Makefile, CLAUDE.md, CONTENT.md, docs/self-hosting.md
- **System Architecture & Data Flow**: importance `high`
  - source_paths: docs/architecture.md, docs/decisions.md, backend/cmd/tela/main.go, backend/internal/api/router.go, backend/internal/api/api.go
- **MCP Server & Agent Integration**: importance `high`
  - source_paths: backend/internal/api/mcp.go, backend/internal/api/mcp_tools.go, backend/internal/api/mcp_resources.go, backend/internal/api/mcp_oauth.go, backend/internal/api/mcp_wellknown.go
- **Atlas Documentation Engine**: importance `high`
  - source_paths: backend/internal/atlas/engine/engine.go, backend/internal/atlas/engine/stages.go, backend/internal/atlas/core/model.go, backend/internal/atlas/core/ingest.go, backend/internal/atlas/core/notify.go
- **Sheets & Live Collaboration**: importance `high`
  - source_paths: frontend/src/components/app/grid-editor.tsx, frontend/src/lib/collab/tela-provider.ts, frontend/src/lib/collab/use-collab-session.ts, frontend/src/lib/collab/use-awareness.ts, frontend/src/lib/collab/use-leader-election.ts
- **RAG, Semantic Search & Ask-Your-Docs**: importance `high`
  - source_paths: backend/internal/rag/rag.go, backend/internal/rag/embed.go, backend/internal/rag/embed_openai.go, backend/internal/rag/search.go, backend/internal/rag/rerank.go
- **Deployment, Configuration & Self-Hosting**: importance `high`
  - source_paths: deploy/docker-compose.yml, deploy/docker-compose.split.yml, deploy/docker-compose.registry.yml, deploy/.env.example, deploy/proxy/Caddyfile
- **Operations, Licensing, Editions & Extensibility**: importance `medium`
  - source_paths: LICENSE, TRADEMARK.md, docs/licensing.md, docs/editions-and-pricing.md, docs/billing.md

## Repo Inspection Evidence

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `1451dadfcdfb2714cdd37b0c21852074b8d89433`
- inspected_files: `README.md`, `docs/access-model.md`, `docs/agent-authoring.md`, `docs/ai-over-attachments.md`, `docs/api.md`, `docs/architecture.md`, `docs/atlas.md`, `docs/attachments.md`, `docs/billing.md`, `docs/custom-domains.md`, `docs/decisions.md`, `docs/deck.md`, `docs/deploy.md`, `docs/editions-and-pricing.md`, `docs/editions-deploy-runbook.md`, `docs/excalidraw-collab.md`, `docs/ideas.md`, `docs/knowledge-intelligence.md`, `docs/licensing.md`, `docs/mcp-directory-submission.md`

Host AI hard rules:
- Without repo_clone_verified=true, do not claim that the source code has been read.
- Without repo_inspection_verified=true, do not write README, docs, or package-file conclusions as facts.
- Without quick_start_verified=true, do not claim that the Quick Start path has run successfully.

## Doramagic Pitfall Constraints

These rules come from Doramagic discovery, validation, or compilation findings. The host AI must treat them as operating constraints, not background notes.

### Constraint 1: Capability evidence risk requires verification

- Trigger: README/documentation is current enough for a first validation pass.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: capability.assumptions | https://github.com/zcag/tela
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 2: Security or permission risk requires verification

- Trigger: no_demo
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: downstream_validation.risk_items | https://github.com/zcag/tela
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 3: Security or permission risk requires verification

- Trigger: no_demo
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: risks.scoring_risks | https://github.com/zcag/tela
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 4: Maintenance risk requires verification

- Trigger: issue_or_pr_quality=unknown。
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: evidence.maintainer_signals | https://github.com/zcag/tela
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.
