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 — atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) · Issue #5774 · developing-today/code

atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774

New issue
Copy link
New issue
Copy link
Todo
Todo
atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668)#5774
Copy link
Labels
epic/atlas-programReprioritization program epic (2026-11-12)status:to-dotask/fixhas a fix task queued
Milestone
Atlas program

Description

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

Extends #5741 (SPLADE investigation + eval harness) and #5668 (query-embed cache + flags). Design commitments from Drew's direction 2026-11-04.

Principle

Anything not baked into how data is stored must be settable per query — from the fleet-binary CLI flags AND from the raw query format (the full-access path), with identical parameter names in both — so values can be benchmarked and better defaults found without editing code.

If a retrieval constant lives in code today, that's a bug against this principle.

Knob inventory (v1, extensible)

  • Per-shard top-k — how many results each shard returns into the fan-out.
  • Global fan-in top-k — how many combined results survive the merge.
  • Per-signal weights — dense, BM25, SPLADE (the Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741 adaptive-weighting defaults, overridable per query).
  • Per-signal multipliers — score scaling per signal, distinct from the weights.
  • Jaccard rescore depth — candidate count entering the Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733 rescore stage.
  • Jaccard boost threshold — the overlap at which the rescore boost applies.
  • RRF constant k — if reciprocal-rank fusion is used in the merge, its k is a knob, never a hardcoded 0.6.
  • Stage toggles — planner and spell correction off / deprioritized / on (companion issue: query-understanding front-end, extends Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741).
  • Hint override — force the query class (code / docs / error / concept) instead of the classifier's call.
  • Variant selection — raw / rewritten / both.
  • Expand-N — atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668's existing --expand N flag folds into this surface rather than living as a one-off.

Escape hatches as first-class presets

Power users must not need to edit code or config to say "just run my query":

  • --raw = planner off, spell off, query verbatim, no expansion.
  • Per-signal weight 0 via flag = signal removed for that query. "No BM25" is one flag, not a config edit — distinct from Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741's adaptive-weighting rule (weights floored, never zeroed), because that rule binds the automatic classifier, not an explicit user instruction. An explicit 0 is the user's call and is honored.

Defaults are data, not code

  • The shipped default vector is whatever Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741's eval harness last measured best; it ships as a versioned default set, not as constants scattered through the binary.
  • Benchmarking = grid runs over the flag space, with the full parameter vector logged alongside the results of every run, so any number is reproducible and attributable to its knobs.

Provenance

Results carry which signals and which variants produced them (the companion issue's raw-only / rewritten-only / both tags, plus per-signal contribution), so a knob change's effect is diagnosable from the output, not guessed.

Boundary (explicit)

  • Storage-side parameters are NOT query-time knobs: index tuning (e.g. max_neighbors), postings construction, shard placement. Changing those is a rebuild/migration decision, governed by docs: Scaler-era Atlas/Turso data architecture revision #5667/atlas staging tier: versioned schema, registry, aggregator with merge-on-close promotion into three-level core #5669, not a flag.
  • Sensitivity filtering is NOT a knob: it is a safety filter applied before ranking (the id: design: Querying local and remote ID servers v1 #5675/Design: recommendations for ID — similar objects and similar users, across all object types #5732 rules), and no flag may widen it. A parameter surface that can widen visibility is a vulnerability, not a feature.

Open questions

  • Preset naming/versioning: how named presets (--raw, future ones) are versioned so a benchmark citing a preset stays reproducible.
  • Per-corpus default vectors: the code corpus and the docs corpus may legitimately ship different defaults — one global vector vs per-corpus vectors.
  • Guard rails: maximum fan-out caps so an absurd per-shard k can't melt the shards — where the caps live (client, daemon, per-shard) and what error a capped request returns.

Related: #5733 (Jaccard signals), #5667 (Scaler/shard design), #5669 (shard implementation).

Activity

Next
  1. developing-today commented on Nov 5, 2026

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

    CODE-1460

  2. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Companion issue: #5773 — the query-understanding front-end (spell correction + planner/rewriter) whose stage toggles and variant selection this parameter surface exposes.

  3. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-x
    • Session / ID: task 10180
    • Found via: queue claim
    • Task: Triage issue atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774 at current main — verified open, no held/user/owned/do-not-merge/do-not-auto-edit labels.
    • Expectation: Triage outcome: this is a design specification, not a small fix. Scope is clear: expose every retrieval knob (per-shard/global top-k, per-signal weights/multipliers, Jaccard depth/threshold, RRF k, stage toggles, hint/variant/Expand-N) as identical CLI + raw-query parameters, with --raw preset, explicit weight-0 honoured, versioned default vector from issue Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741 eval, and provenance tags. Boundaries are explicit: storage-side params and sensitivity filtering are NOT knobs. No code change in this triage task.
    • Links: Depends on / extends issue Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741 and issue atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668; related issue Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733, issue docs: Scaler-era Atlas/Turso data architecture revision #5667, issue atlas staging tier: versioned schema, registry, aggregator with merge-on-close promotion into three-level core #5669. Open questions needing resolution in design/implementation: preset versioning, per-corpus defaults, fan-out caps. Next: a scoped implementation task should be enqueued separately; this design issue stays open until that work lands.
  5. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  7. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).

    Queue task(s) [10180] were marked done, and some work did land:

    • PR feat(atlas-core): deterministic offline retrieval evaluation harness (#5741) #6262 — feat(atlas-core): deterministic offline retrieval evaluation harness (Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741) (merged 2026-11-05T17:06:18Z): feat(atlas-core): deterministic offline retrieval evaluation harness (#5741) #6262

    No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11752.

  8. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    Agent note — picked up, handed off to opencode execution lane (lane code-u, task 12284, 2026-11-07)

    Task 12284 (triage: remainder of this issue after partial verification — PR #6262 landed the #5741 evaluation harness, full scope not closed) was claimed by lane code-u and assigned by the execution-lane system to the opencode lane (assigned_lane: opencode). Per the worker runbook §1b, the bound opencode session launched by the laptop claimant owns this task from here: revalidation against current state, triage verdict, and any scoped follow-up packet are that session's to produce.

    This note is the pickup/handoff record only — no triage verdict is implied. If the claimant has not launched by lease expiry, the task returns to the queue on its own.

  9. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 8, 2026
  10. developing-today commented on Nov 8, 2026

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

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-u
    • Session / ID: task 12284
    • Found via: queue claim
    • Task: Triage issue atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774 — handed off to the opencode execution lane per task 12284 lane assignment
    • Expectation: opencode claimant launches the bound session and drives task 12284 to its terminal state
    • Links: issue atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774
  11. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-q
    • Session / ID: task 12284
    • Found via: queue claim
    • Task: Triage remainder of issue atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774 (atlas search query-time parameter surface) — execution lane assigned 'opencode' by fleet queue lane; handed off to the opencode claimant per the worker runbook §1b
    • Expectation: claimant launches the bound opencode session, which drives task 12284 to its terminal state; parked 1200s so the task returns to the queue if the claimant does not bind
    • Links: task 12284
  12. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    on Nov 8, 2026
  13. 54 remaining items

  14. dezren39
    added this to the Atlas program milestone on Nov 12, 2026
  15. dezren39
    added a parent issue on Nov 12, 2026
    • epic: Atlas program — unified search and memory index over every corpus #8983
  16. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: code-f (openchamber-scheduled-lane)
    task: 18370
    issue: #5774
    stage: triaged
    verdict: contract landed; remaining work is evidence-gated, no fix packet queued

    Fresh check (2026-11-17): #5774 is OPEN. PR #8259 (feat(atlas): query-time parameter contract v1, merge 92169ec, merged 2026-11-10T20:57:42Z) is MERGED. No open PR references #5774. No hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit).

    What the merged PR covers: the versioned default set (atlas-proto/query-parameters-v1.json) shared by CLI, raw SearchRequest and atlas-core; independent shard vs global top-k; configurable RRF k and signal weights; unsupported non-default controls (Jaccard, planner/spell, hint, rewritten/both variants) rejected clearly; --raw does not bypass sensitivity/filter checks.

    What remains open: the acceptance requires measured defaults from a real held-out eval. The eval fixture is synthetic smoke-only, so no default can be chosen from current evidence. Implementing more now would be speculative. Planner/spell (#5773), cache (#5668) and Jaccard (#5733) stay with their owning issues.

    Disposition: keep OPEN. No new fix packet queued, because the next step is blocked on held-out eval data, not on code. Revisit when a held-out measurement exists.

  17. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 17, 2026
  18. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — triage concurrence (lane any-j, task 19891)

    State: triaged — this packet is the triage follow-on of task 18370, and its triage of record stands. Verified fresh this shift (2026-11-17):

    • Issue atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774 OPEN; labels task/fix + epic/atlas-program; no hard-stop labels.
    • PR feat(atlas): query-time parameter contract v1 (#5774) #8259 MERGED 2026-11-10T20:57:42Z at 92169ec — the query-time parameter contract v1 is landed (versioned defaults in atlas-proto/query-parameters-v1.json shared by CLI, raw SearchRequest and atlas-core; independent shard/global top-k; configurable RRF k and signal weights; unsupported non-default controls rejected clearly; --raw never bypasses sensitivity/filter checks).
    • No open PR references atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774; the newest comment on the issue is the triage note itself (task 18370, comment 6936711912, 2026-11-17T03:01Z) — no held-out eval evidence has appeared since.

    Disposition (concurring with task 18370): keep #5774 OPEN, no fix packet queued. The only remainder is measured default selection, which the issue's own acceptance gates on real held-out measurements; the current eval fixture is synthetic smoke-only, so there is no code step to route. Revisit when a held-out measurement exists. Planner/spell (#5773), cache (#5668) and Jaccard (#5733) remain with their owning issues.

  19. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  20. dezren39
    removed their assignment
    on Nov 20, 2026
  21. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verdict (pass 2, task 21847, coverage reconciliation tracking #14158): issue OPEN, correctly open. Fresh state 2026-11-24T08:10Z concurs with standing triage (tasks 18370, 19891, 2026-11-17):

    • PR feat(atlas): query-time parameter contract v1 (#5774) #8259 (query-time parameter contract v1) MERGED 2026-11-10T20:57:42Z.
    • No open PR references atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774; no new comments since the 2026-11-17 triage concurrence; no held-out eval evidence has appeared.
    • Remaining work (measured default selection from a real held-out eval) is evidence-gated per the issue acceptance; implementing now would be speculative.

    Disposition: keep OPEN, no follow-on packet queued. Next check when held-out eval evidence lands.

  22. developing-today-fleet
    marked this as blocking on Nov 25, 2026
    • atlas search: query-understanding front-end — spell correction + LLM query planner/rewriter as toggleable stages, dual submission with provenance (extends #5741) #5773
  23. 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

    Triage re-verification (OpenChamber scheduled lane oc-code-07, task 24845, 2026-11-26)

    #5774 remains OPEN. The query-time contract and supported wiring are implemented by merged PR #8259 (merge 92169eca65b36e8dfe79d3a54b815dfe7d1d529c): versioned defaults shared across CLI/raw request/core, separate shard/global top-k, configurable RRF and signal weights, explicit rejection of unsupported non-default controls, and sensitivity/filter checks preserved under --raw. The earlier implementation task 13641 is done.

    The remaining acceptance is not another code-surface fix: the checked-in vector is provisional until a real held-out evaluation selects defaults. The related held-out result in PR #11245 is specifically the Jaccard rescore test; it missed its near-exact bar and correctly leaves Jaccard off. It does not establish the broader per-query default vector in #5774. #5741 is closed with the evaluator landed, but its documented scope/results do not supply that query-parameter default selection. No new measurement evidence or open PR for #5774 was found in this check.

    Disposition: keep #5774 open for the distinct default-selection evidence; do not create a duplicate implementation task. The planner/spell, cache, and Jaccard behavior remain in their owning issues (#5773, #5668, #5733). No code or worktree changes.

  24. 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 recheck — code-f, 2026-11-27 (queue task 25358)

    Standing verdict holds: keep OPEN, no new packet. Fresh reads concur with tasks 18370 / 19891 / 21847 / 24845:

    • atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774 is OPEN. PR feat(atlas): query-time parameter contract v1 (#5774) #8259 (query-time parameter contract v1) MERGED 2026-11-10T20:57:42Z — versioned defaults shared by CLI/raw request/core, independent shard/global top-k, configurable RRF k and signal weights, explicit rejection of unsupported non-default controls, --raw preserves sensitivity/filter checks.
    • No open PR references atlas search: query-time parameter surface — every retrieval knob as a CLI flag / raw-query field, no hardcoded constants (extends #5741, #5668) #5774; no held-out eval evidence has appeared since the last checks.
    • The only remainder is measured default selection from a real held-out eval, which the issue acceptance gates on evidence the synthetic smoke fixture cannot supply. Implementing now would be speculative. Planner/spell (atlas search: query-understanding front-end — spell correction + LLM query planner/rewriter as toggleable stages, dual submission with provenance (extends #5741) #5773), cache (atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668), Jaccard (Atlas search: Jaccard as a third signal (rescore + ingest dedup); SPLADE as a triggered follow-on #5733) stay with their owning issues.
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

    epic/atlas-programReprioritization program epic (2026-11-12)status:to-dotask/fixhas a fix task queued

    Type

    No type

    Projects

    No projects

      Milestone

      • Atlas programNo due date

      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.