Skip to content

Workflow kimi phases run without effort control and without MCP tools #699

Closed

Description

@currentbits

Found in a full provider-feature audit. spawnPhaseAgent has a real kimi branch (electron/workflow.js:822-831, spawnAgentKimi:484-563), but compared to claude phases it drops two things:

  1. No reasoning effort. reasoningEffort is never passed and the config.toml flip is never performed (workflow.js:506-510) — phases run at whatever effort the global config happens to have.
  2. No MCP injection. Only entry.id === "claude" gets --mcp-config (workflow.js:293-297), and spawnAgentKimi never materializes the kimi KIMI_CODE_HOME overlay that normal runs use (electron/runner.js:4102-4117). So workflow kimi phases get no coder-memory, no coder-threads, no user MCP servers.

Also note kimi workflow agents are always headless one-shots with sessionId: null (workflow.js:507-509) — fine as a design, but phases can't resume.

Activity

  1. added
    bug
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Aug 25, 2026
  2. currentbits commented on Aug 29, 2026

    @currentbits
    OwnerAuthor

    Implemented on this thread: kimi workflow phases now get thread.reasoningEffort (config.toml flip via runKimi) and the same KIMI_CODE_HOME overlay as a normal kimi turn (materializeKimiHome + kimiMcpServersForRun), so they receive coder-memory / coder-threads / user MCP instead of inheriting the global home.

    Per-agent overlay under kimi-homes/<threadId>/<agentId> so parallel phase agents do not race one config. Tests: electron/test/workflow-kimi.test.js.

    Still out of scope here: phase resume (sessionId stays null), and claude/codex/opencode/cursor workflow branches still omit reasoningEffort.

  3. added
    plan:done
    and removed
    plan:doing
    on Aug 29, 2026
  4. currentbits commented on Aug 29, 2026

    @currentbits
    OwnerAuthor

    Landed from Solenta thread "Workflow kimi phases run without effort control and without ". Closed on merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions