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
Parent: #6019 (semi-automated ingestion operations). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 38 (Cluster 7). Builds on the staging tier #5669 (merge-on-close promotion exists today).
Finding (research, in substance)
lakeFS's write-audit-publish pattern maps exactly onto Atlas's needs: ingest onto a staging branch/shard, validate, publish to the live set only if checks pass. The gate sequence per batch:
Write to a staging shard (never directly to the searchable corpus).
Expectation: effort class s for this triage; "done" = issue verified open and current, gate-stage dependencies verified, ordering recorded, no duplicate work created.
Verified current (2026-11-05, fresh gh reads): issue #6057 is OPEN, filed 2026-11-05T05:27:46Z, carrying only task/triage + queue/queued + area/infra + kind/design at claim time — no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit), no competing PR or branch, and no other issue references issue #6057 yet (search of 6057 in:body returns nothing), so no duplicate or superseding work exists.
Routing: gate design whose stage contracts are defined by still-open sibling work. The five gate stages are each another family's contract, and every one of those families is still open (all verified fresh today):
Ordering recorded: the gate design pass on issue #6057 runs once the stage contracts it composes are at least drafted — staging tier issue #5669 triaged, classification semantics from issue #6021, provenance grammar/attestation from the issue #6018 / issue #6019 family — and its "done" deliverable stays as the body specifies (stage contracts, per-stage pass/fail semantics, failure/quarantine handling, publish atomicity against issue #5755). Drafting the gate before those contracts exist would invent per-stage semantics the sibling families are charged with deciding. No implementation issue is filed in this triage, and no code change is made; the issue stays open, labelled triaged + waiting-dependency to mirror this ordering.
Stage contracts for all five stages (write → classify → dedup → provenance-check → publish), each stated as a pure function of the batch returning (verdict, reason_codes, counts, artifacts), with the fail-closed rule that no verdict means not passed.
Per-stage pass/fail semantics in one table (§4): what skip may mean (only empty batch at write, zero survivors at publish — never a pass, never a snapshot bump) and the failure class for each stage.
Publish atomicity against fan-out search (§6): the reader-visible invariant (pre-batch set or post-batch set, never a mixture), per-snapshot visibility ordered write → manifest → snapshot bump, and the honest position on the cache.
The packet lists #5755 as an open atomicity constraint. Fresh read: #5755 CLOSED 2026-11-07. Its surface moved to #6662 (live verification), #6664 (--expand), #6665 (filters/FTS), #6666 (serve-mode snapshot id) and the successor Worker + Durable Object cache #6788 (closed, eviction follow-up #6805). §6 addresses atomicity against those successors. The DO cache stores results indefinitely and is not yet keyed on the snapshot id, so §6.3 records it as a known staleness window for newly published batches rather than claiming an atomicity the gate cannot enforce from the publish side.
Sibling decisions consumed, not re-decided
#6026 (versioning — landed design), #3125 (keep-all; dedup adds occurrences, never deletes), #5733 (findings are data, not deletions; ≈0.9 Jaccard), #5669 (staging tier, ≤500-row transactions, merge-on-close). Three obligations this note adds that those designs did not state — per-row tier split at publish, snapshot-id carried in the merge manifest, three-strikes quarantine bound — are called out explicitly in §7 as gate requirements to reflect back into #5669 and #6666, not as changes to their decisions.
Follow-ons (§9)
Six implementation follow-ons, each filed against the sibling it depends on: gate record + state machine (first, against #5669), stage 1–2 wiring (#5669/#6021), stage 3 wiring (#5733), stage 4 wiring (#6018/#3125), stage 5 wiring + atomicity (#5669/#6666), quarantine + retry. The gate is not "done" until follow-on 1 exists as an issue against #5669.
Four open questions are recorded with the defaults taken (§10) rather than blocking: classifier threshold ownership, whether a near-duplicate edge suppresses by default (no — publish + record), quarantined-DB retention, and whether the DO cache needs a snapshot-id dimension in v1 (deferred to #6805, staleness recorded instead).
Expectation: PR #7707 is docs-only and awaits CI + merge under the standing criteria; merging it lands the design record. Issue stays OPEN until the design is accepted and follow-on 1 is filed.
Atomicity correction (PR #7707 follow-up commit 3d3f996). Review of the first draft found that writing rows into an active shard and bumping its snapshot hash afterward does not prevent fan-out from observing rows mid-write. The revised record now requires immutable hidden candidate shards/occurrence overlays and one per-tier catalog commit as the visibility point; fresh fan-out pins the committed manifest generation once. Snapshot ids derive from committed manifests, not changing physical row counts. It explicitly does not claim a cross-tier transaction, and treats indefinite DO cache hits as potentially stale (separate #6666/#6805 freshness work). This is a required extension to #5669/#6666, called out as such rather than as existing behavior.
The deliverable ("a gate design: stage contracts, per-stage pass/fail semantics, failure/quarantine handling, publish atomicity") was produced by task 12903 and landed as PR docs(atlas): staging-shard ingest gate design (#6057) #7707, MERGED 2026-11-16T10:57:47Z: doc/2026-11-08T13-45-00Z_design_atlas_staging_shard_ingest_gate/ on main, including the atomicity correction follow-up (commit 3d3f996).
The stale review labels (status/needs-review, status:in-review, task/triage) are being removed with this close: the review they waited on is the merge of PR #7707.
Activity
developing-today commentedon Nov 5, 2026
CODE-1722
dezren39 commentedon Nov 5, 2026
🤖 Agent note · done (triage)
Triage findings for issue #6057 (task 10423)
Verified current (2026-11-05, fresh
ghreads): issue #6057 is OPEN, filed 2026-11-05T05:27:46Z, carrying onlytask/triage+queue/queued+area/infra+kind/designat claim time — no hard-stop labels (held,user/owned,do-not-merge,do-not-auto-edit), no competing PR or branch, and no other issue references issue #6057 yet (search of6057 in:bodyreturns nothing), so no duplicate or superseding work exists.Routing: gate design whose stage contracts are defined by still-open sibling work. The five gate stages are each another family's contract, and every one of those families is still open (all verified fresh today):
status/needs-triage, queued): the foundation exists today (merge-on-close promotion), but its versioned schema/registry design has not been triaged yet; the gate's write contract lands on it.work/assigned) and attestation a sibling under parent issue design(atlas): semi-automated ingestion operations — source set, usefulness filter, disk/IO + plan-spend guardrails #6019 (OPEN,kind/design); the chunk provenance registry is issue atlas: provenance registry (chunk occurrences), content-addressed extracts, multi-DB vector resolution #3125 (OPEN,priority/high).Ordering recorded: the gate design pass on issue #6057 runs once the stage contracts it composes are at least drafted — staging tier issue #5669 triaged, classification semantics from issue #6021, provenance grammar/attestation from the issue #6018 / issue #6019 family — and its "done" deliverable stays as the body specifies (stage contracts, per-stage pass/fail semantics, failure/quarantine handling, publish atomicity against issue #5755). Drafting the gate before those contracts exist would invent per-stage semantics the sibling families are charged with deciding. No implementation issue is filed in this triage, and no code change is made; the issue stays open, labelled triaged + waiting-dependency to mirror this ordering.
34 remaining items
dezren39 commentedon Nov 8, 2026
🤖 Agent note · done (design record produced)
02cafe76-eafd-4d0b-aaa6-2b7a737d68dcdoc/2026-11-08T13-45-00Z_design_atlas_staging_shard_ingest_gate/, branchqueue/12903-6057-atlas-ingest-gate-design, headdf472316beWhat the record covers
(verdict, reason_codes, counts, artifacts), with the fail-closed rule that no verdict means not passed.skipmay mean (only empty batch at write, zero survivors at publish — never a pass, never a snapshot bump) and the failure class for each stage.Packet note — #5755 is closed
The packet lists #5755 as an open atomicity constraint. Fresh read: #5755 CLOSED 2026-11-07. Its surface moved to #6662 (live verification), #6664 (
--expand), #6665 (filters/FTS), #6666 (serve-mode snapshot id) and the successor Worker + Durable Object cache #6788 (closed, eviction follow-up #6805). §6 addresses atomicity against those successors. The DO cache stores results indefinitely and is not yet keyed on the snapshot id, so §6.3 records it as a known staleness window for newly published batches rather than claiming an atomicity the gate cannot enforce from the publish side.Sibling decisions consumed, not re-decided
#6026 (versioning — landed design), #3125 (keep-all; dedup adds occurrences, never deletes), #5733 (findings are data, not deletions; ≈0.9 Jaccard), #5669 (staging tier, ≤500-row transactions, merge-on-close). Three obligations this note adds that those designs did not state — per-row tier split at publish, snapshot-id carried in the merge manifest, three-strikes quarantine bound — are called out explicitly in §7 as gate requirements to reflect back into #5669 and #6666, not as changes to their decisions.
Follow-ons (§9)
Six implementation follow-ons, each filed against the sibling it depends on: gate record + state machine (first, against #5669), stage 1–2 wiring (#5669/#6021), stage 3 wiring (#5733), stage 4 wiring (#6018/#3125), stage 5 wiring + atomicity (#5669/#6666), quarantine + retry. The gate is not "done" until follow-on 1 exists as an issue against #5669.
Four open questions are recorded with the defaults taken (§10) rather than blocking: classifier threshold ownership, whether a near-duplicate edge suppresses by default (no — publish + record), quarantined-DB retention, and whether the DO cache needs a snapshot-id dimension in v1 (deferred to #6805, staleness recorded instead).
Expectation: PR #7707 is docs-only and awaits CI + merge under the standing criteria; merging it lands the design record. Issue stays OPEN until the design is accepted and follow-on 1 is filed.
docs(atlas): record filed follow-on #7709 in the ingest gate design (#…
dezren39 commentedon Nov 8, 2026
Atomicity correction (PR #7707 follow-up commit 3d3f996). Review of the first draft found that writing rows into an active shard and bumping its snapshot hash afterward does not prevent fan-out from observing rows mid-write. The revised record now requires immutable hidden candidate shards/occurrence overlays and one per-tier catalog commit as the visibility point; fresh fan-out pins the committed manifest generation once. Snapshot ids derive from committed manifests, not changing physical row counts. It explicitly does not claim a cross-tier transaction, and treats indefinite DO cache hits as potentially stale (separate #6666/#6805 freshness work). This is a required extension to #5669/#6666, called out as such rather than as existing behavior.
docs(atlas): bind retry verdicts to stage-input identities; occurrenc…
Merge pull request #7707 from developing-today/queue/12903-6057-atlas…
dezren39 commentedon Nov 17, 2026
agent-note:v1
Agent: repo-worker-code / any-f
state: done (triaged — deliverable landed, closing) (task 18434, lane any-f)
issue: #6057
Verdict: the design this issue asks for exists and is merged — closing as completed
Bulk-intake re-triage (2026-11-16 reload). Verified fresh 2026-11-17:
doc/2026-11-08T13-45-00Z_design_atlas_staging_shard_ingest_gate/on main, including the atomicity correction follow-up (commit 3d3f996).The stale review labels (status/needs-review, status:in-review, task/triage) are being removed with this close: the review they waited on is the merge of PR #7707.