Skip to main content

Glossary

Rendered from corpus/wiki/glossary.md · updated 2026-11-02

This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.

Project-specific terms and jargon. New to the corpus? Read this alongside overview.md.

Domain model​

TermMeaning
PlaceThe map's core unit. A point that is a public resource and/or an event host. Two sources: osm and event-venue. Pins on the map are places.
OSM placeA place sourced from OpenStreetMap (source: osm) — park, library, clinic, museum, town hall. Carries real coordinates. The clean, licensed anchor layer.
Retired placeAn OSM place a re-sync no longer found (retired_at set). Hidden from every public read; kept with its favourites and past events, and listed again if OSM has it again.
Event-venue placeA place created on demand (source: event-venue) when an event's venue can't be matched to an existing OSM place. Its coordinates come from geocoding (or a manual pin).
EventSomething happening at a place (exhibition, concert, public meeting). Attaches to a place via FK. Text-only (no image); shows a buy-link only if the source provides one.
Manual pinAn admin-placed coordinate for a venue that couldn't be geocoded. Never overwritten by an OSM re-sync.

Data sourcing​

TermMeaning
OSMOpenStreetMap — the free, crowd-sourced world map. Our resource data source.
ODbLOpen Database License — OSM's licence. Permits reuse with attribution (hence the attribution work). The reason OSM is legally clean for us.
OverpassThe Overpass API — queries OSM for features in an area. Rate-limited/batch-oriented → we ingest once into SQLite, never query it on user traffic.
NominatimOSM's geocoder (address → coordinates). Used as a fallback only (after OSM-place matching), 1 req/s, cached.
GeocodingTurning a venue address string into lat/lng. Needed only for event-venue places that don't match an OSM place.
Primary publisherA source that originates event info (a museum, a town hall) — vs. an aggregator. We source from these (legally defensible), not from scraping aggregators.
AdapterA per-source parser that fetches + extracts events into our Event shape. Discovery order: API → feed (iCal/RSS/JSON-LD) → HTML scrape (last).
iaBilet (POC-only)A Romanian ticketing aggregator. Its ToS forbids reuse → its adapter is proof-of-concept only, disabled in production, blocked on permission. See decisions.md → Legal posture.

Ingestion pipeline​

TermMeaning
RefreshAn admin-triggered run of a source adapter: fetch → parse → match → geocode → dedup → reconcile → diff. Writes nothing live until accepted.
Staged eventA parsed-but-not-yet-accepted event. Lives in staged_event until an admin accepts or rejects it.
DiffThe preview an admin reviews: new / changed / stale events, plus ambiguous-match and needs-attention buckets.
DedupDropping duplicates within a source (canonical url/id) and across sources (normalized title + date + venue/city). Runs before the diff.
ReconcileOn re-refresh: vanished accepted events → stale; changed ones → re-enter the diff. (Not append-only.)
SuspectA source-health flag raised when a refresh returns 0 / a big drop vs. last run — catches a silently-broken adapter.
Admin-curatedThe model: a human reviews + accepts before anything goes live. NOT an autonomous cron.

App / retention​

TermMeaning
City pickerPrimary nav control; scopes the map to Timișoara or București. Persisted in locationStore.
What's onThe citywide event index (reframed from the old standalone /events); lists upcoming events, each links back to its place.
favorite_place / favorite_eventThe two favorite types. Place-favorites drive "new here" notifications; event-favorites drive day-before reminders.
Reminder sweepThe once-a-day in-process job (inside Fastify) that creates day-before reminders, in Europe/Bucharest time, idempotently.

Corpus / process​

TermMeaning
CorpusThis corpus/ directory — the LLM-maintained project knowledge base + work lifecycle.
BriefA numbered work spec (briefs/todo/NN-slug.md). Numbers are stable; briefs run in number order.
WikiThe synthesis layer (wiki/) — LLM-curated pages answering "what is X".
Decision (locked)A choice in decisions.md not to be relitigated without an explicit revisit + log entry.