PR #69 followups: lifecycle tests, stop-hook env var, doc cleanup#97
PR #69 followups: lifecycle tests, stop-hook env var, doc cleanup#97
Conversation
Proposal for task-010fa0f1 covering extraction of TASK_ID_RE, resolveTaskFile helper, reuse of updateFrontmatterField, and unification of duplicated priorityValue() across dashboard.ts and flow.ts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Covers two features: clickable retrospective links for done tasks, and a time-based filter (All/30d/7d/24h) using task file mtime. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…, deprecated fields Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Export refreshAgentStatuses() for direct testing - Add 20 new tests: updateTurnLifecycle edge cases (5), refreshAgentStatuses integration tests (10), orchOnStop env-var fallback tests (5) - Update orchOnStop() to fall back to LUDICS_PEER_SYNC_DIR env var when CLI arg is missing or stale - Deprecate legacy directory-walk in stop hook shell script with stderr warning - Rewrite stale isTurnFresh()/phaseDispatchedAt doc reference to past tense Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
aa8be34 to
c3263b3
Compare
Coder Refactor Notes — PR #971. Consolidate peer-sync resolution into a single function
Suggestion: Extract a 2. Redundant
|
Summary
refreshAgentStatuses()and add 20 new tests coveringupdateTurnLifecycle()edge cases,refreshAgentStatuses()integration (null snapshots, stop-hook fast-complete, inconsistency detection), andorchOnStop()env-var fallbackorchOnStop()to fall back toLUDICS_PEER_SYNC_DIRenv var when CLI arg is missing/stale; deprecate legacy directory-walk in shell hook with stderr warningisTurnFresh()/phaseDispatchedAtreference to past tense in phase-transitions docTest plan
bun run typecheckcleanexecs intoorch on-stopwhenpeer_sync_diris validated (no stale env var regression)🤖 Generated with Claude Code