Palamedes Decision Records
These living records describe the current Palamedes v2 model. Read them as a guide to the product and system, from broad decisions to implementation detail. They describe the repository contract; the release notes distinguish it from published releases.
Page outline
Numbers express reading order, not the date a decision was made. Git history preserves earlier versions and the rationale for changes.
The model at a glance
- Rust owns shared semantics; TypeScript adapters connect them to application hosts.
- Message text and optional context are the public identity. Compiled lookup keys remain internal artifacts.
- Catalogs compile to executable messages, and every public application runtime is parser-free.
- One
getI18n()primitive resolves the active instance: request-local on the server, with a document-fixed locale in the browser. - The native CLI owns local workflows and data configuration. Explicit executable plugins extend it without moving shared semantics into a JavaScript CLI.
The sections below explain the decisions behind this model. Start with the foundations; use the remaining groups when working on those boundaries.
Product and system foundations
Start with the product boundary, semantic model, runtime, and shared presentation principles.
- ADR-001: Project Scope and Open Positioning
- ADR-002: Rust-First Core with Thin Host Adapters
- ADR-003: Source-String-First Message Identity
- ADR-004: Generated Catalogs Use Executable Message Functions
- ADR-005: Public Application Runtime Is Parser-Free
- ADR-006: Universal
getI18n()Runtime Model - ADR-007: Locale Is Fixed for a Browser Document
- ADR-008: Framework Adapter Architecture
- ADR-009: Ferrocat as Catalog and ICU Foundation
- ADR-010: Translation Augmentation Boundary
- ADR-011: Editorial Visual Brand System
Toolchain and distribution
Then read how the native toolchain reaches users and exposes controlled extension points.
- ADR-012: Native CLI And YAML-First Configuration
- ADR-013: Native Boundary and Distribution
- ADR-014: The npm Launcher Is A Packaging Bridge With A Node-Free Escape Hatch
- ADR-015: Host Explicit Binary CLI Plugins In Rust
- ADR-016: Independent Update Checks and Opt-In CLI Usage Reporting
Implementation contracts
These records explain binding, compilation, performance, protocol, and host-specific mechanisms.
- ADR-017: Typed N-API Boundary with Workflow-First Native Operations
- ADR-018: Generated TypeScript Types Derived from the Native Binding Surface
- ADR-019: Native Catalog Rendering Produces Bundler Modules
- ADR-020: Internal Compiled Lookup Keys
- ADR-021: Runtime Formatter Subset Diagnostics
- ADR-022: Extraction Cache
- ADR-023: Bounded Parallel Extraction
- ADR-024: Native Transform Source Maps
- ADR-025: Binary Plugin Protocol For Rust-Hosted Extensions
- ADR-026: No React Router RSC Adapter
Website and project operation
Read these when changing shared documentation surfaces or the repository workflow.
- ADR-027: Shared Cross-Repository Site UI
- ADR-028: README Theme Composition
- ADR-029: Effective Flow Project Setup
Proposed decisions
These records describe experimental contracts and the criteria for adopting them.
Maintaining living decisions
Palamedes deliberately uses a living variant of ADRs. The classic convention keeps accepted decisions as historical records with stable numbers and links to successors when a decision changes. Here, each file describes the current decision and may be revised in place; numbers organize the reading sequence. Contributors and coding agents can read the current contract directly without resolving successor chains or combining conflicting historical instructions. Each current record still explains its context, alternatives, and consequences. The tradeoff is that earlier decisions and their chronology require Git history rather than a self-contained supersession log.
- Keep each record focused on one significant decision and its rationale. There is no target document count. A choice deserves a separate record when it has meaningful alternatives and durable consequences that future contributors need to understand.
- Related decisions may remain separate when they can change independently. For example, executable catalog functions do not by themselves guarantee parser-free package entrypoints. Merge records when they explain the same choice; move API inventories, procedures, and experiment detail to their owning documentation rather than expanding the decision log.
- Update an existing record when its decision evolves. Keep the current contract clear instead of appending amendments or supersession chains.
- Use
Status: Acceptedfor the current corpus andLast updated: YYYY-MM-DDfor semantic revisions. A proposed decision must be identified as proposed until it is adopted. Git carries chronology rather than dated rollout notes. - Begin each record with a short summary and its decision. Explain the context, meaningful alternatives, consequences, and verification or review triggers needed to understand it. Avoid task logs, obsolete API inventories, and experimental measurements that belong in reports.
- Keep exact executable values in code or configuration. The sole configuration exception is the project setup record, which owns the tracked Effective Flow settings as one cohesive table.
- Keep one canonical record per current decision. Remove abandoned intermediate states and link to migration guides, issue tracking, or benchmark evidence when readers need those distinct artifacts.
- Place new decisions by scope and dependency. Renumber only when the reading
structure changes, update repository references together, and retain old
public URLs through
site/decision-redirects.json. Retired URLs must point directly to the current record, without redirect chains.
Run pnpm check:decisions and pnpm check:llms after changing the corpus. The
website uses this same index for its reading guide and derives its sidebar from
the numbered source files.