Repository navigation
Preserve manual evidence during source replacement - #276
Merged
arrry-hydraDB merged 2 commits intoNov 20, 2026
Merged
arrry-hydraDB merged 2 commits into
arrry-hydraDB merged 2 commits into
Conversation
…ment Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Issue #30 is approved, but you are not assigned to it. Comment on the issue and ask a maintainer to assign you. Then reopen this PR. (Fastest help: the #pr-discussion channel on Discord.) Maintainers: reopen this PR to override the gate (it gets the |
|
Issue #30 is approved, but you are not assigned to it. Comment on the issue and ask a maintainer to assign you. Then reopen this PR. (Fastest help: the #pr-discussion channel on Discord.) Maintainers: reopen this PR to override the gate (it gets the |
|
This is PR 1 of 3 you may keep open at a time. |
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Takes over #49 by @PRADDZY. Your 18 Nov comment there said it would close in two days, and the branch had no update since the 15 Nov review. The fix is PRADDZY's commit, rebased on current main with authorship kept. I added what the review asked for.
replace_source/replaceSourcetreats evidence whosesource_versionis<source_id>:manualas still active. Replacing a source no longer retires a relation that has hand-added evidence under the same source id (docs/inserting.md: "Evidence added by hand always counts").typescript/test/trust.test.tsconflicted with the replay test added on main. I kept both. The two tests are independent.replace_source_stepsnow runs a v4 replacement ("Alice works at Acme.") that doesn't restate the hand-addedRELATED_TOrelation. It recordsv4_diffandv4_manual_current, and each side also asserts the manual relation is not retired. That way the case fails even if both SDKs regress together.I checked the issue's repro on main before the rebase, and it still reproduces: the relation is retired in both the manual-only and the "generated, then manual evidence added" variants. With this branch both stay current. The conformance case fails on main and passes here.
Kuzu: Python 619 passed. TypeScript with
SELFGRAPH_PY(conformance included): 446 passed, plus the one known macOS-onlyhead -c 0CLI failure. Ruff, Biome andtscare clean.Linked issue
Closes #30
AI Assistance
Checklist
/approved.Breaking changes
None.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.