Skip to content

docs: fix three inaccuracies in PLUGIN_DEVELOPMENT.md code examples#141

Merged
intel352 merged 2 commits intofeat/issue-84-engine-decomp-p4from
copilot/sub-pr-128
Feb 23, 2026
Merged

docs: fix three inaccuracies in PLUGIN_DEVELOPMENT.md code examples#141
intel352 merged 2 commits intofeat/issue-84-engine-decomp-p4from
copilot/sub-pr-128

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

Three errors in the plugin development guide's code examples flagged in review.

  • PipelineStep interface — corrected Execute return type from error to (*StepResult, error)
  • Test imports — added missing "log/slog" import required by slog.Default() usage in test examples
  • LoadPlugin error handlingTestModuleCreation was silently discarding the LoadPlugin return value; now fails fast with t.Fatalf

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…gin error in PLUGIN_DEVELOPMENT.md

Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
Copilot AI changed the title [WIP] Add structural tests and validation for engine decomposition docs: fix three inaccuracies in PLUGIN_DEVELOPMENT.md code examples Feb 23, 2026
Copilot AI requested a review from intel352 February 23, 2026 14:14
@intel352 intel352 marked this pull request as ready for review February 23, 2026 14:32
@intel352 intel352 merged commit 1f62167 into feat/issue-84-engine-decomp-p4 Feb 23, 2026
@intel352 intel352 deleted the copilot/sub-pr-128 branch February 23, 2026 14:32
intel352 added a commit that referenced this pull request Feb 23, 2026
…de & requires validation (#84) (#128)

* feat: Engine Decomposition Phase 4 — structural tests, plugin dev guide, requires validation (#84)

Add structural tests verifying:
- Engine rejects unknown module types with clear errors
- Workflow dependency validation fails for missing capabilities
- Workflow dependency validation fails for missing plugins
- Selective plugin loading: only loaded plugin types are available
- All plugins have valid metadata (name, version, manifest)
- Factory map populated correctly by plugins
- Schema registry tracks all plugin module types

Create docs/PLUGIN_DEVELOPMENT.md:
- Comprehensive guide for creating internal EnginePlugin plugins
- Covers ModuleFactories, StepFactories, TriggerFactories, WiringHooks
- Documents capability contracts and workflow dependency validation
- Includes example plugin structure and testing patterns

Add requires section to license-validator example config.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* docs: fix three inaccuracies in PLUGIN_DEVELOPMENT.md code examples (#141)

* Initial plan

* docs: fix PipelineStep signature, add slog import, and handle LoadPlugin error in PLUGIN_DEVELOPMENT.md

Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants