Reconcile goal recovery with human intent and model state transitions

This commit is contained in:
ms2k 2026-10-18 19:21:26 +09:00
commit 548eb69211

View file

@ -77,7 +77,7 @@ func session(ctx context.Context, opts options, s *store, log io.Writer) error {
wake := nextPoll
for id := range op.attached {
w := s.watch(id)
if !w.Due.IsZero() && w.eligible() && w.Due.Before(wake) {
if w.echo == nil && w.seed == nil && !w.Due.IsZero() && w.eligible() && w.Due.Before(wake) {
wake = w.Due
}
}