coding-agents: two unrelated projects with the same folder name share one memory bank
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- ai-infra-agents
Direzione di ricerca
Bank resolution is in the coding-agents package: the coding-agent::{gitProject} template expands {gitProject} to the repo-root basename (working-directory fallback); start at that expansion and at mapPathToBank, the reporter's workaround. Reproduce with two directories sharing a basename, one a git repo, and check the resolved bank ids. Decide between a path-hash suffix, a warning on mismatch, or a documented bank-to-path listing; done means a test pins the chosen behaviour and the banner or hindsight_diagnose shows a shared bank.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
The default bank id template is coding-agent::{gitProject}, and {gitProject} resolves to the basename of the repository root (falling back to the basename of the working directory when the directory is not a git repo). Two unrelated projects whose folders share a name therefore resolve to the same bank, and their memories are merged:
- D:\work\qq-chats -> coding-agent::qq-chats
- E:\backup\qq-chats -> coding-agent::qq-chats
The same happens after renaming a folder: the project silently starts from an empty bank and the old bank is left behind.
Why that is a problem
- Recall returns facts from the other project, and the first-prompt synthesis describes a repository the session is not in.
- Retain from both projects lands in one bank, so the extracted facts contaminate each other.
- It is silent: nothing in the banner, the hook output or hindsight_diagnose says the bank is shared.
Environment
- @vectorize-io/hindsight-coding-agents 0.8.7 (also checked against the 0.8.8 package)
- harness: DeepSeek Harness (dsh)
- OS: Windows
- server: self-hosted (apiUrl http://127.0.0.1:9077, serverMode self-hosted)
What I would like
- A collision-aware default: include a short hash of the absolute repository path, or the parent folder, when the bare name is already claimed by a different path.
- Or a warning at bank resolution when the current path is not the one that first created the bank.
- At minimum, a documented way to list which paths map to a bank, so a shared bank is visible.
Workaround in use
mapPathToBank with an explicit bank id per project.
- Lingua principale
- Python
- Stelle
- 45.2k
- Fork
- 5.9k
- Merge medio
- 6h 18m
- PR unite (30g)
- 354
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
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6923 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6921 ·
I maintainer di solito rispondono entro 1 giorno
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
vectorize-io/hindsight#6910 ·
I maintainer di solito rispondono entro 1 giorno
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6903 ·
I maintainer di solito rispondono entro 1 giorno
-
integration:openclaw
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6893 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di vectorize-io/hindsight
Issue simili
-
Task select patterns with uppercase letters never matchForse già presa @manobhisriram l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
app: scripts status: backlog type: housekeeping
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
netbox-community/netbox-scripts#239 ·
I maintainer di solito rispondono entro 1 giorno
-
Lambda deploys fail once the bundle grows by about 254 KBForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
developmentseed/titiler-cmr#341 ·
I maintainer di solito rispondono entro 1 giorno
-
Card tables add "..." to every value in a DataFrame column when any value is longer than 30 charactersForse già presa @omkarbandikatte l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno