feat(cognee): add local lookup manifest checker#128
Open
JTInventory wants to merge 1 commit into
Open
Conversation
3 tasks
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
Firstmate can now rehearse Cognee lookup locally without touching Cognee, MCP config, env files, or remote datasets. A dry-run wrapper treats answer text as
hint_onlyby default, then upgrades only locally verified references toverified_local_sourceorstale_warningafter manifest, checksum, path-risk, and source reopen checks pass.The checker fails closed for missing citations, unknown manifest references, unsafe redaction status, risky source paths, bad size/checksum, and high/live stale-risk labels. Even verified local matches keep
external_action_authorized=false, so memory output cannot become merge, deploy, cleanup, vendor, or customer authority.Notes
--dry-runexits before any network or config access.Tests
bash -n bin/*.sh tests/*.shtests/fm-cognee-lookup.test.shfor t in tests/*.test.sh; do bash "$t"; donePost-Deploy Monitoring & Validation
No additional production monitoring is required. This is local CLI plumbing only, with no daemon, network call, config mutation, or remote dataset mutation. Healthy validation is continued passing shell tests and local dry-run output that keeps unverified Cognee text labeled as
hint_only.