fix(roadtrip): a check-in is a door opening, not an appointment

It is the hour a room becomes available. Reaching it later is reaching it; only a
time somebody pinned to a stop can be missed. Read as an anchor it did the exact
opposite of what it means: arrive at 16:14 at a hotel that checks in from 11:00
and the rail reported five hours fourteen late, then read that 11:00 as earlier
than the 15:00 before it, took it for a new day and pushed the hotel onto
tomorrow. The day it came from was left with one stop and dropped out of the list
altogether, so the stop before it appeared to vanish.

The schedule now takes it as a floor: waited for when the drive gets there first,
and otherwise silent. Waiting still prints in ink, because the hour is one
somebody named; arriving late to it prints as computed, because nothing was
decided.

Same shape of mistake as the check-out, from the other side. One says the earliest
you may be somewhere, the other the latest you may still be — neither says when
you drive.
This commit is contained in:
Maurice
2026-09-13 15:28:48 +02:00
parent 62d4cdcc18
commit 7b50692372
5 changed files with 90 additions and 4 deletions
@@ -0,0 +1,24 @@
import { Module } from '@nestjs/common';
import { AccommodationsService } from './accommodations.service';
import { AssignmentsDomainModule } from '../assignments/assignments-domain.module';
import { PermissionsModule } from '../permissions/permissions.module';
import { RealtimeModule } from '../realtime/realtime.module';
/**
* The accommodations SERVICE, split from the controller/MCP/RPC surfaces (the
* assignments-domain precedent). AccommodationsService itself never touches
* PlacesService -- only AccommodationsMcp does, for the one tool that writes a
* place and a stay together -- so the service can live in a module that stays
* off the AccommodationsModule -> PlacesModule edge.
*
* That is what lets PlacesModule import this: deleting a place has to take the
* nights booked at it with it, and the cascade behind a stay (its partner
* booking, that booking's expense, the day stop it wrote) belongs in one place
* rather than copied into the delete path.
*/
@Module({
imports: [PermissionsModule, RealtimeModule, AssignmentsDomainModule],
providers: [AccommodationsService],
exports: [AccommodationsService],
})
export class AccommodationsDomainModule {}