lilith-platform.live/codebase
Natalie e654855af9
Some checks failed
Deploy quinn.admin / build (push) Failing after 0s
CI / verify (push) Failing after 1s
Deploy quinn.admin / deploy (push) Has been skipped
Deploy quinn.api / deploy (push) Failing after 1s
Deploy quinn.admin (black dev) / build-and-deploy (push) Failing after 4m31s
feat(api): region-based dynamic incall pricing driven by declared location
Incall rates now derive from the active region's base hourly rate instead of
static rows. Region resolves from declared location: manual pin > active tour
stop's state (STATE_TO_REGION) > home region fallback. Schedule derives by a
fixed no-discount multiplier (1h/1.5h/2h/3h + overnight 3.5h / dinner 4h /
daily 5h). Seeds CA=$800 (home) and NYC=$1000.

- new entity region-rate (schema+repo+types+index) + region_rates table
- wire assembleProviderConfig to override incall entries by active region
- admin surface /admin/region-rates (list, upsert base, pin/unpin)
- unit tests for resolver priority + formula (9 passing)

Replaces the previously dead rateCardsByCity selector path. FMTY dynamic
derivation (deriveZonesForMarket) remains a follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 12:12:22 -04:00
..
@features feat(api): region-based dynamic incall pricing driven by declared location 2026-07-01 12:12:22 -04:00
@packages infra: repoint @lilith npm registry + Forgejo from dead black to DO cocotte-forge; serve /photos from local disk 2026-06-28 08:09:33 -04:00
config.yaml
package.json
tsconfig.base.json