Repository navigation
feat(ai): add AI-assisted type detection with GDPR consent - #22
Merged
Merged
Conversation
Phase 2 of #19: AI-assisted vault entry type detection - ai_detect.py: AI client with mandatory redaction, exception firewall, TLS enforcement (HTTPS for remote, HTTP only for localhost/Ollama), untrusted response parsing, and Phase 1/AI result merging - config.py: AIConfig dataclass with endpoint, model, api_key_cmd, consent state and timestamp - cli.py: --ai flag with GDPR consent prompt, --show-payload for audit, --yes for CI automation, graceful fallback on AI failure - Security: no secrets in error messages, API key never logged, all data passes through redact_vault_data() before transmission
f3rdy
force-pushed
the
feature/19-detect-types-ai
branch
from
March 13, 2026 07:20
9dce27f to
717dc57
Compare
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
Phase 2 of #19: AI-assisted vault entry type detection with security and GDPR compliance.
ai_detect.py: AI client module with:redact_vault_data())config.py:AIConfigdataclass with endpoint, model, api_key_cmd, consent state--ai,--show-payload,--yes(skip consent for CI)Security measures (from security review):
Closes #19
Test plan
--show-payloadoutput verified