Skip to content

Integrate plugin loader into validate_and_load startup #193

@snipcodeit

Description

@snipcodeit

Description

Call plugin-loader.cjs during validate_and_load so every MGW command automatically sees registered plugins. Add LOADED_PLUGINS count to the startup banner. Update workflows/state.md to document the plugin loading step.

Acceptance Criteria

  • Integrate plugin loader into validate_and_load startup

Milestone Context

Milestone v6 — Custom Agent Templates & Plugins
Phase Phase 41: Plugin Architecture & Schema
GSD Route plan-phase
Phase Position Phase 1 of 5 in milestone

Milestone Goal

A plugin architecture that lets projects drop a .mgw/plugins/ directory with custom agent templates, triage validators, and lifecycle hooks — all loaded at runtime without patching MGW core.

Phase Goal

Define the plugin manifest schema, plugin discovery mechanism (scan .mgw/plugins/ and ~/.mgw/plugins/), and the runtime loader that validates and registers plugins at startup.

Dependencies

implement-plugin-discovery-and-loader-in-libplugin

Scope Hints

  • Estimated route: plan-phase
  • Labels: integration

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions