Repository navigation
feat(positron): foundry room content kind (outlier B — pattern seam past chat) - #1759
Merged
Merged
Conversation
…am past chat) Adds `kind = "foundry"` — the foundry activity's room content, mirroring wall/kanban as a first-class positron ViewState. Per ACTIVITY-ROOM-PATTERNS.md an activity IS a room whose `purpose` selects its content; a foundry room's content is the forge workbench — the available model catalogue as the right-hand context Listing (the "HF model list on the right" the doc names), with config/recipe centre widgets growing the struct additively. - `ForgeModelView` — one model Listing row (model_id, display_name, source, optional params_b). Display fields only; a renderer draws it, params_b is Option (None renders unlabelled, never a fabricated 0). - `ForgeViewState` — KIND "foundry", carries room_id/room_name/purpose (same room-header fields chat carries) + `models` (REPLACE-on-change, like the wall). Data-backed: the live ModelCatalog (#78) folds into `models` in a sibling slice. - ts-rs exports ForgeViewState.ts + ForgeModelView.ts. 4 tests green (round-trip incl. optional param, ViewState kind single-sourced). This is outlier B to chat: SAME shell, a different Content + ContextPanel. It proves the pattern seam generalizes past chat at the contract layer. Remaining to go LIVE: the ModelCatalog→ForgeViewState projection, and structured room-purpose tagging (#6) so a room reports purpose "foundry" (today only free-text doctrine exists; string-matching prose would be the #70 anti-pattern — #6 is the clean fix). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…review #1759) Matches the wall/chat sibling test discipline the reviewer flagged: the ViewState test now asserts revision() is None (envelope-level counter, not a payload field), and a dedicated test pins that an empty model catalogue is a valid honest-empty view, not an error. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 4, 2026
…ge) (#1760) The continuum-positron crate had accumulated formatting drift (flagged in the #1759 review) — files not run through the pinned rustfmt 1.9.0. Pure formatting, zero behavior change; tests green. Keeps future feature diffs clean of incidental fmt churn. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 4.8 <[email protected]>
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.
Adds
kind = "foundry"— the foundry activity's room content, mirroring wall/kanban as a first-class positron ViewState. Per ACTIVITY-ROOM-PATTERNS.md a room'spurposeselects its content; a foundry room's content is the forge workbench — the model catalogue as the right-hand contextListing, config/recipe centre widgets growing additively.ForgeModelView— one model Listing row (model_id, display_name, source, optional params_b).ForgeViewState— KIND "foundry", room_id/room_name/purpose +models(REPLACE-on-change). Data-backed by the live ModelCatalog (Build(deps-dev): Bump @typescript-eslint/eslint-plugin from 8.29.1 to 8.35.0 #78) in a sibling slice.Outlier B to chat at the contract layer — same shell, different Content + ContextPanel. To go LIVE: the ModelCatalog→ForgeViewState projection + structured room-purpose tagging (#6; today only free-text doctrine exists, string-matching prose would be the #70 anti-pattern).
🤖 Generated with Claude Code