design-conventions

A set of rules that defines the visual identity and interface decisions for the TALLY app. It covers supported Apple devices, colors, appearance modes, and how visual state is shown.

In plain words
What is it for?
It is used when building or changing the app interface, including themes, colors, live-state indicators, and device-specific appearance behavior.
Why use it?
It gives developers a shared reference for keeping the app's screens consistent across iPhone, iPad, and Vision Pro.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/multiplex-term/multiplex/design-conventions
Clone the repo
git clone --depth 1 https://github.com/multiplex-term/Multiplex
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,213 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01213
Opus 5 $0.00000 $0.00607
Sonnet 5 $0.00000 $0.00243
Haiku 4.5 $0.00000 $0.00121

Measured yesterday against content hash 6d4c9ea137b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/agents/design-conventions.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design conventions

Split from AGENTS.md — the TALLY identity in code. Visual rationale: DESIGN.md.

  • Bundle id app.multiplexterm.multiplex; device families are iPhone + iPad + Vision Pro in every configuration (one universal iOS binary — iPhone always runs the single-window shell). Min visionOS 1.0 / iOS 17.
  • Design tokens live in Theme.swift — the TALLY identity: graphite chassis #17181A, screens darker than frames #0A0B0C, tally red #E5484D spent ONLY on live state and always captioned. Use tokens; color is state, never decoration (actions are neutral chips). Every token is appearance-dynamic (Color(light:dark:)): light is the Frost chassis #E4E8EE, screens brighter than frames (DESIGN.md "Daylight"). chassis stays an asset color so the launch screen hands off in either polarity. The appearance choice (ThemeStore.appearance: SYSTEM/LIGHT/DARK everywhere, plus GLASS on visionOS in every build) is applied by UIKitSceneRootViewController.applyAppearance through each scene window's overrideUserInterfaceStyle — never a mechanism that stops at presentation boundaries (SwiftUI's preferredColorScheme did). GLASS pins dark traits, shares DARK's terminal-theme slot, and independently rides GlassAppearanceTrait; GlassSelectionState mirrors it only where SwiftUI ornament/glass hosts cannot inherit that custom trait. Three traps: a visionOS sheet/popover hosts in its own window and misses an override already in place; a presented controller's own override beats its window's; and visionOS can retain a UILabel's previously resolved dynamic ink after an in-place override. Presented chassis surfaces adopt AppAppearanceFollowing (followAppAppearance(themes) in Chassis.swift; a presenter with no store seeds from the scene window's applied style), and every override writer schedules refreshDynamicTextColorsAfterTraitPropagation() after trait delivery. Never write .unspecified over a scene window carrying a pinned override. Components in Chassis.swift: ChassisLabel (compressed caps), ChassisChip/ChassisBadge (square actions), TallyLamp (captioned state lamp), ChassisSwitch + TallyFormBoolField (monochrome switches — never the system green pill). Font.mono is the identity/data voice; body copy stays SF Pro.
  • Fixed-size chrome type always goes through Font.mono / Font.ui, never raw .system(size:): iOS-on-Mac paints the iPad point grid at 77% with no opt-out, so both roles multiply by Theme.typeScale (1.3 there, 1.0 everywhere else); ChassisLabel scales size + kerning together, type-locked accents ride the same scale, and control geometry deliberately stays authored. Semantic styles keep Dynamic Type (preferredFont(forTextStyle:) PLUS adjustsFontForContentSizeCategory = true in UIKit) and get the Mac boost once at the scene root (traitOverrides .preferredContentSizeCategory); the two mechanisms never compound. One recorded exception to "geometry stays authored": the hold-CTRL Key Commands panel scales its keycap faces, row buttons, steppers, switches, and fields by Theme.typeScale too (KeyCommandMetrics) — a 26-pt keycap holding a scaled glyph read as a toy part on the Mac (2026-08-16); the agent editor's shared switch/arrow controls keep the authored size unless handed a scale.
  • visionOS hover: set hoverStyle (square .rect(cornerRadius: 2)) on every custom button/menu — on the CONTROL itself, never a subview/label (a label-level shape is silently ignored and you get the default rounded platter).
  • Terminal surface colors are user preference, not identity: they come from the selected TerminalTheme, never Theme tokens. Each appearance keeps its own selection (ThemeStore.selected(for:); the dark slot keeps the legacy UserDefaults key and defaults to .tally, light defaults to .tallyFrost — the light trio is contrast-tested in TerminalThemeTests). Open terminals re-skin live, and a scheme flip re-resolves through the pane's traits (TerminalPaneUIKit). keyboardAppearance stays .default — the keyboard belongs to the chassis appearance, not the terminal theme. tmux's own status line is left to the user's config (no status-style injection).
  • Secrets never touch disk in plaintext — always KeychainStore, keyed by host UUID.
  • Platform splits use #if os(visionOS); iPad sits on chassis with a neutral signal tint, visionOS keeps native glass for system controls. SYSTEM/LIGHT/DARK keep form sheets, wall, and terminal chrome on opaque TALLY chassis. The visionOS-only GLASS choice instead paints exactly one smoked material ground per window/sheet, clears full-bleed intermediates, and uses strata/line/open-pane tokens above it; never stack smoke layers. The app-lock veil remains opaque in every appearance.

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 76 lines · 0 tokens per session scan A 6d4c9ea137b8

Subscribe to this mod's changes

design-conventions is an agent published in the GitHub repository multiplex-term/Multiplex (10 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,213 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.