Skip to content

Commit 09a9bb7

Browse files
authored
Merge pull request #474 from AdaWorldAPI/claude/osm-pbf-consumer-boundary-fix
docs(osm-plan): route D-OSM-2 osmpbf consumer to lance-graph, not ndarray stub (codex P2 on #473)
2 parents e39f3f9 + 31d1fa2 commit 09a9bb7

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.claude/board/AGENT_LOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [Opus 4.8, main thread] cesium-osm-substrate-v1 review fix — D-OSM-2 crate boundary (codex P2 on merged #473)
2+
3+
**Branch:** `claude/osm-pbf-consumer-boundary-fix` (off `main`). **New follow-up PR** (merged #473 review-fix, surfaced for visibility per user request; the other session owns the OGAR-side fixes).
4+
5+
**Fix:** `.claude/plans/cesium-osm-substrate-v1.md` D-OSM-2 (line 91). Codex P2 (`chatgpt-codex-connector`, `#473#discussion_r3362274315`) flagged the plan wiring `osmpbf` v0.4 into the **ndarray** `crates/cesium/src/osm_pbf.rs` file — which D-OSM-1 explicitly declares dependency-free — putting the ingest dep in the wrong repo/crate boundary and leaving the lance-graph Arrow/Lance emitter underspecified. Re-pointed the real `osmpbf` consumer + Arrow/Lance emitter to a **lance-graph-side** module (`crates/lance-graph/src/ingest/osm_pbf.rs`, new), reusing the D-OSM-1 carrier shapes + XYZ→TMS Y-flip helper; the ndarray cesium file stays the dep-free D-OSM-1 stub. STATUS_BOARD D-OSM-2 row already attributed the deliverable to `lance-graph` (no change needed).
6+
7+
**Scope:** lance-graph only. `ndarray#214` (D-OSM-1 stub) had no actionable review comments (CodeRabbit was rate-limited; no review threads). `OGAR#38/#39` are outside this session's repo scope → other session.
8+
9+
**Tests:** none (docs/board only; `cargo` not invoked).
10+
11+
---
12+
113
## [Opus 4.7 / 1M ctx, main thread] cesium-osm-substrate-v1 — OSM as 6th Cesium ingest source class (cross-session coordination with OGAR)
214

315
**Branch:** `claude/cesium-osm-substrate-v1` (new branch off `main`). **Files (this commit, lance-graph side):**

.claude/plans/cesium-osm-substrate-v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Mirror the shape of `crates/cesium/src/arcgis_pbf.rs` (428 LOC, already shipped)
8888

8989
### D-OSM-2 — `osmpbf` consumer + Arrow RecordBatch emitter (lance-graph)
9090

91-
Wire `osmpbf` v0.4 (b-r-u) into `crates/cesium/src/osm_pbf.rs`. Lazy-decoded parallelized PBF reader → per-element-type Arrow RecordBatch:
91+
Wire `osmpbf` v0.4 (b-r-u) into a **lance-graph-side** module — e.g. `crates/lance-graph/src/ingest/osm_pbf.rs` (new) — **not** the ndarray `crates/cesium/src/osm_pbf.rs` file, which stays the dependency-free D-OSM-1 stub. The `osmpbf` dependency and the Arrow/Lance emitter live entirely on the lance-graph side; this module consumes the D-OSM-1 carrier shapes (`OsmNode` / `OsmWay` / `OsmRelation` / `OsmTagList`) and the XYZ→TMS Y-flip helper, mapping each lazily-decoded, parallelized PBF element into a per-element-type Arrow RecordBatch:
9292

9393
- `osm_nodes` table — `(id u64, lat f64, lon f64, qk_tms_path FixedSizeBinary(24), tags List<Struct<key,value>>)`
9494
- `osm_ways` table — `(id u64, ref_node_ids List<u64>, qk_tms_path FixedSizeBinary(24), tags List<Struct<key,value>>)`

0 commit comments

Comments
 (0)