Skip to content

refactor: simplify Bazel and runtime support paths - #49

Draft
cursor[bot] wants to merge 26 commits into
mainfrom
cursor/code-structure-quality-e266
Draft

cursor[bot] wants to merge 26 commits into
mainfrom
cursor/code-structure-quality-e266

Conversation

@cursor

@cursor cursor Bot commented Oct 20, 2026

Copy link
Copy Markdown

Summary

  • restore Cargo-style Bazel integration-test ownership by giving each target its crate root plus shared support sources only
  • centralize repeated MCP request/peer binding and runtime chain empty-result/domain-guard construction
  • remove an unused Bazel dependency helper and collapse duplicate exports

Verification

  • rustfmt --edition 2021 --check crates/plasm-agent-core/src/mcp_server/mod.rs crates/plasm-runtime/src/execution/chain.rs
  • cargo check -p plasm-runtime -p plasm-agent-core --tests
  • bash build/bazel/bazel.sh query //crates/plasm-core:measure_linear_seeds_tests
  • bash build/bazel/bazel.sh build --nobuild //crates/plasm-core:measure_linear_seeds_tests //build/bazel:nextest_runner

Note: local verification required initializing the existing vendor/monty submodule; no submodule contents were committed.

Open in Web View Automation 

ryan-s-roberts and others added 26 commits October 18, 2026 00:18
Preserve concrete identity through typed output decoding and explicit of_type narrowing. Add abstract language and prompt matrix coverage plus CGS authoring guidance. Query/search and action outputs are supported; Get, relation-target sums and iteration outputs remain explicit follow-up work.

Validated in the working tree: entity_union matrix 3 passed, constructor registry 4 passed, teaching matrix 1 passed, binding_contract 5 passed. Unrelated MCP work remains unstaged; its test fixture needed an unstaged pagination-state initializer to compile the host test suite. Two existing coverage-ledger omissions remain recorded separately.
Replace the vendored MCP SDK with rmcp for inbound and outbound HTTP, retain typed protocol failures and persistence, and move catalog publication into a host-independent crate. Update strict diagnostic consumers, protocol fixtures, release callers and the reviewed cutover documentation.
Record the task-oriented catalog mappings and documented GitHub integration coverage separately from core language and transport changes.
Box the SDK initialization error at its source, preserve typed causes and assert bounded protocol/transport/execution footprints. Release protocol-test locks before awaits and repair stale relation assertions and compiler hygiene.
Co-authored-by: Ryan Roberts <ryan-s-roberts@users.noreply.github.com>
Co-authored-by: Ryan Roberts <ryan-s-roberts@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

2 participants