GeezerVison is showing github.com — impl(atlas): query-as-data — query embeds, full tool/parameter provenance, permanent result archive, versioning · Issue #9099 · developing-today/code
impl(atlas): query-as-data — query embeds, full tool/parameter provenance, permanent result archive, versioning #9099DescriptionWorkstream G — Query-as-data, permanent result archive, and versioning
Parent program: #8983 · Proto design §G · Foundations already filed: #8245 (query trace capture — query_id + atlas-query-trace/v1), #8246 (trace ingestion + retention), #7647 (per-candidate embedding_model provenance), #8247 (retrieval statistics), #6027 (the statistics/feedback/traces design), #6805 + #8312 (Worker cache policy + purge route).
The rules (Drew, 2026-11-12)
- Every query is ingested into the corpus. A query is not just executed: it becomes an embed stored in Atlas itself, and that embed is what attaches to its results. Query records carry, verbatim: every flag, parameter, and the query text; the disclosure context (workstream D) the search ran under; and the hash + version of every tool involved (search binary/service, embedder model revision, corpus snapshot/watermark, schema version per workstream C).
- Cache everything, maybe forever. All results are cached (workstream A sets the serving semantics); this workstream owns the archive: investigate storing cache/result data forever so the same query's results can be compared across time (corpus changes, embedder changes, planner changes). Storage growth of the archive is modeled, not hand-waved — the archive is itself corpus (classified, per workstream D) and inside the backup mesh (workstream B).
- Versioning everywhere: every Cloudflare Worker deploy is versioned and recorded; the Turso and D1 schemas are versioned (schema-version registry + migration discipline aligned with workstream C's additive doctrine where it applies to stored metadata).
Acceptance
Activitydeveloping-today commented on Nov 12, 2026 dezren39 commented on Nov 17, 2026
🤖 Agent note · blocked on dependencies — task 18847 (lane code-e)
- Fresh state (2026-11-17): issue impl(atlas): query-as-data — query embeds, full tool/parameter provenance, permanent result archive, versioning #9099 OPEN, labels kind/feature + epic/atlas-program, no hard-stop labels. It is workstream G of the Atlas program (epic: Atlas program — unified search and memory index over every corpus #8983); its acceptance is design-first (design merged under
doc/, then granular implementation issues filed).
- Foundations are landed: impl(atlas): query trace capture - query_id + atlas-query-trace/v1 records (#6027 follow-on 1) #8245 (query trace capture), impl(atlas): trace ingestion + retention as statistics-and-reports corpus (#6027 follow-on 2) #8246 (trace ingestion + retention), impl(atlas): retrieval statistics aggregation + weekly report (#6027 follow-on 3) #8247 (retrieval statistics), atlas: query trace records per-candidate embedding_model provenance (#6060 M5, #6027 slice) #7647 (per-candidate embedding_model provenance) — all verified CLOSED today.
- The gates: the query record must carry, verbatim, "the disclosure context (workstream D) the search ran under" and "schema version per workstream C". Both upstream designs are still OPEN: design(atlas): classification model — per-embed granularity, boundary-safe chunking, disclosure contexts #9096 (design(atlas): classification model — disclosure contexts, workstream D) and design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095 (design(atlas+pm): Metadata schema v1 + evolution doctrine, workstream C). A query-record schema designed before D defines disclosure contexts and C defines the schema-version registry would be inventing both contracts and reworking them on landing — the same failure shape this program's additive doctrine exists to prevent.
- Action: labels queue/blocked + status/blocked applied; task 18847 blocked with reason class dependency, broker-tracked on issues design(atlas): classification model — per-embed granularity, boundary-safe chunking, disclosure contexts #9096 and design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095. When both close, this returns to the queue and workstream G's design can be packeted against the real D and C contracts (program design coordination: design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091 / epic epic: Atlas program — unified search and memory index over every corpus #8983).
dezren39 commented on Nov 20, 2026
🤖 Agent note · blocked on dependencies — task 18847 (lane oc-code-06)
- Fresh state (2026-11-20): issue impl(atlas): query-as-data — query embeds, full tool/parameter provenance, permanent result archive, versioning #9099 is OPEN, labeled
kind/feature, epic/atlas-program, queue/blocked, and status/blocked; no hard-stop labels are present. Its workstream G acceptance depends on the disclosure-context contract from design(atlas): classification model — per-embed granularity, boundary-safe chunking, disclosure contexts #9096 and schema-version registry/evolution contract from design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095.
- Dependency check: design(atlas): classification model — per-embed granularity, boundary-safe chunking, disclosure contexts #9096 is OPEN (classification/disclosure-context design); design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095 is OPEN (metadata schema/versioning design). Neither prerequisite has landed, so defining the query-record schema now would invent upstream contracts.
- Action: task 18847 re-blocked on design(atlas): classification model — per-embed granularity, boundary-safe chunking, disclosure contexts #9096 and design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095. Resume when both prerequisite designs are closed/landed; then triage the implementation scope against their settled contracts.
developing-today-fleet commented on Nov 25, 2026 agent-note:v1
Agent: felix (Muse lane, 2026-11-25)
State: verified-blocked — #14863 hygiene audit slice 10
The 2026-11-20 blocked note named two prerequisites: #9096 and #9095. Fresh check: #9096 is CLOSED (2026-11-22T08:47:53Z — classification model landed), so that half of the block has cleared. #9095 remains OPEN (metadata schema v1 + evolution doctrine, in review), and the query-record schema still cannot be defined before it settles.
Action: native blocked_by edge added #9099 -> #9095 (read back via the dependencies API; no edge to #9096, which is closed). status/blocked + queue/blocked labels match the narrowed reality. Resume when #9095 closes/lands. Refs #14863
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|