feat(security): ADR-034/035/036 — clés, recall procedural, TrustLevel - #50
Merged
Conversation
…l opt-in, TrustLevel Unifie la résolution de passphrase, durcit recall/consolidation contre le memory poisoning, expose la provenance via TrustLevel, et ajoute tests adversariaux, docs sécurité et job fuzz CI. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
…util gate, zero-network fetch clippy (-D warnings): drop unused std::io::Write import and two needless-return statements introduced in crates/basemyai-core/src/storage/key.rs (ADR-034). basemyai-mcp/tests/sampling.rs: allow(deprecated) on ClientCapabilitiesBuilder:: enable_sampling (SEP-2577), same posture already taken in the server/backend code. embed CI job: NativeMemoryStore::open/open_ephemeral and the underlying Engine::open were gated `test-util` only, but basemyai's own #[cfg(test)] unit tests and the embed job's `cargo test --features embed` never enabled it — extend the gate to `any(test, feature = "test-util")` and add basemyai-engine as a dev-dependency with test-util so it's always available under `cargo test`, plus pass test-util explicitly in ci.yml/xtask for the embed job's external integration tests. zero-network-after-setup: add a `cargo fetch --locked` step before the proxy is blocked, and run the tests --offline — the rust-cache for this job only saves on `main`, so a PR can restore a stale cache and need registry access mid-test with the proxy already blocked. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
MikeRoss27
enabled auto-merge
July 9, 2026 20:38
MikeRoss27
disabled auto-merge
July 9, 2026 20:38
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
EncryptionKey::resolve(CLIconfig key,BASEMYAI_DB_KEY, fichier~/.basemyai/key) — alignement bindings/MCP/REST.exact_fact_existsrespecte la validité temporelle en consolidation.TrustLevel, provenance wiresource, filtre recall par confiance, import JSONL durci contre le spoofing.fuzz.yml), documentationdocs/security/*.Test plan
cargo xtask cicargo xtask test-crash-consistency(si modifs engine)basemyai config key set/showet ouverture conteneur avec~/.basemyai/keyinclude_proceduraln'expose plus la couche proceduraltrustedfuzz.yml)