feat: add Factory AI (Droid) integration#2543
Open
josephy02 wants to merge 3 commits into
Open
Conversation
Register 'droid' in the editor-targets abstraction so `gitnexus setup -c droid` writes the MCP server to ~/.factory/mcp.json and installs skills to ~/.factory/skills/ from the single canonical skills/ source (no per-editor copies). uninstall.ts is target-driven, so removal is covered automatically. Adds unit + round-trip coverage.
|
@josephy02 is attempting to deploy a commit to the NexusCore Team on Vercel. A member of the Team first needs to authorize it. |
josephy02
force-pushed
the
feat/factory-droid-integration
branch
from
July 18, 2026 00:26
b4649c1 to
f7ba4f1
Compare
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.
Factory AI (Droid) integration
Adds first-class support for Factory AI (Droid), revisiting the goal of #195 against current
main.Two surfaces, mirroring how Codex is already supported:
1.
gitnexus setup -c droid— registers Droid in theeditor-targets.tsabstraction (added since #195), so setup writes the MCP server to~/.factory/mcp.jsonand installs skills to~/.factory/skills/from the single canonicalskills/source. Becauseuninstall.tsis target-driven, removal is covered automatically (verified by the setup↔uninstall round-trip test).2.
gitnexus-factory-plugin/— a standalone plugin fordroid plugin install:.factory-plugin/plugin.json, rootmcp.json, and a self-contained PostToolUse search-augment hook (Grep|Glob|Execute,${DROID_PLUGIN_ROOT}).Addressing the review concerns from #195
skills/root viasetup; the plugin ships none\brg$didn't match full paths\brg\b|\bgrep\bjqdependencyjqmainHow to verify
setupDroidunit tests +droidadded to the setup↔uninstall round-trip drift test.setup-selectionvalid-values assertion updated.tsc --noEmitclean on the changed files.Risk / rollback
Additive — a new
EditorIdand new setup functions gated on~/.factory/existing; no existing editor path changes.uninstallfully reverses it. Rollback = revert the commits.Factory config paths and schemas confirmed from the Factory MCP, skills, and plugins docs.