Repository navigation
feat(ui): adopt Shadcn AI Elements in the deferred workspace - #39
Merged
Merged
Conversation
A request like "make me a landing page website" now makes Shaper write complete self-contained web source in its sandbox and finish through the new reserved, Shaper-only `flect app validate|propose` commands. The source is packaged by the same bounded pre-capsule adapter as project import, checkpointed onto flect/authoring, compiled for framework entrypoints, and rendered in the isolated capsule frame as the running canvas. Because the authorship trust domain equals a declarative proposal while the frame confinement is stronger, a review without blocked activation accepts automatically as one local Git transition; blocked reviews fall back to the explicit candidate ceremony (ADR 0005). - static authored apps accept through a direct local path so no candidate ceremony state ever becomes visible; framework builds keep their visible progress before automatic acceptance - compiled apps own their viewport full-bleed; the window drag surface shrinks to its visible handle and the protected Recovery control keeps a legible ground over arbitrary app content - the Shaper prompt authors files in small appended chunks, which also removes an unbounded stall when one huge bash tool-call argument hit the model output-token limit and Pi re-issued it forever; the Shaper generation timeout rises to 180 seconds - turn work logs report the wall-clock span of agent work instead of the summed tool durations - the capsule staging pipeline and framework packager load on demand, keeping the protected pre-tool workspace below its budget (607.9 KiB decoded, previously 612.5 KiB) - .agents/skills/flect-ui-state records the UI-state rules and the Effect Atom adoption decision (blocked until it supports effect v4) Claude-Session: https://claude.ai/code/session_01VNmFXmRMNV98Hyd3xogUuK
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.
Outcome
Flect now uses Shadcn v4 as the neutral UI foundation and the official AI Elements registry for its agent experience. The protected workspace remains an Astro island on Vite: the static shell loads first, while the Preact-compatible workspace and Effect-owned runtime remain deferred until needed.
What changed
Current evidence
6698b9a.bun run checkpassed: 905 Vitest tests (1 intentional skip), type-checking, lint, Effect and product-quality gates..appbundle built successfully.6698b9a(run 31706281232).External evidence deliberately not claimed
This host has no
xctrace/Instruments, AgentOS cluster, Windows/Linux target, clean second machine, or manual VoiceOver environment. Those remain external release gates and are not represented as complete in this PR.Review focus