calyr.aí
YAML source of truth content/research-system.yamlBinding research_system

04 · design system

Swiss Code

Make the shared visual, structural, interaction, and provenance rules explicit.

08shared principles
01

One structure

Chapter anatomy

01

Orientation

State chapter, scope, status, and source before detail.

02

Contract

Name inputs, transformations or interactions, outputs, and limitations.

03

Evidence

Keep provenance, uncertainty, applicability, and missingness visible.

04

Action

End with a test, decision, implementation step, or next reading.

05

Validation

Define how the method, decision, or interface can fail.

02

One layout

Design tokens

grid

columns
12
max_width_px
1240
gutter_px
20
content_split
[3, 9]
card_split
[3, 5, 4]

spacing

base_unit_px
8
section_min_px
48
section_max_px
96

typography

family
Helvetica Neue, Helvetica, Arial, sans-serif
headline_style
large, compact, left-aligned, negative tracking
label_style
uppercase, compact, letter-spaced
body_measure_ch
76

palette

paper
#050505
card
#090909
ink
#f5f5f2
soft
#a7abb0
line
#343434
accent
#39bfff

breakpoints

stacked_px
780
compact_px
620
03

Design principles

Rules before components

SC-01

Clarity before ornament

Every graphical element must carry structure, state, evidence, or action.

SC-02

One grid, many depths

Overview, catalog, contract, and reading detail use the same twelve-column logic.

SC-03

Visible provenance

Every generated chapter states the YAML contract and any linked long-form source.

SC-04

Stable navigation

The three chapters and Swiss Code stay in the same order and position.

SC-05

Explicit state

Active chapter, filters, uncertainty, applicability, and status cannot depend on color alone.

SC-06

Reversible interaction

Drill-down, adaptation, and comparison preserve a path back to the prior state.

SC-07

Responsive hierarchy

Mobile layouts stack the same semantic order rather than inventing a separate page.

SC-08

YAML first

Routes, chapter order, tokens, structure, labels, and content bindings are edited in YAML and compiled.

04

YAML first

Content provenance

Canonical files

  • content/research-system.yaml
  • content/books.yaml
  • content/content.yaml
  • content/structure.yaml

Generated outputs

  • web/public/research/research-system.css
  • web/public/research/swiss-code/index.html
  • web/public/research/methods/index.html
  • web/public/research/methods/evidence-reading-workflow/index.html
  • web/public/research/methods/oracling/index.html
  • web/public/research/methods/oracling/reading-room/index.html
  • web/public/research/interfaces/index.html

Generated HTML and CSS are publication artifacts. Edit their YAML or linked source and recompile; do not author the generated files directly.

05

SC-EVIDENCE-001

Evidence and Citation Architecture

Keep discovery, private source material, reviewed evidence, versioned knowledge, and published prose distinct but traceable.

Open the operational method →
01

Safari

Discover

Capture the canonical source page and its identity; a saved tab is not yet evidence.

02

Zotero

Preserve and annotate

Keep metadata, lawful attachments, annotations, locators, and private reading notes together.

03

calyr.aí catalog

Review and extract

Convert selected annotations into atomic claims with evidence level, applicability, limitations, and source location.

04

Git

Version

Store reviewed YAML records, schemas, and prose; exclude credentials and normally exclude copyrighted full documents.

05

calyr.aí

Publish and verify

Build text from reviewed claims and verify that every externally checkable assertion resolves to supporting evidence.

06

Release contract

Validation gates

  1. YAML parses and cross-references resolve.
  2. All three chapter routes and Swiss Code are present in the shared navigation.
  3. Each page exposes its canonical YAML source.
  4. Desktop and compact layouts retain the same semantic order.
  5. Internal routes resolve without fallback.
  6. Production build completes before publication.