PLAN: Remote Code Tools — ShellTool Builtin, Background Mode, Native Tool Adapters

Draft
MA
3mo ago
+14906-285

@DouweM this PR is an experimental setup with the methodology we discussed with a plan.md to discuss and align on. The first commit contains the plan.md and the follow up commits can largely be ignored as they are my experimentation with the plan.md file as is. Each commit is structured as an implementation of a phase.

I think the plan here is a decent first pass and I continually tried to flesh it out more and more to reduce the chance of agent drift.

Pre-Review Checklist

  • Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it.
  • No breaking changes in accordance with the version policy.
  • Linting and type checking pass per make format and make typecheck.
  • PR title is fit for the release changelog.

Pre-Merge Checklist

  • New tests for any fix or new behavior, maintaining 100% coverage.
  • Updated documentation for new features and behaviors, including docstrings for API docs.