docs(rfcs): add RFC 0001 — plugin architecture for custom agents#105
Merged
PAMulligan merged 1 commit intoJun 20, 2026
Merged
Conversation
The v2.0.0 plugin architecture is the highest-risk milestone item, so this RFC designs it before implementation (#79). - docs/rfcs/0001-plugin-architecture.md: discovery, manifest, lifecycle hooks, sandboxing/trust model, versioning, and distribution, grounded in the shipped v1 local system (manifest schema + four CLIs) - Defines compatibility with the built-in agents: shared namespace, reserved names / no silent shadowing, built-ins as versioned dependencies, uniform frontmatter contract - docs/rfcs/README.md: establishes the RFC process + index - Status: Proposed — must be reviewed and accepted before implementation begins Refs #79 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4 tasks
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
RFC 0001 — the design doc for the v2.0.0 plugin architecture for custom agents (#79), the milestone's highest-risk item. Per the issue, this is committed before implementation and must be reviewed and accepted first.
docs/rfcs/is established here (this is the first RFC), with a short process + index README.Grounded in what already exists
Aurelius already ships a v1 local plugin system (manifest schema, four CLIs, transitive semver dependency resolution, management-lifecycle hooks,
installed.json) — seedocs/guides/agent-plugins.md. It deliberately deferred the riskiest concerns as non-goals: sandboxing, distribution, runtime hooks. The RFC ratifies that foundation and designs the v2 evolution rather than reinventing it.What the RFC covers (acceptance criteria)
docs/rfcs/0001-plugin-architecture.mdcompatibility/engines,capabilities,integrity,signature, distribution metadata)settings.jsonhooks (operator-consented); no invocation-time hooks (Claude Code can't fire them)bypassPermissions; integrity via sha256, signatures for the verified tier; honest about bash not being a real sandboxcompatibilityrange; single installed version.claude/agents/namespace, reserved built-in names / no silent shadowing, built-ins as versioned dependencies via a generatedagents.catalog.json, identical frontmatter contract; the model is count-independent (the "48 vs 56" delta is irrelevant)Plus security-threats table, a phased migration that never breaks v1 plugins, alternatives, and open questions for reviewers.
Status
Proposed. Acceptance is recorded in §14 on maintainer approval; no implementation beyond the shipped v1 tooling should merge until then. This satisfies "reviewed and accepted before any implementation work starts."
Refs #79