Skip to content

Migrate darrow-adaptive-delivery mechanics to Python + uv #183

Description

@BjRo

Parent: #168

Outcome

Migrate darrow-adaptive-delivery's preflight and host-routing mechanics to Python + uv without broadening orchestration authority or reintroducing removed runtime machinery.

Priority

9 of 14 remaining plugins. Orchestration moves after its authoring, provider, Git, review, and verification patterns are established.

Scope

Migrate adaptive-delivery-preflight, claude-agent-route, and substantive fixture mechanics where Python improves portability. Preserve the bounded-goal model and native host ownership described in docs/design.md.

Done criteria

  • Preserve exact preflight records, route-policy validation, repository binding, authority stops, provider discovery, and exit codes.
  • Do not add queues, daemons, resumable workflow runtimes, static phase control, or implicit orchestration.
  • Use cross-platform subprocess/path handling for Claude Code and Codex launch boundaries.
  • Retain fixture fidelity for readiness, independent review, verification, and launch behavior.
  • Register the contained package and pass all Python quality gates plus existing shell glue checks.
  • Validate fresh independent installation and supported host paths on Linux, macOS, and native Windows.
  • Keep all orchestration evals passing and update specs, docs, and matching manifest versions.

Migration blueprint

Use the implementation merged in PR #173 as the default blueprint for Python + uv plugin mechanics. Reuse its self-contained package layout, committed uv lock, runtime/development dependency separation, python-packages.txt inventory, Ruff and strict mypy gates, separate 95% line and branch coverage gates, and fresh copied-artifact validation. Extend that pattern with native-Windows fresh-artifact validation where this rollout requires Windows support. Document any plugin-specific deviation explicitly instead of introducing a competing convention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions