Skip to content

feat(mcp/plugin): render a real opening council scene in Claude Code first responses (#1421)#1430

Merged
JeremyDev87 merged 1 commit into
masterfrom
feat/council-scene-rendering-1421
Apr 7, 2026
Merged

feat(mcp/plugin): render a real opening council scene in Claude Code first responses (#1421)#1430
JeremyDev87 merged 1 commit into
masterfrom
feat/council-scene-rendering-1421

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Added buildCouncilSceneInstructions() to generate rendering instructions from council scene metadata
  • Wired into MCP instructions field for PLAN/EVAL/AUTO modes
  • Updated standalone plugin mode_engine.py with matching rendering format
  • ACT mode remains compact (no council scene)

Closes #1421

Test plan

  • Unit tests for buildCouncilSceneInstructions() (7 tests: undefined/disabled/empty-cast/valid-scene/faces-names-roles/moderatorCopy/format)
  • Integration tests in mode.handler for PLAN/EVAL/AUTO (3 tests: PLAN includes, ACT excludes, EVAL includes)
  • Plugin standalone parity tested (3 new tests: face+name+role format, moderator copy, EVAL rendering)
  • Full MCP test suite passes (6214 tests, 245 files)
  • Plugin test suite passes (63 tests)
  • ESLint clean
  • Prettier formatted

…#1421)

Add buildCouncilSceneInstructions() to generate rendering instructions
from council scene metadata and inject into the instructions field for
PLAN/EVAL/AUTO modes. ACT mode remains compact with no council scene.

MCP changes:
- New pure function buildCouncilSceneInstructions() in council-scene.builder.ts
- Wired into mode.handler.ts to append council rendering block to instructions
- 7 new unit tests + 3 integration tests

Plugin changes:
- Updated mode_engine.py build_instructions() with matching rendering format
- 3 new test cases for face+name+role format, moderator copy, EVAL rendering
@JeremyDev87 JeremyDev87 added feat sub-issue 상위 이슈의 하위 작업 mcp-server apps/mcp-server plugin packages/claude-code-plugin wow-experience Plugin Wow Experience Design P1 Priority 1: First Impression labels Apr 7, 2026
@vercel

vercel Bot commented Apr 7, 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 7, 2026 11:05am

@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 ✅

Code Review Summary

  • Critical: 0 | High: 0 | Medium: 1 (non-blocking) | Low: 1

Changes Verified

  1. buildCouncilSceneInstructions() pure function — returns rendering block or undefined ✅
  2. MCP: wired into result.instructions for PLAN/EVAL/AUTO, ACT excluded ✅
  3. Plugin: standalone parity with face+name+role format ✅
  4. Clarification override correctly replaces instructions (council scene discarded for ambiguous requests) ✅
  5. Tests: 7 unit + 3 integration (MCP) + 5 plugin tests ✅

Non-blocking Suggestions

  • [MEDIUM] Consider local variable instead of result.instructions += to avoid mutation (style consistency with clarification gate)
  • [LOW] CHAR_LIMIT truncation edge case — current priority order is correct (template > council > enrichment)

Recommendation: APPROVE

@JeremyDev87 JeremyDev87 self-assigned this Apr 7, 2026
@JeremyDev87 JeremyDev87 merged commit b122a96 into master Apr 7, 2026
29 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/council-scene-rendering-1421 branch April 7, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat mcp-server apps/mcp-server P1 Priority 1: First Impression plugin packages/claude-code-plugin sub-issue 상위 이슈의 하위 작업 wow-experience Plugin Wow Experience Design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp/plugin): render a real opening council scene in Claude Code first responses

1 participant