Skip to content

chore(contracts): re-sync copied contracts from SahajCloud - #382

Merged
sydevs-bot merged 1 commit into
mainfrom
claude/chore-sync-contracts
Nov 10, 2026
Merged

sydevs-bot merged 1 commit into
mainfrom
claude/chore-sync-contracts

Conversation

@sydevs-bot

Copy link
Copy Markdown
Contributor

Summary

Test results

  • CI runs on this PR. If the new shape breaks this repo, fix-ci adapts the code here, and the adversarial review then reads it.

Notes for reviewer

Opened by the dispatcher contract sync (contractSync in sydevs/claude-workflow loop-config.json), not from a ticket. A later producer merge adds its commit here while this PR is open.

@sydevs-bot

sydevs-bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot
sydevs-bot marked this pull request as ready for review November 10, 2026 17:57
@sydevs-bot
sydevs-bot requested a review from Ardnived November 10, 2026 17:57
@sydevs-bot
sydevs-bot enabled auto-merge November 10, 2026 17:57
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Adversarial review skipped: this PR only re-syncs a copied contract. Say @sydevs-bot review to force one.

🤖 sydevs dispatcher

@sydevs-bot sydevs-bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 10, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 10, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 10, 2026
Merged via the queue into main with commit 9d88a4e Nov 10, 2026
24 checks passed
@sydevs-bot
sydevs-bot deleted the claude/chore-sync-contracts branch November 10, 2026 18:01
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants