MockCertMockCert
Menu

GitHub conceptsGH-600: Developing in Agentic AI Systems (GitHub Certified: Agentic AI Developer)Agent memory

GH-600 memory, state and execution: what the exam tests

What GH-600 asks about agent memory: what Copilot Memory keeps and for whom, how compaction handles long sessions, and how state moves between tools.

By MockCert EditorialPublished Nov 23, 2026

3 min read

You ask Copilot to remember a rule, then watch it ignore that rule a few tasks later. Asking Copilot to store a memory does not guarantee it is stored or always used. Even a stored memory expires after 90 days by default.

01 What does GH-600 test about memory, state and execution?

That surprise is the core of this domain. For rules that must apply every time, GitHub points you to custom instructions instead of memory.

The domain's three objectives at a glance

  1. Objective 3.1: memoryFacts or preferences, expiry, and what Copilot refuses to store.
  2. Objective 3.2: state and driftCompaction, checkpoints, and when a fresh session beats a long one.
  3. Objective 3.3: continuityMemory shared across surfaces, and resumable sessions.
What memory keeps, how sessions stay on track, and how state travels.

Under the cards: memory rejects anything holding a secret. Compaction turns long sessions into a summary. Cloud sandbox sessions aren't tied to one device.

Use custom instructions for important rules; leave accumulated detail to memory.

02 How does Copilot Memory decide what to keep?

Copilot sorts each memory by who it applies to, not by who stated it.

The two kinds of Copilot Memory

Repository-level facts

  • Describe a codebase
  • Shared with your collaborators
  • Not copied when you fork

User-level preferences

  • Describe how you like to work
  • Follow you between repositories
Facts belong to the codebase; preferences belong to you.

Owners can set repository-fact expiry anywhere from 7 to 180 days. An upvote resets the clock, but simply retrieving a memory does not.

Memory scope follows who it applies to, not who said it.

03 How do you keep long sessions from drifting?

Long conversations need compaction. Copilot CLI starts it automatically at about 80% of the context window. It can drop fine-grained detail, and a completed compaction cannot be reversed.

So when Copilot contradicts earlier work, review the checkpoints to see what was kept. If the work went the wrong way, a fresh session beats reconciling old decisions.

Compaction keeps continuity, not every detail.

04 How does state carry across tools and environments?

Memory crosses surfaces: facts captured by cloud agent can be used by code review. Resuming a cloud sandbox session in Copilot CLI brings back its full history and work.

In workflows, download-artifact checks the SHA256 digest against the upload step's output. MockCert is independent of the exam's provider. Its free quizzes explain each answer as soon as you give it.

Cloud sandbox sessions resume with their history and work intact.

Summary

  1. Use custom instructions for rules that must always apply.
  2. Memory expires after 90 days by default.
  3. Copilot CLI compacts at about 80% of the context window.

Sources

  1. About GitHub Copilot Memory - GitHub Docs (opens in a new tab)
  2. Managing context for GitHub Copilot - GitHub Docs (opens in a new tab)
  3. Managing agent sessions - GitHub Docs (opens in a new tab)
  4. Manually creating memories for GitHub Copilot - GitHub Docs (opens in a new tab)
  5. Store and share data with workflow artifacts - GitHub Docs (opens in a new tab)
  6. MockCert: free study guides, quizzes and mock exams