# Field: HCI — Activity-Based Computing & Workspace Taxonomy

**Packet:** terminal-workspace-orchestration  
**Scope:** Conceptual models, naming taxonomies, and navigation patterns for multi-context desktop/terminal work  
**Date:** 2026-05-29  
**Angle:** Activity-Based Computing, virtual workspaces, task-context management, product vocabulary

---

## Canonical Concepts

### Activity (Activity Theory / ABC)
Leontiev's three-tier hierarchy (1981) underpins all ABC work:
- **Activity** — motivated, goal-oriented, resumable unit of human work (e.g., "develop feature X for Miadi")
- **Action** — conscious sub-step toward the goal (e.g., "edit route.ts")
- **Operation** — automatic, conditioned behavior (e.g., keystroke, tab switch)

Bardram et al.'s Activity-Based Computing (ABC, 2006–2019) lifted this into OS-level computing: an *activity* aggregates applications, documents, data, and collaborators into one suspendable/resumable bundle. Crucially, activities can **roam** across devices (suspend on desktop, resume at bedside display). This is the strongest research grounding for a "workspace" that travels with the operator.

### Room / Virtual Workspace (Henderson & Card, 1986)
A "room" is a named virtual workspace containing a coherent subset of open windows, solving "window thrashing" caused by finite screen space. Key finding: users naturally think in **spatial/room metaphors** — they remember *where* they were working, not which windows were open. The room is the mnemonic anchor, not the individual window.

### Task Context (Kersten & Murphy, 2006 — Mylyn/Mylar)
The "degree-of-interest" (DOI) model weights every file, class, and artifact by relevance to the *active task*. Mylyn hides low-DOI elements, surfacing only what matters now. Key insight: the **task** is the selection criterion; a "workspace layout" is a derived view of that task context. This directly maps to Miadi's "profile" concept (coding vs. review vs. research = different DOI filters on same repository).

### Task-Centric Window Management (GroupBar / Scalable Fabric, 2003–2004)
GroupBar (Grouping windows into named tasks, one-click task switch) and Scalable Fabric (periphery-shrink + named task groups) both demonstrate: users benefit most when window clusters are named and recalled as a *task unit*, not as individual windows. Spatial memory of task position accelerates resumption.

### Dedicated Workspace → Faster Resumption
Vetter et al. (2016, Computers in Human Behavior): dedicated virtual desktops per task yield **10 seconds faster resumption** and reduced cognitive load in sequential multitasking. The cost of setup is recovered after 3 task switches.

### Activity Life Cycle (Laevo, UIST 2014)
Activities are not static — they have a life cycle: *created → active → suspended → archived*. Temporal ordering (timeline-based access) aids resumption of old activities. This validates the concept of a named, persistent, resumable "workspace" rather than a transient window arrangement.

---

## Key Findings

1. **Activity is the right primitive.** Research consensus (Leontiev → Bardram → Voida → Laevo) is that the human-scale unit of work is an *activity* (goal-driven, resumable), not an *application* or a *window*. Naming the user-visible container "workspace" (=activity instance) is well-supported, as long as it is explicitly resumable and aggregates resources.

2. **Spatial/room metaphors reduce orientation cost.** Henderson & Card showed users orient by "where" (spatial memory) not "which app." Naming workspaces after their purpose (a project, a role, a review) makes the metaphor concrete and exploits this memory.

3. **Dedicated-per-task workspaces measurably reduce cognitive load.** Vetter et al. 2016 gives empirical weight to separating contexts: one workspace per logical task/project, not one workspace for all.

4. **Dual vocabulary is a cognitive liability.** Nielsen Norman Group (Krause 2021): "Users should not have to wonder whether different words, situations, or actions mean the same thing." Two co-existing terms for the same concept (`scene` ≡ `workspace`) impose measurable learning overhead. Every code path that surfaces both requires mental translation.

5. **Product nesting patterns (observed):**
   - VS Code: `folder` (file-system root) → `workspace` (collection of folders + shared settings, defined by `.code-workspace`). No "project" concept — workspace *is* the project.
   - JetBrains IntelliJ: `project` (one codebase, full IDE configuration) → `workspace` (meta-container for multiple projects, stored in `jb-workspace.xml`). Workspace is the *larger* container.
   - Arc Browser: `Space` (distinct browsing context with own tabs, color, identity) → `Profile` (identity + cookies). Space = activity context; Profile = persona.
   - macOS Mission Control: `Space` = virtual desktop; `Desktop` = default space. No nesting beyond that.
   - GNOME: `Activities` overview = bird's-eye of all spaces + windows. Same spatial vocabulary.

6. **"Profile" names the parameterization, not the layout.** Arc's Spaces + Profiles separation maps well to the Miadi need: a *workspace* is the spatial/resource layout, a *profile* (coding/review/research) is the behavioral parameterization of that layout.

---

## Recommended Model for Miadi

The current muddy hierarchy (`domain → project → workspace` + deprecated `scene` + `session` + `context snapshot`) can be resolved as follows:

```
domain          — logical project identity; detected per-terminal (e.g., "miadi")
└─ project      — a repository carrying .miadi/tide.yaml; belongs to one domain
   └─ workspace — a named, resumable layout: windows/panes/editor/browser opened
      │           for a specific {project × profile × branch × issue} combination
      │           (replaces AND retires "scene" everywhere)
      └─ profile — the parameterization of a workspace (coding / review / research)
                   determines which panes open, which branch is active, etc.

session         — a named, resumable tmux/terminal session; one session may
                  host one or more workspaces across one or more projects

context snapshot — a live observation: all active panes, grouped by domain/project;
                   read-only view, not a persistent entity; rename to "snapshot"
```

**Why this works:**
- `workspace` maps 1-to-1 to the ABC *activity* primitive (resumable, resource-aggregating, goal-named).
- `scene` becomes a **deprecated alias** — surfaced in the UI with a one-release warning banner ("Scene has been renamed Workspace"), then removed. No dual vocabulary after the grace period.
- `profile` names the behavioral parameterization, not the layout — mirrors Arc's model and is intuitive to developers.
- `session` retains its tmux meaning but is clearly *infrastructure* below workspace, not a synonym.
- `snapshot` (renamed from "context snapshot") signals its transient, read-only nature.

**The UI implication:** The web observation UI should show workspaces grouped by domain/project — not collapse everything undetected into "unknown." Detection failures should surface as "unattached terminals" (not "unknown workspace"), which is a call to action, not a mystery bucket.

---

## Cautions

- **Don't overload "project."** JetBrains and VS Code use "project" in opposite directions (JB: project < workspace; VSCode: project ≈ workspace). Miadi's existing definition (`project` = repo with tide.yaml, *inside* a domain) is coherent and should be held stable.
- **"Space" is taken.** macOS and Arc both use "Space" for a virtual desktop/browser context. Avoid it for Miadi's workspaces to prevent user confusion.
- **"Session" collision.** tmux "session," terminal "session," and HTTP "session" are all in play. Restrict "session" in Miadi vocabulary strictly to the tmux/resumable-terminal meaning.
- **Deprecation must be hard-dated.** Research on vocabulary consistency (Krause/NNG 2021) shows that indefinite coexistence of two terms compounds confusion over time. Set a hard sunset date for `scene` in the codebase and changelog.

---

## Engineering Implications

### Conceptual model + naming
- Establish a vocabulary contract file (e.g., `rispecs/vocabulary.md`) defining exactly: domain, project, workspace, profile, session, snapshot. Every API response field name, CLI flag, and UI label must match.
- Emit a deprecation warning in tide CLI for any `scene` config key. Provide `tide migrate scene→workspace` command.

### Web UI redesign
- Primary navigation: `Domain → Projects → Workspaces`. The snapshot view becomes a *secondary panel* ("Live Snapshot") not the primary surface.
- "Unknown" bucket → "Unattached Terminals" with a "Detect domain" action. This transforms an opaque bucket into a call-to-action.
- Each workspace card: name, profile badge, branch, linked issue, status (active/suspended). Mirrors the ABC activity card pattern (Bardram 2009 hospital UI).

### TypeScript package
- Export types: `Domain`, `Project`, `Workspace`, `WorkspaceProfile`, `TmuxSession`, `ContextSnapshot`.
- `Workspace` should carry: `{ id, name, projectId, profile, branch, issueRef, panes: Pane[], state: 'active'|'suspended'|'archived' }` — mirroring the ABC activity life cycle (Laevo 2014).
- `scene` type alias with `@deprecated` JSDoc — emits TS compile warning on use.

---

## Sources

- **Bardram, J.E., Bunde-Pedersen, J., Soegaard, M.** "Support for Activity-Based Computing in a Personal Computing Operating System." CHI '06, ACM. DOI: 10.1145/1124772.1124930. URL: https://www.researchgate.net/publication/221519528 — *Defines ABC activity as suspendable/resumable resource aggregate; introduces Activity Bar UI.* verified:true

- **Bardram, J.E., Jeuris, S., Tell, P., Houben, S., Voida, S.** "Activity-Centric Computing Systems." *Communications of the ACM* 62(8), 2019. DOI: 10.1145/3325901. URL: https://dl.acm.org/doi/10.1145/3325901 — *Most recent synthesis of ABC; defines activity roaming, suspend/resume, and activity as the HCI primitive.* verified:true (confirmed via ACM DL search result)

- **Henderson, D.A. & Card, S.K.** "Rooms: The Use of Multiple Virtual Workspaces to Reduce Space Contention in a Window-Based Graphical User Interface." *ACM Transactions on Graphics* 5(3), July 1986. DOI: 10.1145/24054.24056. URL: https://dl.acm.org/doi/10.1145/24054.24056 — *Originating spatial/room metaphor for virtual workspaces; demonstrates window-thrashing reduction.* verified:true

- **Kersten, M. & Murphy, G.C.** "Using Task Contexts to Improve Programmer Productivity." FSE '06, ACM, 2006. Semantic Scholar: https://www.semanticscholar.org/paper/7e19fe0cd5bd7730302b9ce4c046fb0712493dd5 — *Degree-of-interest task context (Mylyn); task is the selection criterion for what is shown.* verified:true

- **Voida, S., Mynatt, E.D., Edwards, W.K.** "Re-framing the Desktop Interface Around the Activities of Knowledge Work." UIST '08, ACM, 2008. URL: https://ecl.cc.gatech.edu/sites/default/files/publications/C.69-Voida-UIST-2008.pdf — *Activity as organizing principle for desktop; Giornata system; activity-centric resource grouping.* verified:true

- **Vetter, M., Auinger, A., Ebner, M.** "Dedicated Workspaces: Faster Resumption Times and Reduced Cognitive Load in Sequential Multitasking." *Computers in Human Behavior* 63, 2016. DOI: 10.1016/j.chb.2016.05.030. URL: https://www.sciencedirect.com/science/article/abs/pii/S0747563216302308 — *Empirical proof: dedicated virtual desktop per task = 10s faster resumption, lower cognitive load.* verified:true (confirmed via ResearchGate and ScienceDirect entries)

- **Jeuris, S. et al.** "Laevo: A Temporal Desktop Interface for Integrated Knowledge Work." UIST '14, ACM. DOI: 10.1145/2642918.2647391. URL: https://dl.acm.org/doi/10.1145/2642918.2647391 — *Activity life cycle (created→active→suspended→archived); temporal access to past activities.* verified:true

- **Robertson, G., et al.** "Scalable Fabric: Flexible Task Management." AVI '04, ACM. URL: https://www.patrickbaudisch.com/publications/2004-Robertson-AVI04-ScalableFabric.pdf — *Named task groups in window manager; spatial memory for task switching; GroupBar empirical study.* verified:true

- **Ringel, M.** "When One Isn't Enough: An Analysis of Virtual Desktop Usage Strategies and Their Implications for Design." CHI '03 Extended Abstracts. Microsoft Research: https://www.microsoft.com/en-us/research/publication/one-isnt-enough-analysis-virtual-desktop-usage-strategies-implications-design/ — *Taxonomy of 5 strategies for organizing virtual desktops; supports dedicated-per-task model.* verified:true

- **Krause, R.** "Maintain Consistency and Adhere to Standards." Nielsen Norman Group, 2021. URL: https://www.nngroup.com/articles/consistency-and-standards/ — *Dual vocabulary increases cognitive load; inconsistency cost; annual consistency review recommendation.* verified:true

- **VS Code Documentation.** "What is a VS Code workspace?" Microsoft, 2024. URL: https://code.visualstudio.com/docs/editing/workspaces/workspaces — *Workspace = collection of folders + settings; no "project" concept; folder ≈ workspace in single-folder case.* verified:true

- **JetBrains.** "Workspaces in IntelliJ IDEA." JetBrains Blog, Aug 2024. URL: https://blog.jetbrains.com/idea/2024/08/workspaces-in-intellij-idea/ — *Workspace > Project nesting in JetBrains; workspace is meta-container for multiple projects.* verified:true

- **Arc Browser Help.** "Spaces: Distinct Browsing Areas." The Browser Company. URL: https://resources.arc.net/hc/en-us/articles/19228064149143-Spaces-Distinct-Browsing-Areas — *Space = isolated browsing context per life-area; mental context separation; Spaces ≠ Profiles.* verified:false (page returned 403; confirmed vocabulary via UX analysis articles)

- **Leontiev, A.N.** *Activity, Consciousness, and Personality.* Prentice Hall, 1978. (Training knowledge, not live-verified) — *Three-tier activity/action/operation hierarchy; foundational for all ABC work.* verified:false
