feat(plugin): wire feature-flagged Tiny Actor output into terminal surfaces (#1302)#1315
Merged
Merged
Conversation
…rfaces (#1302) Call render_actor_preview("PLAN") in session-start.py after the buddy greeting. When CODINGBUDDY_TINY_ACTORS=1 the Tiny Actor Grid preview is appended to session-start output; otherwise the block is a silent no-op. Adds test_session_start_actors.py with 9 integration tests covering flag gating, output content, invalid mode handling, and error fallback.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
JeremyDev87
commented
Apr 4, 2026
JeremyDev87
left a comment
Owner
Author
There was a problem hiding this comment.
Review: ✅ APPROVE
CI Status: ALL PASS
Code Quality:
- session-start.py: Minimal 10-line integration — try/except guarded, never blocks session start
- test_session_start_actors.py: 95 lines, 8 tests covering flag gating, modes, error fallback, Buddy face presence
- No modification to preview.py (as instructed — scope discipline)
- PLAN mode as default: Correct for session start surface
Safety:
- Exception handler with
pass— preview failure never blocks startup - Feature flag respected — off by default
- Invalid mode returns None cleanly
✅ Tiny Actor preview wired into session-start terminal surface.
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.
Summary
render_actor_preview("PLAN")intosession-start.pyafter buddy greeting outputCODINGBUDDY_TINY_ACTORSenv flag — no-op when unsettest_session_start_actors.pyCloses #1302
Test plan
python3 -m pytest tests/test_session_start_actors.py -v— 9 passedpython3 -m pytest tests/ -v— 660 passedtsc --noEmit— cleanvitest run— 5893 passed