You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2026. It is now read-only.
PR #375 revealed a DateTime.UtcNow vs DateTime.Now mismatch in the orchestration dispatch path (N5 finding). The fix was to use DateTime.Now to match ChatMessage.Timestamp convention, but this is a band-aid — the codebase uses mixed conventions.
Context
PR #375 revealed a
DateTime.UtcNowvsDateTime.Nowmismatch in the orchestration dispatch path (N5 finding). The fix was to useDateTime.Nowto matchChatMessage.Timestampconvention, but this is a band-aid — the codebase uses mixed conventions.Current state
ChatMessage.TimestampusesDateTime.Now(local time)PendingOrchestration.StartedAtusesDateTime.UtcNowToLocalTime()conversionDateTime.Nowafter the N5 fixProposed fix
DateTimeOffset.UtcNowChatMessage.Timestamp,PendingOrchestration.StartedAt, and all comparison sitesRisk
This is a data migration — existing persisted sessions have local timestamps in
events.jsonl. Need a migration path or dual-parsing.Priority
Low — current code works correctly after the N5 fix, but the mixed convention is a recurring source of bugs.