Skip to content

Latest commit

 

History

History
96 lines (70 loc) · 5.64 KB

File metadata and controls

96 lines (70 loc) · 5.64 KB

TableTheory Documentation

New to TableTheory? Start with the Go getting-started guide. TypeScript and Python runtime-specific package docs are staged alongside this surface as sibling package entrypoints in the shared TheoryCloud TableTheory subtree.

Go Guides Getting Started | API Reference | Core Patterns | Testing | Troubleshooting
Schema Struct Definition Guide | DMS v0.1 remains a repo-local planning document and is not published to TheoryCloud
Release State Release-State Safety Patterns
FaceTheory ISR Cache Schema | ISR Transaction Recipes | TTL Cache Patterns | ISR Idempotency
CDK CDK Integration
Migration Migration Guide

This directory contains the OFFICIAL documentation for TableTheory. All content follows AI-friendly patterns so both humans and AI assistants can learn, reason, and troubleshoot effectively.

Quick Links

Multi-language SDKs

  • Go (this folder): Getting Started, Core Patterns, API Reference
  • TypeScript: package docs are authored under ts/docs/ and published as a runtime-specific package surface alongside the canonical Go docs.
  • Python: package docs are authored under py/docs/ and published as a runtime-specific package surface alongside the canonical Go docs.

🚀 Getting Started

📚 Core Documentation

🤖 AI Knowledge Base

  • Concepts – Machine-readable concept hierarchy
  • Patterns – Correct vs. incorrect usage patterns
  • Decisions – Decision trees for architectural choices
  • LLM FAQ – Frequently asked questions for AI assistants

📦 Infrastructure & Integrations

📝 Repo-local Maintainer Artifacts

  • Planning, decision, and clarification templates live under docs/development/** and hgm-infra/planning/**.
  • These maintainer artifacts are intentionally excluded from the TheoryCloud user-facing TableTheory subtree.

Audience

  • Go developers building serverless applications on AWS
  • TypeScript developers building Node.js services and AWS Lambda functions
  • Python developers building services and AWS Lambda functions
  • DevOps engineers configuring DynamoDB infrastructure
  • AI assistants answering questions about TableTheory usage and best practices

Document Map

  • Start here: begin with the Go getting-started guide. TypeScript and Python package guides are staged alongside this surface as runtime-specific package entrypoints.
  • Use Core Patterns for copy-pasteable recipes in Go.
  • Use API Reference when you need detailed signature information for Go public methods.
  • Use Troubleshooting when encountering errors like ValidationException or ResourceNotFoundException.

Documentation Principles

  1. Examples First – Every concept starts with a runnable code snippet.
  2. Explicit Context – We clearly label ✅ CORRECT and ❌ INCORRECT patterns.
  3. Lambda Optimization – We prioritize serverless performance patterns (cold start reduction).
  4. Type Safety – We emphasize Go's type system to prevent runtime errors.
  5. Machine Parsable – We include YAML metadata for AI tooling.

Contributing

  • Maintainer authoring standards live in repo-local docs/PAY_THEORY_DOCUMENTATION_GUIDE.md and are intentionally excluded from the TheoryCloud user-facing surface.
  • Validate examples against live code
  • Include CORRECT/INCORRECT blocks for integration snippets
  • Update troubleshooting alongside code changes