Keep original recording facts across verified Agent session cutovers
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// Package session shares the verified Agent cutover refusal across the
|
||||
// Dispatcher, recording RPC server, and Agent without coupling their lifecycles.
|
||||
package session
|
||||
|
||||
import "errors"
|
||||
|
||||
// GenerationTransitionMessage is the sole retryable recording RPC refusal.
|
||||
const GenerationTransitionMessage = "verified Agent session generation changed"
|
||||
|
||||
// ErrGenerationTransition marks an adjacent active-session mismatch; it does
|
||||
// not authorize the rejected fact or bypass the latest-generation fence.
|
||||
var ErrGenerationTransition = errors.New(GenerationTransitionMessage)
|
||||
Reference in New Issue
Block a user