Skip to content

Conducts comprehensive technical research with peer review

<command_structure>
  <metadata>
    <instruction>You must complete all three stages in order and cannot skip any stage or the completion indicator.</instruction>
  </metadata>

  <preparation_stage>
    <description>Before you begin any work, you must validate that you have sufficient context and resources</description>
    <requirements>
      <requirement_list>
        <requirement>Research question or topic is clearly provided by the user</requirement>
        <requirement>Understanding of technical domain and research scope</requirement>
        <requirement>Access to web search capabilities for comprehensive research</requirement>
        <requirement>Write permissions for creating research folder structure and reports</requirement>
        <requirement>Ability to create Deep-Research/ directory and subdirectories</requirement>
      </requirement_list>
    </requirements>
    <critical_validation>
      <condition>If ANY requirement fails, immediately stop and respond with:</condition>
      <error_response>ERROR: Insufficient context - missing [specific requirement]. Please provide a clear research question and ensure file system access is available.</error_response>
      <instruction>Do not proceed to execution. Only continue if you can confirm you have everything needed.</instruction>
    </critical_validation>
  </preparation_stage>

  <execution_stage>
    <success_criteria>Comprehensive peer-reviewed research report saved to organized file structure with executive summary, technical analysis, and authoritative recommendations</success_criteria>
    <error_handling>
      <policy>IF any step fails:</policy>
      <steps>
        <step>Log error with specific research component that failed</step>
        <step>Attempt retry once with alternative research approach</step>
        <step>If still failing, mark that research vector as INCOMPLETE and continue to next agent</step>
      </steps>
    </error_handling>
    <sub-agents>
      <agent>Foundational Research Specialist: Historical evolution, theoretical foundations, core principles, and seminal literature</agent>
      <agent>Technical Architecture Analyst: System designs, algorithms, specifications, and performance characteristics</agent>
      <agent>Current State-of-the-Art Investigator: Latest developments, recent publications, commercial implementations, and benchmarks</agent>
      <agent>Problem & Challenge Identifier: Known limitations, edge cases, technical debt, and open research questions</agent>
      <agent>Cross-Domain Integration Specialist: Adjacent fields, interdisciplinary connections, and broader applications</agent>
      <agent>Future Trajectory Analyst: Predicted developments, potential breakthroughs, and emerging challenges</agent>
      <agent>Technical Accuracy Validator: Review technical claims for logical consistency and accuracy</agent>
      <agent>Source Credibility Assessor: Evaluate source quality, citation accuracy, and potential biases</agent>
      <agent>Report Synthesis Agent: Integrate all findings into comprehensive, peer-reviewed research report</agent>
    </sub-agents>
    <execution_steps>
      <instruction>Execute these steps in exact order:</instruction>
      <step_list>
        <step>Create organized file structure: Deep-Research/[Topic-Name]-[DD-MM-YYYY]/ with Agent-Reports/ subfolder</step>
        <step>Initialize specialized research sub-agents for parallel investigation</step>
        <step>Execute comprehensive web research using multiple search strategies across academic and industry sources</step>
        <step>Deploy peer review agents to validate compiled research report for technical accuracy and completeness</step>
        <step>Synthesize all agent outputs into final authoritative research report with actionable insights and recommendations</step>
      </step_list>
    </execution_steps>
  </execution_stage>

  <resolution_stage>
    <description>Analyze the complete execution:</description>
    <validation_areas>
      <area>Verify research report directly and completely answers the user's question</area>
      <area>Confirm all research vectors were thoroughly investigated by specialized agents</area>
      <area>Check that peer review process validated technical accuracy and source credibility</area>
      <area>Validate that file organization follows the proper structure with agent reports saved</area>
      <area>Ensure final report maintains rigorous academic standards with proper citations</area>
    </validation_areas>
    <completion_indicator>
      <format>Always end with:</format>
      <template>
        FLOW COMPLETE:  execution finished - Status: [SUCCESS/PARTIAL/FAILED] - Timestamp: [completion time]
        [Summary of execution and outcomes]
      </template>
    </completion_indicator>
  </resolution_stage>
</command_structure>