Newly created memory banks get no Memory Defense policy when no bank template is configured
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start at create_bank_row_on_conn and inspect how it inserts a new bank row and applies DEFAULT_DEFAULT_BANK_TEMPLATE. Check the bank creation tests for coverage of missing, valid, and invalid templates, then verify the configured default protects a fresh bank before its first write. The issue links a branch with a fix and tests, so review that work before taking this on.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
DEFAULT_DEFAULT_BANK_TEMPLATE is None, and the bank-creation path
(create_bank_row_on_conn) inserts a new bank row without any memory_defense config
unless the operator configured a template. In our deployment, three banks created by
automated tooling after initial rollout ended up unprotected until a reconciliation script
found them — memory written through lazy bank creation never went through the defense
pipeline for those banks.
Proposal
Write a safe default (enabled: true, sensitive_data: redact) in the same INSERT that
creates the bank row, so every new bank is protected from its first write. An explicit,
valid template still wins; an invalid template falls back to the safe default. Existing
banks are untouched (no re-ingestion required).
Validation
TDD (RED→GREEN) on an isolated 1.3.1 instance: first retain on a fresh bank redacts a
synthetic secret before persistence (canary absent from documents, chunks, facts,
llm_requests and audit log). Explicit templates preserved.
Branch with fix + tests (6 passed, ruff clean): https://github.com/BenedettiLucca/hindsight/tree/fix/memory-defense-new-bank-default
Related: #7169 (broader mandatory floor proposal — this covers only the creation-time default).
- Lingua principale
- Python
- Stelle
- 45.2k
- Fork
- 5.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di vectorize-io/hindsight
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vectorize-io/hindsight#7254 ·
-
Control Plane shows different calendar dates for the same occurrence in Constellation and TimelineApertacore
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
vectorize-io/hindsight#7240 · 1 commento ·
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#7233 ·
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
vectorize-io/hindsight#7231 ·
-
Flaky system test: test_embedding_and_rerank_calls_are_in_request_history raises StopIterationApertacore
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
vectorize-io/hindsight#7228 · 1 commento ·
Tutte le issue di vectorize-io/hindsight
Issue simili
-
Test: to_hijri() accepts datetime.datetime and uses only the date partForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertagood first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
polish
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresForse già presa @AshutoshSingh840 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
UKGovernmentBEIS/control-arena#992 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
mvalentsev/awesome-free-ai-coding#70 ·
I maintainer di solito rispondono entro 1 giorno