{
  "schemaVersion": 1,
  "updatedAt": "2026-11-22",
  "dimensions": [
    "packageLoading",
    "portableAgentPlugins",
    "bundledMcp",
    "bundledHooks",
    "executableExtensions"
  ],
  "contracts": [
    {
      "harness": "codex",
      "variant": "0.169.0-source",
      "default": true,
      "verifiedAt": "2026-11-16",
      "method": "source-inspection",
      "surface": "CLI/App Server local installed plugins; executor and hosted services separately bounded",
      "evidence": [
        "plugin-format-codex-discovery",
        "plugin-format-codex-compat-paths",
        "plugin-format-codex-manifest",
        "plugin-format-codex-agent-manifest",
        "plugin-format-codex-overlay",
        "plugin-format-codex-loader",
        "plugin-format-codex-component-defaults",
        "plugin-format-codex-mcp",
        "plugin-format-codex-marketplace",
        "plugin-format-codex-manager",
        "plugin-format-codex-session",
        "plugin-format-codex-app-server",
        "plugin-format-codex-app-routing",
        "plugin-format-codex-executor-hooks",
        "plugin-format-codex-provider",
        "plugin-format-codex-config"
      ],
      "references": [
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/utils/plugins/src/plugin_namespace.rs#L12-L81",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/exec-server-protocol/src/protocol.rs#L53-L60",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/manifest.rs#L38-L655",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/agent_plugin_manifest.rs#L63-L229",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/manifest/manifest_cache.rs#L59-L90",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/loader.rs#L856-L998",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/loader.rs#L1114-L1276",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/codex-mcp/src/agent_plugin_config.rs#L81-L243",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/marketplace.rs#L20-L143",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/manager.rs#L917-L1024",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core/src/session/turn_context.rs#L1364-L1408",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/app-server/src/skills_watcher.rs#L95-L133",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/app_mcp_routing.rs#L9-L40",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/executor_hooks.rs#L28-L150",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/executor_provider.rs#L180-L285",
        "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core/src/config/mod.rs#L1889-L1904"
      ],
      "conditions": [
        "Plugin loading depends on configuration, feature gates, installation state and policy; parsing a manifest alone does not activate it.",
        "Agent Plugins local loading deliberately produces no hook sources at this release, even when the OpenAI overlay parses hooks.",
        "Portable app declarations are active only for the remote global marketplace; backend authentication also gates app routing.",
        "Executor capabilities use a separate provider and narrowly admitted inline cleanup hooks; desktop packaging documentation is not proof of CLI behavior."
      ],
      "unknowns": [
        "No native plugin install, MCP connection, hook execution or UI invocation probe ran.",
        "Desktop implementation, hosted submission/import validation and custom host contributions are not fully audited."
      ],
      "details": {
        "runtimeVerified": false,
        "recognizedPortableSchemaUris": [
          "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json"
        ],
        "localPortableHooks": "parsed-but-not-loaded",
        "localLegacyHooks": "loaded-subject-to-policy",
        "portableAppDeclarations": "remote-global-marketplace-only",
        "executorHooks": "separate-inline-cleanup-allowlist"
      },
      "formats": [
        {
          "id": "agent-plugins-1.0.0",
          "manifest": "plugin.json",
          "requiredFields": ["$schema", "name"],
          "optionalFields": [
            "version",
            "description",
            "author",
            "homepage",
            "repository",
            "license",
            "keywords",
            "extensions"
          ],
          "componentLocations": ["skills/<skill>/SKILL.md", "mcp.json"],
          "pathRules": [
            "Fixed component locations; immediate skill children only.",
            "Package paths remain inside the resolved plugin root.",
            "stdio args/env/cwd support ${PLUGIN_ROOT} and ${PLUGIN_DATA}; command does not expand placeholders."
          ],
          "compatibility": [
            "Published 1.0.0 contains skills and MCP; 1.1.0 hooks remain a working draft.",
            "Installation, marketplaces, permissions and invocation syntax are client-defined."
          ]
        },
        {
          "id": "codex-compatibility",
          "manifest": ".codex-plugin/plugin.json",
          "requiredFields": [],
          "optionalFields": [
            "name",
            "version",
            "description",
            "keywords",
            "skills",
            "mcpServers",
            "apps",
            "hooks",
            "interface",
            "extensions.com.openai.onboardingSkill"
          ],
          "componentLocations": ["skills/", ".mcp.json", "hooks/hooks.json", ".app.json"],
          "pathRules": [
            "Component paths use ./ and resolve against the plugin root.",
            "Legacy skill roots recurse; explicit skills paths replace the default skill root selection."
          ],
          "compatibility": [
            "Source parser can derive an omitted/blank name from the root directory; this is not a publisher submission rule.",
            "Fallback .claude-plugin/plugin.json and .cursor-plugin/plugin.json use Codex interpretation, not the originating runtime."
          ]
        }
      ],
      "support": {
        "packageLoading": "native",
        "portableAgentPlugins": "partial",
        "bundledMcp": "native",
        "bundledHooks": "partial",
        "executableExtensions": "unknown"
      },
      "answers": {
        "manifest": {
          "status": "supported",
          "answer": "Root `plugin.json` selects Agent Plugins 1.0.0 by canonical `$schema`. Otherwise Codex checks `.codex-plugin/plugin.json`, `.claude-plugin/plugin.json`, then `.cursor-plugin/plugin.json`. An unsupported Agent Plugins schema is selected then rejected, rather than silently falling back.",
          "reference": "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/utils/plugins/src/plugin_namespace.rs#L12-L81",
          "evidence": ["plugin-format-codex-discovery", "plugin-format-codex-compat-paths"]
        },
        "fields": {
          "status": "supported",
          "answer": "Portable: required `$schema` and `name`; optional version, description, author, homepage, repository, license, keywords and extensions. Codex reads apps, hooks, interface and onboarding from `extensions.com.openai`; an inline object replaces the whole `.codex-plugin/plugin.json` overlay. Legacy fields also include skills and mcpServers; a blank legacy name falls back to the directory name.",
          "reference": "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/agent_plugin_manifest.rs#L63-L229",
          "evidence": [
            "plugin-format-codex-agent-manifest",
            "plugin-format-codex-manifest",
            "plugin-format-codex-overlay"
          ]
        },
        "components": {
          "status": "partial",
          "answer": "Portable components are fixed at `skills/<skill>/SKILL.md` and `mcp.json`; skill discovery is direct children only. Legacy packages use recursive skill roots, `.mcp.json`, `hooks/hooks.json` and `.app.json`, with manifest overrides. Parsing portable hooks does not make them active: the local loader explicitly skips them.",
          "reference": "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/loader.rs#L856-L998",
          "evidence": ["plugin-format-codex-loader", "plugin-format-codex-agent-manifest"]
        },
        "paths": {
          "status": "supported",
          "answer": "Manifest component paths resolve from the plugin root and require `./`. Portable stdio args/env/cwd expand `${PLUGIN_ROOT}` and `${PLUGIN_DATA}`; command is one executable token or a contained `./` executable path. Treat compatibility path handling separately from portable MCP containment.",
          "reference": "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/codex-mcp/src/agent_plugin_config.rs#L81-L243",
          "evidence": ["plugin-format-codex-mcp", "plugin-format-codex-manifest"]
        },
        "mcp": {
          "status": "partial",
          "answer": "Portable `mcp.json` requires its 1.0.0 `$schema` and mcpServers. Codex normalizes stdio and streamable-http entries; legacy SSE entries are rejected individually. An invalid server does not discard valid sibling servers. Legacy mcpServers accepts a path or inline object and defaults to `.mcp.json`.",
          "reference": "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/codex-mcp/src/agent_plugin_config.rs#L81-L243",
          "evidence": ["plugin-format-codex-mcp", "plugin-format-codex-manifest"]
        },
        "distribution": {
          "status": "supported",
          "answer": "Marketplace lookup includes `.agents/plugins/marketplace.json`, `.agents/plugins/api_marketplace.json`, `.claude-plugin/marketplace.json` and `.cursor-plugin/marketplace.json`. Local, Git and npm source kinds exist. Marketplace identity, source and install/auth policy are distinct from the plugin manifest; remote curated installs have additional routing policy.",
          "reference": "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core-plugins/src/marketplace.rs#L20-L143",
          "evidence": ["plugin-format-codex-marketplace", "plugin-format-codex-app-routing"]
        },
        "compatibility": {
          "status": "partial",
          "answer": "The local session and App Server watcher call the shared PluginsManager loader. Executor-owned roots use a separate provider. Codex can read compatibility manifests without implementing every Claude/Cursor component. Packaging docs describe OpenAI hooks, while the pinned local Agent Plugins loader skips them; desktop and hosted import behavior remain separate and unprobed.",
          "reference": "https://github.com/openai/codex/blob/d32063f96c2dff1dc96af839b3952abb6acfeda4/codex-rs/core/src/session/turn_context.rs#L1364-L1408",
          "evidence": [
            "plugin-format-codex-session",
            "plugin-format-codex-app-server",
            "plugin-format-codex-manager",
            "plugin-format-codex-provider",
            "plugin-format-codex-executor-hooks"
          ],
          "notes": ["Packaging documentation: https://developers.openai.com/plugins/build/plugins"]
        }
      },
      "sourceRevision": "d32063f96c2dff1dc96af839b3952abb6acfeda4",
      "clientVersion": "0.169.0",
      "observedVersion": "0.169.0"
    },
    {
      "harness": "claude-code",
      "variant": "docs-2026-11-16",
      "default": true,
      "verifiedAt": "2026-11-16",
      "method": "documentation",
      "surface": "Claude Code plugin packaging; unversioned publisher reference",
      "evidence": ["plugin-format-claude-reference", "plugin-format-claude-marketplaces"],
      "references": [
        "https://code.claude.com/docs/en/plugins-reference",
        "https://code.claude.com/docs/en/plugin-marketplaces"
      ],
      "conditions": [
        "Publisher docs are unversioned; latest 2.1.325 and stable 2.1.311 are release discovery context, not exact-version conformance.",
        "Component-specific merge rules matter; MCP bundles are distinct nested formats."
      ],
      "unknowns": [
        "No implementation audit or runtime validation of this refreshed packaging reference.",
        "Portable root Agent Plugins loading is not established by these sources."
      ],
      "details": {
        "runtimeVerified": false
      },
      "formats": [
        {
          "id": "claude-code",
          "manifest": ".claude-plugin/plugin.json",
          "requiredFields": ["name (when a manifest is present)"],
          "optionalFields": [
            "$schema (editor only)",
            "displayName",
            "version",
            "description",
            "author",
            "homepage",
            "repository",
            "license",
            "keywords",
            "metadata",
            "defaultEnabled",
            "dependencies",
            "userConfig",
            "types",
            "channels",
            "skills",
            "commands",
            "agents",
            "hooks",
            "mcpServers",
            "lspServers",
            "outputStyles",
            "workflows",
            "experimental"
          ],
          "componentLocations": [
            "skills/",
            "commands/",
            "agents/",
            "hooks/hooks.json",
            ".mcp.json",
            ".lsp.json",
            "output-styles/",
            "workflows/",
            "themes/",
            "monitors/monitors.json",
            "evals/",
            "bin/"
          ],
          "pathRules": [
            "Manifest component paths generally require ./, existence and containment.",
            "skills also accepts .; mcpServers also accepts HTTPS bundle URLs.",
            "Use ${CLAUDE_PLUGIN_ROOT} for package resources and ${CLAUDE_PLUGIN_DATA} for durable state."
          ],
          "compatibility": [
            "Manifest is optional for conventional layouts; name can come from marketplace/directory.",
            "Schema URL is ignored at load time; unknown fields warn rather than receiving portable standard semantics.",
            "Public directory, Claude Code, claude.ai and Cowork component support differ."
          ]
        }
      ],
      "support": {
        "packageLoading": "native",
        "portableAgentPlugins": "unknown",
        "bundledMcp": "native",
        "bundledHooks": "native",
        "executableExtensions": "native"
      },
      "answers": {
        "manifest": {
          "status": "supported",
          "answer": "`.claude-plugin/plugin.json` is optional when the standard component layout is enough. Without it, the name comes from the marketplace or `--plugin-dir` directory. Other assets stay at the plugin root, outside `.claude-plugin/`.",
          "reference": "https://code.claude.com/docs/en/plugins-reference#manifest-file",
          "evidence": ["plugin-format-claude-reference"]
        },
        "fields": {
          "status": "supported",
          "answer": "When present, name is required. Optional identity, listing, version, dependency and userConfig fields accompany component keys. `$schema` is for editors and ignored at runtime. Advanced keys include types, channels, workflows and experimental themes/monitors/evals. Unknown fields are stripped with warnings.",
          "reference": "https://code.claude.com/docs/en/plugins-reference#fields",
          "evidence": ["plugin-format-claude-reference"]
        },
        "components": {
          "status": "supported",
          "answer": "Default layout includes skills/, commands/, agents/, hooks/hooks.json, .mcp.json, .lsp.json, output-styles/, workflows/, themes/, monitors/monitors.json and evals/. Top-level bin/ exposes executables on Bash PATH; claude.ai and Cowork reject packages containing it. Plugin-root CLAUDE.md is not loaded as instructions.",
          "reference": "https://code.claude.com/docs/en/plugins-reference#standard-layout",
          "evidence": ["plugin-format-claude-reference"]
        },
        "paths": {
          "status": "supported",
          "answer": "Component paths require ./, must exist and stay inside the plugin. skills additionally permits the root as `.`; mcpServers permits HTTPS bundle URLs. skills paths add to defaults; commands/agents/styles/workflows replace defaults; hooks/MCP/LSP merge. `${CLAUDE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` expand only in documented fields; they are not automatically present in model Bash commands.",
          "reference": "https://code.claude.com/docs/en/plugins-reference#path-rules",
          "evidence": ["plugin-format-claude-reference"]
        },
        "mcp": {
          "status": "supported",
          "answer": "`.mcp.json` merges with manifest mcpServers, which accepts paths, inline server maps or arrays. Referenced `.mcpb`/`.dxt` bundles are also supported. Later declarations replace earlier servers of the same name. This differs from fixed portable mcp.json and its transport schema.",
          "reference": "https://code.claude.com/docs/en/plugins-reference#mcpservers",
          "evidence": ["plugin-format-claude-reference"]
        },
        "distribution": {
          "status": "supported",
          "answer": "Marketplaces use `.claude-plugin/marketplace.json` with name, owner and plugins; entries select plugin sources and may supplement component declarations. Entry/manifest merging and strict behavior have their own rules. Use `claude plugin validate` for the package and marketplace rather than treating their schemas as interchangeable.",
          "reference": "https://code.claude.com/docs/en/plugin-marketplaces#add-plugin-entries",
          "evidence": ["plugin-format-claude-marketplaces", "plugin-format-claude-reference"]
        },
        "compatibility": {
          "status": "partial",
          "answer": "Claude Code packages use their own component paths, merge rules, variable names and execution APIs. A manifest accepted by Codex compatibility parsing does not carry every Claude component across. Root Agent Plugins support is unknown in this audit; no cross-host execution probe ran.",
          "reference": "https://code.claude.com/docs/en/plugins-reference#unrecognized-fields",
          "evidence": ["plugin-format-claude-reference"]
        }
      }
    },
    {
      "harness": "cursor-agent",
      "variant": "docs-2026-11-16",
      "default": true,
      "verifiedAt": "2026-11-16",
      "method": "documentation",
      "surface": "Cursor IDE packaging reference; Agent CLI parity not inferred",
      "evidence": ["plugin-format-cursor-reference"],
      "references": ["https://cursor.com/docs/reference/plugins"],
      "conditions": [
        "Cursor documentation targets IDE plugins; the CLI installer version is not an IDE packaging version.",
        "Documented standard-variable expansion differs from Agent Plugins 1.0 requirements."
      ],
      "unknowns": [
        "No IDE, CLI or cloud execution probe ran.",
        "Exact shipped IDE parser version and unsupported-variable behavior are not empirically verified."
      ],
      "details": {
        "runtimeVerified": false
      },
      "formats": [
        {
          "id": "agent-plugins-1.0.0",
          "manifest": "plugin.json",
          "requiredFields": ["$schema", "name"],
          "optionalFields": [
            "version",
            "description",
            "author",
            "homepage",
            "repository",
            "license",
            "keywords",
            "extensions"
          ],
          "componentLocations": ["skills/<skill>/SKILL.md", "mcp.json"],
          "pathRules": [
            "Fixed component locations; immediate skill children only.",
            "Package paths remain inside the resolved plugin root.",
            "stdio args/env/cwd support ${PLUGIN_ROOT} and ${PLUGIN_DATA}; command does not expand placeholders."
          ],
          "compatibility": [
            "Published 1.0.0 contains skills and MCP; 1.1.0 hooks remain a working draft.",
            "Installation, marketplaces, permissions and invocation syntax are client-defined."
          ]
        },
        {
          "id": "cursor",
          "manifest": ".cursor-plugin/plugin.json",
          "requiredFields": ["name"],
          "optionalFields": [
            "description",
            "version",
            "author",
            "homepage",
            "repository",
            "license",
            "keywords",
            "logo",
            "rules",
            "agents",
            "skills",
            "commands",
            "hooks",
            "mcpServers",
            "variables"
          ],
          "componentLocations": [
            "skills/",
            "rules/",
            "agents/",
            "commands/",
            "hooks/hooks.json",
            "mcp.json",
            "SKILL.md (single-skill fallback)"
          ],
          "pathRules": [
            "Explicit component paths replace automatic discovery for that component.",
            "Cursor supports ${CURSOR_PLUGIN_ROOT} and ${CLAUDE_PLUGIN_ROOT} in Agent Plugin MCP command/args/env/cwd, not the standard PLUGIN_ROOT/PLUGIN_DATA pair.",
            "variables declares a schema; users supply values in the dashboard."
          ],
          "compatibility": [
            "The reference explicitly targets Cursor IDE; CLI/cloud parity requires separate evidence.",
            "Portable Agent Plugins exposes skills and MCP; native Cursor packages also expose rules, agents, commands, hooks and variables."
          ]
        }
      ],
      "support": {
        "packageLoading": "native",
        "portableAgentPlugins": "partial",
        "bundledMcp": "native",
        "bundledHooks": "native",
        "executableExtensions": "unknown"
      },
      "answers": {
        "manifest": {
          "status": "supported",
          "answer": "Two documented formats: root `plugin.json` for Agent Plugins, or required `.cursor-plugin/plugin.json` for native Cursor Plugins. The reference describes Cursor IDE bundles; Agent CLI parity is not established.",
          "reference": "https://cursor.com/docs/reference/plugins#supported-plugin-formats",
          "evidence": ["plugin-format-cursor-reference"]
        },
        "fields": {
          "status": "supported",
          "answer": "Native Cursor requires name. Optional metadata plus rules, agents, skills and commands paths; hooks path/object; mcpServers path/object/array; variables JSON Schema. Portable manifests instead require the standard $schema and name and put host data under extensions.",
          "reference": "https://cursor.com/docs/reference/plugins#cursor-plugin-manifest",
          "evidence": ["plugin-format-cursor-reference"]
        },
        "components": {
          "status": "supported",
          "answer": "Native defaults: skills/, rules/, agents/, commands/, hooks/hooks.json and mcp.json. Root SKILL.md is a single-skill fallback only without skills/ or an explicit skills field. Explicit fields replace automatic discovery for that component. Agent Plugins supports portable skills and MCP.",
          "reference": "https://cursor.com/docs/reference/plugins#cursor-plugin-component-discovery",
          "evidence": ["plugin-format-cursor-reference"]
        },
        "paths": {
          "status": "partial",
          "answer": "Native hooks document `${PLUGIN_ROOT}`; Agent Plugin MCP instead documents `${CURSOR_PLUGIN_ROOT}` and `${CLAUDE_PLUGIN_ROOT}` for command/args/env/cwd, and explicitly does not expand standard `${PLUGIN_ROOT}` or `${PLUGIN_DATA}` there. Keep these component contexts separate. Native variables declares names/types while values live in the dashboard.",
          "reference": "https://cursor.com/docs/reference/plugins#mcp-servers",
          "evidence": ["plugin-format-cursor-reference"]
        },
        "mcp": {
          "status": "partial",
          "answer": "Native mcp.json auto-discovers servers; manifest mcpServers overrides discovery with custom paths or inline maps. Portable mcp.json uses the Agent Plugins schema. The documented root/data variable gap limits portability; avoid assuming identical expansion across hooks and MCP.",
          "reference": "https://cursor.com/docs/reference/plugins#mcp-servers",
          "evidence": ["plugin-format-cursor-reference"]
        },
        "distribution": {
          "status": "supported",
          "answer": "Multi-plugin Git repositories use `.cursor-plugin/marketplace.json` with required name, owner and plugins. Per-plugin manifests override marketplace entry values when merged. metadata.pluginRoot can prefix source paths; marketplace files are capped at 10 MB.",
          "reference": "https://cursor.com/docs/reference/plugins#cursor-multi-plugin-repositories",
          "evidence": ["plugin-format-cursor-reference"]
        },
        "compatibility": {
          "status": "partial",
          "answer": "Documented Agent Plugins loading covers skills and MCP, while the native Cursor format includes more components. The standard MCP variable gap is recorded explicitly. Neither marketplace acceptance nor compatibility metadata proves CLI, cloud or cross-host runtime conformance.",
          "reference": "https://cursor.com/docs/reference/plugins#supported-plugin-formats",
          "evidence": ["plugin-format-cursor-reference"]
        }
      }
    },
    {
      "harness": "opencode",
      "variant": "2.3.0-source",
      "default": true,
      "verifiedAt": "2026-11-16",
      "method": "source-inspection",
      "surface": "OpenCode 2.x server plugin modules; TUI/GUI entrypoints separately resolved",
      "evidence": [
        "plugin-format-opencode-config",
        "plugin-format-opencode-discovery",
        "plugin-format-opencode-entrypoints",
        "plugin-format-opencode-module",
        "plugin-format-opencode-promise",
        "plugin-format-opencode-supervisor",
        "plugin-format-opencode-sdk"
      ],
      "references": [
        "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/config/plugin/source.ts#L100-L165",
        "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/plugin/source-directory.ts#L7-L33",
        "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/plugin/src/host.ts#L29-L77",
        "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/plugin/module.ts#L81-L179",
        "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/plugin/src/promise/plugin.ts#L24-L71",
        "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/plugin/supervisor.ts#L119-L168",
        "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/plugin/sdk.ts#L10-L44"
      ],
      "conditions": [
        "2.x executable modules differ from historical 1.x named-function plugin exports.",
        "Provider/MCP/tool registration is framework extensibility; it does not prove that a particular external provider or GUI component is installed."
      ],
      "unknowns": [
        "Agent Plugins 1.0 package loading is not established by this module-path audit.",
        "No npm installation, server activation or TUI/GUI execution probe ran."
      ],
      "details": {
        "runtimeVerified": false
      },
      "formats": [
        {
          "id": "opencode-2-module",
          "manifest": "package.json (npm or local module resolution)",
          "requiredFields": [
            "default server export with id and effect or setup (when a server entry exists)"
          ],
          "optionalFields": [
            "name",
            "exports",
            "dependencies",
            "exports[./server]",
            "exports[./tui]",
            "exports[./rpc]",
            "exports[./gui-experimental]"
          ],
          "componentLocations": [
            "package exports ./server or root",
            "./tui",
            "./rpc",
            "./gui-experimental",
            "plugin/ or plugins/ discovered directories and legacy .ts/.js files"
          ],
          "pathRules": [
            "Configured local plugin targets must be directories; file:// and relative paths resolve from the config document.",
            "Auto-discovery still admits standalone .ts/.js files.",
            "Package exports are resolved before conventional filenames for named local packages with exports."
          ],
          "compatibility": [
            "2.3.0 configuration uses plugins entries, with string or {package, options} forms.",
            "Server, TUI, RPC and experimental GUI are separate entrypoints, not portable Agent Plugins components.",
            "Embedded SDK and instance contributions join normal activation independently of filesystem discovery."
          ]
        }
      ],
      "support": {
        "packageLoading": "native",
        "portableAgentPlugins": "unknown",
        "bundledMcp": "native",
        "bundledHooks": "native",
        "executableExtensions": "native"
      },
      "answers": {
        "manifest": {
          "status": "supported",
          "answer": "2.3.0 loads executable npm or local modules. package.json exports resolve `./server` then the root for server code, with separate ./tui, ./rpc and ./gui-experimental parts. Conventional directory filenames apply when exports are absent; this is not a vendor plugin.json layout.",
          "reference": "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/plugin/src/host.ts#L29-L77",
          "evidence": ["plugin-format-opencode-entrypoints", "plugin-format-opencode-module"]
        },
        "fields": {
          "status": "supported",
          "answer": "Config uses `plugins` entries as strings or {package, options}. A server module default export has id plus effect or setup; setup may return cleanup. package.json name and exports control part resolution. TUI/GUI-only modules have different activation boundaries.",
          "reference": "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/config/plugin/source.ts#L100-L165",
          "evidence": [
            "plugin-format-opencode-config",
            "plugin-format-opencode-module",
            "plugin-format-opencode-promise"
          ]
        },
        "components": {
          "status": "supported",
          "answer": "Server modules can register tools, skills, agents, commands, providers and MCP behavior through host APIs. TUI, RPC and experimental GUI have separate package entrypoints. Config roots discover plugin/ and plugins/ directories and legacy .ts/.js files. SDK and instance plugins are contributed in code.",
          "reference": "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/plugin/src/host.ts#L29-L77",
          "evidence": [
            "plugin-format-opencode-entrypoints",
            "plugin-format-opencode-promise",
            "plugin-format-opencode-discovery",
            "plugin-format-opencode-supervisor",
            "plugin-format-opencode-sdk"
          ]
        },
        "paths": {
          "status": "supported",
          "answer": "Configured relative or file:// paths resolve from the config document; explicitly configured local files are skipped because a directory is required. Auto-discovered legacy files remain accepted. Module imports and package exports resolve executable dependencies, rather than plugin-relative JSON component paths.",
          "reference": "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/config/plugin/source.ts#L100-L165",
          "evidence": ["plugin-format-opencode-config", "plugin-format-opencode-module"]
        },
        "mcp": {
          "status": "supported",
          "answer": "Executable plugins receive MCP and other host APIs; MCP configuration/registration is separate from a portable root mcp.json package. Runtime contributions can supply custom behavior, so a filesystem scan alone cannot bound all hosts.",
          "reference": "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/plugin/src/promise/plugin.ts#L24-L71",
          "evidence": ["plugin-format-opencode-promise", "plugin-format-opencode-sdk"]
        },
        "distribution": {
          "status": "supported",
          "answer": "npm package targets resolve/install through the module loader; local directories resolve package parts. Internal, configured, SDK and instance generations are assembled by the supervisor, then activated by plugin identity. This audit does not establish a portable marketplace catalog format.",
          "reference": "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/plugin/module.ts#L81-L179",
          "evidence": ["plugin-format-opencode-module", "plugin-format-opencode-supervisor"]
        },
        "compatibility": {
          "status": "partial",
          "answer": "Keep 2.3.0 module objects and plugins configuration separate from historical 1.x named function exports and singular plugin configuration. Root Agent Plugins package support remains unknown here; SDK contribution hooks mean module discovery is not the entire host surface.",
          "reference": "https://github.com/anomalyco/opencode/blob/a6b15d33daf6ab7d35569f6d711fdb630b9f04e7/packages/core/src/plugin/module.ts#L81-L179",
          "evidence": ["plugin-format-opencode-module", "plugin-format-opencode-sdk"]
        }
      },
      "sourceRevision": "a6b15d33daf6ab7d35569f6d711fdb630b9f04e7",
      "clientVersion": "2.3.0",
      "observedVersion": "2.3.0"
    },
    {
      "harness": "pi",
      "variant": "1.5.2-source",
      "default": true,
      "verifiedAt": "2026-11-16",
      "method": "source-inspection",
      "surface": "Pi package resources and executable extension loader",
      "evidence": [
        "plugin-format-pi-packages",
        "plugin-format-pi-package-identity",
        "plugin-format-pi-manifest",
        "plugin-format-pi-resource-discovery",
        "plugin-format-pi-extension-loader"
      ],
      "references": [
        "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L46-L78",
        "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L118-L153",
        "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/src/core/pi-manifest.ts#L1-L42",
        "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/src/core/package-manager.ts#L630-L730",
        "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/src/core/extensions/loader.ts#L620-L750"
      ],
      "conditions": [
        "Extension code executes with the host user permissions; package metadata does not sandbox it.",
        "Pi package identity, skill invocation and event handler registration are separate."
      ],
      "unknowns": [
        "Portable Agent Plugins package support is not established by this package-manager audit.",
        "No install, extension activation or cross-host probe ran; bundled MCP package declarations are not audited here."
      ],
      "details": {
        "runtimeVerified": false
      },
      "formats": [
        {
          "id": "pi-package",
          "manifest": "package.json with optional pi object",
          "requiredFields": [],
          "optionalFields": [
            "name",
            "keywords: pi-package",
            "dependencies",
            "pi.extensions",
            "pi.skills",
            "pi.prompts",
            "pi.themes",
            "pi.changelogPath",
            "pi.image",
            "pi.video"
          ],
          "componentLocations": ["extensions/", "skills/", "prompts/", "themes/"],
          "pathRules": [
            "Explicit resource arrays resolve relative to the package root and support globs/exclusions.",
            "A pi object containing metadata only does not disable conventional resource discovery.",
            "Exact dot-prefixed or symlinked roots can be listed when glob traversal would omit them."
          ],
          "compatibility": [
            "This is a resource package plus executable TS/JS extension API, not a portable plugin.json package.",
            "Resource filters narrow a package declaration and cannot reveal undeclared resources."
          ]
        }
      ],
      "support": {
        "packageLoading": "native",
        "portableAgentPlugins": "unknown",
        "bundledMcp": "unknown",
        "bundledHooks": "native",
        "executableExtensions": "native"
      },
      "answers": {
        "manifest": {
          "status": "supported",
          "answer": "Pi packages use package.json with an optional pi resource manifest. Without explicit resource arrays, conventional directories supply extensions, skills, prompt templates and themes. A metadata-only pi object keeps conventional discovery.",
          "reference": "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L46-L78",
          "evidence": [
            "plugin-format-pi-packages",
            "plugin-format-pi-manifest",
            "plugin-format-pi-resource-discovery"
          ]
        },
        "fields": {
          "status": "supported",
          "answer": "pi.extensions, pi.skills, pi.prompts and pi.themes are optional resource arrays. Package metadata includes changelogPath and gallery image/video; npm keyword pi-package enables gallery discovery. Ordinary package.json dependencies supply runtime imports.",
          "reference": "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L46-L78",
          "evidence": ["plugin-format-pi-packages", "plugin-format-pi-manifest"]
        },
        "components": {
          "status": "supported",
          "answer": "Default extensions/, skills/, prompts/ and themes/ package executable TS/JS extensions, Agent Skills, Markdown templates and JSON themes. Extensions register event handlers and tools in process. The package manifest itself is a resource selector.",
          "reference": "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L46-L78",
          "evidence": ["plugin-format-pi-packages", "plugin-format-pi-extension-loader"]
        },
        "paths": {
          "status": "supported",
          "answer": "Resource paths resolve relative to the package root, with globs and exclusions. Exact dot-prefixed/symlinked roots can be listed explicitly. User/project resource filters narrow the package manifest; they cannot expose resources the package did not declare.",
          "reference": "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L46-L78",
          "evidence": ["plugin-format-pi-packages", "plugin-format-pi-package-identity"]
        },
        "mcp": {
          "status": "unknown",
          "answer": "This audit covers Pi resource packaging and extension loading; it does not establish a portable root mcp.json or package-level MCP manifest contract. Extension or host MCP APIs require their own trace.",
          "reference": "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L46-L78",
          "evidence": ["plugin-format-pi-packages"]
        },
        "distribution": {
          "status": "supported",
          "answer": "Pi packages can be installed from npm, Git or local paths, in personal/project configuration. Identity is npm package name, Git repository URL without ref, or resolved local path. A normal project entry replaces personal configuration; autoload:false instead applies a filtering delta.",
          "reference": "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L118-L153",
          "evidence": ["plugin-format-pi-package-identity"]
        },
        "compatibility": {
          "status": "partial",
          "answer": "Pi extension code and its event/UI APIs are host-specific. Reusing a SKILL.md directory does not transfer extension behavior, package identity or user/project filter semantics. Agent Plugins loading remains unestablished by this audit.",
          "reference": "https://github.com/earendil-works/pi/blob/b4afdddf44e059c67ccf5097e5317d913521b470/packages/coding-agent/docs/packages.md#L118-L153",
          "evidence": ["plugin-format-pi-package-identity", "plugin-format-pi-extension-loader"]
        }
      },
      "sourceRevision": "b4afdddf44e059c67ccf5097e5317d913521b470",
      "clientVersion": "1.5.2",
      "observedVersion": "1.5.2"
    },
    {
      "harness": "antigravity-cli",
      "variant": "cli",
      "default": true,
      "verifiedAt": "2026-11-22",
      "method": "native-probe",
      "surface": "cli",
      "observedVersion": "1.5.14",
      "clientVersion": "1.5.14",
      "references": ["https://antigravity.google/docs/build-plugins"],
      "evidence": [
        "agy-plugin-docs",
        "agy-plugin-validate-1-5-14",
        "agy-cli-1-5-14-management-help"
      ],
      "conditions": [
        "Portable-format recognition was observed in the validator. Runtime availability depends on the enable-agent-plugins-spec gate."
      ],
      "unknowns": [
        "Fixtures were validated without installation. Activation, tool processes, lifecycle execution and portable host compatibility remain untested."
      ],
      "details": {},
      "support": {
        "packageLoading": "native",
        "portableAgentPlugins": "partial",
        "bundledMcp": "native",
        "bundledHooks": "native",
        "executableExtensions": "unknown"
      },
      "formats": [
        {
          "id": "antigravity-plugin",
          "manifest": "plugin.json or .antigravity-plugin/plugin.json",
          "requiredFields": [
            "name for install and strict validation; local directory loading can infer it"
          ],
          "optionalFields": [
            "displayName",
            "description",
            "version",
            "logo",
            "suggestedPrompts",
            "skills",
            "disabled",
            "author",
            "homepage",
            "repository",
            "license",
            "keywords"
          ],
          "componentLocations": [
            "skills/<name>/SKILL.md",
            "agents/",
            "rules/",
            "mcp_config.json",
            "hooks.json",
            "sidecar.json"
          ],
          "pathRules": [
            "Components resolve from plugin root regardless of manifest placement.",
            "The .antigravity-plugin manifest takes precedence over root plugin.json.",
            "Additional skills directories and bundled logo paths are relative to the plugin root."
          ],
          "compatibility": [
            "Publisher documents Antigravity-specific layout. A provider-specific manifest can coexist with other provider manifests."
          ]
        },
        {
          "id": "agent-plugins-1.0.0",
          "manifest": "plugin.json",
          "requiredFields": ["$schema", "name"],
          "optionalFields": ["version"],
          "componentLocations": ["skills/<name>/SKILL.md observed by the validator"],
          "pathRules": ["Tested with a root plugin.json and root skills directory."],
          "compatibility": [
            "CLI 1.5.14 validator recognizes the schema. Its diagnostic says portable loading requires enable-agent-plugins-spec and otherwise falls back to native loading."
          ]
        }
      ],
      "answers": {
        "manifest": {
          "status": "supported",
          "reference": "https://antigravity.google/docs/build-plugins#directory-structure",
          "evidence": ["agy-plugin-docs", "agy-plugin-validate-1-5-14"],
          "answer": "Use plugin.json at the root or .antigravity-plugin/plugin.json. The subdirectory manifest wins if both exist."
        },
        "fields": {
          "status": "supported",
          "reference": "https://antigravity.google/docs/build-plugins#field-reference",
          "evidence": ["agy-plugin-docs"],
          "answer": "Google requires a kebab-case name for CLI install and strict validation. Direct folder loading can infer a name. Marketplace metadata has additional requirements."
        },
        "components": {
          "status": "supported",
          "reference": "https://antigravity.google/docs/build-plugins#supported-components",
          "evidence": ["agy-plugin-docs"],
          "answer": "Packages can bundle skills, rules, subagents, MCP servers, lifecycle hooks and sidecars."
        },
        "paths": {
          "status": "supported",
          "reference": "https://antigravity.google/docs/build-plugins#directory-structure",
          "evidence": ["agy-plugin-docs", "agy-plugin-validate-1-5-14"],
          "answer": "Place components relative to the plugin root, including when the manifest is in .antigravity-plugin. The validator counted a root skill in that layout."
        },
        "mcp": {
          "status": "supported",
          "reference": "https://antigravity.google/docs/build-plugins#mcp-servers",
          "evidence": ["agy-plugin-docs"],
          "answer": "Use mcp_config.json for local stdio or remote HTTP servers. A plugin can declare variables and OAuth. Google documents disabled-until-configured behavior for plugins that need variables."
        },
        "distribution": {
          "status": "supported",
          "reference": "https://antigravity.google/docs/build-plugins#automatic-validation",
          "evidence": ["agy-plugin-docs", "agy-cli-1-5-14-management-help"],
          "answer": "CLI installation supports local packages, repository URLs, and the official marketplace. agy plugin validate checks packages without installing them."
        },
        "compatibility": {
          "status": "partial",
          "reference": "https://antigravity.google/docs/build-plugins#directory-structure",
          "evidence": ["agy-plugin-docs", "agy-plugin-validate-1-5-14"],
          "answer": "CLI 1.5.14 recognized a fixture declaring the Agent Plugins 1.0.0 schema. The validator reports an enable-agent-plugins-spec gate. Actual gated loading and host availability remain untested."
        }
      }
    }
  ]
}
