Pular para o conteúdo

Referência

Toda spec sob meta/docs/stack/specs/ que ainda não tem renderer dedicado aparece aqui, agrupada por família. Use esta seção quando precisar do texto canônico sobre landing pages, packaging de release, formatos abertos (.kmd, .kpkg, .kvg), nomenclatura de CLI, contrato multi-tenant, variantes e demais regras governantes.

Accessibility

Accessibility nutrition labels

accessibility

accessibility/nutrition-labels.kmd

Public per-product manifest declaring which accessibility features the product supports — screen-reader, keyboard-only, captions, dynamic-type, reduced-motion, color-blind-mode, high-contrast, voice-control.

Inclusive design personas

accessibility

accessibility/personas.kmd

Inventory of 8 archetypal personas covering the four ability axes (vision / motor / cognition / hearing) in the three permanence states (permanent / temporary / situational).

Ai

Ai Ui

AI/MCP UX/UI specs

ai-ui

ai-ui/README.kmd

Catalog of UX/UI specs for AI and MCP (Model Context Protocol) components in Koder Stack.

AI agent step trace

ai-ui

ai-ui/agent-step-trace.kmd

Vertical step list + per-step expand (tool call, args, result, duration) + plan-and-execute (plan pre-render before run) + time-travel replay + branching for multi-step AI agents.

AI artifact panel

ai-ui

ai-ui/artifact-panel.kmd

Side panel split-screen (desktop/web) or bottom sheet (mobile) for AI-generated artifacts: code, KVG, markdown, HTML, mermaid diagrams. Live edit with diff context to AI on next message.

AI chat message bubble

ai-ui

ai-ui/chat-message-bubble.kmd

Baseline message bubble for any AI chat surface in Koder Stack:

AI code block

ai-ui

ai-ui/code-block.kmd

AI-generated code rendering with language detection, syntax highlight, copy button, optional run button, diff view, and defer-until-fence contract during streaming.

AI conversation history

ai-ui

ai-ui/conversation-history.kmd

Sidebar of past AI conversations: date-grouped (Today / Yesterday / Last 7 days / Older), search (literal + semantic), pin/archive/delete, auto-titulation, cross-device sync.

AI cost display

ai-ui

ai-ui/cost-display.kmd

Per-message badge + session header total + breakdown drawer for AI cost tracking.

AI inline suggest / ghost text

ai-ui

ai-ui/inline-suggest.kmd

Copilot-style ghost text autocomplete in any Koder editor surface. Dimmed inline suggestion + Tab/→ to accept + Esc to discard + partial-accept (word/line).

MCP elicitation UI

ai-ui

ai-ui/mcp-elicitation.kmd

UI for MCP server-initiated user input requests mid-tool-execution. Form mode (schema-driven) for inline fields; URL mode for external credentials.

MCP permission prompt

ai-ui

ai-ui/mcp-permission-prompt.kmd

Consent gate UI before invoking MCP tools with side effects.

MCP sampling approval

ai-ui

ai-ui/mcp-sampling-approval.kmd

UI for MCP server-initiated LLM completion requests delegated to the client (which has model + credentials + cost tracking).

MCP server state

ai-ui

ai-ui/mcp-server-state.kmd

Connection state visibility for every MCP server attached to a Koder client.

MCP tool invocation card

ai-ui

ai-ui/mcp-tool-invocation.kmd

Visual indicator + arguments preview + result rendering for every MCP tool call executed by a Koder client.

AI memory drawer

ai-ui

ai-ui/memory-drawer.kmd

Drawer to edit AI persistent memory: list/search/edit/delete items; audit log per item ("added by AI/user on X"); 4 categories matching Claude memory model (user/project/feedback/reference); export/import as markdown bundle.

AI model selector

ai-ui

ai-ui/model-selector.kmd

Dropdown/menu for choosing AI model mid-conversation.

AI prompt template gallery

ai-ui

ai-ui/prompt-gallery.kmd

Grid filterable de prompt templates: categoria + tag + author + provider. Preview, variable fill dialog (JSON Schema-driven; compat MCP prompts/list), favorite/star, share via Hub.

AI streaming text

ai-ui

ai-ui/streaming-text.kmd

Token-by-token reveal of AI-generated text with cursor, Stop button, Retry, autoscroll, and incremental markdown rendering.

AI system prompt editor

ai-ui

ai-ui/system-prompt-editor.kmd

Advanced power-user editor for system prompts (Claude Projects style / ChatGPT Custom GPTs).

AI thinking state

ai-ui

ai-ui/thinking-state.kmd

Collapsible "Thinking..." block for reasoning models (Claude extended thinking, DeepSeek R1, OpenAI o-family).

AI voice mode UI

ai-ui

ai-ui/voice-mode.kmd

Fullscreen voice conversation mode UI: waveform (input/output color-coded), push-to-talk + always-on toggle, barge-in visual, mute, end session. Extends voice/wake-word.kmd with conversational mode semantics.

Api

App Layout

Canonical layouts

app-layout

app-layout/canonical-layouts.kmd

4 canonical layout templates that cover ~90% of Koder UI screens. Each defines element placement, behavior across window-size classes, and accessibility contract.

Pane scaffolds (Adaptive)

app-layout

app-layout/pane-scaffolds.kmd

Material 3 Adaptive pane scaffolds — concrete APIs that materialize the canonical layouts (Feed/List-detail/Supporting/Custom) from canonical-layouts.kmd.

App Safe-Area / Window-Insets

app-layout

app-layout/safe-area.kmd

Consumo obrigatório de window-insets (status bar, nav bar, display cutout, IME) em todos os apps Koder.

App Topbar — Placement & Layout Rules

app-layout

app-layout/topbar-placement.kmd

Posição canônica do avatar (KoderUserBadge) e demais elementos primários da topbar em todos os apps Koder, per surface (web, desktop tradicional, desktop browser/IDE, mobile, TV, CLI/TUI).

Layout — Window size classes

app-layout

app-layout/window-size-classes.kmd

4 canonical window-size classes (Compact / Medium / Expanded / Large) that Koder UIs adapt to.

Trilha de auditoria

Audit Frontmatter

audit

audit/frontmatter.kmd

Convenção do bloco `audit:` em frontmatter YAML de specs e policies.

Auth

Koder ID OAuth Flow — TDD Test Template

auth

auth/oauth-flow-test-template.kmd

Test template normativo pra implementações da `specs/auth/oauth-flow.kmd`. T1-T8 baseline behavioral (R3-R9 do contrato) + I1-I3 integração com Koder ID staging + N1-N4 negativos.

Backlog

Backlog Ticket Numbering

backlog

backlog/numbering.kmd

Numeração de tickets no monorepo é sequencial por backlog no disco

Binários e CLI

Binary, CLI and Desktop App Naming

binaries-and-cli

binaries-and-cli/naming.kmd

Nomenclatura canônica para executáveis: binário k<slug>, dir /opt/koder/<slug>/, D-Bus ID dev.koder.<slug>, symlink em /usr/local/bin/, .desktop file, aliases de compatibilidade.

Standard CLI Flags for Koder Apps

binaries-and-cli

binaries-and-cli/standard-flags.kmd

Toda app Koder com binário CLI/desktop/TUI (Flutter desktop, Bubble Tea TUI, cobra CLI) deve aceitar um conjunto comum de flags com contrato preciso: `--version` e `--help` que terminam **antes** de qualquer init de GUI/runtime; `--user-data-dir` que isola profile/cache da sessão real do usuário; `--no-startup-window` que desacopla boot do runtime de criação de janela top-level.

Purge de cache

contract

cache-purge

cache-purge/contract.kmd

Canais de chat

Chat Channel Capability Matrix

chat-channels

chat-channels/capability-matrix.kmd

Canonical feature surface that every Koder bot chat channel (Telegram, WhatsApp, WebChat, Signal, Google Chat, Koder Chat, and future) must declare via `Channel.Capabilities()`.

Code

Code Anti-patterns

code

code/anti-patterns.kmd

Catálogo cross-language de anti-patterns proibidos: eval/dynamic exec sem audit, magic numbers, god classes, deep nesting, mutable global state, singleton sem DI, catching genérico, null propagation, premature optimization, boolean trap.

Code Comments

code

code/comments.kmd

Filosofia e regras de comentários cross-language: WHY-not-WHAT por default; comentário só quando o motivo é não-óbvio; doc comments per-lang com formato canônico; TODO/FIXME/HACK com handle + ticket; commented-out code proibido; license header quando aplicável; module docstring quando obrigatório.

Error Handling

code

code/error-handling.kmd

Padrões cross-language pra tratamento de erro internal: errors-as-values vs exceptions per-lang, error wrapping/chaining, panic/abort policy, recovery boundaries (top-level, request, goroutine), regra "log XOR throw" (não fazer ambos), sentinel/typed errors, resource cleanup on error.

Functions & Methods

code

code/functions.kmd

Design de funções/métodos cross-language: length limits (soft 30 /

Indentation

code

code/indentation.kmd

Indentação canônica da Koder Stack: **2 espaços** em todas as linguagens (exceto Makefiles onde a sintaxe exige tab).

Koda Code Style

code

code/languages/koda-style.kmd

Style guide específico de Koder Koda (`engines/lang/koda`): token grammar (base pra syntax highlighting), order de imports/declarações, doc comment style (#: triple-line), anti-patterns recorrentes (array aliasing writeback #750, implicit globals).

Naming Conventions

code

code/naming.kmd

Convenções de naming cross-linguagem da Koder Stack: variables/funcs per idiom da linguagem, classes/types sempre PascalCase, constantes SCREAMING_SNAKE_CASE, files snake_case (códigos) ou kebab-case (.kmd), acronyms tratados como palavra (HttpClient não HTTPClient), booleans com prefixo is_/has_/can_/should_.

Project Layout

code

code/project-layout.kmd

Layout intra-módulo per linguagem: source root, tests location, fixtures/testdata, resources/assets, build artifacts (gitignored), generated code, config files, docs, examples.

Comandos

Command Structure

commands

commands/structure.kmd

Estrutura canônica de um comando `/k-*` em `meta/context/commands/`: frontmatter obrigatório (name, type, category, inputs, outputs, requires), seções obrigatórias (descrição, sintaxe, fases numeradas, regras, exemplos), declaração de cada fase como `deterministic` ou `analytical` (Code First), audit block opcional.

Components

App bars

components

components/app-bars.kmd

Horizontal bar anchored at the top or bottom of an application surface — holds page title, primary navigation actions, and contextual actions.

Badges

components

components/badges.kmd

Small visual marker attached to another element, signalling presence of notifications, unread count, or status.

Banners

components

components/banners.kmd

Persistent informational bar at the top of a content region — carries a message and 1-2 actions.

Buttons

components

components/buttons.kmd

Button system — 7 variants (filled, tonal, outlined, text, elevated, icon, FAB), button groups, segmented buttons.

Cards

components

components/cards.kmd

Card — a container of related content + actions, typically clickable as a whole.

Carousels

components

components/carousels.kmd

Horizontally scrolling stack of items, optimized for browsing a collection at a glance.

Checkbox

components

components/checkbox.kmd

Binary toggle in a multi-select context — user marks 0..N options. Material parity (`/components/checkbox/overview`).

Chips

components

components/chips.kmd

Compact element representing an entity, attribute, or action — smaller than a button and used in groups.

Code Block

components

components/code-block.kmd

Code-block widget — the multi-framework code-tabs surface that hosts per-format code samples behind a shared tab strip (HTML / Flutter / Compose / SwiftUI / Web Components), with a per-tab copy button and a transient "Copied" toast.

Combobox (typeahead select)

components

components/combobox.kmd

Typeahead input + dropdown of filtered options with optional async loading, custom-value support, and multi-select variant.

Data table (admin-grade)

components

components/data-table.kmd

Admin-grade tabular component — sortable columns, multi-select with bulk actions, sticky header, pagination or virtualization, saved column views, expandable rows, inline edit.

Date picker (single, range, time)

components

components/date-picker.kmd

Accessible date picker — typed ISO entry + calendar grid for single date / date range / date+time.

Dialogs

components

components/dialogs.kmd

Modal interruption surface — basic dialog (centered modal), full-screen dialog (mobile/onboarding), and alert dialog (destructive confirm). Material parity (`/components/dialogs`).

Dividers

components

components/dividers.kmd

Thin line separating content groups within a single surface. Material parity (`/components/dividers`).

FAB menu

components

components/fab-menu.kmd

Material 3 Expressive FAB menu — successor of legacy "speed-dial". ToggleFloatingActionButton + N FloatingActionButtonMenuItems with staggered spring expansion + shape morph (FAB → "X").

Guide cue (one-shot onboarding tooltip)

components

components/guide-cue.kmd

One-shot tooltip-style component with arrow + title + body + optional CTA, surfaces a single feature discovery, persists per-user so it never re-shows after dismissal.

Info sprinkle (inline help dot)

components

components/info-sprinkle.kmd

Lightweight inline help — small "i" icon next to a label that, on hover / focus / tap, surfaces a short tooltip.

Lists

components

components/lists.kmd

Vertical stack of related items, each row showing a label and optional leading / trailing elements.

Loading indicator

components

components/loading-indicator.kmd

Material 3 Expressive Loading indicator — distinct from Progress indicators.

Menus

components

components/menus.kmd

Floating list of choices anchored to a trigger — opens on demand, closes after a choice or dismiss.

Model viewer

components

components/model-viewer.kmd

Interactive 3D model viewer — embed a glTF/GLB mesh that the user can orbit, zoom and (on capable devices) place in AR.

Navigation containers

components

components/navigation.kmd

Primary navigation surfaces for switching between top-level

Pickers (date + time)

components

components/pickers.kmd

Compound controls for selecting a date, time, date range, or date-time.

Progress indicators

components

components/progress-indicators.kmd

Visual feedback that an operation is in progress — linear (bar) or circular (spinner), determinate (known %) or indeterminate (unknown duration).

Radio buttons

components

components/radio-buttons.kmd

Single-select from N mutually exclusive options.

Search view

components

components/search-view.kmd

Full-screen / overlay search experience triggered from a search field — shows suggestions, recent queries, and live results as the user types.

Sheets

components

components/sheets.kmd

Surface anchored to an edge of the screen, slidable to reveal secondary content — bottom sheets (mobile primary) and side sheets (tablet/desktop).

Skeleton (loading placeholder)

components

components/skeleton.kmd

Skeleton placeholder primitives — block / line / circle / image — that mirror the final content shape during load.

Sliders

components

components/sliders.kmd

Single-handle or range-handle control for selecting a numeric value along a continuous or discrete scale.

Snackbars

components

components/snackbars.kmd

Transient feedback message at the bottom of the screen — confirms an action, optionally offers a single action (undo, retry).

Split button

components

components/split-button.kmd

Material 3 Expressive composite button: primary action + separate menu trigger side-by-side, divided.

Switch

components

components/switch.kmd

ON/OFF toggle with immediate effect.

Tabs

components

components/tabs.kmd

Horizontal navigation within a single context — primary tabs (top of content) and secondary tabs (filter within tab).

Text fields

components

components/text-fields.kmd

Text input control — 2 variants (filled, outlined), single-line and multi-line, with label, helper text, error state, leading/trailing icons, character counter.

Toolbars (docked + floating)

components

components/toolbars.kmd

Material 3 Expressive Toolbars — substituem o legado Bottom App Bar. Two variants: docked (anchored bottom, 56dp) and floating (horizontal bottom-center OR vertical side, hide-on-scroll).

Tooltips

components

components/tooltips.kmd

Brief contextual label revealing the name or description of a UI element on hover, focus, or long-press.

Content

Grammar and mechanics

content

content/grammar-and-mechanics.kmd

Ratified mechanical rules: capitalization, punctuation, numbers, brand-name handling, abbreviations, Oxford comma.

Plain language

content

content/plain-language.kmd

Reading-level target (Flesch-Kincaid ≤ grade 8 for body; ≤ 6 for primary actions and onboarding) + 5 mechanical rules that drop cognitive load for non-native speakers and cognitively diverse users.

Voice and tone

content

content/voice-and-tone.kmd

Persistent voice across all Koder surfaces (4 traits) + tone matrix varying by context (success / error / first-run / marketing / AI-generated).

Apps desktop

Product Name in Desktop Title Bar

desktop-apps

desktop-apps/title-bar.kmd

Como exibir o nome do produto na barra de título de apps desktop Koder (Linux/macOS/Windows).

Develop

Android Compose bindings catalog

develop

develop/android-compose.kmd

Native Android Jetpack Compose surface for Koder Design — the set of `@Composable` widgets, theming primitives, and packaging artifacts that mirror Koder's canonical components 1:1 for apps that want a native Android build (not via Flutter).

Per-platform code samples toggle

develop

develop/code-samples-toggle.kmd

Every component page on `kds.koder.dev` ships code samples for multiple platforms — Flutter, Compose, SwiftUI, Web (HTML+CSS) — with a single toggle that switches all samples on the page in unison.

KDS docs mobile responsiveness

develop

develop/docs-mobile-responsiveness.kmd

Audit + ongoing contract that every page on `kds.koder.dev` is usable on mobile screens (Compact width < 600 dp).

Develop — Get Started

develop

develop/get-started.kmd

Cross-platform onboarding index para `kds.koder.dev/get-started/`.

IDE integration (VSCode + Zed + JetBrains)

develop

develop/ide-integration.kmd

Contract for in-IDE Koder Design support — spec preview on hover, token autocomplete, drift detection lint, and live theme preview inside the editor.

iOS SwiftUI bindings catalog

develop

develop/ios-swiftui.kmd

Native iOS SwiftUI surface for Koder Design — the set of SwiftUI Views, modifiers, and environment objects that mirror Koder's canonical components 1:1 for apps that want a native iOS build (not via Flutter).

MCP integration (KDS for AI agents)

develop

develop/mcp-integration.kmd

How AI coding agents (Claude Code, Cursor, Codex, Windsurf) connect to the Koder Design System over Model Context Protocol.

Visual regression TDDs (overflow / chrome-overlap / proportion / sibling-collision)

develop

develop/visual-regression-tdds.kmd

Every Koder UI surface — web, Flutter (mobile/desktop), Android native, iOS native, TV — MUST ship visual-regression TDDs covering four categories: (1) viewport overflow, (2) chrome overlap (browser URL bar / OS nav bar / IME / notch), (3) decorative-element proportion, and (4) sibling decorative collision (intra-container shapes piling onto each other at narrow viewports).

Develop — Wear OS

develop

develop/wear-os.kmd

Wear OS 6 surface contract: EdgeButton (arc-shaped), Primary Layout slot-based, round-display optimization, watch-face color derivation. Spec preview — no Koder product consumes Wear OS today.

XR — canonical composables

develop

develop/xr-composables.kmd

Material 3 XR canonical composables: Orbiter, SpatialPanel, SpaceToggleButton, UserSubspace, SpatialRow/Column/Box, AlertDialog spatialized.

XR developer preview

develop

develop/xr-preview.kmd

Forward-looking spec for Koder Design on XR surfaces (Vision Pro, Quest, Android XR).

Documentação

Document Generation

docs

docs/generation.kmd

Tipos de documento gerados por categoria de objeto (Stack, Area, Sector, Module, Flow, RFC), requisitos de capa, regras de identidade visual e templates CSS para PDFs.

Fonts

Foundations

Adaptive design

foundations

foundations/adaptive-design.kmd

Koder UI is adaptive by default — single codebase serves phones, tablets, foldables, desktops, TVs, and web.

Customization

foundations

foundations/customization.kmd

How users + developers personalize Koder UI without leaving the design system.

Content design — UX writing

foundations

foundations/ux-writing.kmd

Voice, tone, vocabulary, and pattern guide for every user-facing string in Koder products.

Git Object Format

Interaction

Pull-to-refresh

interaction

interaction/pull-to-refresh.kmd

Material 3 Expressive pull-to-refresh pattern: drag from top ≥ threshold triggers refresh; spring-snap release; loading indicator morphs during drag and persists until completion.

Interaction — Selection

interaction

interaction/selection.kmd

How users mark/unmark items as selected — single-select, multi-select, range-select, and the visual + accessibility contract for each. Material parity (`/foundations/interaction/selection`).

Interaction — States

interaction

interaction/states.kmd

Visual + behavioral contract for the 8 interaction states every Koder control passes through: enabled, hovered, focused, pressed, dragged, selected, activated, disabled.

Protocolo IPC

KoderIPC Protocol

ipc

ipc/protocol.kmd

Protocolo de comunicação entre apps Koder (cross-process, cross-app IPC).

Formato KMD

Koder Markdown Format (.kmd)

kmd

kmd/format.kmd

Especificação do formato KMD (Koder Markdown) — extensão de CommonMark com frontmatter YAML, cross-refs validados e blocos Koder Koda inline.

Configuração de runtime Koder

Comportamentos de app Koder

Koder App Behaviors

koder-app

koder-app/behaviors.kmd

Comportamentos obrigatórios para todo app Koder (qualquer linguagem/ plataforma/canal): auth (Koder ID), branding, telemetria, auto-update, IPC, error reporting, i18n.

koder.toml

koder.toml — `category` field

koder-toml

koder-toml/category.kmd

Top-level `category` field in `koder.toml` placing each module in one of six canonical buckets.

Kover

Kover A/B Report & Gate Verdict

kover

kover/ab-report.kmd

Contrato de SAÍDA do Koder Kover: o JSON estável que `kover ab --json` e `kover gate --json` emitem para consumidores downstream (perf-gate de CI, bundle do Kortex, dashboards).

Kover Capture & Data

kover

kover/capture.kmd

Define a captura (tela/vídeo/áudio) do Koder Kover e o tratamento dos dados: engine de captura (reusa kcap), metadados, tipos e categorias de dado, formatos de arquivo, organização de armazenamento (records em kdb + bytes no object-plane), retenção tiered, e o gate obrigatório de consentimento + redação antes de exportar para a Koder Observability / Kortex.

Kover Scenario DSL & Mirror Mode

kover

kover/scenario-dsl.kmd

Define a captura de entradas do usuário, a serialização em uma DSL de cenários reproduzíveis, e o modo espelho (executar a operação em um programa e replicá-la automaticamente em um segundo programa similar).

Formato KPKG

Koder Package Format (.kpkg)

kpkg

kpkg/format.kmd

Especificação do formato `.kpkg` (pacote universal da Koder Hub): estrutura ZIP+bootstrap, kpkg.toml, plataformas suportadas, assinatura, export targets.

Formato KVG

Formato KZIP

Landing pages

Landing Pages — Áreas

landing-pages

landing-pages/areas.kmd

Estrutura, seções e deploy das landing pages das Áreas da Koder Stack (foundation/, suite/, dev/, vertical/ e demais Áreas L1).

Landing Pages — Catálogos

landing-pages

landing-pages/catalog.kmd

Estrutura e deploy de landing pages de **catálogo** (`platform.koder.dev`) — listagem filtrável de produtos.

Landing Conformance — Privacy

landing-pages

landing-pages/conformance-privacy.kmd

Detector de conformance de privacidade de landing pages: uma página pública NÃO pode linkar pro repositório de código-fonte.

Landing Conformance — UX

landing-pages

landing-pages/conformance-ux.kmd

Detector de conformance de UX de landing pages: responsividade mobile (breakpoints 768/480 + hamburger) e toggle de tema claro/escuro (anti-flash + color-scheme + botão).

Download Button (landings)

landing-pages

landing-pages/download-button.kmd

Botão Download em landings de produto Koder: sempre via `<koder-download-button slug="…">` do `engines/sdk/koder_web_kit` v0.2+. URL canônica do CTA: `hub.koder.dev/apps/<slug>`.

Landing Pages — Institucionais

landing-pages

landing-pages/institutional.kmd

Estrutura e deploy de landing pages **institucionais** (`www.koder.dev`, `company.koder.dev`) — marca Koder, não produto.

Landing Pages — Hub Package Pages

landing-pages

landing-pages/packages.kmd

Estrutura, meta tags Open Graph + Twitter Card, e composição da OG image para páginas de pacote individual no Koder Hub (`hub.koder.dev/apps/{slug}`, `/skills/{slug}`, `/bundles/{slug}`). Garante que sharing via WhatsApp/Facebook/Twitter/etc.

Landing Pages — Produtos Koder

landing-pages

landing-pages/products.kmd

Estrutura, seções, OG image e deploy de landing pages de produtos Koder. HTML monolítico, sem deps externas, en-US.

Landing Pages — Sectors

landing-pages

landing-pages/sectors.kmd

Estrutura e deploy de landing pages de **Sectors** (sub-divisões de Área que agrupam módulos relacionados).

Landing Pages — Specs / Formatos

landing-pages

landing-pages/specs.kmd

Estrutura, seções, OG image e deploy de landing pages de specs ou formatos abertos da Koder Stack — KVG, KPKG, KMD, RFCs públicas, e análogos.

Messaging

Migrations

Expand-migrate-contract migration recipes

migrations

migrations/expand-migrate-contract.kmd

Receitas concretas pro padrão expand → migrate → contract mandado por `policies/always-on.kmd § R3.1`, por tier de storage.

Multi-tenancy

Convenções de nomenclatura

Brand Score (naming)

naming

naming/brand-score.kmd

Fórmula do Brand score (Type/Pron/Son/Mem), bandas de rating, checklist de aplicação e alvos por categoria.

Component Naming Forms

naming

naming/forms.kmd

Forms of reference for every Koder Stack component: type, display name, bare name, slug, path, and aliases array.

Observability

Instrumentation Contract

observability

observability/instrumentation-contract.kmd

Contrato único que todo binding de instrumentação Koder (Go, Dart, JS, Python, …) DEVE satisfazer.

Formato pair

Postgres Compat

pg-dump-v17

postgres-compat

postgres-compat/pg-dump-v17.kmd

Privacy

READMEs

README — Produtos Koder

readmes

readmes/products.kmd

Formato canônico de README dos produtos Koder: seções obrigatórias, ordem, badges, links, idioma (en-US), regras de privacidade.

Empacotamento de release

Release Packaging Formats

releases

releases/packaging.kmd

Formatos canônicos de pacote por plataforma (.deb, .rpm, .apk, .AppImage, .kpkg, .msi, .dmg).

Frontmatter de RFC

RFC frontmatter — `phases:` array

rfc-frontmatter

rfc-frontmatter/phases.kmd

Convention for declaring multi-phase migration plans in RFC frontmatter so that `koder-spec-audit rfc-phase-pickup` can open backlog tickets automatically when each phase becomes eligible.

Security

Configurações

Settings Patterns

settings

settings/patterns.kmd

Convenção mestre de tela Settings em apps Koder: hierarquia canônica de

Signing

ICP-Brasil digital signature — Koder Signer contract

signing

signing/icp-brasil.kmd

Normative contract for the Koder Signer service (`services/crypto/signer/`) covering ICP-Brasil digital signature: supported formats (PAdES, CAdES, XAdES), signature policies (AD-RB, AD-RT, AD-RV), hardware token integration (A3 via PKCS#11), file certificate (A1 PFX) loading, certificate chain validation, timestamp authority (TSA) interaction, and revocation checking (CRL + OCSP).

Slo

Snapshots

Snapshot manifest format (.kvg)

snapshots

snapshots/manifest.kmd

Normative format for the Koder Snapshot manifest (`.kvg` — Koder Value Graph): file encoding (UTF-8/NFC), TOML-like section shape, required keys, and the trailing `[sig.ed25519]` block signed over canonical bytes.

Sound

Padrões de teste

Always-on test recipes T1-T9

testing

testing/always-on-recipes.kmd

Receitas concretas pros 9 templates de teste obrigatórios em `policies/always-on.kmd § Templates de teste mandatórios`.

Themes

A11y theme modes (color-blind, low-vision)

themes

themes/a11y-modes.kmd

Two additional theme modes alongside Verge light/dark — `color-blind` (deuteranopia-safe palette swap) and `low-vision` (text size +20%, font-weight ≥500, contrast floor AAA).

Brand-mandatory tokens

themes

themes/brand-mandatory-tokens.kmd

Subset of design tokens flagged as brand-mandatory — must NEVER be overridden by a product preset or downstream consumer.

Color — Advanced customization

themes

themes/color-customization.kmd

How tenants + users customize the Koder color system beyond preset picking — per-role overrides, brand color injection, accessibility presets, custom error/warning hues.

Dynamic color

themes

themes/color-dynamic.kmd

Generate a complete Koder color scheme from a single seed color — user-supplied (brand) or extracted from a wallpaper / hero image. Material parity (`/styles/color/dynamic/user-generated-source`, aka "Material You").

Color resources (tokens export)

themes

themes/color-resources.kmd

Catalog of color role exports per platform (CSS custom properties, Dart const, Compose ColorScheme, SwiftUI Color, Figma Variables). Material 3 parity (`m3.material.io/styles/color/resources`).

Color roles

themes

themes/color-roles.kmd

Semantic color role taxonomy — the mapping from concrete tokens (bg, surface, accent, error, etc.) to the UI elements that use each.

Color Schemes

themes

themes/color-schemes.kmd

Catálogo canônico de **esquemas de cor** (paletas) da Koder Stack — terceiro eixo da matriz visual (`ui-style × light-dark × color-scheme`), ortogonal aos dois primeiros.

Koder Design — Density modes

themes

themes/density.kmd

Three canonical page-level density modes (compact / default / comfortable) with token deltas, accessibility floor, persistence pattern, and multi-tenant override rules.

Editorial palette

themes

themes/editorial-palette.kmd

12-color expressive palette for Koder marketing, landing illustration, blog headers, and social posts — distinct from Verge UI palette (Adwaita 1:1) which governs in-product surfaces.

Elevation

themes

themes/elevation.kmd

Elevation system — 6 levels (0-5) expressed as shadows + tonal surface colors.

Motion

themes

themes/motion.kmd

Motion in Koder UI — index over 4 sub-specs: physics (principles + springs + reduced-motion), easing-duration (tokens), transitions (pattern catalog), spatial (parallax + 3D transitions / perceived depth).

Motion — Easing & Duration

themes

themes/motion/easing-duration.kmd

Duration tokens (5) and easing curves (5) for every deterministic Koder UI animation.

Motion — Physics

themes

themes/motion/physics.kmd

Motion physics for Koder UI — principles, performance budget, forbidden patterns, reduced-motion contract, and spring tokens (Material 3 Expressive).

Motion — spatial & perceived depth

themes

themes/motion/spatial.kmd

Pseudo-3D motion on flat surfaces: pointer/gyroscope parallax, depth-on-scroll, and 3D transitions (flip, cube, perspective shared- element).

Motion — Transitions

themes

themes/motion/transitions.kmd

Transition pattern catalog for Koder UI — 7 canonical patterns (fade, scale, slide, container transform, shared axis, push/pop, cross-fade), per-state motion, and page-level transitions.

UI Style preset families

themes

themes/presets-families.kmd

Taxonomy organizing the Koder Design UI Style presets into 5 families: **Era**, **Brand**, **Mood/Aesthetic**, **Cultural**, and **Domain**.

Shape library

themes

themes/shape-library.kmd

Catalog of 35 named shapes + morphing contract for Material 3 Expressive parity.

Shape

themes

themes/shape.kmd

Shape system — corner-radius scale, when to use which radius, and per-preset variation rules.

Typography

themes

themes/typography.kmd

Typography system for Koder UIs — font stacks, type scale, weights, leading/tracking tokens, and the 12 type roles every widget binds against.

Verge (v1 — OLED-aware dark)

themes

themes/verge.kmd

Verge is the canonical visual language of the Koder Design System — Koder's equivalent to Google's Material or Microsoft's Fluent.

Tools

Blog / changelog index

tools

tools/blog-changelog-index.kmd

HTML index page at `kds.koder.dev/blog/` that lists Koder Design releases as blog-style cards, ordered newest-first.

Contrast checker

tools

tools/contrast-checker.kmd

In-browser tool at `kds.koder.dev/tools/contrast/` that validates foreground-background color pairs against WCAG 2.2 AA / AAA.

Design kit export (Figma / Sketch / Adobe XD)

tools

tools/design-kit-export.kmd

Exports the current Koder Design system into formats consumable by popular design tools — Figma Variables JSON, Sketch shared styles, Adobe XD libraries — so designers iterate in their tool while staying in sync with code.

Migration guides

tools

tools/migration-guides.kmd

Auto-generated migration guides covering both (a) Material → Koder Design adoption and (b) version-to-version Koder Design upgrades. Material parity (`/develop/migration`).

Theme Builder

tools

tools/theme-builder.kmd

Interactive in-browser tool at `kds.koder.dev/themer/` that turns a seed color into a full Material-3-style palette and exports tokens in every supported format.

Variantes

Variantes — Taxonomy

variants

variants/taxonomy.kmd

Define o termo **variante** como instância executável de um componente Koder para uma combinação específica de superfície (UI/forma) × alvo (plataforma/SO) × fator de forma (dispositivo).

Apps web

Web App Responsiveness

web-apps

web-apps/responsiveness.kmd

Responsividade e conformidade mobile para web apps Koder (admin, dashboards, consoles SaaS): breakpoints, touch targets, iOS Safari, hover, tabelas, formulários.

Wire Compat

Workflow

Workflow Executor Protocol

workflow

workflow/executor-protocol.kmd

Contrato de como o engine do Koder Workflow (services/ai/workflow) invoca os serviços que executam cada step kind — llm→gateway, tool→tools, code→sandbox, agent→agents — e como a resposta vira o output do step.