Repository navigation
feat(web): foundry Content renderer + first generic positron component (listingCell) - #1772
Merged
Merged
Conversation
…onent (listingCell) Brick 1 of the foundry outlier (POSITRON-EVERY-CITIZEN.md): the web Content registry now dispatches a foundry room to its model catalogue — chat + foundry, ONE registry, NO shell change. The second-outlier proof that the shell dispatches by purpose. The elegant part, forced by the outlier: foundry's models and the chat roster/rooms all project to the SAME `ListingCell`. So instead of a bespoke model row, this introduces `listingCell(cell)` in render/parts.ts — the FIRST reusable positron web *component*: it draws ANY projected ListingCell (model, room, cohort) identically. Two consumers (foundry now) is exactly what earns the extraction — outliers first, then the component ([[positron-is-a-framework-not-vanilla-pages]]). The roster's rich member card stays bespoke while it carries live vitals meters; every other Listing routes through the generic cell. - render/parts.ts: `listingCell` (generic cell component). - content/registry.ts: register `foundry` → models via foundry-view `modelCell` + the generic cell; honest empty state. - foundry-view: export `modelCell` (one model→cell projection, reused by the renderer + the ContextPanel Listing). - apps/web depends on @continuum/foundry-view. Tests: 3 new (foundry renders its catalogue; empty state; unknown purpose fails loud) + 4 chat = 7 green; typecheck + lint clean. Goes live once a room DECLARES purpose "foundry" (#6 room-purpose dispatch — the next brick). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…no one left out Positron as the citizen-neutral interface substrate: one declaration rendered gorgeously for humans (web/mobile/terminal) AND perceived+OPERATED by AIs (persona Asha, agent Claude) via RAG + commands. Controls ARE commands (a button a human clicks == a command Asha invokes); the three axes (layout primitives / component library / render targets); foundry as the control-heavy outlier that proves it; the build path (#6 dispatch → foundry-web → controls-as-commands → foundry-for-Asha → extract component library → mobile). Grounds the foundry bricks. [[positron-every-citizen-no-one-left-out]] Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brick 1 of the foundry outlier (POSITRON-EVERY-CITIZEN.md): the web Content registry dispatches a foundry room to its model catalogue — chat + foundry, one registry, no shell change.
Forced by the outlier: foundry models + chat roster/rooms all project to the same
ListingCell, so this introduceslistingCell(cell)— the first reusable positron web component (draws any projected cell identically). Two consumers earns the extraction; outliers first, then the component. The roster's rich member card stays bespoke while it carries live vitals meters.render/parts.ts:listingCell·content/registry.ts: registerfoundry(models via foundry-viewmodelCell+ generic cell) · foundry-view exportsmodelCell· apps/web deps foundry-view.3 new tests (renders catalogue / empty / unknown-purpose fails loud) + 4 chat = 7 green; typecheck + lint clean. Goes live once a room declares purpose "foundry" (#6 — next brick).
🤖 Generated with Claude Code