Files
probo/pkg
Aurélien Sibiril 0f1d893668 Tighten ctx-suspend plumbing and trim docs
Address review feedback:

- Move ErrSuspendForCheckpoint from checkpoint.go to errors.go
  next to the rest of the agent error declarations; drop the
  colon in the error string so it matches the existing
  `agent run <event>` style used by the supervisor sentinels.
- Replace the inline `outerCtx := ctx; ctx = context.WithoutCancel(ctx)`
  pattern with a small `suspendShield` helper in context.go used
  by coreLoop, resumeWithOpts, and resumeNested. Reads more
  cleanly and stops surfacing the WithoutCancel mechanism at
  every call site.
- Trim the doc comments on Run, RunStreamed, Resume, Restore, the
  ErrSuspendForCheckpoint declaration, and the saveCtx comment in
  restoreNestedSuspended down to the contract bullet.

Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
2026-05-08 13:02:52 +02:00
..
2026-04-27 10:30:14 +02:00
2026-05-08 14:35:52 +04:00
2026-04-13 12:25:42 +02:00
2026-04-03 11:56:06 +02:00
2026-03-31 19:16:56 +04:00
2026-04-13 12:25:42 +02:00
2026-04-13 12:25:42 +02:00
2026-04-02 14:37:29 +02:00
2026-04-13 19:24:46 +02:00
2026-04-24 08:43:14 +02:00
2026-04-20 15:37:39 +02:00