GeezerVison is showing github.com — feat(atlas): project tombstones and exact correction clears by dezren39 · Pull Request #14683 · developing-today/code
Conversation
dezren39
commented
Nov 25, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
explicit tombstone inputs
-> final note.revise + deterministic marker document
-> atlas.tombstone claim on prior-head version document
explicit correction inputs
-> replacement lineage edge + exact tag.clear IDs
-> canonical, permutation-invariant output
Adds bounded unsigned tombstone/correction descriptors and fixture/model recomputation coverage. Existing projection APIs and immutable history remain unchanged. Prior head is deliberately modeled as the last-live version document and its note revision; runtime signing/publication is out of scope. #11182 remains open.
Evidence
- Before: Fleet run 45514249006 failed the new
tombstone_claim_obeys_id_nfc_and_512_byte_value_oracle test (16 passed, 1 failed).
- After: Fleet run 45515519174 succeeded:
cargo test -p atlas-core --lib version_projection — 20 passed, 0 failed, 205 filtered.
- Independent re-review found no remaining P1/P2 findings.
Merge Danger
Door: Two-way
Blast Radius: Low — additive unsigned descriptors and tests; no existing API semantics are redefined. Runtime publication must still validate the prior-head rows and attach any required marker provenance before signing.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-25T00:22:18Z",
"session_id": "ses_e5df0139b0affe8MJon91CbhOj",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/fleet/oc-code-08-11182-slice5-20261124T234203Z-e91344eb",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/fleet/oc-code-08-11182-slice5-20261124T234203Z-e91344eb",
"repo": "developing-today/code",
"branch": "oc-code-08/issue-11182-slice5",
"sha": "ee077b3bda01f92a98394173ed19c0476deba980"
},
"auth_subject": "any-n",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
-
New Features
- Added support for representing deleted notes with tombstone records that preserve prior-version context and identify the deletion.
- Added support for recording version-lineage corrections and explicitly identifying claims they supersede.
- Invalid or inconsistent tombstone and correction details are rejected, helping keep projected version data consistent.
-
Tests
- Added checks for validation, deterministic results, and accurate handling of superseded claims.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 25, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The version projection module adds public tombstone and correction inputs and outputs. New projection functions validate these inputs and produce tombstone markers, note revisions, lineage claims, and exact claim-clear descriptors. Fixture data and tests cover the new projections.
Changes: Version projections
| Layer / File(s) |
Summary |
Tombstone projection pkgs/atlas-search/crates/atlas-core/src/version_projection.rs |
Adds public tombstone types and project_tombstone. The function validates identifiers and claim constraints, then returns a marker, final note revision, and atlas.tombstone claim. Tests cover output values, invalid inputs, boundaries, and deterministic behavior. |
Correction projection pkgs/atlas-search/crates/atlas-core/src/version_projection.rs, pkgs/atlas-search/fixtures/id_projection_rows.json |
Adds correction types and project_corrections. The function validates replacement edges and claim IDs, then returns lineage claims with tag.clear descriptors containing the supplied IDs. Fixture data and tests cover validation and replay behavior. |
Estimated code review effort: 3 (Moderate) | ~25 minutes
Change: Feature
Possibly related PRs
Merge Risk: Minimal · up to ee077
-
This PR adds unsigned tombstone and correction projection helpers with validation and tests, and leaves existing projection APIs unchanged. No actionable merge-blocking risk was found. Runtime signing and publication remain out of scope, and callers must validate prior-head rows and attach marker provenance themselves.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title "feat(atlas): project tombstones and exact correction clears" matches the main change in the changeset. The raw summary adds project_tombstone and project_corrections in version_projection.r… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title "feat(atlas): project tombstones and exact correction clears" matches the main change in the changeset. The raw summary adds project_tombstone and project_corrections in version_projection.rs, and the PR objectives describe the same tombstone and tag.clear correction work. The title is specific and concise, and it names both main features.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- 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
-
Recent review info
-
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
ebbf743e-f7e9-4780-84c5-48899f039dc5
Commits
-
Reviewing files that changed from the base of the PR and between 1a0519a and ee077b3.
Files selected for processing: 2
-
pkgs/atlas-search/crates/atlas-core/src/version_projection.rs
pkgs/atlas-search/fixtures/id_projection_rows.json
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 25, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|