1
0
Fork 0
polaris-task-force/src/scripts
Z8MB1E eed33de2e9 fix(missions): default new main ops to the upcoming Saturday
The startDateTime default in the Missions collection and the weekly
generate-mission bin both forced the date at least a week out by adding 7
days to the offset to the next Saturday. Generated midweek that landed on
the Saturday AFTER the coming one (a Tuesday generation went 11 days out
instead of 4), which also pushed the bot's roll-call (posted within 3 days
of start) days into the future and read as a missing roll-call.

Add nextSaturdayStart() to the unit-timezone date helpers: the nearest
upcoming Saturday at 20:00 America/New_York, rolling a week only once
today's 20:00 has passed. Use it for the collection default and the
generator, derive the generator codeName datestamp in unit time, and cover
the boundary cases in tests/int/next-saturday-start.int.spec.ts.
2026-10-10 14:54:06 -04:00
..
lib feat(server): add stale presence monitoring 2026-08-26 18:05:57 -04:00
AGENTS.md docs(agents): split domain guidance into nested AGENTS.md files 2026-10-09 15:46:36 -04:00
baseTick.ts feat(base): add base tick bin for salaries, maintenance, and upkeep 2026-09-06 01:24:11 -04:00
bumpVersion.ts feat(version): add version bump script for CI deployments 2026-08-26 22:13:24 -04:00
economyTick.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
gameTick.ts feat(logistics): timestamp shipment lifecycle with client relay 2026-09-20 02:43:29 -04:00
generateNextMission.ts fix(missions): default new main ops to the upcoming Saturday 2026-10-10 14:54:06 -04:00
generateVersionInfo.ts fix(version): compose version+commit label when git describe is unavailable 2026-09-06 17:23:03 -04:00
marketTick.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
missionTick.ts feat(missions): auto-start and auto-complete ops, plus side-op scheduling 2026-10-03 03:29:35 -04:00
run-migrations.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
serverTick.ts feat(server): add stale presence monitoring 2026-08-26 18:05:57 -04:00