feat: nexus-backed CLI/server stores + TUI puppet server#127
Open
windoliver wants to merge 1 commit intomainfrom
Open
feat: nexus-backed CLI/server stores + TUI puppet server#127windoliver wants to merge 1 commit intomainfrom
windoliver wants to merge 1 commit intomainfrom
Conversation
f2ba1d4 to
ed991e4
Compare
…runner When grove.json declares mode "nexus", CLI commands (contribute, review) and the HTTP server now use NexusContributionStore/NexusClaimStore instead of local SQLite. This ensures all data flows to Nexus VFS at /zones/default/. Changes: - context.ts: initCliDeps reads grove.json, returns nexus stores when mode=nexus - contribute.ts: uses initCliDeps instead of direct SQLite - review.ts: uses initCliDeps instead of direct createSqliteStores - serve.ts: creates nexus stores alongside local runtime when mode=nexus - resolve-backend.ts: checkNexusHealth includes NEXUS_API_KEY auth header - up.ts: GROVE_PUPPET_PORT env enables puppet mode for TUI automation - puppet-server.ts: HTTP server for programmatic TUI control via pty - grove-agent.sh: agent runner script for acpx codex (coder/reviewer roles)
ed991e4 to
6fe6868
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.
Summary
grove.jsondeclaresmode: nexus, CLI commands (grove contribute,grove review) and the HTTP server now use Nexus-backed stores instead of local SQLite — all data flows to Nexus VFS at/zones/default/GROVE_PUPPET_PORTenv) for programmatic TUI automation (screen capture + key injection via HTTP)scripts/grove-agent.sh) for spawning coder/reviewer agents viaacpx codexcheckNexusHealthto includeNEXUS_API_KEYauth header (prevents silent fallback to local mode)Changes
src/cli/context.ts—initCliDeps()readsgrove.json, returns nexus stores whenmode=nexussrc/cli/commands/contribute.ts— usesinitCliDepsinstead of direct SQLitesrc/cli/commands/review.ts— usesinitCliDepsinstead of directcreateSqliteStoressrc/server/serve.ts— creates nexus stores alongside local runtime whenmode=nexussrc/tui/resolve-backend.ts— health check sendsAuthorizationheadersrc/cli/commands/up.ts—GROVE_PUPPET_PORTenv enables puppet modesrc/tui/puppet-server.ts— HTTP server for TUI automation via ptyscripts/grove-agent.sh— agent runner for acpx codex (coder/reviewer roles)Test plan
grove init --preset review-loop --nexus-url <url>creates correctgrove.jsongrove contributewithNEXUS_API_KEYwrites to nexus VFSgrove reviewwithNEXUS_API_KEYwrites to nexus VFSmode: nexusGROVE_PUPPET_PORT=5100 grove upstarts puppet server, screen capture worksGROVE_NEXUS_URLis setgrove-agent.shin tmux