Skip to content

roadmap: productize Deep Research workflow #566

Closed

Description

@likun666661

Context

Maka already has the first pieces of Deep Research:

  • packages/core/src/explore-agent.ts defines the read-only deep_research session profile, workflow steps, scope options, evidence checklist, and final report contract.
  • apps/desktop/src/main/main.ts creates Deep Research sessions with permissionMode: explore and the mode:deep_research label.
  • packages/ui/src/chat-empty-hero.tsx and the desktop contract tests expose a visible Deep Research surface.
  • apps/desktop/src/main/explore-agent-tool.ts and packages/runtime/src/agent-catalog.ts provide bounded local exploration and web-research child-agent building blocks.

The next step is to productize Deep Research as a first-class durable workflow, not only a prompt/profile surface.

Related roadmap: #544.

Requested owner / handoff: @ACMerJuyu.

Goal

Make Deep Research a reliable, source-grounded research workflow for reading large projects, comparing reference implementations, producing evidence-backed reports, and handing off implementable follow-up work.

It should support long-running research while staying read-only by default, observable, resumable, and easy to review.

Scope

  • Define the Deep Research run model: session labels, research objective, scope level, checklist state, evidence refs, report sections, and handoff artifacts.
  • Make progress visible during multi-step research: current checklist item, files/symbols inspected, blocked evidence, spawned exploration workers, and report draft state.
  • Persist research evidence in a durable artifact format so a resumed session can continue without rereading everything or hallucinating prior findings.
  • Integrate local exploration and web research as explicit bounded substeps with source refs and stopping conditions.
  • Produce a final report that is directly actionable: conclusion, source evidence, borrow/diverge/risk/gate analysis, recommended issues/PRs, and verification commands.
  • Add handoff semantics from read-only research into implementation planning without silently switching into write mode.

Design Constraints

  • Deep Research must remain visibly read-only unless the user explicitly leaves research mode.
  • Findings must be source-grounded with file/function/config/test/runtime references.
  • Long-running research needs observable events and resume semantics, aligned with roadmap: durable agent platform #544.
  • Research artifacts should not become hidden model-only context. They should be inspectable, linkable, and reusable by later task/workflow runs.
  • Child exploration agents should be bounded by objective, paths/keywords, ignored paths, stopping condition, and expected evidence output.

Acceptance Criteria

  • A Deep Research session has a durable research state that can be inspected and resumed.
  • The UI shows research progress beyond the initial empty-state copy.
  • Final reports include source evidence and a structured implementation handoff.
  • Tests cover the mode contract, durable state, resume/readback behavior, and write-mode boundary.
  • Documentation explains how Deep Research relates to normal chat, explore permission mode, local exploration workers, and web research.

Related Code

  • packages/core/src/explore-agent.ts
  • apps/desktop/src/main/main.ts
  • apps/desktop/src/main/explore-agent-tool.ts
  • packages/runtime/src/agent-catalog.ts
  • packages/ui/src/chat-empty-hero.tsx
  • apps/desktop/src/main/__tests__/deep-research-visible-surface-contract.test.ts
  • apps/desktop/src/main/__tests__/deep-research-entrypoint-contract.test.ts
  • packages/core/src/__tests__/explore-agent.test.ts

Activity

  1. added
    enhancement
    on Jul 6, 2026
  2. likun666661 commented on Jul 6, 2026

    @likun666661
    MemberAuthor

    @ACMerJuyu routed from roadmap #544: please take the initial Deep Research design / implementation breakdown when you have bandwidth.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions