Plugin Development

Architecture, contracts, and authoring guidance for Divekit Evaluation Pipeline plugins.

This area documents an experimental system. Contracts and workflows may still evolve.

This section is now an orientation page. The plugin documentation is intentionally split to reduce drift:

Split

User-facing setup

  • discover plugins
  • choose a source and pin a ref
  • enable or disable them per distribution
  • update injected templates

Use:

Maintainer-facing contract

  • discovery requirements such as ci.yaml or ci.yml, and plugin.json
  • optional materialized feedback assets under feedback/; plugin code ships in the plugin image
  • CLI-managed state files such as .divekit/eval-pipeline/plugins.json and plugin-sources.json
  • normalized reporting through plugin-results/<plugin-id>/report.json
  • optional feedback and execution issue artifacts under plugin-results/<plugin-id>/feedback/ and plugin-results/<plugin-id>/issues/
  • declarative configuration wizards exposed through plugin.json

See:

Authoring and CI conventions

  • repository layout
  • image structure (Dockerfile plus implementation code under src/)
  • release-template usage
  • ci.yaml / ci.yml structure
  • DIVEKIT_PLUGIN_DIR usage for optional materialized feedback files
  • FAQ artifact conventions
  • execution issue artifact conventions
  • copyable examples for new plugin repos

See:

Practical Rule

If you are using plugins, stay in Quick Start and CLI reference. If you are building or maintaining plugins, use the maintainer-facing docs and template repository instead of treating this pages section as the primary source of truth.


Authoring Guide

How to structure and publish a Divekit Evaluation Pipeline plugin repository.

Configuration Wizards

How plugins can expose project-specific configuration through the Divekit CLI.

Contract Reference

File and data contract for Evaluation Pipeline plugins consumed by Divekit report generation.

Troubleshooting

Common plugin setup and runtime issues in Evaluation Pipeline, with quick diagnostics.