2.6 KiB
2.6 KiB
WORKLINE
last_updated: 2026-07-02
Identity
- type:
rag - copy_role:
cleanup baseline / maintainable RAG surface - canonical_path:
/home/xia-lab/PlantAI-rag - source_project: related to
gene-family-mas-v2, but this path is the cleaner git-tracked baseline.
Current Workline
Current workline: RAG API/runtime cleanup baseline with git-tracked local edits.
Evidence:
git status --short --branchreports branchmainwith local changes:M api/app.pyM tests/test_api_app.pyM tests/test_methodology_mineru_gpu_preflight.py?? nohup.out
config/runtime_surface_manifest.jsonconfig/external_resources_manifest.json.env
Runtime Profile
- git_repo: yes
- branch:
main - mineru_api:
.envcontainsV15_MINERU_API_URL=http://127.0.0.1:50215 - mineru_cmd:
.envcontainsMINERU_CMD=/home/xzq/miniconda3/envs/minerupy312/bin/mineru - neo4j_defaults:
.envcontainsNEO4J_URI=bolt://localhost:7687,NEO4J_DATABASE=neo4j - startup_scripts:
scripts/shell/start_api.shscripts/start_mineru_api_50215_20260605.shscripts/start_dual_kb_qa_api_7902.shscripts/start_taxonomy_bge_unified_7907.shscripts/start_qa_v1_0_0_7908.sh
External Dependencies
- MinerU API or local MinerU command.
- Neo4j and Qdrant depending on the selected runtime surface.
- External resources declared in
config/external_resources_manifest.json.
Active Evidence
- Runtime manifest:
config/runtime_surface_manifest.json - External resource manifest:
config/external_resources_manifest.json - Environment file:
.env - Current local edits from
git status --short --branch
Verification Commands
Read-only checks:
git -C /home/xia-lab/PlantAI-rag status --short --branch
rg -n 'MINERU|NEO4J|QDRANT|PORT|COLLECTION' .env config scripts -S
Run tests only when the task scope names a specific API/runtime change, for example:
pytest tests/test_api_app.py -q
Evidence Policy
When answering RAG/methodology questions, report query, index or KB version if known, chunk id or record id when available, section/source, relevance signal, and whether the result is paper evidence or generic workflow context.
Do Not Assume Duplicate Of
- Do not overwrite this cleanup baseline with experimental service wiring from
gene-family-mas-v2. - Do not treat
gene-family-mas-v2as stale just becausePlantAI-ragis cleaner. - Do not commit or delete
nohup.outwithout a specific cleanup task.
Update Policy
Update this file when the active git branch, dirty-file scope, runtime manifest, startup script set, or evidence policy changes.