Skip to content

feat(patterns): chat room composes into a Workspace (outlier-B groundwork) - #1758

Merged
joelteply merged 2 commits into
canaryfrom
feat/chat-workspace-projection
Jul 4, 2026
Merged

joelteply merged 2 commits into
canaryfrom
feat/chat-workspace-projection

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Projects the chat activity onto the remaining pattern primitives: roomsListing (nav = tab bar == channel-attention) + chatWorkspace (nav + left people-Listing + Content keyed by room purpose + empty context) + ChatContentBody. The data spine every activity projects the same way — foundry slots in as a different purpose + content body + a context HF-model Listing, zero shell change. 3 new tests; chat-view typecheck + all tests + lint green.

🤖 Generated with Claude Code

…work)

Adds the chat activity's projection onto the remaining pattern primitives
(ACTIVITY-ROOM-PATTERNS.md), so the whole room is expressed as data a
RenderTarget draws — not just the roster:

- `roomsListing(vm)` — the nav Listing (tab bar == persona channel-attention);
  one active cell today (the focused room), carrying its purpose as the group.
- `chatWorkspace(vm)` — the room as a `Workspace`: nav + left people-Listing +
  `Content` keyed by the room's `purpose` (the conversation body) + empty context.
- `ChatContentBody` — the chat Content payload (messages + isEmpty).

This is the data spine every activity projects the same way, so foundry (outlier
B) slots in as a different purpose + content body + a context HF-model Listing,
with ZERO shell change. 3 new tests: roster→people-Listing, room→nav-Listing,
room→Workspace with purpose-keyed Content. chat-view typecheck + all tests + lint
green.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit c0209bb into canary Jul 4, 2026
2 checks passed
@joelteply
joelteply deleted the feat/chat-workspace-projection branch July 4, 2026 02:38
joelteply added a commit that referenced this pull request Jul 4, 2026
…ft) (#1762)

* feat(sdk): #80 — automate view-payload vendoring (kill the silent drift)

The SDK deliberately VENDORS continuum view payloads from the canonical ts-rs
output (protocol/typescript/positron/) so a UI app depends only on
@continuum/sdk-typescript and stays public-installable. But the re-vendoring was
manual ("do not hand-edit; re-vendor on change") and drifted silently:
ChatViewState.purpose was hand-synced (not byte-exact), ForgeViewState was never
vendored at all.

- scripts/vendor-views.mjs — ONE declared vendored set (chat + foundry closures),
  copied deterministically from protocol/. `--check` mode fails loud on drift.
- Re-vendored ChatViewState (now byte-exact) + vendored ForgeViewState +
  ForgeModelView; barrels (views/index + SDK index) export them → the client can
  now import the foundry types (unblocks the foundry renderer).
- Wired `vendor:views:check` into `check:clients` so future drift can't merge.

Boy-scout while the gate was tightened: fixed 2 pre-existing non-null-assertion
lint errors (patternProjections.spec.ts) and 1 pre-existing typecheck error
(apps/tui fixture missing the now-required `purpose`) — both slipped past the CI
ratchet since #1757/#1758 but the tightened check:clients surfaces them. Full
check:clients green (73 client tests).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(sdk): update vendored-views barrel header for foundry + the automated script (review #1762)

The header still said 'chat closure only' and 'do not hand-edit; re-vendor' — now
it names the chat AND foundry closures and points at scripts/vendor-views.mjs +
the check:clients drift guard. Same boy-scout discipline the header preaches.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant