Interactive Session & CLI

Make it usable. Everything up to now could be tested programmatically — this milestone puts a user interface on it and makes localcode a real tool you can run.

Scope:

  • CLI entry point (localcode command, localcode --project /path)
  • Configuration loading from localcode.toml (model path, generation params, verification toggles, context budgets)
  • First-run indexing with progress display, incremental re-indexing on subsequent runs
  • Interactive REPL via prompt_toolkit (multi-line input, history, keybindings)
  • Rich-formatted output: syntax-highlighted diffs, verification status, candidate progress
  • Session state: rolling conversation summary, apply/reject tracking
  • Graceful degradation messaging when the model struggles with a task

Demo: cd my-project && localcode — indexes the codebase, drops you into a REPL, you ask it to make changes, it shows diffs, you approve or reject.

No due date
0% Completed