Skip to content

refactor(remote-connect): move wire poll contracts#739

Merged
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/refactor-p8-remote-wire-boundary
May 15, 2026
Merged

refactor(remote-connect): move wire poll contracts#739
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/refactor-p8-remote-wire-boundary

Conversation

@limityan
Copy link
Copy Markdown
Collaborator

Summary

  • Move remote-connect command/response wire DTOs, model catalog DTOs, poll response assembly, and model-catalog delta policy into bitfun-services-integrations.
  • Keep bitfun-core as the product execution adapter for ImageContextData, dispatcher routing, session restore execution, file IO/path resolution, and terminal pre-warm.
  • Add owner-crate contract tests and boundary-script checks so these wire/poll policies do not drift back into core.
  • Update AGENTS and decomposition docs to reflect the completed remote-connect wire/poll owner slice and the remaining runtime boundary.

Behavior Guardrails

  • No CLI/Desktop/Remote/ACP product surface behavior changes are intended.
  • Remote message execution, workspace/session restore execution, file reads, terminal pre-warm, and dialog submission routing remain core-owned.
  • The added model-catalog delta test preserves the existing invalidation behavior when the client knows an old catalog version but the current catalog cannot be loaded.
  • This PR does not move ToolUseContext, concrete tools, product-domain runtime, or feature matrix/default feature behavior.

Validation

  • node scripts/check-core-boundaries.mjs
  • cargo test -p bitfun-services-integrations --features remote-connect --test remote_connect_contracts -- --nocapture
  • cargo check -p bitfun-core --features product-full
  • cargo test -p bitfun-core remote_ -- --nocapture
  • cargo check -p bitfun-services-integrations --features product-full
  • git diff --check

Move remote command and response DTOs, model catalog DTOs, poll response assembly, and model catalog delta policy into services-integrations while keeping core as the execution adapter.

Add owner-crate contract tests and boundary checks to preserve existing remote poll, image, cancel, and wire-shape behavior.
@limityan limityan merged commit cd00af5 into GCWing:main May 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant