Records
Decisions, and the reasons for them
The Chatto team writes down each important decision when it makes the decision. These pages
show the files in docs/adr/ and docs/fdr/ of
the repository.
169 of 188 records
Architecture decisions 108
Decisions that apply to more than one feature.
- ADR-001 NATS JetStream as Primary Data Store Partially superseded
- ADR-002 Single Binary with Embedded NATS Server Accepted
- ADR-007 Per-User Encryption Keys with Crypto-Shredding for GDPR Accepted
- ADR-008 Protobuf for Event Serialization Accepted
- ADR-009 Durable LiveKit Call State Accepted
- ADR-010 Svelte 5 Reactive Cache Whitelisting Accepted
- ADR-011 Message Body / Event Split Partially superseded
- ADR-012 Two-Tier Real-Time Event System Partially superseded
- ADR-016 Optimistic Concurrency Control for Message Publishing Partially superseded
- ADR-017 Cookie-Session Authentication Propagated to WebSocket Accepted
- ADR-018 SvelteKit SPA Embedded in Go Binary Accepted
- ADR-020 Build-Tag Gated Test Endpoints Accepted
- ADR-021 Dual Asset Storage — NATS ObjectStore Default, S3 Optional Accepted
- ADR-022 NanoID with Entity-Type Prefixes Accepted
- ADR-023 HMAC-Signed Image Transform URLs Accepted
- ADR-024 Opaque Bearer Tokens for Cross-Origin Authentication Partially superseded
- ADR-025 Multi-Server Client Architecture Partially superseded
- ADR-026 Event Identity via NanoID, Not JetStream Sequence Numbers Accepted
- ADR-027 Consolidate Instance + Space into a Single "Server" Concept Accepted
- ADR-028 Event-ID-Keyed Read State Partially superseded
- ADR-029 Rename
Instance→Serveracross the codebase Accepted - ADR-030 Retire the Space tier Accepted
- ADR-031 Room-Group-Centric ACL for Room-Scope Permissions Partially superseded
- ADR-033 Event-Sourced State with Derived Projections Accepted
- ADR-034 Single Domain Event Stream with Event-Type Subject Lanes Partially superseded
- ADR-035 Per-Aggregate Phased Migration to Event Sourcing Completed
- ADR-036 Persist Runtime State in RUNTIME_STATE Partially superseded
- ADR-037 DM Access via Membership, Not a Read Permission Partially superseded
- ADR-038 Room-Owned Thread State Accepted
- ADR-040 Permission-Only RBAC with Owner Override Partially superseded
- ADR-041 Runtime Units for Optional Chatto Processes Accepted
- ADR-042 Protobuf-First Public API with ConnectRPC and Realtime WebSocket Accepted
- ADR-044 ConnectRPC Service Conventions Accepted
- ADR-045 Public API Stability Tiers Accepted
- ADR-046 Typed Runtime Credentials Partially superseded
- ADR-047 Direct Ticketed Asset URLs for Browser Media Accepted
- ADR-048 Frontend Optimistic UI Uses Scoped Provisional Patches Accepted
- ADR-049 Process-Wide Realtime Event Hub Accepted
- ADR-050 Ephemeral Encrypted Projection Snapshots Accepted
- ADR-052 Subject-Specific RBAC with an Everyone Baseline Accepted
- ADR-053 Versioned NATS Service Namespaces Accepted
- ADR-054 Projection Persistence Is Optional Accepted
- ADR-055 Pluggable Message Search over NATS Accepted
- ADR-056 Incubate an Extractable NATS Event-Sourcing Framework Accepted
- ADR-057 Temporarily Incubate Authling in the Chatto Repository Accepted
- ADR-058 Extract an Application-Neutral Embedded NATS Runtime Accepted
- ADR-059 License Shared Framework Modules under Apache-2.0 Accepted
- ADR-060 Extract Application-Neutral Data Cryptography Accepted
- ADR-061 Extract Application-Neutral Configuration Loading Accepted
- ADR-062 TanStack Query for Snapshot-Style Frontend Reads Accepted
- ADR-065 Runtime JSON Client Internationalization Accepted
- ADR-066 Durable Asset Processing as a Runtime Unit Partially superseded
- ADR-067 Package Chatto Desktop with Electron Partially superseded
- ADR-068 Select Event Mutation Consistency Boundaries Explicitly Partially superseded
- ADR-069 Manage Durable Consumer Lifecycles Explicitly Accepted
- ADR-070 Derive Invitation Capabilities from Durable EVT Identity Accepted
- ADR-071 Identify Open OAuth Clients through CIMD Accepted
- ADR-072 Optional Host Capabilities in the Shared Frontend Accepted
- ADR-073 Define the Loom Architecture Accepted
- ADR-074 Keep the Frontend Server Catalogue Device-Local Accepted
- ADR-076 Store Notification Lifecycle Facts in a Bounded Event Stream Accepted
- ADR-077 Present Notifications as One Persistent Occurrence List Accepted
- ADR-079 Renewable Bearer Sessions with Rotating Refresh Credentials Partially superseded
- ADR-080 Gate Message Content with
message.readPartially superseded - ADR-081 Explicit Expiry for Mutable Runtime Credentials Accepted
- ADR-082 Derive Thread Interactions from Message Facts Partially superseded
- ADR-083 Use Action-Limited Credentials for Bot Incoming Webhooks Accepted
- ADR-084 Separate Internal Protobufs by Storage Contract Accepted
- ADR-085 Provide User-Scoped Agent Integration through MCP Accepted
- ADR-086 Commit Room-Layout Structural Mutations Atomically Accepted
- ADR-087 Use Request-Time Authorization with Aggregate OCC Accepted
- ADR-088 Coordinate Projection Components Behind One Apply Barrier Accepted
- ADR-089 Project Client-Readable EVT State into ServerContentView Partially superseded
- ADR-090 Hydrate Room Timeline Payloads from EVT Accepted
- ADR-091 Use Semantic Realtime Events with Bounded Resume Partially superseded
- ADR-093 Use a Public Realtime Event Union with Dedicated Payloads Accepted
- ADR-094 Separate Durable and Pubsub Event Envelopes Accepted
- ADR-095 Direct-Message Permission Scope and Threads Accepted
- ADR-096 Require Session-Scoped Privileged Mode Accepted
- ADR-097 Deliver Best-Effort Outbound Bot Webhooks from EVT Partially superseded
- ADR-098 Retain Operational Diagnostics in LOG Accepted
- ADR-099 Package Chatto Mobile with Capacitor Accepted
- ADR-101 Share Public User Profiles Within Each Client Connection Accepted
- ADR-102 Order Workspace Tasks with Turborepo Accepted
- ADR-105 Gate the Effective-Owner Override with Privileged Mode Accepted
- ADR-106 Discover the Neighborhood on the Server Partially superseded
- ADR-107 Keep Chat Data Out of Device Storage Accepted
- ADR-108 Run a Compiled Development Stack on Loopback Hostnames Accepted
- ADR-109 Compute Badge Attention from Projections Accepted
- ADR-110 Share Process-Local Event ID Interning Across Projections Accepted
- ADR-111 Move the Client State Layer into
@chatto/clientPartially superseded - ADR-112 Keep the Server Catalogue in the Frontend Accepted
- ADR-113 Grant New Permissions Once on Upgrade Accepted
- ADR-114 JetStream Storage Conventions Accepted
- ADR-115 In-Process Domain Services Accepted
- ADR-116 Consume Internal TypeScript Packages from Source Accepted
- ADR-117 Message Post Idempotency in Runtime State Accepted
- ADR-118 Synchronize Chatto and Desktop Releases Partially superseded
- ADR-119 CHIEF (Chatto Import/Export Format) Accepted
- ADR-120 Resource Action Availability Accepted
- ADR-121 Publish Complete GitHub Releases for Desktop Updates Accepted
- ADR-122 Changeset-Driven Releases Accepted
- ADR-123 Durable Background Jobs Accepted
- ADR-124 Verified AT Protocol Handles Need an Independent Issuer Accepted
- ADR-125 Store User Data in the User's Own AT Protocol PDS Proposed
- ADR-127 Bounded Staleness for Runtime Credential Validation Accepted
- ADR-128 Serve Remote Images Through a Signed Server Proxy Accepted
- ADR-129 Server Texts Use the Frontend Translation Catalogs Accepted
Feature records 61
The behavior of one feature and the reasons for its design.
- FDR-001 Roles & Permissions (RBAC) Active
- FDR-002 Replies & Threads Active
- FDR-003 Thread Reply Echo Active
- FDR-004 Message Editing & Deletion Active
- FDR-005 Reactions Active
- FDR-006 @Mentions Active
- FDR-007 Direct Messages Active
- FDR-008 File Attachments & Video Processing Active
- FDR-009 Link Previews Active
- FDR-010 Typing Indicators Active
- FDR-011 User Presence Active
- FDR-012 Notifications Experimental
- FDR-013 Web Push Notifications Active
- FDR-014 Jump to Present Active
- FDR-015 Quick Switcher (Cmd-K) Active
- FDR-016 Voice Calls Active
- FDR-017 Room Groups & Sidebar Layout Active
- FDR-018 Account Lifecycle Active
- FDR-019 Room Lifecycle Active
- FDR-020 Server Branding & Configuration Active
- FDR-021 Admin Dashboard & System Monitoring Active
- FDR-022 User Profile Active
- FDR-023 Authentication & Sessions Active
- FDR-024 Permission Inspection Tool Active
- FDR-025 User Search & Member Directory Active
- FDR-026 Last-Room Memory Active
- FDR-027 PWA & Service Worker Active
- FDR-028 Operator API & CLI Active
- FDR-029 Chatto Shields Active
- FDR-030 Inline Message Timestamps Active
- FDR-031 Client–Server Compatibility Discovery Experimental
- FDR-032 Message Formatting Active
- FDR-033 Message Search Experimental
- FDR-034 Chatto Desktop Experimental
- FDR-035 Slow Mode Active
- FDR-036 Invitation Codes Active
- FDR-037 Pinned Messages Active
- FDR-038 Bot Accounts Experimental
- FDR-039 Message Access & Interactions Experimental
- FDR-040 Backup and Restore Active
- FDR-041 Transactional Email Delivery Active
- FDR-042 Chatto Neighbors Experimental
- FDR-043 Model Context Protocol Integration Experimental
- FDR-044 Threads Active
- FDR-045 Realtime Event Stream Experimental
- FDR-046 Privileged Mode Active
- FDR-047 First-Run Setup Active
- FDR-048 Chatto Mobile Experimental
- FDR-049 Server Gutter Active
- FDR-050 Provider Group Roles Active
- FDR-051 Room Invitations Experimental
- FDR-052 Message Send Retries Experimental
- FDR-053 History Import and Export Experimental
- FDR-054 Room Notices Experimental
- FDR-055 Keyboard Shortcut Help Active
- FDR-056 Background Jobs Experimental
- FDR-057 Search During Index Rebuild Planned
- FDR-058 AT Protocol Sign-In Experimental
- FDR-059 Client Experimental Features Active
- FDR-060 Release Highlights and Changelog Active
- FDR-061 Server Overview Active