Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Context
Maka already has the first pieces of Deep Research:
packages/core/src/explore-agent.tsdefines the read-onlydeep_researchsession profile, workflow steps, scope options, evidence checklist, and final report contract.apps/desktop/src/main/main.tscreates Deep Research sessions withpermissionMode: exploreand themode:deep_researchlabel.packages/ui/src/chat-empty-hero.tsxand the desktop contract tests expose a visible Deep Research surface.apps/desktop/src/main/explore-agent-tool.tsandpackages/runtime/src/agent-catalog.tsprovide 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.tsapps/desktop/src/main/main.tsapps/desktop/src/main/explore-agent-tool.tspackages/runtime/src/agent-catalog.tspackages/ui/src/chat-empty-hero.tsxapps/desktop/src/main/__tests__/deep-research-visible-surface-contract.test.tsapps/desktop/src/main/__tests__/deep-research-entrypoint-contract.test.tspackages/core/src/__tests__/explore-agent.test.ts
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
likun666661 commentedon Jul 6, 2026
@ACMerJuyu routed from roadmap #544: please take the initial Deep Research design / implementation breakdown when you have bandwidth.