Skip to content

feat(plugin): define mode-specific Tiny Actor cast presets (#1272)#1284

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

feat(plugin): define mode-specific Tiny Actor cast presets (#1272)#1284
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775268085/pane-3

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Add CAST_PRESETS dict with deterministic cast for PLAN, EVAL, AUTO, SHIP modes
  • Each preset defines primary agent, specialist list, and Buddy moderator copy
  • All agent IDs reference real .ai-rules/agents/*.json definitions
  • Add get_cast_preset(mode) and get_moderator_copy(mode) lookup functions

Test plan

  • 52 unit tests covering all modes, unknown-mode fallback, kebab-case format, agent file existence, display budget, and determinism
  • yarn test:hooks — 563 tests passed
  • yarn workspace codingbuddy build — success

Closes #1272

Add deterministic cast presets for PLAN, EVAL, AUTO, and SHIP modes
with Buddy moderator copy. Each preset maps a primary agent and
specialist list from real .ai-rules agent definitions.
@JeremyDev87 JeremyDev87 added feat plugin packages/claude-code-plugin wow-experience Plugin Wow Experience Design 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:14am

@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 1 pending — will confirm after full pass)

CI Status: 27/28 pass, 1 pending

Code Quality

  • CastPreset TypedDict with primary, specialists, moderator_copy
  • 4 modes: PLAN, EVAL, AUTO, SHIP (SHIP instead of ACT — better fit for council)
  • get_cast_preset(mode) returns preset or None
  • get_moderator_copy(mode) with default fallback
  • BUDDY_FACE constant: ◕‿◕
  • All agent IDs reference real .ai-rules/agents/*.json names

Tests (206 lines, 10 test classes)

  • Valid/unknown mode handling
  • Required keys presence
  • Determinism verification
  • Kebab-case agent ID format validation
  • Agent JSON file cross-reference (skipif agents dir not found)
  • Display budget (moderator copy <= 40 chars)
  • CAST_PRESETS dict integrity (no extra modes)

No Issues Found

  • Clean TypedDict usage
  • Sensible moderator copy messages

Recommendation: APPROVE (pending CI full pass)

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

Labels

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): define mode-specific Tiny Actor cast presets and Buddy moderator copy

1 participant