Skip to content

doc(atlas): code/config embeddings — confirmed definition, verdict, qualifying criteria (#1518) - #10350

Merged
dezren39 merged 1 commit into
mainfrom
queue/17164-1518-code-config-embeddings
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/17164-1518-code-config-embeddings

Conversation

@dezren39

@dezren39 dezren39 commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Summary

First landing for task 17164 / issue #1518 (confirmed code/config embeddings design; Drew confirmed the recommended design 2026-11-12, ledger embedding-ranking-1518): the written definition the issue's done-criteria require.

The doc records, grounded in the current Atlas staging schema (pkgs/atlas-search/schema/atlas_stage_v1.sql):

  • Definition — unit of embedding (whole file for small configs, declaration-sized chunks for large configs/code), the required metadata set (repo, path, commit SHA, kind, language, embedded_at, unit, sensitivity, source-of-truth pointer), and freshness (commit-triggered re-embedding, stale marking by SHA mismatch, eviction on delete).
  • Same-dump verdict — one Atlas index, entries discriminated by kind, kind-aware retrieval quotas; reasons, and why the split arguments are handled inside the shared index instead.
  • The three decisions, each naming the failure it accepts (per the follow-on's acceptance): shared-index pollution risk, whole-file precision loss, and the stale-marking freshness window.
  • Qualifying criteria — infrastructure-defining configs qualify by default; secret-bearing/generated/vendored exclusions; only the existing basic sensitivity filters.
  • Drew's added guidance (allow for more; build into Atlas; sharding to many Turso DBs via workers/DO/D1; benchmark shard sizes) and the sequenced minimal first ingestion: infra/dns/dns_config.yaml staged → promoted → semantic-retrieval proof, coordinated with infra/dns/dns_config.yaml is not embedded in any fleet semantic index found in this repo #2469.

The ingestion build itself (item writer against atlas_core::stage, promotion/embedding run, retrieval proof, shard benchmarks) remains on task 17164, which stays open with the exact next steps recorded.

Refs #1518.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 14, 2026 18:55
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T18:55:46.498589Z
We couldn’t complete this review. Comment @codex review to try again.
41de82a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant