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 — impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder · Issue #9092 · developing-today/code

impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder #9092

New issue
Copy link
New issue
Copy link
Todo
Todo
impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder#9092
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)

Description

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

Workstream A — Search subcommand build-out + Workers fan-out

Parent program: #8983 · Proto design: doc/2026-11-12T23-59-00Z_design_atlas_v1_proto/note.md §A · Starter: the Atlas v1 design-mill starter issue (sibling).

Current state (verified 2026-11-12)

atlas-search / fleet search: one-stage hybrid (FTS5/BM25 + Snowflake cosine, RRF k=10) over a 7.3 GB Turso monolith (107,639 chunks) + 29 topic shards. The shard fan-out path is a hidden experimental flag (--shards, #5755); the production default is the monolith scan. Contract flags for the query planner, spell correction, query-class hint, and rewritten|both variants are accepted but unimplemented. The Cloudflare Worker cache (one Durable Object per query key) caches results indefinitely — no TTL, eviction, or invalidation (#6805 open; gated purge route #8312). No result caching in the standalone CLI (#5668). Query-understanding front-end and parameter surface are open designs #5773/#5774.

Scope

  1. Search v1 build-out: implement the dead contract surface or formally retire each flag — planner (query understanding per atlas search: query-understanding front-end — spell correction + LLM query planner/rewriter as toggleable stages, dual submission with provenance (extends #5741) #5773), spell, query-class hint, rewritten/both variants; Jaccard third signal per Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733 where it earns its place. Every advertised flag either works or is removed from the contract.
  2. Workers fan-out: make the hosted search path fan out across Workers/Durable Objects/shards as the default serving shape: parallel shard queries, connection fan-out, DO roles (coordination, hot shards, cache). Respect platform limits in the design (Paid: 1,000 subrequests/invocation; DO SQLite 10 GB/object) — wider fan-out chains via queues/multiple invocations.
  3. Shard-size benchmark programme (own deliverable): benchmark latency vs shard size and shard count across Turso shards AND D1, on the production corpus shape. Named oracle: p50/p95 end-to-end query latency at fixed recall@10 against the standing eval sets (atlas memory slice 5: cross-agent eval sets for the unified index (standing oracle) (#8567) #8627) — a shard configuration wins only at equal-or-better recall. Output: a measured shard-size recommendation + the fan-out width curve (where more parallelism stops helping).
  4. Cache policy: results cached until the corpus changes; on corpus change, cached results may serve for a short, specified staleness window UNLESS the caller passes a real-time requirement or a cache-disable flag (both become first-class search flags, in the CLI, the service protocol, and the Worker). Builds on Atlas search Worker cache: eviction & invalidation policy (follow-up to #6788) #6805's eviction/invalidation policy and feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy) #8312's purge route; the corpus-change signal (ingest watermark) is defined with workstream E.
  5. Second embedder: evaluate a second embedding approach alongside Snowflake arctic-embed-m-v2.0 (candidates to evaluate, not pre-picked: BGE-M3, Voyage, OpenAI text-embedding-3, Workers AI models — judged on quality vs the eval sets, cost, self-hostability, and mixed-embedder corpus support under the workstream C schema). Per-corpus model identity already exists as a concept (atlas memory slice 2: embedding unification + per-corpus model identity and re-embed job (#8567) #8623); v1 must support mixed embedders in one corpus without a flag-day re-embed.

Acceptance

  • Design doc(s) merged under doc/ covering items 1–5, with the benchmark programme's protocol (corpus snapshot, query set, oracle) specified before any benchmark runs.
  • Benchmark results published in the design or a linked research doc: latency/recall table per shard size × count, Turso and D1, with the chosen configuration named.
  • Cache semantics specified exactly: invalidation trigger, staleness window value, real-time + cache-disable flag names and behavior at every surface (CLI/service/Worker).
  • Granular implementation issues filed for each build item; dead-flag disposition (implement vs retire) recorded per flag.

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    epic/atlas-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

    @developing-today
    developing-todayBot
    on Nov 12, 2026 – with developing.today
    Contributor
    More actions

    CODE-2795

  3. dezren39
    added a parent issue on Nov 12, 2026
    • epic: Atlas program — unified search and memory index over every corpus #8983
  4. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  5. dezren39
    marked this as blocking 2 issues on Nov 14, 2026
    • Cache epoch and hot-result contract #10154
    • Evaluate second embedder candidates without selecting for owner #10157
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — triaged, task 18840 for issue #9092 (lane any-e)

    • State: triaged (inline, 2026-11-17). Verdict: real and current — a design-first program workstream (Atlas program, parent epic: Atlas program — unified search and memory index over every corpus #8983), not a lane fix. Work kind: kind/feature (already on the issue). Priority: priority/normal. Effort: effort/l.
    • Fresh verification: issue impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder #9092 is OPEN, no hard-stop labels, no prior triage note. Its stated current state is internally consistent with the record tonight: the gated purge route it cites (feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy) #8312) and the atlas slice chain (atlas memory slice 1: corpus registry + memory-lancedb connector into Atlas staging (#8567) #8622/atlas memory slice 2: embedding unification + per-corpus model identity and re-embed job (#8567) #8623, per-corpus model identity) are live open work in the same program.
    • Route (design first, per the issue's own acceptance): a design session under parent program epic: Atlas program — unified search and memory index over every corpus #8983 — building on the proto design doc/2026-11-12T23-59-00Z_design_atlas_v1_proto/note.md §A — produces the merged design covering all five items BEFORE implementation issues are cut: (1) dead-flag disposition per contract flag (implement vs retire: planner, spell, query-class hint, rewritten/both), (2) Workers fan-out serving shape within platform limits, (3) the shard-size benchmark programme with its protocol specified before any run (named oracle: p50/p95 latency at fixed recall@10 against the atlas memory slice 5: cross-agent eval sets for the unified index (standing oracle) (#8567) #8627 eval sets), (4) exact cache semantics (invalidation trigger on the ingest watermark, staleness window value, real-time + cache-disable flag names at CLI/service/Worker), (5) second-embedder evaluation criteria and mixed-embedder corpus support.
    • First concrete step: design intake for workstream A — brief from the proto design §A plus the live states of Atlas search Worker cache: eviction & invalidation policy (follow-up to #6788) #6805 (cache eviction/invalidation), feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy) #8312 (purge route), atlas search: query-understanding front-end — spell correction + LLM query planner/rewriter as toggleable stages, dual submission with provenance (extends #5741) #5773/atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774 (query understanding), Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733 (Jaccard signal), atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668 (CLI caching), atlas memory slice 5: cross-agent eval sets for the unified index (standing oracle) (#8567) #8627 (eval sets); the benchmark protocol is the first deliverable inside the design, since later items depend on its oracle.
    • Acceptance check (from the issue): design doc(s) merged under doc/ covering items 1-5 with the benchmark protocol pre-specified; benchmark results published with the chosen shard configuration named; cache semantics specified exactly; granular implementation issues filed per build item with dead-flag dispositions recorded.
    • Why no queue packet: the queue validator has no design packet kind, and this workstream's next artifact is a design, not a fix; the tracked next action is the design intake named above under epic: Atlas program — unified search and memory index over every corpus #8983. Labels: status/triaged + priority/normal + effort/l added.
  7. dezren39
    added
    status/triagedTriaged and routed (see agent note)
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 17, 2026
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — task 20292 (lane any-o)

    • Fresh state checked 2026-11-17: impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder #9092 remains OPEN, assigned to Drew; the existing status/triaged disposition and labels are still present.
    • Reusing task 18840's verified triage: this is a design-first Atlas program workstream under epic: Atlas program — unified search and memory index over every corpus #8983, not a lane fix packet. The prior note already records scope, design route, first step, and acceptance.
    • No duplicate follow-on packet or label transition is needed; the existing design intake remains the route.
  9. dezren39
    removed their assignment
    on Nov 20, 2026
  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane DF (archer) — claim, 2026-11-22. Taking one slice of #9092: the dead-flag disposition audit (acceptance: "dead-flag disposition (implement vs retire) recorded per flag"). Verifying the current search contract surface on main (fleet-search CLI + atlas-search Worker) against the flags named in this issue (planner, spell, query-class hint, rewritten|both variants, --shards, cache flags), recording implement-vs-retire per flag, and filing any missing granular implementation issues. Not taking: the design doc set, the benchmark programme, or the second-embedder evaluation — those remain named next slices.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane DF (archer) — dead-flag disposition record for #9092, verified against current main 2026-11-22.

    Acceptance item 4, second half: disposition (implement vs retire) recorded per flag. State has moved since the 2026-11-12 issue text: the contract now lives in pkgs/atlas-search/crates/atlas-proto (QueryParameters, defaults in query-parameters-v1.json), and the formerly silent no-ops now hard-error at validation (atlas-proto/src/lib.rs: "planner/spell stages are not implemented yet", "query_class_hint is not implemented yet", "rewritten/both query variants are not implemented yet"). No flag below silently no-ops on any surface today.

    Flag / contract item Surfaces today State on main Disposition
    planner_enabled atlas-proto contract; standalone atlas-search CLI ("not implemented yet" in help) Accepted, validation-rejected IMPLEMENT — design home #5773 (open)
    spell_enabled atlas-proto contract; standalone CLI Accepted, validation-rejected IMPLEMENT — #5773 (open)
    query_class_hint atlas-proto contract; standalone CLI --query_class_hint Accepted, validation-rejected IMPLEMENT — #5773 (open)
    variant = rewritten/both atlas-proto QueryVariant; standalone CLI (raw supported, others marked unsupported) Accepted, validation-rejected for non-raw IMPLEMENT — #5773 (open)
    jaccard_depth / jaccard_threshold atlas-proto contract; standalone CLI; atlas-core rescore (search.rs, shingle sets) IMPLEMENTED (#5733 closed; eval gate at pkgs/atlas-search/eval/gate-5733-results.md); default depth 0 = off IMPLEMENTED — remaining gap: not exposed on the fleet search CLI / fleet proto SearchRequest (no jaccard fields); that surface parity belongs to #5774 (open)
    --shards (shard fan-out) standalone CLI only, hide = true + ATLAS_SHARDS env; ShardedBackend in atlas-core Still experimental/hidden; not the production default on any surface GRADUATE-OR-REPLACE — owned by this issue's item 2 (Workers fan-out design) with wiring history #5755 / serve-mode #6666; no separate issue needed
    no_cache atlas-proto contract; both CLIs (--no-cache) Implemented as a request flag IMPLEMENTED — the rest of cache semantics (invalidation trigger, staleness window value, real-time flag) is acceptance item 3, still owed; policy home #6805 (open), purge route landed via #8312 (closed)

    Granular implementation issues (acceptance item 4, first half) — all already filed, none duplicated by this lane: planner/spell/hint/variants → #5773; parameter-surface parity → #5774; shard benchmark programme → #9133 (+ evidence runs #10187/#10188); cache policy → #6805; second embedder evaluation → #10157.

    What remains on #9092 after this record: acceptance items 1–3 — the design doc set covering items 1–5 with the benchmark protocol specified before any benchmark runs (design-mill starter #9091 is the vehicle), the benchmark results themselves, and the exact cache-semantics specification. Next concrete slice: the #9091 design set, starting with the cache-semantics section, since #6805's policy decisions (staleness window, real-time flag name) gate the Worker fan-out design.

  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verify-and-route (queue task 21951, lane any-o, 2026-11-24).

    • Fresh state: impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder #9092 is OPEN. Acceptance is still unmet: no design doc under doc/ for items 1-5, no benchmark results, cache semantics not specified exactly (staleness window, real-time and cache-disable flag names), no per-build-item implementation issues beyond those already filed.
    • Already routed, no new packet: dead-flag dispositions were recorded 2026-11-22 (archer, lane-df). Planner, spell, query-class hint and variants go to atlas search: query-understanding front-end — spell correction + LLM query planner/rewriter as toggleable stages, dual submission with provenance (extends #5741) #5773; surface parity to atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774; shard fan-out to this issue's item 2; no_cache is implemented, with the cache policy owed under item 3 (Atlas search Worker cache: eviction & invalidation policy (follow-up to #6788) #6805, feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy) #8312).
    • Verdict: real and open, but design-first under parent epic: Atlas program — unified search and memory index over every corpus #8983. The next artifact is the design intake (benchmark protocol first). The queue has no design packet kind, so no implementation packet is cut here.
    • Route: design intake under epic: Atlas program — unified search and memory index over every corpus #8983 per the 2026-11-17 triage note. Nothing further for this pass.
  13. developing-today-fleet
    marked this as blocking on Nov 25, 2026
    • impl(fleet): worker search instructions rollout — runbooks + lane bodies gain a search section #9101
  14. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · evidence review (queue task 24756, lane oc-code-06)

    Fresh review against origin/main (b5c03115ddd14ba00f3c9be0600436a8380db783) on 2026-11-26. #9092 remains OPEN; its acceptance is not complete, so this note does not close the feature.

    • Design/protocol — substantially present, no benchmark results: pkgs/atlas-search/book/design/retrieval-experiments.md §§“Eligibility and ANN design” and “Evaluation, release decision and next pass” specify exact-scan comparison, frozen authorized corpus/run-manifest fields, paired replay, p50/p95 reporting and the quality gates. evaluation-programme.md confirms the impl(atlas-search): search v1 — build-out, Workers fan-out, shard benchmarks, cache policy, second embedder #9092 oracle (latency at fixed Recall@10). These are protocol/design evidence, not executed Turso × D1 shard-size results.
    • Cache policy — decision exists, surface contract incomplete: pkgs/atlas-search/book/design/access-evolution.md and the Atlas search Worker cache: eviction & invalidation policy (follow-up to #6788) #6805 decision record retain indefinite v1 cache entries (no TTL); corpus-generation invalidation is triggered by >5% same-space re-ingest or a stale-result complaint. no_cache exists, but I did not find an exact real-time/cache-disable contract covering CLI, service protocol and Worker together. Atlas search Worker cache: eviction & invalidation policy (follow-up to #6788) #6805/feat(atlas-worker): gated per-key purge route for the search cache (from #6805 policy) #8312 are closed; do not reopen them for the accepted no-TTL policy.
    • Dead-flag dispositions: already recorded in the 2026-11-22 note on this issue; atlas search: query-understanding front-end — spell correction + LLM query planner/rewriter as toggleable stages, dual submission with provenance (extends #5741) #5773/atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774 remain the query/planner follow-ups. No duplicate issues filed.
    • Second embedder: layered-search.md specifies per-model identity, shadow index and eval-gated cutover; evaluation remains undecided and no candidate result is claimed.

    Next slice: produce the first reproducible shard-size × shard-count latency/recall result on one frozen, authorized corpus snapshot, then repeat for the other store (Turso/D1). Keep cache semantics at the accepted no-TTL default; separately reconcile the no_cache/real-time parameter contract across CLI, service and Worker before claiming that acceptance item complete. No new files or code were needed for this evidence review.

  15. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-verification (queue task 25354, lane oc-code-06, 2026-11-27): real, open, design-first; no small code fix. Prior evidence review (task 24756) remains current: design/protocol material exists, but benchmark results and exact cross-surface cache semantics are still incomplete; dead-flag dispositions and the second-embedder evaluation have existing homes. No duplicate implementation packet filed. Remaining design acceptance is routed to starter #9091 (now explicitly linked to this issue); shard benchmark execution is tracked by #9133. This queue item is handed back to that design work, not a claim that #9092 is complete.

  16. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions

    Triage re-verification — task 25995 (code-f), 2026-11-27: real, open, design-first; no small code fix.

    Fresh verification: #9092 remains OPEN (kind/feature,priority/normal,effort/l,status/triaged,epic/atlas-program). Acceptance is still unmet: no benchmark results published, no exact cross-surface cache semantics (real-time/cache-disable contract), second-embedder evaluation still open. Design/protocol material exists (retrieval-experiments, evaluation-programme, layered-search oracles); dead-flag dispositions recorded 2026-11-22 route to #5773/#5774; shard benchmark execution tracked by #9133; remaining design acceptance routed to starter #9091.

    Verdict: real and open, but design-first under parent #8983 — not a small-fix candidate for this lane. No duplicate implementation packet filed, no PR cut here. This queue item hands back to the design intake work, not a claim that #9092 is complete. Queue census: this claimed triage 25995 is the only live task for #9092.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)

    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.