Skip to content

feat(plugin): add feature-flagged Tiny Actor Grid preview (#1271)#1290

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775269110/pane-3
Apr 4, 2026
Merged

feat(plugin): add feature-flagged Tiny Actor Grid preview (#1271)#1290
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775269110/pane-3

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Add render_actor_preview(mode) in hooks/lib/tiny_actor_preview.py, gated behind CODINGBUDDY_TINY_ACTORS env var (default off)
  • Integrates get_cast_preset() and create_actor_card() to render a horizontal actor grid preview
  • Errors fall back to None without raising — safe for production surfaces

Test plan

  • is_tiny_actors_enabled() respects env var (on/off/empty/truthy values)
  • Flag disabled → returns None
  • Flag enabled + valid mode → returns non-empty formatted string
  • Flag enabled + unknown mode → returns None
  • Preview contains expected agent faces and labels
  • Preview contains Buddy moderator face (◕‿◕)
  • Preview respects available_width constraint
  • All preset modes (PLAN, EVAL, AUTO, SHIP) render successfully
  • Exception in preset → safe fallback to None
  • 14/14 tests passing

Closes #1271

Add render_actor_preview() gated behind CODINGBUDDY_TINY_ACTORS env var.
Integrates get_cast_preset and create_actor_card to produce a horizontal
actor grid preview. Feature is off by default; errors fall back to None.

Closes #1271
@JeremyDev87 JeremyDev87 added feat plugin packages/claude-code-plugin wow-experience Plugin Wow Experience Design cli CLI commands and interfaces labels Apr 4, 2026
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 4, 2026 2:25am

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: APPROVE ✅

CI Status: ALL PASS (28/28)

Code Quality

  • Feature flag via CODINGBUDDY_TINY_ACTORS env var (1/true/yes = on)
  • render_actor_preview(mode) returns None if disabled or no preset
  • Creates Buddy moderator card + primary + specialist cards from presets
  • Simple horizontal layout with width-aware truncation
  • Exception-safe: returns None on any error
  • _agent_id_to_label() extracts first word from kebab-case

Tests (135 lines)

  • Feature flag: default off, 1/true/0/empty
  • Disabled → None, enabled + valid mode → string, unknown mode → None
  • Preview contains Buddy face and agent labels
  • Width constraint respected

No Issues Found

Recommendation: APPROVE

@JeremyDev87 JeremyDev87 self-assigned this Apr 4, 2026
@JeremyDev87 JeremyDev87 merged commit 4daec63 into master Apr 4, 2026
28 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775269110/pane-3 branch April 4, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI commands and interfaces feat plugin packages/claude-code-plugin wow-experience Plugin Wow Experience Design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(plugin): add a feature-flagged Tiny Actor Grid preview to Buddy or council surfaces

1 participant