Skip to content

feat: Workflow Template Registry — remote discovery, publish validation#88

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-workflow-template-registry
Draft

feat: Workflow Template Registry — remote discovery, publish validation#88
Copilot wants to merge 2 commits intomainfrom
copilot/add-workflow-template-registry

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 10, 2026

Adds a remote registry backed by a GitHub repo for discovering and sharing community workflows, extending the existing local template infrastructure.

New CLI commands

conductor templates --remote                              # list community templates
conductor init my-project -t registry:research-pipeline   # scaffold from registry
conductor publish my-workflow.yaml                        # validate before sharing

Changes

  • src/conductor/cli/registry.py — New module: registry client (index fetching, template download, render), publish validation with security checks (suspicious shell patterns, hardcoded secrets, schema validation)
  • src/conductor/cli/app.pytemplates gets --remote flag, init gains registry: prefix routing, new publish command
  • tests/test_cli/test_registry.py — 37 tests covering registry fetch/render, publish validation, CLI integration; all 325 existing CLI tests unaffected

Design notes

  • Registry is a simple GitHub repo (microsoft/conductor-workflows) with a JSON index and YAML templates — no new infrastructure
  • publish validates locally and directs users to open a PR against the registry repo; no write API
  • Security gate catches curl|sh, rm -rf /, hardcoded API keys, eval()/exec() patterns
  • Network failures are non-fatal for templates --remote (shows error, exits 0)

Copilot AI linked an issue Apr 10, 2026 that may be closed by this pull request
…alidation

- Add registry client module (src/conductor/cli/registry.py) for fetching
  remote templates from a GitHub-based registry
- Update `templates` command with --remote flag to list community workflows
- Update `init` command to support registry: prefix for remote templates
- Add `publish` command for validating workflows before sharing
- Add comprehensive test suite (37 tests) for all new functionality
- All 325 existing CLI tests continue to pass

Agent-Logs-Url: https://github.com/microsoft/conductor/sessions/57159493-449a-4afa-bb5e-3497c8680c42

Co-authored-by: jrob5756 <7672803+jrob5756@users.noreply.github.com>
Copilot AI changed the title [WIP] Add remote registry support for conductor templates feat: Workflow Template Registry — remote discovery, publish validation Apr 10, 2026
Copilot AI requested a review from jrob5756 April 10, 2026 19:28
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.

Feature: Workflow Template Registry

2 participants