Skip to content

Investigate Codex app-server as a Meld runtime integration #64

Description

@ryuhmanov-m

Context

Codex app-server is an important runtime target for the next Meld work cycle. Meld already has local-first vault access, agent tools, run traces, MCP-facing concepts, and an open issue for MCP Server mode (#22). This issue tracks a separate investigation: whether and how Meld should use, interoperate with, or learn from Codex app-server as a local agent runtime pattern.

Why this matters

  • Meld's long-term promise is a shared Markdown knowledge environment for humans and AI agents, not just a chat UI over RAG.
  • Codex app-server appears relevant as a practical local app/server runtime for agent sessions, tool orchestration, thread state, subprocesses, and long-lived local context.
  • Before implementation, we need to separate proven reusable patterns from accidental Codex-internal details.

Questions to answer

  • What exact surfaces does Codex app-server expose locally: API, process model, persistence, tool/session boundaries, and filesystem interaction?
  • Which app-server concepts map cleanly to Meld's current architecture: vault tools, agent-space writes, hidden meta, run trace, provider registry, and MCP server mode?
  • Should Meld integrate with Codex app-server directly, implement a compatible local runtime concept, or only borrow architecture patterns?
  • What are the safety constraints for a local app-server that can read a vault and run tools?
  • How does this relate to MCP Server mode: expose meld vault as tool provider for external agents #22 MCP Server mode?

Acceptance criteria

  • Architecture note describing Codex app-server observations and whether it is an integration target, inspiration, or out-of-scope dependency.
  • Proposed Meld runtime shape with boundaries for vault access, agent state, tool execution, logs/traces, and persistence.
  • Decision on whether this becomes a product-relevant tech decision record in the knowledge base.
  • Follow-up implementation issues split into small, testable units if the spike is positive.

Evidence to collect

  • Local Codex app-server process/runtime behavior on the development machine.
  • Any available official or local Codex documentation that describes app-server responsibilities.
  • Comparison with Meld's existing Tauri/Rust runtime, MCP adapter, run trace, and vault zone model.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions