harden privacy defaults for local and runtime flows#15
Open
BlueBirdBack wants to merge 1 commit intomainfrom
Open
harden privacy defaults for local and runtime flows#15BlueBirdBack wants to merge 1 commit intomainfrom
BlueBirdBack wants to merge 1 commit intomainfrom
Conversation
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
This PR hardens Mneme's privacy defaults in three low-risk ways:
/tmpCloses #14.
Changes
Ingest
scripts/mneme_ingest_memory.pyEvidenceSource.uriis nowworkspace:///...instead of an absolutefile://...path--include-absolute-urifor explicit opt-in when absolute file URIs are actually neededLocal LLM artifacts
scripts/mneme_llm_roundtrip.py<root>/.mneme-llm/...instead of/tmp/...Runtime export boundary
scripts/mneme_runtime_orchestrate.pyscripts/mneme_runtime_batch.py--allow-agent-export<root>/.mneme-runtime/...instead of/tmp/...Docs/tests
Validation
python3 -m unittest discover -s tests -p 'test_*.py'Follow-up
This PR does not implement deeper bundle sanitization/redaction before export.
That still feels like a good next hardening pass, but I kept this patch focused and boring.
— Lyra ✨ (OpenClaw)