An archetype defines a reusable screen pattern with a specific layout, keyboard layer, and component set. Applications MUST select one archetype per screen and adhere to its rules. Applications MAY combine archetypes across screens (e.g., a Dashboard screen and an Admin screen in the same application).

All archetypes inherit the CUA base keyboard (§2.2), three-region layout (§1.3), and footer key strip (§1.4).

§11.1 Dashboard

Purpose: Real-time monitoring and status overview (htop, btop, system dashboards).

Layout:

╔══ Dashboard Title ══════════════════════════════╗
║ ▲ Metric A: 1,234  │ ◉ Status B  │ ⚠ Warns: 3  ║
╠═════════════════════════════════════════════════╣
║ Column 1    │ Column 2 │ Column 3 │ Column 4    ║
║ row data    │ ◉ OK     │  120ms   │ 0           ║
║ row data    │ ⚠ SLOW   │  890ms   │ 2           ║
║ row data    │ ◉ OK     │   45ms   │ 0           ║
╠═════════════════════════════════════════════════╣
║ ?Help  r Refresh  /Filter  s Sort  q Quit       ║
╚═════════════════════════════════════════════════╝

Structure:

AreaRowsContent
Header metrics1–3Metric cards with status indicators
Data areaFlexScrollable data table or panel grid
Footer1–2Key strip

Keyboard (inherits all Tier 1; uses Tier 2 s, / from standard):

KeyActionTier
?HelpTier 1 (common key for F1)
rRefreshTier 1 (common key for F5)
/Activate filter inputTier 1
sCycle sort order (asc/desc)Tier 2
qQuitTier 1
Number keys (1–9)Sort by column NArchetype-specific

Key components: Metric cards, data table, sparklines, status indicators.

Example workflow — filter and sort a dashboard table:

StepKeyActionKLM
1/Open filterK = 0.28s
2Type queryFilter textM + nK
3EnterApply filterK = 0.28s
4sSort focused columnK = 0.28s
Total4 keystrokes + query~2.2s + typing

§11.2 Admin / Config

Purpose: Application configuration and settings management (setup wizards, settings panels).

Layout:

┌─ Categories ─┬── General Settings ──────────────┐
│               │                                  │
│ ▸ General     │  Application Name                │
│   Network     │  [ My App_____________ ]         │
│   Security    │                                  │
│   Advanced    │  Log Level                       │
│               │  (*) Info                        │
│               │  ( ) Debug                       │
│               │  ( ) Error                       │
│               │                                  │
│               │  Enable Caching                  │
│               │  [X] Enabled                     │
│               │                                  │
│               │  < Save >   < Cancel >           │
├───────────────┴──────────────────────────────────┤
│ F1 Help  Tab Next  Esc Cancel  Enter Save        │
└──────────────────────────────────────────────────┘

Structure:

AreaPositionContent
Region A — SidebarLeft, 8–16 colsCategory list
Region B — FormCenter, flexTabbed or sectioned form fields
FooterBottom, 1–2 rowsKey strip

Keyboard (inherits all Tier 1):

KeyActionTier
?HelpTier 1
EscBack / cancel editTier 1
Ctrl+SSaveArchetype
Number keys (1–9)Jump to sidebar item NArchetype
[ / ]Previous / next settings tabArchetype

Note: Single-letter Tier 2 keys (d, e, a) are suppressed in the Admin archetype because form fields dominate the screen. Use Ctrl+ modified keys or buttons instead.

Key components: Entry fields, toggles/switches, radio groups, push buttons, tabbed content.

§11.3 File Manager

Purpose: File system navigation and operations (Norton Commander, ranger, Midnight Commander).

Layout (dual-pane):

┌── /home/user ────────────┬── /home/user/docs ───────┐
│ ..                       │ ..                        │
│ ▸ documents/             │   report.pdf         12K  │
│   downloads/             │   notes.txt           2K  │
│   projects/              │   slides.pptx        45K  │
│   .bashrc            1K  │                           │
│   .gitconfig         2K  │                           │
├──────────────────────────┴───────────────────────────┤
│ user@host:~$                                         │
├──────────────────────────────────────────────────────┤
│ F3 View  F4 Edit  F5 Copy  F6 Move  F7 Mkdir  F8 Del│
└──────────────────────────────────────────────────────┘

Structure:

AreaPositionContent
Left panelLeft, 50%Directory listing with highlight bar
Right panelRight, 50%Directory listing or preview
Command line1 row above footerShell command input
FooterBottom, 1–2 rowsF-key operations

Keyboard (inherits Tier 1 with overrides per §2.7; uses context-panel layer §2.6):

KeyActionTier
TabSwitch active panelArchetype (context-panel layer §2.6)
Space or InsertSelect/deselect fileTier 1 toggle + Norton convention
/Filter file listTier 1
yCopy (yank) selected to other panelTier 2
dDelete selected (MUST confirm)Tier 2
aCreate directoryTier 2
eEdit fileTier 2
g g / GTop / bottom of listTier 1 scrolling
F3View fileArchetype (overrides §2.2)
F4Edit file (alias for e)Archetype (Norton convention)
F5Copy to other panel (alias for y)Archetype (overrides §2.2)
F6Move/rename selectedArchetype (Norton convention)
F7Create directory (alias for a)Archetype (Norton convention)
F8Delete selected (alias for d)Archetype (Norton convention)
EscBack / CancelTier 1 (replaces F3)
Ctrl+RRefreshArchetype (replaces F5/r)

Key components: File list with columns (name, size, date), path breadcrumb, selection markers.

(Norton Commander §7, OFM paradigm, §2.7 archetype key overrides)

§11.4 Editor

Purpose: Text editing and document manipulation (Vim, Turbo Vision editor, nano).

Layout:

┌── filename.py ───────────────────── ln 42, col 8 ─┐
│  1 │ def calculate(x, y):                          │
│  2 │     result = x + y                            │
│  3 │     return result                             │
│  4 │                                               │
│  5 │ # TODO: add error handling                    │
│    │                                               │
├────┴───────────────────────────────────────────────┤
│ -- INSERT --                  UTF-8  LF  Python    │
├────────────────────────────────────────────────────┤
│ F1 Help  F2 Save  F3 Close  ^G Goto  ^F Find      │
└────────────────────────────────────────────────────┘

Structure:

AreaPositionContent
Document areaFlexText buffer with optional line numbers
Status line1 rowFilename, cursor position, encoding, mode
Footer1–2 rowsKey strip

Keyboard (text input dominates — single-letter Tier 1/2 keys are suppressed by default):

KeyActionTier
Ctrl+S or F2SaveArchetype
Ctrl+F or /Find (/ only in normal mode)Tier 1 (/) + Archetype (Ctrl+F)
Ctrl+GGo to lineArchetype
? or F1Help (? only in normal mode)Tier 1

The Editor archetype MAY add a modal keyboard layer (§2.6) for vi-style normal/insert/command modes. When a modal layer is active, Tier 1/2 single-letter keys (q, r, d, e, a, s, g, n, y) MAY be rebound within the normal-mode layer. If modal layers are used:

  • The current mode MUST be displayed in the status line.
  • Esc MUST return to normal/command mode.

Key components: Text buffer, line numbers, status bar, optional syntax highlighting.

§11.5 Fuzzy Finder

Purpose: Rapid search and selection from large item sets (fzf, telescope, command palettes).

Layout:

┌── Find File ─────────────────────────────────────┐
│ > search query█                                  │
├──────────────────────────────────────────────────┤
│ ▸ src/utils/helpers.py              [92% match]  │
│   src/utils/http.py                 [87% match]  │
│   src/core/handler.py               [71% match]  │
│   tests/test_helpers.py             [65% match]  │
│                                                  │
│                                     4 / 128      │
├──────────────────────────────────────────────────┤
│ Enter Select  Esc Cancel  ↑↓ Navigate            │
└──────────────────────────────────────────────────┘

Structure:

AreaPositionContent
Filter inputTop, 1 rowText entry with type-to-filter
ResultsFlexRanked result list with match scores
PreviewOptional, right splitPreview of focused result
Footer1 rowKey strip

Keyboard (fuzzy layer §2.6 — all printable input goes to filter):

KeyActionTier
Any printable characterAppends to filterFuzzy layer (§2.6)
Ctrl+N or Arrow DownNext resultArchetype
Ctrl+P or Arrow UpPrevious resultArchetype
EnterSelect focused result and closeTier 1
EscCancel and closeTier 1
Ctrl+D / Ctrl+UHalf-page down / up in resultsTier 1 scrolling

Tier 1/2 single-letter keys (q, r, /, d, etc.) are captured by the filter input. Only Esc, Enter, and Ctrl+ modified keys remain functional. CUA navigation keys (Tab, F-keys) are suspended while the fuzzy layer is active.

Key components: Search input, scored result list, match highlighting, optional preview pane.


Appendix A: Rule Index

For auditing convenience, every section’s prescriptive rules are summarized:

SectionRule CountKey MUST Rules
§1 Grid & Layout6Three-region layout, footer always visible, 80×24 minimum, SIGWINCH handling
§2 Keyboard7CUA primary, 3-tier key system (F-key + common key duals), case-insensitivity, footer discoverability, key scope rules, composable layers, archetype overrides
§3 Navigation5Decision tree, 3-level menu max, unavailable items visible, ellipsis convention
§4 Components4Widget selection table, one default button, tab order, entry field fill characters
§5 Color65 semantic roles, 4 status colors, color independence, capability detection
§6 Borders65 elevation levels, active/inactive distinction, shadow rendering, scrim for modals
§7 Typography34 treatments only, reverse video for focus, error text requirements
§8 State Model36 mandatory + 1 conditional state, focus invariant, disabled visibility
§9 Accessibility6Dual rendering, scrolling regions, text labels, contrast ratios, focus visibility
§10 Motion34 timing tiers, long-operation feedback, capability degradation
§11 Archetypes5Dashboard, Admin, File Manager, Editor, Fuzzy Finder

Appendix B: Glossary

TermDefinition
Character cellThe atomic rendering unit: 1 column × 1 row in a monospace terminal grid
CUAIBM Common User Access — the base keyboard and interaction standard
ElevationVisual layering depth, expressed as Level 0–4
Footer key stripThe bottom 1–2 rows showing available keyboard actions
MnemonicAn underlined letter in a menu or label enabling single-keystroke selection
RegionOne of three layout areas (A=Navigation, B=Content, C=Context)
ScrimA dim overlay applied to background content behind a modal
SGRSelect Graphic Rendition — ANSI escape codes for text styling
Monospace TUIMonospace Design TUI — the design system defined by this standard (package: mono-tui)