> ## Documentation Index
> Fetch the complete documentation index at: https://docs.profy.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Replay & Fork

> Replay conversation history and fork from any point

Every conversation with an Expert is fully recorded. You can replay past conversations at any time to review the complete process, or "fork" a new conversation branch from any point in the history to explore a different direction.

## Conversation Replay

The replay feature lets you browse the full conversation history, including all messages, tool calls, and execution results.

### Viewing a Replay

<Steps>
  <Step title="Open Conversation History">
    Select a past conversation from the conversation list on the left.
  </Step>

  <Step title="Browse Conversation Content">
    The conversation is displayed in its original order with all content, including:

    * Every message you sent
    * Every reply from the Expert
    * Tool call processes and results
    * Phase groupings and task progress
  </Step>

  <Step title="View Tool Details">
    Click on a tool call card to expand and view the specific tool name, input parameters, and output results. This is very helpful for understanding the Expert's decision-making process.
  </Step>
</Steps>

### Uses of Replay

<CardGroup cols={2}>
  <Card title="Review & Learn" icon="graduation-cap">
    Review how Expert solved a complex problem and learn from its approach and methodology
  </Card>

  <Card title="Share & Collaborate" icon="share-nodes">
    Share a valuable conversation with colleagues to show how a solution was developed step by step
  </Card>

  <Card title="Quality Check" icon="clipboard-check">
    Inspect the Expert's work process and results to ensure every step meets expectations
  </Card>

  <Card title="Root Cause Analysis" icon="timeline">
    When a result is unsatisfactory, trace back through the conversation to identify where things went wrong
  </Card>
</CardGroup>

## Conversation Forking

Forking is a powerful feature of Profy conversations — create a new conversation branch from any message in the history and explore alternatives without affecting the original conversation.

### How to Fork

<Steps>
  <Step title="Locate the Message">
    Find the point in the conversation where you want to fork — typically a message where you think "what if I had taken a different direction here."
  </Step>

  <Step title="Initiate Fork">
    Trigger the fork action on that message. The system creates a new conversation branch that inherits all context up to the fork point.
  </Step>

  <Step title="Continue in the New Branch">
    The new branch is an independent conversation. You can give the Expert different instructions here and explore an alternative approach.
  </Step>
</Steps>

### Fork Characteristics

<AccordionGroup>
  <Accordion title="Context Inheritance">
    The new branch inherits all conversation context prior to the fork point. The Expert "remembers" everything you discussed before the fork, as if you opened a parallel conversation at that moment in time.
  </Accordion>

  <Accordion title="Full Independence">
    The forked conversation and the original are completely independent. Any actions in the new branch (including Expert modifying files, generating content, etc.) do not affect the original conversation, and vice versa.
  </Accordion>

  <Accordion title="Visual Markers">
    Forked conversations display clear fork markers in the message history, indicating where the conversation branched from, helping you track the conversation's lineage.
  </Accordion>

  <Accordion title="Multiple Forks">
    You can fork from the same message multiple times to explore several different directions. You can also fork again within a forked conversation, creating a conversation tree structure.
  </Accordion>
</AccordionGroup>

## Typical Use Cases

### Comparing Approaches

You had Expert implement a component in React. Want to see how it would look in Vue? Fork from the "start implementation" message, have Expert implement the same requirement in Vue in the new branch, then compare the two approaches.

### Risk Isolation

Expert is about to perform an action you're unsure about. Fork a branch to try it first — if the result isn't ideal, the original conversation is unaffected, and you can always go back to the pre-fork state and continue.

### Iterative Refinement

You're mostly satisfied with Expert's first draft but want to try a different approach for a specific detail. Fork to adjust it independently, keeping the original version as a baseline.

<Tip>
  Forking doesn't consume extra storage space (only incremental differences are recorded). Feel free to use forks to explore different possibilities — this is a workflow that Profy encourages.
</Tip>

## Replay & Fork Working Together

Replay and forking are often used in combination:

1. **Replay** a past conversation to find the key point where you want to try again
2. **Fork** a new branch from that point
3. Give the Expert different instructions in the new branch
4. Compare the results of both branches and choose the better approach

<Note>
  Conversation history and fork records are persisted permanently — you can revisit them at any time. However, conversations in temporary chat mode do not support replay or forking, since their history is not persisted.
</Note>
