# Field: Human-Computer Interaction & Information Architecture

## Why This Field Matters to Storyweaver

The Storyweaver portal is a mid-fi hybrid: a clickable presentation that doubles as a coordination dashboard for 13 agents and 9 skills. Every structural choice — tabs, card click-expand, density toggle, dual human/agent legibility — has a corresponding HCI/IA research tradition that either validates or warns against it. This field answers: *why tabs and not a side-nav? why cards that expand rather than modals? why a density toggle rather than separate views?*

## Canonical Concepts

| Concept | Definition | Source |
|---------|-----------|--------|
| **Progressive disclosure** | Deferring advanced or rarely-used features to a secondary screen; reduces cognitive clutter while keeping power available | Nielsen (2006); Carroll & Carrithers (1984) |
| **Visual Information Seeking Mantra** | "Overview first, zoom and filter, then details on demand" — the canonical three-stage interaction sequence for information visualization | Shneiderman (1996) |
| **Cognitive Load Theory (CLT)** | Working memory is limited (~4 chunks, Cowan 2001; historically 7±2, Miller 1956); UI design must minimize extraneous cognitive load | Sweller (1988); Miller (1956) |
| **Information Architecture** | Structuring, organizing, and labeling content environments to support usability and findability; includes card sorting, faceted navigation | Morville & Rosenfeld (2006) |
| **Faceted navigation** | Organizing content by multiple overlapping classification dimensions simultaneously; users filter rather than navigate hierarchies | Hearst (2006) |
| **Data-ink ratio** | Maximize the proportion of ink (or pixels) representing actual data; eliminate chartjunk and decoration that does not encode information | Tufte (1983) |
| **Gestalt grouping principles** | Proximity, similarity, and closure as perceptual rules for grouping UI elements; establishes visual hierarchy without explicit borders | Wertheimer (1923); Ware (2004) |
| **Dual-audience legibility** | Designing artifacts simultaneously machine-parseable (structured, semantic) and human-readable (narrative, visual hierarchy); no single canonical HCI paper — bridges semantic web and CSCW traditions | Berners-Lee et al. (2001); Grudin (2009) |

## Academic References

| # | Author(s) | Title | Year | URL / DOI |
|---|-----------|-------|------|-----------|
| 1 | Few, S. | *Information Dashboard Design* | 2006 | ISBN 0-596-10016-7 |
| 2 | Nielsen, J. | "Progressive Disclosure" (NNGroup) | 2006 | https://www.nngroup.com/articles/progressive-disclosure/ |
| 3 | Carroll, J.M. & Carrithers, C. | "Training Wheels in a Word Processor" | 1984 | doi:10.1145/358234.358244 |
| 4 | Shneiderman, B. | "The Eyes Have It: A Task by Data Type Taxonomy" | 1996 | doi:10.1109/VL.1996.545307 |
| 5 | Morville, P. & Rosenfeld, L. | *Information Architecture for the World Wide Web* (3rd ed.) | 2006 | ISBN 0-596-52734-9 |
| 6 | Hearst, M.A. | "Clustering versus Faceted Categories" | 2006 | doi:10.1145/1121949.1121983 |
| 7 | Sweller, J. | "Cognitive Load During Problem Solving" | 1988 | doi:10.1207/s15516709cog1202_4 |
| 8 | Miller, G.A. | "The Magical Number Seven, Plus or Minus Two" | 1956 | doi:10.1037/h0043158 |
| 9 | Ware, C. | *Information Visualization: Perception for Design* (2nd ed.) | 2004 | ISBN 1-55860-819-9 |
| 10 | Tufte, E.R. | *The Visual Display of Quantitative Information* | 1983 | ISBN 0-9613921-0-X |
| 11 | Grudin, J. | "AI and HCI: Two Fields Divided by a Common Focus" | 2009 | doi:10.1609/aimag.v30i4.2271 |

*All references: training-knowledge, not live-verified. DOIs should resolve via https://doi.org*

## Mapping to Storyweaver Portal Design

- **Tab structure** is justified by Few's dashboard framing: each tab is a single-purpose monitoring surface. Tabs (not sidebar nav) because the views are parallel, not hierarchical — Pipeline, Agents, Skills, Tension, Episodes are peers, not a tree.
- **Agent cards with click-expand** implement Shneiderman's mantra directly: collapsed card = overview; expanded state = details on demand. CLT (Sweller) supports keeping collapsed cards to ≤5–7 visible attributes.
- **Density toggle** maps to Tufte's data-ink principle: compact view maximizes signal-per-pixel; expanded view adds context ink only when the user has explicitly requested it.
- **Gestalt grouping** justifies agent cards grouped by phase (East/South/West/North) rather than alphabetically — proximity and shared color encode phase membership without explicit borders.
- **Dual human/agent legibility** is handled architecturally: the visual layer (Gestalt, typography) serves humans; a semantic data layer (structured attributes, JSON/YAML toggle) serves agents. These are two renderings of the same underlying state, not two documents.

## Engineering Implications

- The JSON/YAML ↔ human view toggle must be a rendering transform on a single data source — not two separate documents that can drift.
- Agent card data model: `{name, phase, mandate, inputs[], outputs[], pause_conditions[]}` — maps directly to the click-expand interaction.
- Density toggle: CSS custom property (`--density: compact|comfortable`) controlling padding, font-size, and line-height — no layout reflow.
- Tab routing: each tab should be bookmarkable (hash-based or query-param) so agents can deep-link to specific views.

## Narrative / Chronicle Implications

The HCI mantra "overview first, zoom and filter, then details on demand" is a story about *trust* — you show the map before you show the territory. A portal that respects this mantra respects the reader's attention. In chronicle terms: every episode opens with an overview of what was known, then zooms into what was discovered, then hands off the detail to whoever needs it next.

## Risks / Cautions / Anti-Patterns

- **Dashboard creep**: adding real-time session data, auth flows, and live backend connections converts a mid-fi portal into an SaaS dashboard — a scope violation for this design pass.
- **Modal overload**: click-expand on cards is correct; opening modals for agent detail adds unnecessary z-axis complexity and breaks the cognitive model of "I am in the Agents tab."
- **Dual-document drift**: if the JSON/YAML view and the human view are maintained as separate artifacts, they will diverge — the only safe architecture is a single source rendered twice.

## Lines Worth Carrying into Voice Chronicle

> "The portal shows the map before it shows the territory — that is not a design choice, it is a form of respect."

> "Eleven references, two thousand years of perceptual science, all saying the same thing: show less first so the reader can ask for more."

> "Dual legibility is not a feature; it is a promise — that no knowledge lives only in the machine, and none only in the human."

## Visual Motifs for Grok Imagine

- A translucent card grid dissolving into structured JSON code — same information, two skins, one truth
- A dashboard with a compass rose in the upper right corner, teal and slate palette, four tabs lit like the four directions
- A close-up of a card expanding outward like a bloom opening — the gesture of "details on demand"
