Implement ExecutionEnvironment trait for fcctl-core

Open
#666 0 comments 0 reactions 1 assignee View on GitHub

@AlexMikhalev is already working on this.

Since Mar 11, 2026.

Assessment

This issue has not been assessed yet.

Description

dependencies enhancement

Summary

Implement ExecutionEnvironment trait as required by terraphim_rlm crate.

Context

PR #426 (feat(rlm): RLM orchestration with MCP tools) requires the fcctl-core crate to provide an ExecutionEnvironment trait that VmManager can implement.

Requirements

The trait should define methods for:

  • execute_code(&self, code: &str, ctx: &ExecutionContext) -> Result<ExecutionResult, Error>
  • execute_command(&self, cmd: &str, ctx: &ExecutionContext) -> Result<ExecutionResult, Error>
  • create_snapshot(&self, session_id: &SessionId, name: &str) -> Result<SnapshotId, Error>
  • restore_snapshot(&self, id: &SnapshotId) -> Result<(), Error>
  • list_snapshots(&self, session_id: &SessionId) -> Result<Vec<SnapshotId>, Error>
  • delete_snapshot(&self, id: &SnapshotId) -> Result<(), Error>
  • delete_session_snapshots(&self, session_id: &SessionId) -> Result<(), Error>
  • capabilities(&self) -> &[Capability]
  • backend_type(&self) -> BackendType
  • health_check(&self) -> Result<bool, Error>
  • cleanup(&self) -> Result<(), Error>

Related

Blocked by: #664 (Create fcctl-core crate)

Dominant language
Rust
Stars
62
Forks
5
Avg merge
2h 27m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from terraphim/terraphim-ai

All issues in terraphim/terraphim-ai

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.