You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
atlas core consumer wiring: fleet atlas-search fan-out over the TursoDB shard core (tier ceilings, merge, --expand hydration) #5755
Consumer wiring for the restored atlas core tier (restore record: #5669, 2026-11-04). The core now exists as 29 TursoDB scan shards + 2 TursoDB content stores; nothing reads them yet — production search still runs against the monolith atlas (libSQL). This issue wires the consumer side. (Serve-role home for the service itself: #5604. Cache + flags: #5668 — coordinate, don't duplicate.)
Query path: fan out an exact-cosine scan (vector_distance_cos(vec, ?), top-k per shard) across the caller's shards in parallel, merge by distance. Scoped queries (one topic) touch only that topic's shards. Metric is cosine for this corpus; TursoDB also offers dot product, L2, and Jaccard for future corpora.
Tier ceiling is physical: a client fans out only to tiers its credentials open. Secret is never in a default fan-out; it requires a secret-capable token, explicitly.
--expand hydration from the caller's tier content store (message/session rows by chunk message_id).
FTS: TursoDB rejects virtual tables in MVCC mode — the shards have no chunks_fts. Keyword search needs an answer (keep serving FTS from the libSQL monolith until cutover, or a dedicated FTS store). Decide here or spin out.
Latency (measured at restore, sandbox → us-east-1 HTTPS, network-inclusive): per-shard top-10 scan 1.1–1.9 s at 3.5–4.5k rows — above the §5.2 250 ms server-side budget assumption for libSQL. Re-measure from the laptop consumer path; §5.5 embedded replicas for internal/public stores are the standing lever (secret is never replicated).
Cutover criteria: fan-out parity vs monolith exact scan is proven at restore time (7/7 held-out queries, exact top-10). Re-run the parity harness against the wired consumer before any default switch; monolith stays untouched until then.
Ordering gates recorded for the follow-up: parity harness must be re-run against the wired consumer before any default switch; the monolith stays default and untouched in this task; the FTS gap (no chunks_fts in MVCC shards) must be decided or spun out, not dropped; latency must be re-measured from the laptop consumer path (the 1.1–1.9 s figures are sandbox→us-east-1 network-inclusive).
Disposition: follow-up small_fix task 10489 enqueued (queue repo-health-code-pilot), flag-gated wiring with physical tier ceilings and --expand hydration per the acceptance list. Issue #5755 stays open for task 10489.
Agent note: fleet session ses_e5e4c6d3d79ffehw1ILUq4TQbr started slice 1 on branch fw/atlas5755-consumer-wiring (worktree wt-fw-atlas5755). Plan: new atlas-core::shards module — manifest-fan-out discovery (name convention + atlas_manifest self-description; lister = Turso platform API / static / local dir), tier-ceiling selection (physical: no connect/credential for tiers above ceiling), parallel exact-cosine fan-out + merge (internal first on ties), and a BranchPoolExecutor that takes the vector pool from shards while FTS stays on the monolith. Tests use local SQLite shard fixtures with a registered vector_distance_cos (no live secrets). --expand/hydration, CLI/service flag, cache snapshot id wiring (#5668) are follow-ups.
Reopened by the 90-day closed-item review (batch 71).
This issue was closed as completed on 2026-11-07T01:45:45Z by developing-today[bot] (closure event verified via gh api: actor developing-today[bot], commit_id null). That closure contradicts the issue's own record:
No closing keyword, decision record or successor covers the parent. Live remainder: the #6666 serve-mode slice (and the parent's tracking role until all four follow-ups are dispositioned).
🤖 Agent note · triaged — live remainder is exactly follow-up #6666; parent stays open as tracker
Agent: repo-worker-code (Muse lane any-b)
Session / ID: queue task 18358
Found via: atomic unfiltered claim from the one fleet queue (stream repo-health-code-pilot)
State of record: slice 1 of the consumer wiring landed as PR feat(atlas-core): shard discovery, tier ceilings and parallel fan-out over the core scan shards (#5755 slice 1) #6661 (manifest fan-out discovery, physical tier ceilings, parallel exact-cosine fan-out + merge, ShardedBackend, hidden default-off --shards; local cargo tests green without live secrets). The premature 2026-11-07 bot closure was already caught and reversed by the 90-day closed-item review, whose remainder analysis this triage re-verified rather than redid.
agent-note:v1
state: in-progress (Lane DU — reconciliation + #11213 decision-record slice)
task: shortlist rank 6 via fleet agent next (archer)
worker: Muse lane DU
This lane: (1) reconcile #5755's state here; (2) land the #11213 scope-item-1 decision record as a doc PR after inspecting the current transport seam on main; (3) post a staged breakdown on #11213 so the remaining scope is lane-sized. No live-sync or dependency work in this lane.
agent-note:v1
state: reconciled — one remainder left, staged on #11213
task: shortlist rank 6 via fleet agent next (archer, Lane DU)
worker: Muse lane DU
Fresh reconciliation of #5755 against current main (2026-11-22 ~22:20 CST):
#5755 stays open as the parent tracker until #11213 stage 4 (live verification) closes the last remainder. No other consumer-wiring scope is outstanding.
Activity
developing-today commentedon Nov 5, 2026
CODE-1442
dezren39 commentedon Nov 5, 2026
🤖 Agent note · done (triage)
Triage findings (verified fresh 2026-11-05):
chunks_ftsin MVCC shards) must be decided or spun out, not dropped; latency must be re-measured from the laptop consumer path (the 1.1–1.9 s figures are sandbox→us-east-1 network-inclusive).Disposition: follow-up small_fix task 10489 enqueued (queue repo-health-code-pilot), flag-gated wiring with physical tier ceilings and
--expandhydration per the acceptance list. Issue #5755 stays open for task 10489.dezren39 commentedon Nov 5, 2026
🤖 Agent note · state: handed off
110 remaining items
dezren39 commentedon Nov 7, 2026
Agent note: fleet session ses_e5e4c6d3d79ffehw1ILUq4TQbr started slice 1 on branch fw/atlas5755-consumer-wiring (worktree wt-fw-atlas5755). Plan: new
atlas-core::shardsmodule — manifest-fan-out discovery (name convention + atlas_manifest self-description; lister = Turso platform API / static / local dir), tier-ceiling selection (physical: no connect/credential for tiers above ceiling), parallel exact-cosine fan-out + merge (internal first on ties), and aBranchPoolExecutorthat takes the vector pool from shards while FTS stays on the monolith. Tests use local SQLite shard fixtures with a registered vector_distance_cos (no live secrets). --expand/hydration, CLI/service flag, cache snapshot id wiring (#5668) are follow-ups.dezren39 commentedon Nov 7, 2026
Slice 1 landed as PR #6661 (shard discovery by manifest fan-out, physical tier ceilings, parallel exact-cosine fan-out + merge, ShardedBackend, hidden default-off --shards). Local tests green without live secrets (whole pkgs/atlas-search workspace). Follow-ups: #6662 (live verification), #6664 (--expand hydration), #6665 (filters/FTS), #6666 (serve mode + #5668 snapshot id).
Merge pull request #6661 from developing-today/fw/atlas5755-consumer-…
dezren39 commentedon Nov 7, 2026
Completion (session ses_e5e4c6d3d79ffehw1ILUq4TQbr): slice 1 merged — PR #6661 (merge commit 207e612). Full local
cargo testover pkgs/atlas-search green (atlas-core 40 unit + 11 shard integration + 5 parity; atlas-search cli_parity 6 incl. 2 new shard e2e). Registry-of-record decision: manifest fan-out at startup (rationale in PR). #5755 stays open; follow-ups: #6662 (live verification/parity/latency/tier tokens), #6664 (--expand hydration; shipped semantics untouched), #6665 (filters + FTS answer), #6666 (serve mode + #5668 snapshot id). No open questions needing an answer; defaults chosen: hidden default-off --shards, tier tokens via ATLAS_TURSO_TOKEN_{PUBLIC,INTERNAL,SECRET}, TURSO_API_TOKEN for listing.dezren39 commentedon Nov 14, 2026
Reopened by the 90-day closed-item review (batch 71).
This issue was closed as completed on 2026-11-07T01:45:45Z by developing-today[bot] (closure event verified via gh api: actor developing-today[bot], commit_id null). That closure contradicts the issue's own record:
No closing keyword, decision record or successor covers the parent. Live remainder: the #6666 serve-mode slice (and the parent's tracking role until all four follow-ups are dispositioned).
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — live remainder is exactly follow-up #6666; parent stays open as tracker
dezren39 commentedon Nov 17, 2026
🤖 Agent note · state: triaged (duplicate follow-on — triage of record stands)
Triage verdict for task 19886, issue #5755 — triaged; no new packet.
Re-verified fresh this shift (2026-11-17):
Task 19886 completes as
triaged.dezren39 commentedon Nov 23, 2026
agent-note:v1
state: in-progress (Lane DU — reconciliation + #11213 decision-record slice)
task: shortlist rank 6 via
fleet agent next(archer)worker: Muse lane DU
Fresh verification (2026-11-22 ~22:05 CST):
This lane: (1) reconcile #5755's state here; (2) land the #11213 scope-item-1 decision record as a doc PR after inspecting the current transport seam on main; (3) post a staged breakdown on #11213 so the remaining scope is lane-sized. No live-sync or dependency work in this lane.
dezren39 commentedon Nov 23, 2026
agent-note:v1
state: reconciled — one remainder left, staged on #11213
task: shortlist rank 6 via
fleet agent next(archer, Lane DU)worker: Muse lane DU
Fresh reconciliation of #5755 against current main (2026-11-22 ~22:20 CST):
--shards): landed, PR feat(atlas-core): shard discovery, tier ceilings and parallel fan-out over the core scan shards (#5755 slice 1) #6661.bf322f9a4e), decision docdoc/2026-11-23T04-10-00Z_decision_atlas_embedded_replica_integration/. Headline: engine-matched crate (tursopull by default;libsqlonly on spike proof), single sync owner, no second-process reads of a syncing replica file. The rest of atlas(#6666 slice 3): persistent embedded replicas for internal/public (libsql local-copy, design 5.5) #11213 is staged 1–4 on that issue; next slice = the stage-1 spike.#5755 stays open as the parent tracker until #11213 stage 4 (live verification) closes the last remainder. No other consumer-wiring scope is outstanding.