Interface
How Koder components talk — APIs, IPC, command surfaces, protocols, versioning, error contracts.
Specs
- A11y theme modes (color-blind, low-vision)
themes/a11y-modes.kmdTwo additional theme modes alongside Verge light/dark — `color-blind`
- AI CLI/TUI Status and Recap Hooks
ai-ui/agent-cli-status-and-recap.kmdStandardizes terminal-based status lines (ANSI LEDs), turn-closing indicators,
- AI agent state hooks (useKoderAgent / useKoderChat)
patterns/ai-agent-state-hooks.kmdFramework-neutral state-machine contract for any AI chat / agent
- AI agent step trace
ai-ui/agent-step-trace.kmdVertical step list + per-step expand (tool call, args, result, duration)
- AI artifact panel
ai-ui/artifact-panel.kmdSide panel split-screen (desktop/web) or bottom sheet (mobile) for
- AI chat message bubble
ai-ui/chat-message-bubble.kmdBaseline message bubble for any AI chat surface in Koder Stack:
- AI chat surface primitives
patterns/ai-chat-surface.kmdSix composable primitives for assembling an AI chat surface in any
- AI citations / source attribution
ai-ui/citations.kmdFootnote-style inline citations + hover/long-press preview cards +
- AI code block
ai-ui/code-block.kmdAI-generated code rendering with language detection, syntax highlight,
- AI conversation history
ai-ui/conversation-history.kmdSidebar of past AI conversations: date-grouped (Today / Yesterday /
- AI cost display
ai-ui/cost-display.kmdPer-message badge + session header total + breakdown drawer for AI
- AI feature visual language
patterns/ai-feature-visual-language.kmdCanonical visual lexicon for distinguishing AI-driven surfaces from
- AI generated content disclaimer
ai-ui/ai-disclaimer.kmdRisk-tiered disclaimer mechanism for AI-generated content in Koder
- AI inline suggest / ghost text
ai-ui/inline-suggest.kmdCopilot-style ghost text autocomplete in any Koder editor surface
- AI memory drawer
ai-ui/memory-drawer.kmdDrawer to edit AI persistent memory: list/search/edit/delete items;
- AI model selector
ai-ui/model-selector.kmdDropdown/menu for choosing AI model mid-conversation. Capability chips
- AI multimodal input composer
ai-ui/multimodal-input.kmdUnified composer for text + image + file + voice input. Drag-and-drop
- AI prompt template gallery
ai-ui/prompt-gallery.kmdGrid filterable de prompt templates: categoria + tag + author + provider
- AI streaming text
ai-ui/streaming-text.kmdToken-by-token reveal of AI-generated text with cursor, Stop button,
- AI system prompt editor
ai-ui/system-prompt-editor.kmdAdvanced power-user editor for system prompts (Claude Projects style /
- AI thinking state
ai-ui/thinking-state.kmdCollapsible "Thinking..." block for reasoning models (Claude extended
- AI voice mode UI
ai-ui/voice-mode.kmdFullscreen voice conversation mode UI: waveform (input/output color-coded),
- AI welcome / first-run screen
patterns/ai-welcome-screen.kmdFirst-message hero an AI chat surface renders when the user hasn't
- AI/MCP UX/UI specs
ai-ui/README.kmdCatalog of UX/UI specs for AI and MCP (Model Context Protocol)
- Accessibility conformance (BR)
accessibility/conformance-br.kmdHow a Koder surface declares accessibility conformance against the three
- Accessibility nutrition labels
accessibility/nutrition-labels.kmdPublic per-product manifest declaring which accessibility features
- Action sheet component
components/action-sheet.kmdA context-anchored set of choices for the current task — slides up from
- Adaptive layouts (list-detail, supporting-pane, feed)
app-layout/adaptive-layouts.kmdThree canonical responsive layouts — list-detail, supporting-pane,
- Admin data table pattern
patterns/admin-data-table.kmdCanonical composition pattern for Koder admin tools that list typed
- Android Compose bindings catalog
develop/android-compose.kmdNative Android Jetpack Compose surface for Koder Design — the
- Approval gate pattern
patterns/approval-gate.kmdA paused step that waits for an authorized human to approve or reject a
- Audit Frontmatter
audit/frontmatter.kmdConvenção do bloco `audit:` em frontmatter YAML de specs e policies
- Audit log surface
patterns/audit-log.kmdThe immutable, filterable trail of "who did what, when" for a tenant —
- Avatar component
components/avatar.kmdThe visual representation of a person or entity — photo with initials
- Binary, CLI and Desktop App Naming
binaries-and-cli/naming.kmdNomenclatura canônica para executáveis: binário k<slug>, dir
- Brand Score (naming)
naming/brand-score.kmdFórmula do Brand score (Type/Pron/Son/Mem), bandas de rating, checklist
- Browser and platform support matrix
develop/browser-support.kmdPublished support contract for kds.koder.dev and every koder_web_kit
- CNPJ (alphanumeric)
data/cnpj.kmdValidation + format rules for the Brazilian CNPJ company identifier,
- CRUD page template
patterns/crud-page.kmdThe list → detail → edit scaffold for managing records of one entity:
- Callout card pattern
patterns/callout-card.kmdDismissible in-product nudge — illustration + heading + body +
- Charts (line / bar / area / pie / scatter / graph)
components/charts.kmdCanonical chart primitives — line / bar / stacked-bar / area /
- Chat Channel Capability Matrix
chat-channels/capability-matrix.kmdCanonical feature surface that every Koder bot chat channel
- Code review surface
patterns/code-review.kmdThe pull-request review surface: a diff (diff-viewer) overlaid with
- Combobox (typeahead select)
components/combobox.kmdTypeahead input + dropdown of filtered options with optional async
- Command Structure
commands/structure.kmdEstrutura canônica de um comando `/k-*` em `meta/context/commands/`:
- Component Naming Forms
naming/forms.kmdForms of reference for every Koder Stack component: type, display name,
- Confirmation page pattern
patterns/confirmation-page.kmdThe receipt surface shown AFTER a user successfully completes a
- Content overflow pattern
patterns/content-overflow.kmdWhat to do when content exceeds its container: truncate with an
- Content-Security-Policy — canonical posture for Koder Flow + sibling apps
security/csp.kmdNormative CSP posture for Koder Flow and every sibling Koder web
- DS Studio
design-system/ds-studio.kmdO contrato do DS Studio — a surface que evolui o Themer (`/themer/`) pra
- Dashboard page template
patterns/dashboard-page.kmdThe analytics/overview page scaffold: a scoped filter bar, a row of
- Data field validation
data/validation.kmdRegras canônicas de validação de campo na Koder Stack — required,
- Data table (admin-grade)
components/data-table.kmdAdmin-grade tabular component — sortable columns, multi-select with
- Date picker (single, range, time)
components/date-picker.kmdAccessible date picker — typed ISO entry + calendar grid for single
- Develop — Wear OS
develop/wear-os.kmdWear OS 6 surface contract: EdgeButton (arc-shaped), Primary Layout
- Diff viewer component
components/diff-viewer.kmdThe component that renders a source-code diff in a code-hosting surface:
- ESIGN digital signature — Koder Signer US profile (stub)
signing/esign.kmdUS profile (`?jurisdiction=us`) of the Koder Signer service per
- Empty state pattern
patterns/empty-state.kmdPurpose-built UI for "no data yet" surfaces — illustration + heading
- Error Model (canonical error envelope)
errors/model.kmdO envelope canônico, máquina-legível, de um erro na Koder Stack: os campos
- Error Reporting (all modules)
errors/reporting.kmdRelatório de erros para todos os módulos Koder: toggle "Relatório
- Error Taxonomy (classes, severity, retryability)
errors/taxonomy.kmdVocabulário canônico de erros da Koder Stack: o enum fechado de CLASSES
- Error page template
patterns/error-page.kmdThe full-page error template (404 / 500 / permission / expired session):
- Errors facet — index
errors/README.kmdÍndice navegável (não-autoritativo) das specs de erro da Koder Stack
- Exhaustive interaction-driven visual parity (drive every event over every element, capture the dynamic result, compare against a reference)
develop/interaction-visual-parity.kmdDRAFT — parent design the owner named (2026-07-05). The Koder UI-parity tooling
- External-provider OAuth client — connector-side contract
auth/oauth-client-external-providers.kmdNormative contract for every Koder component that acts as an OAuth 2.0
- Feature deprecation / end-of-life communication
patterns/deprecation.kmdCanonical pattern for communicating a feature's deprecation — in-app
- Feature paywall + access restriction
patterns/feature-paywall.kmdTwo sibling sub-patterns: (a) **paywall** — what surfaces when a
- Form page pattern
patterns/form-page.kmdA single editing surface with section-grouped fields and a sticky
- Form validation pattern
patterns/form-validation.kmdHow a form tells the user what is wrong and how to fix it: inline
- Gesture TDDs for mobile UI (single/multi-finger tap · drag · parallel multi-finger drag · pinch/rotate · swipe/fling · system-edge gestures)
develop/gesture-tdds.kmdThe Koder Stack test generators MUST emit touch-gesture tests for every
- Guide cue (one-shot onboarding tooltip)
components/guide-cue.kmdOne-shot tooltip-style component with arrow + title + body +
- Haptic feedback
interaction/haptics.kmdA semantic vocabulary for haptic feedback — impact, notification, and
- ICP-Brasil digital signature — Koder Signer contract
signing/icp-brasil.kmdNormative contract for the Koder Signer service
- IDE integration (VSCode + Zed + JetBrains)
develop/ide-integration.kmdContract for in-IDE Koder Design support — spec preview on hover,
- Index filters with saved views
components/index-filters.kmdComposite search + filter chips + saved views companion of
- Info sprinkle (inline help dot)
components/info-sprinkle.kmdLightweight inline help — small "i" icon next to a label that, on
- Inline definition (contextual term explainer)
components/inline-definition.kmdUnderlined term that, on hover / focus / tap, surfaces its definition
- Inline edit pattern
patterns/inline-edit.kmdEdit a single value in place — a click-to-edit field that swaps its
- Internationalization (i18n) Cross-Surface Contract
i18n/contract.kmdContrato cross-surface de internacionalização da Koder Stack: idioma
- KDS docs mobile responsiveness
develop/docs-mobile-responsiveness.kmdAudit + ongoing contract that every page on `kds.koder.dev` is
- KRDP — Koder Remote Desktop Protocol
remote/krdp/protocol.kmdThe wire contract for Koder Pilot remote access: transport (QUIC / WebTransport
- KVS activity model — PRs, issues, reviews, comments & the activity feed
kvs/activity-model.kmd - Keyboard mnemonics
interaction/keyboard-mnemonics.kmdAlt+letter access keys ("mnemonics") for menus, menu bars, dialog
- Koder ID OAuth Flow — TDD Test Template
auth/oauth-flow-test-template.kmdTest template normativo pra implementações da `specs/auth/oauth-flow.kmd`
- Koder ID OAuth Flow — consumer-side contract
auth/oauth-flow.kmdNormative contract for every Koder component that authenticates
- Koder ID Passkeys / WebAuthn — RP contract + passkey-first login
auth/passkeys.kmdNormative contract for WebAuthn/passkeys in Koder ID: the Relying-Party
- Koder ID Token Exchange — RFC 8693 delegation grant
auth/token-exchange.kmdNormative contract for the OAuth 2.0 Token Exchange grant
- Koder Pair — peer-to-peer device pairing handshake
pair/handshake.kmdProtocolo de handshake para pareamento peer-to-peer entre dispositivos do
- Koder Triage — chat cockpit surface (Telegram/WhatsApp)
operator-cockpit/chat-cockpit-surface.kmdEstende o cockpit do Koder Triage (cockpit.kmd) a uma SEGUNDA superfície: o
- Koder Triage — unified inventory & triage surface
operator-cockpit/cockpit.kmdKoder Triage é o módulo oficial unificado de inventário/triagem de objetos da
- KoderIPC Protocol
ipc/protocol.kmdProtocolo de comunicação entre apps Koder (cross-process, cross-app
- Log viewer component
components/log-viewer.kmdThe streaming build/run log surface for Koder Pipe (CI), Hub, and any
- Login Identifier Resolution
identity/login-resolution.kmdHow Koder ID (and any SDK or library that performs client-side
- Login Identifier Resolution — TDD Test Templates
identity/login-resolution-test-template.kmdTDD test templates for the contract in
- MCP elicitation UI
ai-ui/mcp-elicitation.kmdUI for MCP server-initiated user input requests mid-tool-execution
- MCP integration (KDS for AI agents)
develop/mcp-integration.kmdHow AI coding agents (Claude Code, Cursor, Codex, Windsurf) connect to
- MCP permission prompt
ai-ui/mcp-permission-prompt.kmdConsent gate UI before invoking MCP tools with side effects. Implements
- MCP sampling approval
ai-ui/mcp-sampling-approval.kmdUI for MCP server-initiated LLM completion requests delegated to
- MCP server state
ai-ui/mcp-server-state.kmdConnection state visibility for every MCP server attached to a Koder
- MCP tool invocation card
ai-ui/mcp-tool-invocation.kmdVisual indicator + arguments preview + result rendering for every
- Model viewer
components/model-viewer.kmdInteractive 3D model viewer — embed a glTF/GLB mesh that the user can
- Money input component
components/money-input.kmdA currency-aware amount field — optional currency selector, per-currency
- Multi-step wizard
patterns/wizard-multistep.kmdLinear or branching multi-step flow with per-step validation, step
- Navigation counters
components/nav-counters.kmdAsync-loaded count badges on navigation/tab items (e.g. "Issues 42",
- Number input component
components/number-input.kmdA numeric field with increment/decrement steppers, min/max/step bounds,
- OUIA test hooks (data-ouia-* contract)
testing/ouia-test-hooks.kmdEvery KDS-spec'd component MUST emit Open UI Automation (OUIA)
- Onboarding / product-tour pattern
patterns/onboarding.kmdFirst-run guidance: a progressive product tour of chained coach-marks
- One thing per page pattern
patterns/one-thing-per-page.kmdA form-design constraint: each page in a flow asks the user for ONE
- Password policy
identity/password-policy.kmdThe NCSC/NIST-aligned password rules for Koder ID — the ONLY surface in
- Per-platform code samples toggle
develop/code-samples-toggle.kmdEvery component page on `kds.koder.dev` ships code samples for
- Phone input (country selector + i18n format)
components/phone-input.kmdCountry-aware phone input — country selector + locale-aware mask +
- Pointer-interaction TDDs for desktop UI (hit-test routing · pointer capture · wheel scroll-step · gesture cancellation · title-bar press)
develop/pointer-interaction-tdds.kmdThe Koder Stack test generators MUST emit pointer-interaction tests for every
- RFC frontmatter — `phases:` array
rfc-frontmatter/phases.kmdConvention for declaring multi-phase migration plans in RFC frontmatter
- Report page template
patterns/report-page.kmdThe parameterized-report scaffold: a filter/parameter panel, a Run
- SVID Workload Identity Scheme
naming/svid-identity.kmdThe SPIFFE-style URI scheme for internal service identities (SVIDs) issued by
- Scoped Consent Tokens
identity/consent.kmdKoder ID issues, validates, and revokes signed, scoped consent
- Service Registry Contract
discovery/service-registry-contract.kmdThe runtime service-discovery contract of the Koder Cloud: how a service
- Settings Patterns
settings/patterns.kmdConvenção mestre de tela Settings em apps Koder: hierarquia canônica de
- Skeleton (loading placeholder)
components/skeleton.kmdSkeleton placeholder primitives — block / line / circle / image —
- Snapshot manifest format (.kvg)
snapshots/manifest.kmdNormative format for the Koder Snapshot manifest (`.kvg` — Koder Value
- Standard CLI Flags for Koder Apps
binaries-and-cli/standard-flags.kmdToda app Koder com binário CLI/desktop/TUI (Flutter desktop,
- State label component
components/state-label.kmdThe status pill for a code-hosting entity (issue or pull request) whose
- Task list pattern
patterns/task-list.kmdSection-level overview for LONG, multi-part journeys split into named
- Tree view component
components/tree-view.kmdHierarchical, expandable/collapsible list for nested data — file
- UI Quality Score (UQS)
design/ui-quality-score.kmdÍndice composto 0–100 da qualidade de UI de uma surface (tela/form/ícone/
- UI interaction performance — request→painted latency tiers
testing/ui-interaction-perf.kmdNormative contract for measuring, comparing and gating the latency of
- VCS activity timeline
patterns/vcs-activity-timeline.kmdThe chronological event stream on a code-hosting issue or pull request:
- Variantes — Taxonomy
variants/taxonomy.kmdDefine o termo **variante** como instância executável de um componente
- Voice — Wake-word + Talk Mode (settings + privacy)
voice/wake-word.kmdToggles obrigatórios em Settings (`voice.enabled`, `voice.talkMode`,
- Wire/API compatibility — Koder Flow vs upstream Forgejo
wire-compat/flow-vs-forgejo.kmdNormative contract for the wire/API surfaces Koder Flow promises to
- Workflow Executor Protocol
workflow/executor-protocol.kmdContrato de como o engine do Koder Workflow (services/ai/workflow) invoca
- XR developer preview
develop/xr-preview.kmdForward-looking spec for Koder Design on XR surfaces (Vision Pro,
- XR — canonical composables
develop/xr-composables.kmdMaterial 3 XR canonical composables: Orbiter, SpatialPanel,
- consent-record
privacy/consent-record.kmd - contract
cache-purge/contract.kmd - eIDAS digital signature — Koder Signer EU profile (stub)
signing/eidas.kmdEU profile (`?jurisdiction=eu`) of the Koder Signer service per
- i18n TDD Test Template (Cross-Surface)
i18n/test-template.kmdTemplate normativo de testes TDD pra validar conformidade com
- i18n leak detection
i18n/leak-detection.kmdDetection contract for "i18n leaks" — user-facing string literals
- iOS SwiftUI bindings catalog
develop/ios-swiftui.kmdNative iOS SwiftUI surface for Koder Design — the set of SwiftUI
- kds-public-api
api/kds-public-api.kmd