Repository navigation
chore(contracts): re-sync copied contracts from SahajCloud - #382
Merged
Merged
Conversation
Contributor
Author
|
🤖 no session running Written by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
marked this pull request as ready for review
November 10, 2026 17:57
sydevs-bot
enabled auto-merge
November 10, 2026 17:57
Contributor
Author
|
Adversarial review skipped: this PR only re-syncs a copied contract. Say 🤖 sydevs dispatcher |
Ardnived
approved these changes
Nov 10, 2026
antontcymbal
added a commit
that referenced
this pull request
Nov 10, 2026
Brings in #374 (a listing with no real place draws pin, then ring, then dot) and the #381/#382 contract re-syncs. - lib/shape/event.ts: main's hasVagueAddress, eventKind and hasApproximatePlace; drop our older hasVagueAddress and directionsTarget; keep our streetAndCity, now reusing main's module-level fold. - lib/shape/event.test.ts: main's hasVagueAddress and hasApproximatePlace specs; drop ours and the directionsTarget spec; keep our streetAndCity spec. - Mapbox/layers.ts: main's vaguePin/vagueRing/vagueDot, VAGUE_RADIUS_KM, RING_ZOOM, RING_MAX_ZOOM and one INTERACTIVE_LAYER_IDS; drop approximateDot/Fill/Outline and CLASS_LAYER_IDS; keep CLUSTER_MAX_ZOOM. - Mapbox/layers.test.ts: main's id contract and vague-layer specs; keep our stock-count contrast spec. - Mapbox/Map.tsx: main's vague feature property, cosLat, layers and hover test; drop the approximate-areas source and areaAround; keep the pin popover with class name, useMapTap, the unsplittable cluster opening its list. - Map.tsx click handler: main's bare else for a class feature, with our useMapTap open() kept inside it. - hooks/use-map-controller-real.tsx: main's eventPoint (vague, approximate as the union), VAGUE_ZOOM 11 and eventFrameZoom online; keep sheetInset and the world-once WORLD_CENTER. - hooks/use-event-display.ts: main's townOnly predicate; our postcode line now hides under townOnly too, as the room does (was status inactive). - lib/camera.test.ts: keep both our sheetInset spec and main's ring spec. - lib/geo.ts: main's version, so areaAround is gone (nothing else used it). - EventActions: plain Directions again (5cff0b9 reverted); drop event.actions.directions_to; test and story now assert no Directions for a vague listing. - docs/rules/mapbox.md: main's "Classes with no real place" section. - Contract files (payload-types.ts): main's, unchanged by us; typecheck clean. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm run types:cmsonmain, with no hand edits.Test results
fix-ciadapts the code here, and the adversarial review then reads it.Notes for reviewer
Opened by the dispatcher contract sync (
contractSyncin sydevs/claude-workflowloop-config.json), not from a ticket. A later producer merge adds its commit here while this PR is open.