docs: update skill docs with dead event recovery, multi-server routing, timestamp convention#515
docs: update skill docs with dead event recovery, multi-server routing, timestamp convention#515
Conversation
…g, timestamp convention Addresses issue #388 — remaining documentation gaps: - processing-state-safety: Add Dead Event Stream Recovery section documenting LoadHistoryFromDiskAsync, its 3 call sites, and timestamp filtering - multi-agent-orchestration: Add GetClientForGroup multi-server routing docs with decision tree, callers, and thread safety notes - multi-agent-orchestration: Add timestamp convention section explaining why DateTime.Now (local time) is used for dispatch filtering and how PendingOrchestration.StartedAt is converted on resume Closes #388 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Addresses review findings: - Call site #2 is RecoverFromPrematureIdleIfNeededAsync (dispatch-phase), not synthesis fallback - Update line numbers to match current code (~2466/~2762/~3059) - Fix LoadBestHistoryAsync description: uses most-recent-user-message selection (5s threshold), not completeness comparison - Fix LoadBestHistoryAsync line reference (793, not 795) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Timestamp: parsed event timestamp is primary, DateTime.Now is fallback (doc had it backwards) - GetClientForGroup callers: 'all' → 'primary' — codespace health-check and permission-recovery resumes bypass this method Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Multi-Model Code Review — PR #515docs: update skill docs with dead event recovery, multi-server routing, timestamp convention CI StatusFindings🟡 MODERATE — Timestamp fallback priority described backwards (1/3 reviewers)File: The doc stated Status: ✅ FIXED in 🟡 MODERATE — "all" callers overstated for GetClientForGroup (1/3 reviewers)File: The doc said callers were "all session creation/resume paths" but Status: ✅ FIXED in Verified Correct ✅All 3 reviewers confirmed these claims are accurate:
Test CoverageDocumentation-only PR — no tests needed. Recommendation✅ Approve — both findings already fixed in |
Summary
Addresses the 3 remaining documentation gaps from issue #388.
Changes
.claude/skills/processing-state-safety/SKILL.md:LoadHistoryFromDiskAsync.claude/skills/multi-agent-orchestration/SKILL.md:GetClientForGroupsection with decision tree, callers, thread safety notesCopilotService.Codespace.csto Key Files tableDateTime.Now(local time) is used for dispatch filtering and howPendingOrchestration.StartedAtis UTC-to-local converted on resumeCloses #388