feat(registry): workflow registry system — named registries, versioning, caching#97
Open
feat(registry): workflow registry system — named registries, versioning, caching#97
Conversation
Introduce a configurable named-registry system for distributing and running shared workflows. Registries can be GitHub repos or local directories, configured once in ~/.conductor/registries.toml and referenced by short name. - Add src/conductor/registry/ package (config, resolver, index, cache, github helpers, errors) - Add `conductor registry` CLI subcommand group (list, add, remove, set-default, update, show) - Modify run/resume/validate to accept registry refs (name[@registry][@Version]) in addition to local file paths - Remove init/templates feature (init.py, templates/, test_init.py) - Add httpx dependency for GitHub API fetching - Add 133 new tests (unit + integration + CLI) - Update README, cli-reference, design doc, and conductor skill Supersedes PR #88. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a configurable named-registry system for distributing and running shared workflows. Supersedes #88 and addresses #78.
Full design doc:
docs/design/registry.mdWhat's new
~/.conductor/registries.tomlconductor registry {list,add,remove,set-default,update,show}conductor run qa-bot@official@1.2.3(or justqa-botfor latest from default)~/.conductor/cache/registries/, explicit versions immutable,latestre-resolved on updateindex.yamlat registry root lists workflows, descriptions, versions, and pathsWhat's removed
conductor init/conductor templatescommandssrc/conductor/cli/init.pyandsrc/conductor/templates/directoryChanges
New:
src/conductor/registry/(6 modules)config.pyregistries.toml, load/save/add/remove helpersresolver.pyname[@registry][@version], file-vs-registry detectionindex.pyindex.yamlfrom GitHub or local pathcache.pygithub.pyerrors.pyRegistryErrorextendingConductorErrorModified
src/conductor/cli/app.py—run/resume/validateaccept registry refs;registrysubcommand wired in;init/templatesremovedpyproject.toml— addedhttpx>=0.27.0docs/cli-reference.md, conductor skill docsTests
tests/test_registry/(unit + integration) andtests/test_cli/test_registry_commands.pyReference syntax
Closes #78