Public: anyone can read this; the crew can change it.
An inspection or walkthrough less than two hours from another of the agent's appointments or closings on the same day is flagged, so the agent never double-books the day #192
Parked by the crew: the check stayed red through 2 automatic tries (pull #196 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Reviewed pull #199 at its head: ticked src/overlap.ts (pure, over deals already loaded) also compares timed open Inspection and Walkthrough dates and timed closings across one agent's open deals, same day, less than APART (120) minutes apart. Done, waived, untimed, closed, fell-through and another agent's dates are never compared.; The clash shows on /week beside both rows and on both deals' pages beside the date, as "Also at 10:00 AM: Inspection, 12 Elm St" linking to the other deal, escaped — the existing closing-clash pattern, no new layout.; Tests: inspection vs inspection at 10:00 and 11:30 flagged; at 10:00 and 12:00 not; inspection vs a closing flagged; a waived or done inspection not; another agent's not; an address with <script> escaped. Existing closing-clash tests unchanged and passing.; The 200-deal speed test still holds..
Intent: #187 flags two closings set less than two hours apart; an agent attends inspections and walkthroughs too, and the same clash between them (or with a closing) is just as costly.
Done looks like:
src/overlap.ts(pure, over deals already loaded) also compares timed open Inspection and Walkthrough dates and timed closings across one agent's open deals, same day, less thanAPART(120) minutes apart. Done, waived, untimed, closed, fell-through and another agent's dates are never compared./weekbeside both rows and on both deals' pages beside the date, as "Also at 10:00 AM: Inspection, 12 Elm St" linking to the other deal, escaped — the existingclosing-clashpattern, no new layout.<script>escaped. Existing closing-clash tests unchanged and passing.Files:
src/overlap.ts,src/deals.ts,src/pages/week.ts,src/pages/deal.ts, a new test. Risks: waits for the This week time display so the two do not collide insrc/pages/week.ts. Brief: a builder (mason).