coding-agents: bank id not Unicode-normalized — same folder maps to two banks (NFC vs NFD) on macOS
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
Version: @vectorize-io/hindsight-coding-agents 0.9.1, macOS (APFS)
What happens
The bank id is built from the project folder's basename (coding-agent::{gitProject}) without Unicode normalization. On macOS a folder name with non-ASCII letters (e.g. ç ö ü ş ğ İ) can reach the plugin in two byte forms:
- NFD (decomposed,
c+ U+0327) — how the name is stored on disk; Codex passes the cwd as-is. - NFC (precomposed, U+00E7) — what Claude Code passes.
So one folder ends up with two banks, e.g. coding-agent::Çalışma (NFC) and coding-agent::Çalışma (NFD), which look identical but are separate. Memories written by one agent are invisible to the other, and each bank gets its own survey and pages (double LLM cost).
Repro
mkdir "$HOME/çalışma-test"andcdinto it.- Start a session there with Claude Code, then with Codex.
GET /v1/default/banks: two banks with the same visible name;bank_id.encode()differs.
Expected: one bank per folder regardless of harness.
Suggested fix: normalize to NFC wherever a bank id or path key is derived, e.g. in deriveBankId (the {project} / {gitProject} resolvers) and in mapLookup / configuredDir, so mapPathToBank keys match either form:
const nfc = (s: string) => s.normalize("NFC");
Workaround: add both spellings of the path to mapPathToBank, pointing to the NFC bank id.
- Dominant language
- Python
- Stars
- 45.2k
- Forks
- 5.9k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vectorize-io/hindsight
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vectorize-io/hindsight#7254 ·
-
Control Plane shows different calendar dates for the same occurrence in Constellation and TimelineOpencore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vectorize-io/hindsight#7240 · 1 comment ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vectorize-io/hindsight#7233 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
vectorize-io/hindsight#7231 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
vectorize-io/hindsight#7228 · 1 comment ·
All issues in vectorize-io/hindsight
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day