Internal
internal.territori.io
Internal Documentation

The knowledge base
behind Territori

Reference documents, formulas, schema and working notes for the Territori team. Not for distribution.

Reference
Overview

Project Brief

Product vision, goals, current priorities and the strategic framing behind every decision we make.

Schema

Schema Reference

All 25 entities, their fields, relationships and groups. The canonical data model for the platform.

Formulas

Formulas & Algorithms

Every computed index, metric and derived value — DPI, PCI, Opportunity Matrix, Moat Saturation Scoring.

Taxonomy

Moat Taxonomy

The 15 canonical moat dimensions — definitions, calibration notes and how each is scored and displayed.

Glossary

Definitions

Canonical definitions for every term used across the platform, UI, formulas and customer-facing copy.

Diagram

Entity Relationship Diagram

Visual map of all entities and how they relate — the schema as a diagram rather than a reference table.

Engineering
Architecture

Architecture Overview

App layers, route structure, data model, intelligence indices and planned deployment targets.

Code Review

Code Review

Structural findings, dead code, duplication and TypeScript gaps — prioritized with a recommended order of work.

Testing

Testing Framework

Framework decision, setup scripts and a full test case inventory for UI, E2E and DB integration layers.

Working Docs
Language

Phrases & Ideas

Working copy, editorial voice experiments and phrases being considered for the product and marketing.

Data

Sources Tracker

All data sources in scope — ingestion status, reliability rating, update cadence and integration notes.

Process

Session Startup

What to check and read at the start of every working session. Instructions for context and continuity.