Skip to content

Move the contract and adapters into standalone modules #2716

Description

@blkt

Move the #2689 generated code into contracts/gen/go/mecatl/executor, following contracts/gen/go/mecatl/driver, and the server adapters, client, and command conformance suite into a standalone module under internal/, following internal/adaptersupport. Root keeps osfs and the command supervision and plugs them in; environment/microvm will plug in its own. Package move only; no wire or behavior change.

Acceptance criteria

  • Both new modules depend only on engine and, for the adapters, the contract module.
  • Root uses in-repo replace directives as for the existing modules; docs/module-development.md table updated.
  • Cross-module workflow followed, standalone checks pass for both modules, task test:workspace:race passes.
  • task lint && task test:race pass, and nothing under engine/ changes.
  • Markdown changes pass task docs; user documentation follows user-docs/AGENTS.md.

Depends on

#2694, #2695, #2696, #2710.

Ships

Independently.

Size

S. A move, made mechanical by the import rules in #2694, #2695, and #2710.

Part of the Kubernetes execution design; see its work breakdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions