Title: design(atlas): span-table schema — spans as (file_version_id, start, end) with embedded-text snapshots · Issue #6035 · developing-today/code · GitHub
Open Graph Title: design(atlas): span-table schema — spans as (file_version_id, start, end) with embedded-text snapshots · Issue #6035 · developing-today/code
X Title: design(atlas): span-table schema — spans as (file_version_id, start, end) with embedded-text snapshots · Issue #6035 · developing-today/code
Description: Parent: #6028 (delta-only ingestion + offset embeds). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 1 (Cluster 1). Finding (research, in substance) The o...
Open Graph Description: Parent: #6028 (delta-only ingestion + offset embeds). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 1 (Cluster 1)...
X Description: Parent: #6028 (delta-only ingestion + offset embeds). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 1 (Cluster 1)...
Opengraph URL: https://github.com/developing-today/code/issues/6035
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"design(atlas): span-table schema — spans as (file_version_id, start, end) with embedded-text snapshots","articleBody":"Parent: [#6028](https://github.com/developing-today/code/issues/6028) (delta-only ingestion + offset embeds). Research source: prior-art doc `~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md` (2026-11-04). Follow-up 1 (Cluster 1).\n\n## Finding (research, in substance)\n\nThe offset-embed model makes a file version an **ordered list of span references** `(embed_id, start, end)` — the restic/borg content-addressed span-list shape applied to embeddings. A new version then costs only its genuinely new spans plus a manifest row. The span's stored text *is* what was embedded, and spans are reused only when the text is byte-identical (embeddings are not hashes: the same paragraph embedded with different neighbors is a different vector).\n\n## Scope\n\n- The span table: `(file_version_id, start, end)` + the span's own embedded-text snapshot + vector + provenance link.\n- How spans and today's chunk store (~107,639 chunks) coexist during migration: dual-read, backfill, or cutover — and what happens to chunk IDs that existing traces/feedback reference.\n- Span context metadata (heading path / section) versions with the *reference*, not the span (a reused span under a new \"Deprecated:\" heading must not inherit stale context).\n\n## Done looks like\n\nA schema design: tables, keys, migration path from the chunk store, and the invariants (byte-identical reuse only; context versioned per reference).\n\n\u003c!-- agent-note:v1 agent=muse state=filed source=main-chat-2026-11-04-wave2 -->","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T05:26:11Z","url":"https://github.com/developing-today/code/issues/6035"}
| 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:2cd24c4f-a6c3-0603-42a2-79bd9a9548df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4F4:30F127:4C4CB2:6464BA:6B06169A |
| html-safe-nonce | 17e63ef37ec84fa45e918417946a3a0f435ddd8f1235cdb6723abddd3f529d07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEY0OjMwRjEyNzo0QzRDQjI6NjQ2NEJBOjZCMDYxNjlBIiwidmlzaXRvcl9pZCI6IjE1MzQwNzk2NzE4NzEwODQxODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e380d84255c184e2929eefc059c666967ab9f83e0634eae9dc62ddd1e047ff9d |
| hovercard-subject-tag | issue:6217384181 |
| 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/6035/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0121a3535ccb51cfd4d924c1b0af4780d9271f4029ba3a9b860dd8e29ead9f02/developing-today/code/issues/6035 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0121a3535ccb51cfd4d924c1b0af4780d9271f4029ba3a9b860dd8e29ead9f02/developing-today/code/issues/6035 |
| og:image:alt | Parent: #6028 (delta-only ingestion + offset embeds). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 1 (Cluster 1)... |
| 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