Title: design(atlas): delta-only ingestion + offset embeds — land only changes; span-anchored chunks with non-doubling joins · Issue #6028 · developing-today/code · GitHub
Open Graph Title: design(atlas): delta-only ingestion + offset embeds — land only changes; span-anchored chunks with non-doubling joins · Issue #6028 · developing-today/code
X Title: design(atlas): delta-only ingestion + offset embeds — land only changes; span-anchored chunks with non-doubling joins · Issue #6028 · developing-today/code
Description: Parent: #6018 (Atlas ingestion program). Statements S35–S38 of the 2026-11-04 brief. Requirement (Drew, in substance) Delta-only ingestion Re-ingesting a largely unchanged corpus must land only the deltas. Drew's numbers: a 21 GB corpus ...
Open Graph Description: Parent: #6018 (Atlas ingestion program). Statements S35–S38 of the 2026-11-04 brief. Requirement (Drew, in substance) Delta-only ingestion Re-ingesting a largely unchanged corpus must land only the...
X Description: Parent: #6018 (Atlas ingestion program). Statements S35–S38 of the 2026-11-04 brief. Requirement (Drew, in substance) Delta-only ingestion Re-ingesting a largely unchanged corpus must land only the...
Opengraph URL: https://github.com/developing-today/code/issues/6028
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"design(atlas): delta-only ingestion + offset embeds — land only changes; span-anchored chunks with non-doubling joins","articleBody":"Parent: [#6018](https://github.com/developing-today/code/issues/6018) (Atlas ingestion program). Statements S35–S38 of the 2026-11-04 brief.\n\n## Requirement (Drew, in substance)\n\n### Delta-only ingestion\nRe-ingesting a largely unchanged corpus must land **only the deltas**. Drew's numbers: a 21 GB corpus of which **20.5 GB is already in Atlas** — re-running ingestion over it must NOT update every file, retag everything, or edit all metadata to carry a new date. What lands is exactly:\n\n- **all the new files**, and\n- **the edits to the old files** — edits carry a new date and repeat some overlapping data, and that overlap repetition is accepted rather than engineered away.\n\nUntouched content is not re-embedded, not re-tagged, not re-dated. (Content-addressed landing per [#3125](https://github.com/developing-today/code/issues/3125) is the natural mechanism; this design makes \"we only take the deltas\" a stated, testable guarantee of the ingest path, including metadata: no mass metadata edits for unchanged objects.)\n\n### Offset / overlap embeds\nThe chunker need not re-chunk a changed file along fresh boundary lines. The system may **accept embeds with different overlaps that are not along boundary lines**, recorded as spans into the current file version. Drew's example:\n\n> An embed is accepted whose content, joined to the file's most recent version, runs **from index 17 to 241 — because indices 0–16 matched a prior embed**. A different embed covers another end; everything after 241 matched a different embed. **Only this one diff is new.**\n\nSo an edit produces a small set of span-anchored embeds covering the changed region (with whatever overlap the matcher needed), anchored by offsets into the current version, each embed knowing which prior embeds its head and tail matched.\n\n### Search-time join\nA search hit shows the **full paragraph** — and when results are joined together, **lines that were merged do not double up**. The join reconstructs source text exactly once: overlapped spans between sibling embeds (and between an embed and the file version it anchors to) are deduplicated at reconstruction, so a paragraph assembled from three overlapping embeds reads as the paragraph, not as three stuttering copies.\n\n## Design must answer\n\n- Change detection per source type: git (commit diff), plain trees (hash walk), databases/session stores (watermarks + row hashes) — and the cost ceiling for detection itself (a detection pass that reads 21 GB to save embedding 20.5 GB has only won if reads are much cheaper than embeds; say so with numbers).\n- Span anchoring: offsets in what unit (bytes/chars/lines), against which version id, and how anchors survive a subsequent edit (offset drift — when does an anchored embed detach, and how is detachment detected and logged?).\n- Overlap acceptance rules: minimum match run to anchor on (the 0–16 head match), maximum overlap fraction before an embed is just a duplicate (interacts with the [#5733](https://github.com/developing-today/code/issues/5733) ≥0.9 dedup edge), and occurrence recording for the matched spans (an embed's matched head is an occurrence of the prior embed's content — [#3125](https://github.com/developing-today/code/issues/3125) semantics).\n- Join/reconstruction: paragraph assembly from overlapping embeds + version text; the no-double-up guarantee stated as a testable invariant; behavior when the underlying version is cold or retired (sibling versioning design).\n\n## Done looks like\n\nA design doc: delta-detection per source with cost model, the span-anchored embed format, acceptance thresholds, join semantics with the non-doubling invariant, and a worked example using Drew's 17–241 case end to end. Implementation split into follow-ons.\n\n\u003c!-- agent-note:v1 agent=muse state=filed source=main-chat-2026-11-04 -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T05:21:19Z","url":"https://github.com/developing-today/code/issues/6028"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b6da70b2-242d-1a64-8a9f-ebe4bb7b96d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8C6:20DDCE:2C08E2:3B4A80:6B0616F2 |
| html-safe-nonce | 309e7a075b0dc1d4c49367a320ec4d431c745866dd910926a72a6d4f22381d0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEM2OjIwRERDRToyQzA4RTI6M0I0QTgwOjZCMDYxNkYyIiwidmlzaXRvcl9pZCI6IjM0MTE0MDY1NTU5MjMxNDYxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 13017b844a8615d3f962a7a502d7b880f46d730f9adfb7874038ce96ac4530ca |
| hovercard-subject-tag | issue:6217333533 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/6028/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b0a669bbf98ced2ccb1b2e8bd50120d603a80de0a0bb23a18851ae68a6840c6/developing-today/code/issues/6028 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b0a669bbf98ced2ccb1b2e8bd50120d603a80de0a0bb23a18851ae68a6840c6/developing-today/code/issues/6028 |
| og:image:alt | Parent: #6018 (Atlas ingestion program). Statements S35–S38 of the 2026-11-04 brief. Requirement (Drew, in substance) Delta-only ingestion Re-ingesting a largely unchanged corpus must land only the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width