Repository navigation
Open
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Description
Goal
Make adding the next official plugin routine, and write down the rules that keep the plugin interface stable.
What to build
- Scaffold:
npm run plugins:new -- <id>createspackages/plugins/<id>/with a manifest, README template (setup, permissions, smoke-test checklist, documentation links), an example handler and test using the plugin test kit, and registers it in the registry index. - Authoring guide (
docs/docs/plugins/authoring.md): the manifest reference (generated from the zod schema so it cannot drift, with a CI check), remote and package MCP server contributions (pinning, integrity value, secret variables and the acknowledgement), the handler interface, events and payloads, webhook verification schemes, commands, settings schema withoptionsFrom, connections, permissions, delivery guarantees and limits, security rules (untrusted external text, no secrets in handlers, no core imports, narrowest scopes), and a worked example. - Compatibility rules, documented and enforced where possible:
- Additive manifest changes keep
manifestVersion; breaking changes add a new version and keep reading the old one for at least one minor release. - Event payloads are additive-only within a domain; a contract test snapshots each event type's payload keys and fails on removal or type change.
ctxoperations are additive-only; a contract test snapshots the SDK surface.
- Additive manifest changes keep
- CLI:
propr plugin listandpropr plugin show <id>(read-only) using the REST API. - Catalog page in the docs listing all official plugins with category and a one-line description, generated from the manifests.
Out of scope
Third-party plugins (installing from outside the repository, out-of-process or container runtime, signing, a public catalog). Add a short "Not yet supported" section stating this and that the handler interface was designed so an out-of-process runtime can be added without changing manifests.
Acceptance criteria
- The scaffold produces a plugin that passes
plugins:check, lint and its generated test without edits. - The generated manifest reference and plugin catalog are checked in CI for drift.
- Contract tests for event payloads and the SDK surface exist and fail on a breaking change (demonstrated by a test fixture).
- CLI commands work against the API and are covered by CLI tests.
- Docs sidebar has a Plugins section: overview, one page per official plugin, authoring guide.
Implementation
scripts/new-plugin.mjs,scripts/gen-plugin-docs.mjs(+ check mode in CI).- Contract snapshot tests in
packages/shared/test. - CLI commands in
packages/cli/src/commands/pluginCommands.tswith tests. - Docs and sidebar.
Notes
Last issue of the plan; depends on all earlier ones.
Metadata
Metadata
Assignees
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Activity
propr-dev commentedon Nov 17, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53561/claude-opus-5-5-plugin-authoring-guide-sc-20261117-0455-agt3542-epic-plugin-system-xu8issue-3561-20261117-0455-claude-opus-5-5-agt🔍 Track Task Execution