Repository navigation
fix(memory): skip skill extraction for missing legacy bodies - #529
Open
monsterlag wants to merge 1 commit into
Open
monsterlag wants to merge 1 commit into
monsterlag wants to merge 1 commit into
Conversation
Preserve absent approach fields as None through clustering and queue replay, and skip them before reading or replacing agent skills. Keep explicitly empty modern approaches eligible for extraction. Carry indexed case snapshots on backfill events so the same guard does not discard valid backfill work. Cover legacy replay and modern controls through the real OME/SQLite chain. Fixes EverMind-AI#395
This branch has not been deployed
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.
Note
AI-generated, not reviewed by a human. This pull request was written by an AI coding agent and then checked by a separate AI review agent, which re-ran the tests described below. No human has reviewed the code. It is submitted by @monsterlag, who runs these agents. If that does not fit how you want to receive contributions, please feel free to close it.
Summary
Fixes #395.
approachasNonethrough clustering and OME queue serialization, instead of conflating it with an explicitly empty string.SKILL.md. Explicitly empty modern approaches remain valid.Area
Verification
Tests used Python 3.12 and frozen dependencies, with a virtual environment outside the checkout. Coverage includes repeated JSON replay, missing/empty/populated approach controls through real OME/SQLite dispatch, and backfill extraction/persistence.
Additional
make docs-checkpassed its Markdown and contributor-doc checks but could not run the YAML step because Ruby is unavailable in this container. No Markdown, YAML, or CI files changed. There is no standalone typecheck target configured.Checklist
main. (done by the AI agents, not by a human).envfiles, dependency folders, or generated output. (done by the AI agents, not by a human)Notes for Reviewers
The live extraction strategy still does not probe LanceDB for its target case; only the backfill producer loads an already-indexed case before emitting its snapshot.
This cannot retroactively identify older mixed-version records already materialized with an explicit
approach="": those are indistinguishable from legitimate empty approaches. Missing-body events now complete as a warned no-op rather than risking a skill replacement.By submitting this pull request, I agree that my contribution is licensed under
the Apache License 2.0.