October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

The Agent Host Didn’t Have the Lifecycle Boundaries I Assumed

Cursor hooks showed that activity occurred, but did not always establish which work ended, whether it was review scaffolding, or which repository it changed.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Cursor’s lifecycle hooks did not, in my implementation, reliably tell Savepoints which work had finished, whether that work was its own review follow-up, or which repository the work changed. Those distinctions mattered: a hook firing showed that an event was observed, but not that the review workflow had completed.

This is an account of my implementation and probes, not a claim about every Cursor version or setup. The central lesson was to establish scaffolding identity, event correlation, and repository-local impact separately instead of inferring them from event order.

As an Amazon Associate I earn from qualifying purchases.

The review workflow needed a clear end state

Savepoints observes agent activity, evaluates whether completed work is worth retaining, and can emit a learning—or explicitly record no_capture when there is nothing to keep. In four substantial agent sessions, observe hooks indicated activity, but the review skill was consulted inconsistently and emit-learning did not run. I could not tell whether a review had found nothing or had never happened.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

I added a review opportunity after observed work and a mark-reviewed closure after that opportunity was handled. Observation remained separate from semantic judgment: a hook could report activity, but it could not decide whether that activity merited a lasting learning.

Three boundaries the hooks did not establish for me

1. Was this source work or Savepoints scaffolding?

A stop after ordinary work could trigger a review follow-up. But that follow-up could itself end with a stop, creating the possibility of recursively opening another review. Prompt-origin metadata available at beforeSubmitPrompt did not reliably identify the generated review in my probes.

I marked review follow-ups explicitly with SAVEPOINTS_CAPTURE_REVIEW_V1 opportunity_id=<uuid> and ignored prompts carrying that marker when registering source work. This made the system-generated scaffolding identifiable without relying on uncertain origin metadata.

2. Did the evidence and stop belong to the same generation?

I first tried suppressing the next stop after opening a review, assuming it would belong to that review. In one case, no review stop arrived; a later, unrelated stop was swallowed by the stale guard roughly 100 seconds afterward. Expected event order was not a safe substitute for identity.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

generation_id offered a stronger way to connect events from one agent generation. In the Desktop path I tested, event IDs linked the start, repository evidence, and stop. In Cloud, the ID observed at start and during evidence collection did not reliably match the one at stop. I therefore did not infer a match from timing, conversation_id, or ID-normalization heuristics.

3. Did the work affect this repository?

A generation can touch multiple repositories in a multi-root workspace, while session-wide hooks can run for repositories the agent did not edit. I counted an afterFileEdit as evidence only when its file_path resolved under that repository’s repoRoot.

Shell and MCP activity did not satisfy this repository-local gate in my implementation because I could not reliably tie that activity to a specific repository. That choice favors a narrower, attributable review opportunity over a broader inference that might associate work with the wrong repository.

What the Desktop and Cloud results mean

In the tested Desktop path, the IDs connected generation start, repository evidence, and stop. In Cloud, that relationship did not hold reliably at stop. These are implementation findings from my probes, not a universal characterization of Cursor Desktop or Cloud; they do not establish behavior across all versions or environments.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For that reason, the Savepoints adapter treats lifecycle-hook-only capture review as unsupported in Cloud rather than guessing at event correlation. This does not mean Savepoints cannot run in Cloud: the agent-owned learning path remains possible. What is unavailable through this adapter path is the independent assurance that the review occurred.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

A practical way to reason about lifecycle hooks

When designing a workflow around coding-agent events, check each relationship it depends on instead of treating a hook as proof of completion:

  • Identify scaffolding: use an explicit marker for system-generated follow-ups if the host does not reliably identify their origin.
  • Verify correlation: use an event identifier only after confirming that it connects start, evidence, and completion in the host and environment you support.
  • Establish local impact: require evidence that resolves to the target repository before opening a repository-specific review opportunity.
  • Fail honestly: if the evidence chain cannot be established, report the automated path as unsupported rather than acting on an inferred relationship.

An agent host can expose lifecycle events without exposing the lifecycle boundaries your system needs.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.