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 conformance (BR)

accessibility

accessibility/conformance-br.kmd

How a Koder surface declares accessibility conformance against the three Brazilian-relevant standards at once: WCAG 2.2 AA (technical baseline), eMAG 3.1 (Modelo de Acessibilidade em Governo Eletrônico), and LBI — Lei Brasileira de Inclusão (Lei 13.146/2015, arts.

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

External-provider OAuth client — connector-side contract

auth

auth/oauth-client-external-providers.kmd

Normative contract for every Koder component that acts as an OAuth 2.0 *client* (relying party) against a THIRD-PARTY provider — Google, Microsoft, GitHub — to ingest the user's external data (Gmail, Drive, Cloud, Outlook, repos).

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.

Koder ID Passkeys / WebAuthn — RP contract + passkey-first login

auth

auth/passkeys.kmd

Normative contract for WebAuthn/passkeys in Koder ID: the Relying-Party configuration (RPID/origins per environment), the credential lifecycle (registration/enrollment, authentication, sign-count, revocation), and the two authentication modes — passkey as MFA (second factor after password, already shipped) and **passkey-first / passwordless-primary** (login with a passkey and no password, tracked in services/foundation/id/engine#212).

Autonomy

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

Action sheet component

components

components/action-sheet.kmd

A context-anchored set of choices for the current task — slides up from the bottom on phones, presented as a popover on larger screens — used especially to confirm a destructive action with an explicit Cancel. Distinct from a dialog (which interrupts for an unrelated decision) and from a sheet (which holds content, not a choice list).

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.

Avatar component

components

components/avatar.kmd

The visual representation of a person or entity — photo with initials and generic-icon fallbacks, a size scale, optional presence indicator — plus the overlapping avatar group (face pile) with a "+N" overflow. Modeled after Atlassian Avatar / AvatarGroup.

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`).

Diff viewer component

components

components/diff-viewer.kmd

The component that renders a source-code diff in a code-hosting surface: split (side-by-side) and unified (inline) modes, per-file sticky header with collapse + stats, expandable context hunks, line-level add/remove/ context styling, and anchors for inline review comments.

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.

Log viewer component

components

components/log-viewer.kmd

The streaming build/run log surface for Koder Pipe (CI), Hub, and any product that shows machine output: monospace append-only stream with ANSI color, collapsible step groups, search, follow-tail autoscroll, virtualization for huge logs, plus a companion job/workflow DAG graph for multi-step builds.

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.

Money input component

components

components/money-input.kmd

A currency-aware amount field — optional currency selector, per-currency decimal precision, locale-grouped formatting on blur, robust parsing of what the user types, and a minor-unit storage contract.

Navigation counters

components

components/nav-counters.kmd

Async-loaded count badges on navigation/tab items (e.g.

Navigation containers

components

components/navigation.kmd

Primary navigation surfaces for switching between top-level

Number input component

components

components/number-input.kmd

A numeric field with increment/decrement steppers, min/max/step bounds, precision, and locale-aware formatting — the base for quantities, counts, durations, and dimensions.

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.

State label component

components

components/state-label.kmd

The status pill for a code-hosting entity (issue or pull request) whose value is drawn from a per-entity state machine, not a free tag.

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.

Tree view component

components

components/tree-view.kmd

Hierarchical, expandable/collapsible list for nested data — file explorers, settings navigation, nested categories, org structures — with optional tri-state cascading checkboxes, lazy child loading, and full keyboard + ARIA tree semantics.

Content

Grammar and mechanics

content

content/grammar-and-mechanics.kmd

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

Plain language (pt-BR)

content

content/plain-language-ptbr.kmd

The Brazilian-Portuguese localization of the plain-language rule: a "burocratês → linguagem simples" term registry plus a lint that flags bureaucratic/legalese phrasing in pt-BR UI copy and suggests the plain equivalent.

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).

Data

CNPJ (alphanumeric)

data

data/cnpj.kmd

Validation + format rules for the Brazilian CNPJ company identifier, including the RFB Instrução Normativa 2.229/2024 ALPHANUMERIC CNPJ that begins issuance July 2026.

Data field types

data

data/field-types.kmd

Catálogo canônico dos tipos de dado de campo na Koder Stack — o conjunto fechado de tipos primitivos e semânticos (string, text, int, decimal, bool, date, datetime, uuid, enum, email, phone, money, cpf, cnpj, cep, url, json, binary-ref) com sua representação canônica de armazenamento, faixa/limite default e regras de preenchimento.

Data input masks

data

data/masks.kmd

Máscaras de apresentação para os tipos semânticos da Koder Stack — CPF, CNPJ, CEP, telefone, data, dinheiro, percentual.

Data field validation

data

data/validation.kmd

Regras canônicas de validação de campo na Koder Stack — required, format/pattern, length/range, check-digit (CPF/CNPJ), cross-field, e o contrato de onde a validação roda (client + server, server é autoridade). Define como uma falha de validação vira erro de classe `VL` e popula o array `fields` do envelope (`specs/errors/model.kmd`).

Design

UI Quality Score (UQS)

design

design/ui-quality-score.kmd

Índice composto 0–100 da qualidade de UI de uma surface (tela/form/ícone/ layout/landing): 5 pilares (Efetividade/Eficiência/Satisfação/Visual/A11y) com pesos por profile, sinais AUTO determinísticos, gate duro de contraste e bandas Sauro–Lewis.

Design System

DS Studio

design-system

design-system/ds-studio.kmd

O contrato do DS Studio — a surface que evolui o Themer (`/themer/`) pra autoria de um Koder Design System inteiro, sem código, determinística e sem LLM.

Design System Manifest

design-system

design-system/manifest.kmd

O contrato do que É um Koder Design System (DS).

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).

Desktop Environment

Desktop-environment parity model

desktop-environment

desktop-environment/parity-model.kmd

Modelo normativo de paridade de desktop-environment (Kolide ↔ referência, p.ex.

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).

Gesture TDDs for mobile UI (single/multi-finger tap · drag · parallel multi-finger drag · pinch/rotate · swipe/fling · system-edge gestures)

develop

develop/gesture-tdds.kmd

The Koder Stack test generators MUST emit touch-gesture tests for every MOBILE UI variant (Android/iOS, and any touch surface) of every component: single-finger tap/long-press/double-tap, single-finger touch-and-drag, MULTI-finger simultaneous tap, and MULTI-finger PARALLEL touch-and-drag (two-finger scroll, pinch/zoom, rotate), plus directional swipe/fling and system-edge gestures.

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.

Pointer-interaction TDDs for desktop UI (hit-test routing · pointer capture · wheel scroll-step · gesture cancellation · title-bar press)

develop

develop/pointer-interaction-tdds.kmd

The Koder Stack test generators MUST emit pointer-interaction tests for every POINTER-DRIVEN DESKTOP UI surface of every component — the class of surface that gesture-tdds.kmd explicitly puts out of scope ("pointer-only desktop surfaces"). These are mouse/trackpad invariants that don't depend on the toolkit: a fresh press hit-tests to the region UNDER the pointer (never a region holding capture); a discrete wheel notch scrolls a fixed number of lines, invariant to font/cell size; a new gesture cancels an in-flight one and releases capture; a title-bar press double-clicks to maximize/restore and single-drags to rearrange.

Synthetic input & virtual devices for test-gen (keyboard/pointer/touch/gesture · mic · webcam · USB/HDMI/Ethernet/Wi-Fi/Bluetooth hot-plug)

develop

develop/synthetic-input-and-virtual-devices.kmd

The Koder Stack test generators MUST be able to drive EVERY input a real user can produce on their computer, and to simulate the connection / disconnection of every device class — so parity tests (visual, animation, audio) and flow tests actually EXERCISE the flows end-to-end instead of stopping at a debug hook.

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).

Discovery

Service Registry Contract

discovery

discovery/service-registry-contract.kmd

The runtime service-discovery contract of the Koder Cloud: how a service instance registers/renews/deregisters its endpoint, how the registry expires dead instances, how a consumer opts a service into edge routing, and the health semantics — the single source of truth that the PRODUCER (Koder DNS registry, dns#015) stores and the CONSUMER (Koder Jet, jet#027) reads.

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

Gpu

Interaction

Haptic feedback

interaction

interaction/haptics.kmd

A semantic vocabulary for haptic feedback — impact, notification, and selection families mapped to UI events — so Koder apps trigger touch feedback consistently and sparingly across platforms, always paired with a visual/audible signal and respecting the OS haptics/reduce-motion setting.

Keyboard mnemonics

interaction

interaction/keyboard-mnemonics.kmd

Alt+letter access keys ("mnemonics") for menus, menu bars, dialog buttons, and form labels — the underlined-letter convention that lets keyboard users jump to a control without a pointer.

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).

Kanon

Kanon expressions v0.4

kanon

kanon/expressions.kmd

Kanon é a linguagem de expressões de regra do governance plane da Koder Stack (stack-RFC-015): nomeada, versionada, NÃO-Turing-completa, com EBNF e corpus de conformidade próprios.

Kdx

Formato KMD

KMD prose alerts

kmd

kmd/alerts.kmd

Inline markdown alert callouts ([!NOTE] / [!TIP] / [!IMPORTANT] / [!WARNING] / [!CAUTION]) embedded in prose via the blockquote syntax, rendered with a per-type icon + semantic color token.

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

KVG Stencil Libraries

kvg

kvg/stencils.kmd

Stack-level system of reusable KVG object libraries ("stencils"): themed banks of parametric `kdef` primitives (BPMN, UML, ER, floor plans, furniture, civil/ mechanical/electrical/electronic, PCB/IC, signage, characters, devices, …) that any KVG editor inserts into a document.

Kvs

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}`, `/design-systems/{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, floor de idiomas en-US+pt-BR (toggle EN/PT, default 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.

SVID Workload Identity Scheme

naming

naming/svid-identity.kmd

The SPIFFE-style URI scheme for internal service identities (SVIDs) issued by Koder ID for east-west mTLS (stack-RFC-009 Layer 2).

Notices

Broadcast Alerts (cross-session notices with expiry + priority)

notices

notices/broadcast-alerts.kmd

O sistema único de **alertas de broadcast** da Koder Stack: arquivos em `meta/context/notices/active/*.md` que o hook `notices-check.sh` (`UserPromptSubmit`) injeta no contexto de **toda sessão**, ANTES de qualquer ação, ordenados por prioridade, cada um com **expiração explícita** (auto-some) e/ou **disparo agendado** (`fires_on`, aparece só a partir de uma data futura — substitui `/schedule` para obrigações datadas).

Observability

Instrumentation Contract

observability

observability/instrumentation-contract.kmd

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

Operator Cockpit

Koder Triage — unified inventory & triage surface

operator-cockpit

operator-cockpit/cockpit.kmd

Koder Triage é o módulo oficial unificado de inventário/triagem de objetos da Koder Stack: ícones, nomes de componentes, tickets e assuntos/tarefas extraídos de chats (WhatsApp/Telegram).

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).

Remote

KRDP — Koder Remote Desktop Protocol

remote

remote/krdp/protocol.kmd

The wire contract for Koder Pilot remote access: transport (QUIC / WebTransport / relay), the versioned capability handshake, the multiplexed channel set (video/input/clipboard/file/audio/device/control), codec carriage over engines/kodec, identity + connection-ID brokering (Koder ID + relay), the permission/consent model, and security.

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.

Forced colors / high contrast

themes

themes/forced-colors.kmd

How Koder UIs respond when the OS forces a high-contrast color palette (Windows High Contrast / `forced-colors: active`, and equivalent platform modes): defer to the user's system colors, keep every shape and focus ring visible via borders + system-color keywords, and degrade the Verge token layer gracefully.

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.

Primitive color palette

themes

themes/palette.kmd

The PRIMITIVE color tier of the Koder Design System: named hues, each with an OKLCH tonal ramp (50–900).

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.