GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) · Issue #5178 · developing-today/code

id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178

New issue
Copy link
New issue
Copy link
Closed
#8332
Closed
id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259)#5178
#8332
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)task/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 3, 2026
Issue body actions

Follow-on to #2259 (design + local-store PoC, completed 2026-11-03)

The local half of friendly-name reference resolution is done and merged: spec (doc/2026-10-30T13-25-00Z_design_friendly_name_references.md, PR #2742; design record PR #3829) and the local-store PoC (pkgs/id/src/references.rs, PR #2756, merge 4b6d1f93). Findings are posted on #2259.

This issue is the v2 half that #2259 explicitly left out of scope:

Scope

  1. Cross-store fan-out: resolution queries across stores (not just the local notes/documents index), merging per-store ranked candidates under the spec's tier rules — boosts never cross tiers, contested surfaces are never silently picked.
  2. Locator fetch: following a stored reference's locator hints to fetch/render a target that lives in another store, including the renamed/cleared/unresolved-for-viewer render states across the store boundary.
  3. Hosted-store search: the hosted counterpart of the local index (was out of scope for the PoC).

Carried decision (Drew)

From the 2026-11-01 design note on #2259 — Q1, document identity: choose (a) DocumentRecord.id revision-level references (recommended for the PoC) or (b) a stable logical note ID that follows later saves. The PoC landed without this ruling; v2's reference representation depends on it, so this issue stays design-first until Q1 is answered.

Acceptance criteria

  • Q1 answered and recorded here
  • Design for fan-out ordering/provenance across stores (how per-store tiers merge without silent picks)
  • PoC or implementation per the design, with duplicate-title and contested-alias cases covered across stores

Program: ID platform expansion, epic #2056. Origin: #2047 investigation → #2259 local design+PoC → this v2.

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    kind/enhancement
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    status/needs-triageNot yet triaged; needs a first look
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 3, 2026
  2. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    Intake review

    Related: Origin: #2259 (closed/completed). Spec: doc/2026-10-30T13-25-00Z_design_friendly_name_references.md.

    Notes: Follow-on to #2259 (design + local-store PoC, completed 2026-11-03; PR #2742/#3829/#2756). Body already carries acceptance criteria and the carried Q1 decision, so no body edit this pass. Scope is the v2 half: cross-store fan-out, locator fetch, hosted-store search. Risks: tier-rule violations across store boundaries (boosts crossing tiers) are the spec's hard constraint — acceptance tests should include a contested-surface case. Effort l (multi-day, three sub-scopes; may split). Suggested approach: slice per scope item, fan-out first since locator fetch depends on its result shape.

    — fleet monitor intake (protocol §5), 2026-11-03. Verified still live this run: no merged PR resolves this issue.

  3. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 4, 2026
  5. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-h
    • Session / ID: task 9464
    • Found via: queue claim
    • Task: Handed off to the opencode execution lane per §1b — the laptop claimant launches the bound opencode session for task 9464 (issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178).
    • Expectation: claimant session drives task 9464 to its terminal state under this queue's worker id
    • Links: n/a
  6. dezren39
    added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 4, 2026
  7. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-a
    • Session / ID: task 9464
    • Found via: queue claim
    • Task: triage for id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 — claimed by lane code-a; execution-lane assignment: opencode
    • Expectation: handed to the opencode claimant, which launches the bound session
    • Links: queue task 9464
  8. 112 remaining items

  9. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · scoped and parked resumable — remainder verified, plan recorded (task 13938)

    • Agent: repo queue worker, lane code-g (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-g run 2026-11-10 13:43 CST; task 13938 (direct per fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187, lane row 6159)
    • Verified current state (2026-11-10, current main): pkgs/id/src/references.rs (1994 lines) still carries the module-doc admission at line 13 — "There is still no hosted-store search here; that remains a later id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 slice." FanOut (line 685) is Vec<LocalIndex> — in-memory per-store indexes only, exactly as the packet states; cross-store fan-out (PR feat(id): cross-store friendly-name fan-out — first #5178 slice #5553) and locator fetch (PR feat(id): follow reference locator hints across stores (#5927) #5932) are landed and must not be redone. The design is doc/2026-11-04T15-33-00Z_design_friendly_name_fanout.md.
    • Why parked, not rushed: the remainder is two coupled pieces — (1) a hosted-store search that produces a viewer-scoped, LocalIndex-equivalent answer set under the same contract, and (2) production store adapters wiring FanOut to live stores (today it can only be constructed from already-materialized LocalIndex values). Together they need a store-surface design decision against the hosted store layer plus full compile/test verification in pkgs/id — a dedicated run, not the tail of a queue shift; a half-wired adapter merged unverified would be worse than a clean resumption point.
    • Resumption plan (in order): (1) read the fan-out design doc's hosted-search section and inventory the hosted store's existing query surface (the local notes/documents index is the contract model); (2) introduce the minimal store abstraction (or the hosted search that materializes a LocalIndex-equivalent per viewer) without changing FanOut's merge semantics — contested-claim recomputation over the union is the invariant to preserve; (3) wire one production adapter first (hosted store) with tests proving viewer scoping (hidden targets produce no candidate) and parity with the in-memory path; (4) update the module doc's line-13 admission as the slice lands.
    • Routing: task 13938 parks resumable (3600s). Issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 stays open; nothing was changed in the tree.
    • Links: issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178, task 13938
  10. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 10, 2026
  11. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: repo queue worker, lane code-k (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-k run 2026-11-10; task 13938
    • Task: task 13938 for issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 (small_fix) — hosted-store search + live-store wiring for friendly-name fan-out (remainder only; PR feat(id): cross-store friendly-name fan-out — first #5178 slice #5553 / PR feat(id): follow reference locator hints across stores (#5927) #5932 slices are landed and will not be redone).
    • Fresh check: issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Lane assignment returned direct per fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187 — this lane works it itself, no handoff.
    • Plan: in pkgs/id/src/references.rs add a hosted store that produces a viewer-scoped LocalIndex-equivalent answer set, plus a live-store adapter trait wiring FanOut to live stores at resolve time, with tests for duplicate-title / contested-alias across the local/hosted boundary and viewer-scoped hiding. Existing fanout_/locator_ tests must stay green.
    • Links: task 13938 · issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178
  12. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · resumed prior work

    • Agent: repo queue worker, lane code-k (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-k run 2026-11-10; task 13938
    • Found: a previous session left a complete, uncommitted implementation for task 13938 in worktree ~/git/code-worktrees/queue-13938 (branch queue/13938-5178-hosted-search-live-wiring): StoreView + FanOut::from_views + StoreView::from_documents live adapter in pkgs/id/src/references.rs (+448 lines) plus the design-doc third-slice section, with hosted duplicate-title, contested-alias, and hidden-target tests.
    • Action: this lane adopts that worktree as canonical (no competing PR), is verifying it with the targeted test suite, then rebases, commits, and opens the PR. Its own empty duplicate worktree was removed.
    • Links: task 13938 · issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178
  13. dezren39
    added 2 commits that reference this issue on Nov 10, 2026

    feat(id): hosted-store search + live-store wiring for friendly-name f…

    9705c19

    Merge pull request #8332 from developing-today/queue/13938-5178-hoste…

    eb1e9d6
  14. dezren39
    closed this as completedin #8332on Nov 10, 2026
  15. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — #5178 remainder landed

    • Agent: repo queue worker, lane code-k (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-k run 2026-11-10; task 13938
    • Outcome: PR feat(id): hosted-store search + live-store wiring for friendly-name fan-out (#5178) #8332 MERGED (merge commit eb1e9d6) — StoreView / FanOut::from_views hosted-store search + live-store wiring in pkgs/id/src/references.rs, plus StoreView::from_documents over the live notes/documents surface and the design record's third-slice section. The implementation was resumed from a previous session's uncommitted worktree (branch queue/13938-5178-hosted-search-live-wiring), committed, and rebased cleanly onto current main; the patch is byte-identical pre/post rebase.
    • Verification: cargo test --lib references in pkgs/id — 57 passed, 0 failed (pre-rebase run on the identical patch; a post-rebase re-run was still queued behind laptop load ~50 at merge time, job 2e810dd6c94a — main-side changes to the used modules between the bases are rustfmt-only). Codex review on PR feat(id): hosted-store search + live-store wiring for friendly-name fan-out (#5178) #8332 completed with zero findings. All packet acceptance items are covered by the new tests: hosted duplicate-title contested, hosted contested-alias never auto-picked, viewer-scoped hidden hosted target leaks nothing (no candidate / no claimant / locator unresolved), live documents adapter joins the fan-out.
    • Issue state: issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 stays OPEN as the v2 tracker (as after the PR feat(id): cross-store friendly-name fan-out — first #5178 slice #5553 / PR feat(id): follow reference locator hints across stores (#5927) #5932 slices); every slice the tracker named — fan-out, locator fetch, hosted-store search, live-store wiring — has now landed.
    • Links: task 13938 · issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 · PR feat(id): hosted-store search + live-store wiring for friendly-name fan-out (#5178) #8332
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 10, 2026
  17. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · correction to the done note above

    • The merge of PR feat(id): hosted-store search + live-store wiring for friendly-name fan-out (#5178) #8332 auto-closed issue id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 (closedAt 2026-11-10T22:49:18Z, the merge second), superseding the "stays OPEN" line in my previous note. The closure stands on the merits: task 13938 was scoped as the id: friendly-name reference resolution v2 — cross-store fan-out and locator fetch (follow-on to #2259) #5178 v2 remainder, and with PR feat(id): hosted-store search + live-store wiring for friendly-name fan-out (#5178) #8332 landed every slice the tracker named (fan-out PR feat(id): cross-store friendly-name fan-out — first #5178 slice #5553, locator fetch PR feat(id): follow reference locator hints across stores (#5927) #5932, hosted-store search + live-store wiring PR feat(id): hosted-store search + live-store wiring for friendly-name fan-out (#5178) #8332) is complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)task/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.