Overview of Restish v2 Design Records
mainThe Restish v2 Design Records corpus is a collection of technical specifications and design decisions that define the behavior, architecture, and implementation contracts of Restish v2. This corpus serves as the single source of truth for interoperability, security, and user expectations, ensuring that implementation details (like request execution, plugin lifecycles, and response normalization) are explicitly documented rather than implicit in the code.
Key areas covered by these records include:
- Foundations: CLI architecture, configuration models, and security trust boundaries.
- Request & API Model: Authentication flows, TLS handling, OpenAPI spec discovery, and command generation.
- Response & Data Flow: Response normalization, filtering (jq), pagination, streaming (SSE/NDJSON), and caching.
- Workflows & UX: Edit workflows, shell completions, diagnostics, and specialized output formats like
TOONfor LLM agents. - Extensibility: Plugin architectures (hook, command, and TLS-signer plugins) and custom CLI embedding surfaces.