# How can I recover a requirement Copilot lost after compaction?

Exam: GH-700 — Enhancing Operational Efficiency with Agentic AI (beta)
Knowledge domain: Perform human-in-the-loop tasks for agentic workflows (20–25%)
Updated: 2026-11-19T04:47:23.875929+00:00
HTML: https://learningpathx.com/faq/GH-700/gh700-recover-copilot-context-after-compaction.html

## Also asked as

- What should I do when Copilot forgets a decision after summarizing the conversation?
- Can I restore details that disappeared during Copilot context compaction?

Locate the authoritative requirement or retained evidence and provide it again, explicitly identifying the correction. In Copilot CLI and the Copilot app, `/compact` summarizes earlier conversation to free context space; completed compaction cannot be reversed and may lose exact wording, command output or minor decisions.

In an interactive CLI session, use:

```text
/session checkpoints
/session checkpoints 2
```

The first command lists saved compaction summaries. The second reads listed checkpoint 2; use a number actually shown in your session. Inspect what the summary retained, then restore the missing requirement from its real source. Running compaction again will not reconstruct it.

Ask Copilot to restate the intended next step and verify it against the current requirements before continuing. A compaction checkpoint is a summary of conversation context, not a workspace file restore point. If the files are wrong, choose a supported file-recovery action separately. For an unrelated task, a fresh session may be clearer than retaining a long history.

References: [Managing context for GitHub Copilot - GitHub Docs](https://docs.github.com/en/copilot/concepts/prompting-and-context/context-management).

Source: [GH-700: Recover Copilot Work with Checkpoints and Session History](https://learningpathx.com/guide/GH-700/gh-700-recover-copilot-work-with-checkpoints-and-session-history.html)
