GeezerVison is showing github.com — id: implement native graph navigation API v1 (per #5831 decision record) · Issue #7612 · developing-today/code
id: implement native graph navigation API v1 (per #5831 decision record) #7612DescriptionImplementation tracking issue for the decision record landed on issue #5831 (comment 6719944526, task 12913, 2026-11-08). Implementation timing is a separate later decision (programme epic #2056); this issue exists so the design is not treated as finished work with no next action.
Scope, per the #5831 record:
- Typed node/edge graph over the parent id: design: ID notes, message board, and multiplayer editing v1 #5677 note↔board reference model (node types: note, board, post, reply, chat-thread, version, fork, actor; edge types as recorded).
- V1 operations with one canonical interface: neighbors, backlinks, threads-for-object, history-for-object, bounded path.
- Semantic parity across CLI, script/API, and agent surfaces (same semantics, filters, ordering, bounds; presentation-only differences).
- Cursor pagination and bounds per issues id: design: result shaping & cursor pagination (from #5675) #5821/Design: complete, bounded, or say so — one pagination contract for the repo's paged reads #6622: deterministic (created_at, id) order, no duplicates in a cursor walk, explicit truncation markers, visibility-respecting traversals.
Acceptance: each invariant in the #5831 record is covered by a test naming its oracle (the record itself); parity is proven by running the same operation suite against all three surfaces over a shared fixture graph.
Acceptance criteria
- Every invariant in the id: design: native graph model & navigation API (from #5677) #5831 decision record is covered by a test that names the record as its oracle.
- The same operation suite passes against the CLI, script/API, and agent surfaces with identical semantics, filters, ordering, and bounds (presentation-only differences).
- Cursor walks are deterministic in (created_at, id) order, duplicate-free, and carry explicit truncation markers.
- Traversals respect visibility: no operation leaks nodes or edges the caller cannot see.
Activityadded task/triageQueue packet kind: verify, reproduce, and route this item effort/lLarge: multi-day or open-ended; expect staged check-ins meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 8, 2026dezren39 commented on Nov 8, 2026 Intake review
Related: decision record on #5831 (comment 6719944526, task 12913), parent model #5677, pagination bounds #5821/#6622, epic #2056.
Live check: tracking issue for a landed design; no implementation PR exists. The issue itself notes implementation timing is a separate later decision — enrichment does not change that.
Notes / risks: parity across three surfaces is the cost driver; build the operation suite surface-agnostically from the start or parity becomes a rewrite. Nothing here should start before the #2056 programme schedules it.
Suggested approach: implement the graph + operations once behind the canonical interface, then bind the three surfaces to the shared suite.
— fleet monitor (repo-fleet-monitor), 2026-11-08 08:12 CST run: acceptance criteria appended to the body, labels normalized, meta/enriched applied. dezren39 commented on Nov 10, 2026
🤖 Agent note · triaged
- Agent: triage-step
- State: triaged
- Verdict: work kind
task/small-fix · priority/normal · effort/l · kind/enhancement
- Priority why: priority/normal retained from filing — brief line 2/5: a recorded ID design decision with a tracked implementation issue, so the design is not treated as finished work.
- First step: Per the id: design: native graph model & navigation API (from #5677) #5831 decision record, build the typed node/edge graph over the id: design: ID notes, message board, and multiplayer editing v1 #5677 note-board reference model with the v1 operations: neighbors, backlinks, threads-for-object, history-for-object, bounded path.
- Acceptance: The v1 operations are available with semantic parity across CLI, script/API, and agent surfaces (same semantics, filters, ordering). Note: implementation timing is a separate later decision (epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056) — this packet stays at normal priority until scheduled.
- Fix packet:
repo-health:v1:fix:developing-today/code:issue:7612 → queue repo-health-code-pilot, task 14512 (enqueued by triage-step this run).
developing-today-fleet commented on Nov 25, 2026 Graph hygiene (#14863 slice 8): state correction (comment-only). status/blocked + queue/blocked name no dependency blocker, and the body names none — the gate is a programme timing decision ('implementation timing is a separate later decision', programme epic #2056), the same class as #2263/#3016 in earlier slices. The distinction is recorded here so the blocked labels are not read as a dependency block; labels left as-is (they reflect the queue posture). Refs #14863 dezren39 commented on Nov 26, 2026 Claimed by lane 4, 2026-11-26T08:11Z
Taking slice 1 under Drew's 2026-11-26 direction to pick up ID items that build real apps and new capabilities. That direction settles the timing gate recorded on this issue.
Slice 1 is the canonical interface the #5831 record fixes, as a pure module in id-core's graph root:
- the typed v1 node and edge sets, with endpoint typing enforced at insert;
- the five operations: neighbors, backlinks, threads-for-object, history-for-object and bounded path;
- one request and one page shape;
- opaque cursors bound to the filter set and ordered by
(created_at, id);
- a named bound on every truncation;
- visibility-respecting walks.
Tests name each record invariant as their oracle. Builders from the board and note-link stores, and the CLI, API and agent bindings with the parity suite, are later slices.
Generated by Claude Code developing-today-fleet commented on Nov 26, 2026 developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · handed off
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor cron run 2026-11-26 06:14 CST; task 14512
- Found via: monitor reconciliation
- Task: Claim-evaporation repair: the queue task is queued unclaimed (lease expired, attempts 3) while the issue still carried queue/claimed + work/assigned. Labels reset to queue/queued + status/needs-triage to match the live queue truth.
- Expectation: a worker re-claims from the queue; checkpoint stage at evaporation: blocked_packet_defect
- Links: queue repo-health-code-pilot
dezren39 commented on Nov 26, 2026 Lane 4: slices 1 and 2 landed in #15469 (squash 56b45e0).
id-core::graph::navigation: typed nodes and edges (untyped relationships refused at insert), neighbors, backlinks, threads-for-object, history-for-object and bounded shortest path. Cursor paging is bound to its request, caps report truncation, and invisible nodes never appear or reveal themselves.
id-core::graph::navigation_wire: a JSON request and answer form over the same core (the script/API surface), plus a text rendering.
id nav CLI over a graph file, with a parity suite asserting the CLI and the API return identical answers.
Still open here: binding the graph to the live stores rather than a snapshot file, and the agent (MCP) surface joining the same parity suite, which this issue's acceptance requires. The lane 4 claim on slices 1 and 2 is released.
Generated by Claude Code dezren39 commented on Nov 26, 2026 agent-note:v1 — state: parked (task 14512, lane BK)
- Agent: Archer queue lane BK, 2026-11-26 12:19 CST. Claimed exactly one item via
fleet agent next: task 14512 for issue id: implement native graph navigation API v1 (per #5831 decision record) #7612.
- Premise/ownership check: read issue id: implement native graph navigation API v1 (per #5831 decision record) #7612 body and comments. No live competing implementation claim/PR in the comments read; repeated prior park notes are the record. Gate is dispositive: issue body, intake comment, and triage note all state implementation timing is a separate later decision under programme epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 — "nothing should start before epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 schedules it" / packet "stays at normal priority until scheduled". No scheduling by epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 or direction from Drew appears in the comments read.
- Outcome: parked task 14512 for 24h (not_before 2026-11-27T18:19:50Z). No implementation, PR, or merge — starting the effort/l three-surface graph API now would pre-empt the recorded epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 scheduling decision.
- Resume condition: epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 schedules the id: design: native graph model & navigation API (from #5677) #5831 implementation, or Drew directs starting it.
- Rate note:
gh api rate_limit this lane showed core remaining=0, reset 2026-11-26T18:33:45Z; no GH retry-loop was made.
developing-today-fleet commented on Nov 27, 2026 Slice status re-verification (lane code-f, task 14512)
Fresh read of the issue, comments, PR #15469, and origin/main:
- Slices 1–2 are merged and present on main. PR feat(id): native graph navigation API v1, core plus CLI and API surfaces (#7612) #15469 (squash 56b45e0, merged 2026-11-26) delivered
id-core::graph::navigation (typed nodes/edges, neighbors, backlinks, threads-for-object, history-for-object, bounded shortest path), navigation_wire (JSON request/answer + text rendering), and the id nav CLI with a CLI↔API parity suite. Confirmed on origin/main.
- Still open, per the 2026-11-26 lane-4 note: (a) binding the graph to the live stores rather than a snapshot file, (b) the agent (MCP) surface joining the same parity suite. The issue acceptance requires parity across CLI, script/API, and agent surfaces, so the issue stays open.
- No in-flight work: no open PR references id: implement native graph navigation API v1 (per #5831 decision record) #7612. The remainder is unclaimed.
- Gate note: programme epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 closed 2026-11-26 as complete, so the old "wait for epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 to schedule" gate is moot — and implementation has in fact proceeded (slices 1–2 merged). What remains is ordinary unclaimed implementation work, not a scheduling decision.
Task 14512 re-parked: resume when a lane takes the live-store-binding + MCP-parity remainder (or on the time gate for re-verification).
developing-today-fleet commented on Nov 27, 2026
Slice status re-verification (lane oc-code-03, task 14512)
Fresh read of the issue, decision record (#5831 comment 6719944526), PR #15469, and origin/main:
- Slices 1-2 still merged and present on origin/main. id-core graph navigation plus navigation_wire plus the id nav CLI plus the CLI/API parity suite. Model check: all 8 record node kinds and all 8 record edge types (incl. mentions) present with the Decision-1 endpoint table; the parity test runs one operation suite through CLI args and JSON API over a shared fixture and requires equal answers.
- Still open, unchanged: (a) binding the graph to the live stores rather than a snapshot file; (b) the agent (MCP) surface joining the parity suite. No open PR references id: implement native graph navigation API v1 (per #5831 decision record) #7612 (checked this shift).
- New scoping findings for the next lane:
- Builder home is clean: id-store depends on id-core, so a store-backed builder (an id-store module constructing NavGraph from fold_notes / LinkProjection / project_threads / board append-list projections) needs no new crate or dependency flip.
- Timestamp gap: note/link store events carry no created_at; the nav order key (created_at, id) needs a recorded ordering-key source (ingestion clock or caller-supplied resolver) before a store builder can claim deterministic order. That is a small recorded decision, not code.
- Agent surface is dependency-blocked, not just unclaimed: a repo-wide grep finds no MCP server/transport; the shipped MCP bridge is translator plus policy library only, and the live client surface is forward design (book/design/agents-mcp.md). Per record Decision 3 this is a parity exception to record, and the surface itself belongs to the id(phase-14): Agents in worlds (MCP bridge) — v1 — first-iteration design + spike plan #6300-series programme, not this packet.
- Fit: the store binding across 8 node kinds is staged implementation work on an effort/l issue; it exceeds this small_fix packet timebox. Recommend re-packetizing the remainder as staged slices (note-subgraph builder plus timestamp decision; board/post subgraph; chat/thread subgraph; MCP parity when a surface ships) or upgrading the packet kind.
- No code changes this run. Task 14512 re-parked: resume when a lane takes the note-subgraph store-binding slice (with the timestamp decision recorded) or re-verify on the time gate.
dezren39 commented on Nov 28, 2026
Lane 1237-J (alpha DRIVE queue-draw, 2026-11-28 12:37 CST run) — queue task 14512 claimed 2026-11-28T18:48:00Z, parked 24h. Gate re-verified firsthand this claim, with one framing update:
- Slices 1–2 still merged on main (PR feat(id): native graph navigation API v1, core plus CLI and API surfaces (#7612) #15469): id-core graph navigation + navigation_wire +
id nav CLI + CLI/API parity suite. No open PR references id: implement native graph navigation API v1 (per #5831 decision record) #7612. Issue OPEN, unchanged since 2026-11-27T18:56:32Z.
- Framing update: programme epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 is now CLOSED (fresh-read this lane: closed, updatedAt 2026-11-26T09:54:28Z). The old "nothing starts before epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 schedules it" gate no longer describes the blocker — both post-closure re-verifications (code-f 2026-11-27T18:22Z, oc-code-03 2026-11-27T18:56Z) already treated the remainder as staged work, and this lane concurs.
- Actual remaining blockers (unchanged): (a) live-store binding is staged implementation across 8 node kinds on an effort/l issue — it exceeds this small_fix packet's timebox, and it first needs the recorded timestamp ordering-key decision (note/link store events carry no created_at; the nav order key is (created_at, id)); (b) the agent/MCP surface is dependency-blocked — no MCP server/transport exists in-repo, the surface belongs to the id(phase-14): Agents in worlds (MCP bridge) — v1 — first-iteration design + spike plan #6300-series programme (Decision 3 parity exception).
- The packet.max_attempts validation mismatch recorded in the task's progress (repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444) also still stands for the queue owner; the task was claimable despite it.
Wake / ready condition (non-person): the remainder is re-packetized as staged slices (note-subgraph builder first) with the timestamp ordering-key decision recorded on this issue — then a lane takes the note-subgraph store-binding slice. No code changed by this lane.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|