Skip to content

Wire compound composer playground at /playground/compound-composer - #7

Draft
arielconti10 wants to merge 1 commit into
ariel/bc-ratification-380bfrom
ariel/compound-composer-playground-380b
Draft

Wire compound composer playground at /playground/compound-composer#7
arielconti10 wants to merge 1 commit into
ariel/bc-ratification-380bfrom
ariel/compound-composer-playground-380b

Conversation

@arielconti10

Copy link
Copy Markdown
Owner

What

Stacked on #6. Creates the lab surface for eve-chat's compound composer (Item 4 of the composer plan):

  • Playground port (src/components/playground/compound-composer/): faithful copy of references/eve-chat/compound-composer/composer.tsx with three documented divergences — (1) the five hardcoded lucide icons become an injectable icons prop (icons.tsx supplies Hugeicons defaults per this repo's components.json iconLibrary; a lucide consumer passes its own set), (2) the preparing spinner gets a motion-reduce:animate-none path, (3) imports point at local shadcn paths. The snapshot in references/eve-chat/ stays untouched.
  • Route (app/playground/compound-composer/): URL-only — no nav entry, no sitemap entry (sitemap derives from content/navigation), robots disallows /playground/, page metadata sets noindex. Minimal playground layout with a "lab surface, not the registry" header.
  • Fixture rig (src/views/playground/compound-composer-content.tsx): rebuilt from the eve-chat snapshot rig with the external ui.sh picker replaced by plain local panels — (1) slot composition matrix (bare vs full stack), (2) submit lifecycle simulation (idle → preparing → busy → idle, Stop aborts), (3) attachments (picker/drag/paste, max cap, attachments-only sends), (4) typed controls payload inspector with a dispatch log.
  • src/components/ui/attachment.tsx: added via shadcn CLI (agreed dependency decision). Site-side only — not in registry.json, not synced to registry/base-nova/ui/, not on the public install surface.
  • Tests (tests/ui/compound-composer.test.tsx): runtime smoke tests (uncontrolled self-clear + typed controls in the submit payload, disarmed empty submit, busy-phase Stop) plus the snapshot's compile-time generic contract checks.

Constraints honored

  • references/eve-chat/ never edited; divergences documented in the port header for future re-syncs.
  • Registry composer, registry.json, public/r/ untouched.
  • No Bare/B/C/D variant picker.

Verification

pnpm run verify passes; vitest suite 85/85; production server smoke test on /playground/compound-composer returns 200 with the rig rendered.

Next

PR 3 (stacked on this) composes the B+C dispatch-moment ideas — defensibility strip, posture badge, plan→execute gate — as integrator-side slot fills on this rig.

Open in Web Open in Cursor 

Co-authored-by: Ariel Conti <arielconti10@gmail.com>
@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentic-craft Ready Ready Preview, Comment Jul 5, 2026 4:55pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants