docs: describe the plugin contract as the loader enforces it - #4
Merged
Merged
Conversation
- README: the "Plugin permissions (recommended)" section now centres on permissions.md `## secrets` — the loader ignores PLUGIN_PERMISSIONS for IMPORTED plugins (prax loader.py reads permissions.md) — and keeps PLUGIN_PERMISSIONS only as a BUILTIN/WORKSPACE note. "permissions.md is the enforced ceiling" is qualified: the command allowlist and secrets list are enforced, but the file is authored by the plugin and there is no operator approval step. "Plugins never touch API keys" is qualified (imagegen requests OPENAI_KEY). The "no raw socket usage" row states what the scanner actually flags. imagegen added to the plugin table. - radio/README.md + Skills.md: the expose_ngrok feature shells out to sh and pkill, which radio's permissions.md does not allow, so it does not work with the shipped allowlist — documented rather than silently broken. - elevenmusic/README.md: secrets wording matches the loader. - imagegen/README.md: new, written from imagegen/plugin.py. Docs only; permissions.md files (enforced configuration) are untouched.
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.
README's permissions section now centres on
permissions.md ## secrets(the loader ignoresPLUGIN_PERMISSIONSfor IMPORTED plugins); "the enforced ceiling" is qualified (self-declared, no operator approval step); "plugins never touch API keys" is qualified (imagegen requestsOPENAI_KEY); imagegen added to the table with a new README; radio'sexpose_ngrokdocumented as not working with its shipped allowlist. Docs only; 124 tests green.