本卡屬 FR-166(母卡 CM-3109),階段 P3、批 6(排在第 6 批最前面)。repo:BE(主 repo,Repo 欄空著)。只改 BE。
BE 的 pyproject.toml 釘的是 Nexus 上的舊版 jedi-remote-agent==1.6.0,.venv 裝的是舊 wheel,看不到 FR-166 P0 批在套件裡加的新表、端點、reaper。P1-1、P3-2 的小弟都是自己臨時改路徑才跑得起來,P3-5 的小弟甚至以為前置沒做。開發期不會發新版,所以 BE 要改成直接吃本機套件的工作坊工作區。
repo:~/Projects/Billows/Audit-Manager/compliance-manager-be(工作坊卡工作區)
改:pyproject.toml、poetry.lock(只在本機生效,不 commit)
改:.claude/workshop.toml(commit)
改:docs/claude/ 開發環境說明(commit,檔名先 grep 既有的開發環境/jedi-packages 說明,沒有就放 docs/claude/jedi-packages.md)
套件路徑:/Users/chouraymond/Projects/Jedicogy/module/jedi-python-package/.worktrees/CM-3109/<套件名>
poetry update <套件名> 指定這五個名字,不要裸跑 poetry lock/poetry update,否則會升整棵樹)。python -c "import jedi_remote_agent; print(jedi_remote_agent.__file__)"(jedi_iam、jedi_ldap、jedi_detection、jedi_source_scan 同理),路徑要在 .worktrees/CM-3109 底下,不是 site-packages。git update-index --assume-unchanged pyproject.toml poetry.lock。[worktree] link = [".env", ".venv"],讓之後每張 BE 卡的卡工作區都連到主資料夾的 .venv,不用各自重裝(可 commit)。先讀現有 workshop.toml 的格式再加。git ls-files -v | grep '^h' 列出 pyproject.toml、poetry.lock(assume-unchanged 生效);git status 看不到這兩個檔。GET /api/1.0/remote-agents/offline-operator-counts 不再因套件版本 500。