Add conjure plugin - #35
Draft
lukealvoeiro wants to merge 1 commit into
Draft
Conversation
Packages the conjure skill so it is installable from the marketplace instead of only reaching people who already have the CLI. Today the skill ships two ways: embedded in the binary and written out by `conjure init`, or served from a deployment. Both require you to have found conjure first. The skill covers the deploy loop, API tokens, and the six site-scoped platform APIs under /_conjure/. Content is unchanged from the source file and is deployment-agnostic: examples use <base-domain> and a local dev server, with no host, tenant, or identity-provider specifics. SKILL.md is a copy of internal/cli/scaffold_skill.md in the conjure repo. A CI drift gate is not possible because that repo is separate, so the plugin README records the source and the copy-forward step. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@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.
Warning
Do not merge until conjure is generally available. See Blocked on GA.
Packages the conjure skill as a standalone plugin so it is installable from the marketplace.
Why
The skill currently reaches you two ways: embedded in the
conjurebinary and written out byconjure init, or served from a running deployment. Both require you to have already found conjure and installed the CLI, so the skill only ever arrives after the point where it would have helped. A marketplace entry fixes discovery.What
plugins/conjure/— new plugin, one skillskills/conjure— symlink, per thecheck-skillsconvention.factory-plugin/marketplace.jsonand rootREADME.md— registrationThe skill covers the deploy loop (
deploy,versions,rollback,logs), API tokens, and the six site-scoped APIs each site gets under/_conjure/: db, files, identity, ws, ai, warehouse. Plus the browser SDK surface and stable exit codes for branching.Blocked on GA
The skill's every command starts with
conjure, and there is no public way to get that binary yet:Merging before there is a public release channel would ship a plugin whose tool nobody outside Factory can install. Holding until GA.
Content is deployment-agnostic
Worth stating explicitly, since this is a public marketplace and conjure has been internal. The skill hardcodes no host, tenant, or identity-provider details. Audited:
Every example uses
<base-domain>,<slug>, or the local dev serverconjure.localhost:4600. The one section that touches authentication describes identity proxies generically ("Okta, IAP") againsthttps://<base-domain>/.On the duplicated SKILL.md
plugins/conjure/skills/conjure/SKILL.mdis a byte-for-byte copy ofinternal/cli/scaffold_skill.mdin the conjure repo, which is ago:embedasset and cannot be read across repos.A CI drift gate is not possible here: the canonical file lives in a separate repository that this repo's CI cannot see. The copy will drift unless someone syncs it. The plugin README records the source path and the copy-forward step; a durable sync mechanism is being handled separately.
The copy is current as of Factory-AI/conjure#19.
Validation
.github/workflows/check-skills.ymllogic locally — pass, symlink resolvesmarketplace.jsonandplugin.jsonparse as valid JSONname: conjure,description:present