-
Notifications
You must be signed in to change notification settings - Fork 62
docs(plugins): scope the folder-drop safety claim to Python plugins #800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,10 @@ Unity game-engine layer. A plugin can: | |
| Plugins are **folder-drop**: a directory with a `plugin.toml` manifest (plus any | ||
| helper scripts) dropped under `.bmad-loop/plugins/<name>/`. No registration, no | ||
| install step. A plugin that ships **in-process Python** is loaded only when you | ||
| **trust** it by name — dropping a folder in never runs code. | ||
| **trust** it by name — dropping a `[python]` plugin folder in never runs its | ||
| code. Declarative plugins (shell hooks, no `[python]` module) are not gated the | ||
| same way and run as soon as they are discovered — see | ||
|
Comment on lines
+15
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '1, thirty p' docs/plugin-authoring-guide.md 2>/dev/null || sed -n '1,40p' docs/plugin-authoring-guide.md
sed -n '100,155p' src/bmad_loop/plugins/loader.py
rg -n 'shell|api_version|supported|discover|declarative|run' src/bmad_loop/plugins tests/test_plugin_trust.py docs/plugin-authoring-guide.mdRepository: bmad-code-org/bmad-loop Length of output: 28068 🏁 Script executed: cat -n docs/plugin-authoring-guide.md | sed -n '175,218p'
cat -n src/bmad_loop/plugins/registry.py | sed -n '70,115p;140,205p'
cat -n src/bmad_loop/plugins/bus.py | sed -n '130,215p'
cat -n src/bmad_loop/plugins/trust.py | sed -n '1,80p'
cat -n src/bmad_loop/plugins/loader.py | sed -n '118,142p'Repository: bmad-code-org/bmad-loop Length of output: 17546 Qualify the declarative execution claim.
🤖 Prompt for AI Agents |
||
| [Trust & safety](#trust--safety) for both tiers. | ||
|
|
||
| > Already wrote a [CLI adapter profile](../README.md#other-coding-clis) or the old | ||
| > `[engine]` block? Same idea — declarative TOML + optional scripts, discovered and | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Use imperative wording in the changelog entry.
The repository guideline requires imperative entries. Replace past-tense
clarifiedwithclarify, and keep the entry under## [Unreleased].🤖 Prompt for AI Agents
Source: Coding guidelines