Skip to content

fix(tea-plugin): surface a one-time session-cost notice at plugin activation - #805

Open
gmoncor wants to merge 1 commit into
bmad-code-org:mainfrom
gmoncor:fix/s01-06-tea-plugin-cost-notice
Open

gmoncor wants to merge 1 commit into
bmad-code-org:mainfrom
gmoncor:fix/s01-06-tea-plugin-cost-notice

Conversation

@gmoncor

@gmoncor gmoncor commented Sep 17, 2026

Copy link
Copy Markdown

What: Add a one-time, non-blocking stderr notice inside TeaPlugin.validate() stating that enabling tea's six true-by-default settings injects 6 extra agent sessions per story, pointing to docs/tea-plugin-guide.md.

Why: The six cost-affecting settings all default to true with no signal at the moment of activation; the guide documents the cost but an operator who edits policy.toml or toggles the plugin without reading it first gets no in-the-moment warning.

How:

  • Add the stderr notice to TeaPlugin.validate(), reusing the existing PluginError/stderr-notice call site.
  • Do not change any of the six defaults, this is a visibility fix, not a default change.

Testing: Add a test to tests/test_plugin_tea.py asserting the notice is emitted on validate() when the defaults are in effect, and that the plugin still activates normally.

Changelog: "Added: the TEA plugin now prints a one-time notice at activation about the extra agent sessions its default settings add per story."

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 58812b68-679e-4c86-b52b-d1da4ab4ce70

📥 Commits

Reviewing files that changed from the base of the PR and between ddd2bf8 and cbe870d.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • src/bmad_loop/data/plugins/tea/tea_plugin.py
  • tests/test_plugin_tea.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gmoncor
gmoncor force-pushed the fix/s01-06-tea-plugin-cost-notice branch from 5c7f84b to cbe870d Compare September 23, 2026 09:51
@gmoncor
gmoncor marked this pull request as ready for review September 23, 2026 11:05
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.

1 participant