function

ValidateTaskReference

Validate a lifecycle-safe document reference.

Source store/task_validation.go:132

@param reference
The stable collection identity and bounded non-empty document ID.
@returns
Nil when valid or a bounded, actionable contract error.

Custom TaskStore implementations should call this at their direct public boundary and still enforce the corresponding database invariants atomically.

Related types