Skip to content

docs(plugins): plugin composability design - #615

Open
ilackarms wants to merge 3 commits into
mainfrom
ilackarms/plugin-composability-design
Open

docs(plugins): plugin composability design#615
ilackarms wants to merge 3 commits into
mainfrom
ilackarms/plugin-composability-design

Conversation

@ilackarms

Copy link
Copy Markdown
Contributor

Description

Design docs for plugin composability — making Plugin a composable bundle the way Agent already is.

Motivation: today a Plugin is a pinned pointer at a single git repo, materialized 1:1. Product wants plugins to be declaratively composed from registry artifacts (Skills, MCP servers, Prompts) overlaid on an optional base git source, compiled deterministically into one flattened harness filesystem bundle at consumption time — while the API keeps representing the plugin as a collection of reusable objects.

What's here:

  • design-docs/PLUGIN_COMPOSABILITY_OVERVIEW.md — one-page summary for reviewers (start here).
  • design-docs/PLUGIN_COMPOSABILITY_SPIKE.md — the full design: API shape (kindless ComponentRef, optional source, Status.ResolvedComponents pin set), controller resolution + freeze-at-spec-change pin semantics, deterministic compose rules (overlay-wins with provenance report), consumption paths (AgentCore runner, arctl pull, kagent-via-derived-OCI), and how it relates to the prior "no live refs" / "registry hosts nothing" decisions. Verified against main @ 98ce4b08.

Key scope cuts (decided, rationale in the docs): no nested plugin-in-plugin; hooks/sub-agents stay base-source-only; composed plugins are skipped by the marketplace.json compat catalog in v1 (serving them is gated on the git-backed marketplace, tracked in enterprise #1195).

P1 implementation (spec refs + controller + compose package, OSS) is starting in parallel on a separate branch; this PR is the design of record for that work.

Change Type

/kind design

Changelog

NONE

Additional Notes

Reviewer focus areas are listed at the bottom of the overview doc: the compose/merge rules (spike §6), pin/freeze semantics + cross-kind reconcile race (§5), and the kagent derived-OCI consumption lean (§7).

…sed inline pins, refresh path, scoping clarifications
@ilackarms
ilackarms marked this pull request as ready for review August 11, 2026 15:26
…eclared-name skill keying, agent-plugins.org adapter plan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant