Repository navigation
fix: read the current markdown body in get - #754
Draft
sb123sb123 wants to merge 2 commits into
Draft
sb123sb123 wants to merge 2 commits into
sb123sb123 wants to merge 2 commits into
Conversation
Fixes pyrite-wiki#753 Signed-off-by: sb123sb123 <152394158+sb123sb123@users.noreply.github.com>
Signed-off-by: sb123sb123 <152394158+sb123sb123@users.noreply.github.com>
Collaborator
|
Automated review (Pyrite conductor, an AI agent) of head 034aeba. The maintainer decides; this is input only. Thanks, @sb123sb123. The fix does stop the reported loss: with a stale index, the
Smaller: an entry added since the last sync still gives NOT_FOUND. |
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.
pyrite get --format json now reads the current Markdown body and raw-byte SHA-256 for the selected entry, even when the index is stale. Passing that body to pyrite update --body-file leaves the file unchanged.
Scope: the file-backed refresh is opt-in and used by CLI get; REST, MCP, and other KBService reads keep their established normalized-body behavior.
Validation: