geldata / geldata/gel-cli

Implement an agent-friendly migration flow

Open
#1,680 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Currently LLM agents run shell commands as **tool calls**. Meaning they treat them the same way as API calls:

1. The LLM generates a tool call, which is a json blob with args, and exits.
2. The agent application (which is more or less a while loop) parses the args and executes the tool.
3. The application then captures the output / response, stuffs it into the message history and sends that into the LLM again.

Which is to say, there's nobody to interact with the interactive migration flow when the agent is trying to run it.

**Proposal**: let's implement an LLM mode similar to interactive rebase or merge in Git.

1. The migration is running non-interactively for as long as it can.
2. If the user input is necessary, it puts everything into a suspended state, prints out instructions and quits.
3. The user has to call `gel migration --continue` with answers.
4. The migration resumes.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names the migration command and the proposed --continue flow, but no files or tests. Start by tracing the existing migration command and its interactive input path. Done means migrations run non-interactively until input is required, then suspend with instructions and resume with answers supplied through --continue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.