| 1 |
- {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_docs_superpowers_plans_2026_07_26_crm_supplier_hazard_capability_md", "label": "2026-07-26-crm-supplier-hazard-capability.md", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L1"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_crm_implementation_plan", "label": "CRM \u4e3b\u4f53\u5371\u5316\u54c1\u80fd\u529b\u914d\u7f6e\u4e0e\u9009\u54c1\u9650\u5236 \u2014 Implementation Plan", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L1"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability", "label": "\u6587\u4ef6\u7ed3\u6784", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L15"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_task_1", "label": "Task 1: \u5171\u4eab\u5224\u5b9a\u51fd\u6570 + \u5355\u6d4b\uff08\u540e\u7aef\uff09", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L44"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_1", "label": "code:python (# backend/tests/test_crm_supplier_hazard.py)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L52"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_2", "label": "code:python (# backend/app/services/crm_supplier_hazard.py)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L84"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_3", "label": "code:bash (git add backend/app/services/crm_supplier_hazard.py backend/)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L168"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_task_2_db_model_supplier_crud_schema", "label": "Task 2: DB \u5b57\u6bb5 + Model + Supplier CRUD/Schema", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L179"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_4", "label": "code:sql (-- backend/scripts/migrate_20260726_crm_supplier_hazard_capa)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L190"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_5", "label": "code:python (allow_toxic = Column(SmallInteger, nullable=False, default=0)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L203"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_6", "label": "code:python (allow_toxic: Optional[int] = Field(default=0, alias=\"allowTo)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L212"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_7", "label": "code:python (allow_toxic: Optional[int] = Field(default=None, alias=\"allo)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L219"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_8", "label": "code:python (\"allowToxic\": int(row.allow_toxic or 0),)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L228"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_task_3_list", "label": "Task 3: \u4ea7\u54c1 list \u6309\u4e3b\u4f53\u8fc7\u6ee4", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L241"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_9", "label": "code:python (supplier_id: Optional[str] = Field(default=None, alias=\"supp)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L250"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_10", "label": "code:python (if supplier_id:)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L258"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_11", "label": "code:python (# \u666e\u901a: (is_toxic!=1 AND is_explosive!=1))", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L267"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_task_4", "label": "Task 4: \u62a5\u4ef7 / \u5408\u540c\u4fdd\u5b58\u6821\u9a8c", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L298"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_12", "label": "code:python (from app.services.crm_supplier_hazard import assert_products)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L308"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_task_5", "label": "Task 5: \u83dc\u5355 + \u914d\u7f6e\u9875 + \u8def\u7531", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L331"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_13", "label": "code:sql (UPDATE `sys_menu`)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L344"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_14", "label": "code:typescript ({)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L395"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_task_6", "label": "Task 6: \u524d\u7aef\u9009\u54c1\u8fc7\u6ee4 + \u6539\u4e3b\u4f53\u5254\u9664", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L420"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_15", "label": "code:typescript (// web-admin/src/utils/crm-supplier-hazard.ts)", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L430"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_task_7", "label": "Task 7: \u6536\u5c3e", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L486"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_spec", "label": "Spec \u8986\u76d6\u81ea\u68c0", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L495"}, {"id": "plans_2026_07_26_crm_supplier_hazard_capability_510", "label": "\u6267\u884c\u8bf4\u660e", "file_type": "document", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L510"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_docs_superpowers_plans_2026_07_26_crm_supplier_hazard_capability_md", "target": "plans_2026_07_26_crm_supplier_hazard_capability_crm_implementation_plan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L1", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_crm_implementation_plan", "target": "plans_2026_07_26_crm_supplier_hazard_capability", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L15", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability", "target": "plans_2026_07_26_crm_supplier_hazard_capability_task_1", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L44", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_1", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_1", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L52", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_1", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_2", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L84", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_1", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_3", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L168", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability", "target": "plans_2026_07_26_crm_supplier_hazard_capability_task_2_db_model_supplier_crud_schema", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L179", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_2_db_model_supplier_crud_schema", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_4", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L190", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_2_db_model_supplier_crud_schema", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_5", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L203", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_2_db_model_supplier_crud_schema", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_6", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L212", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_2_db_model_supplier_crud_schema", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_7", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L219", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_2_db_model_supplier_crud_schema", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_8", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L228", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability", "target": "plans_2026_07_26_crm_supplier_hazard_capability_task_3_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L241", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_3_list", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_9", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L250", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_3_list", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_10", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L258", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_3_list", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_11", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L267", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability", "target": "plans_2026_07_26_crm_supplier_hazard_capability_task_4", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L298", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_4", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_12", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L308", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability", "target": "plans_2026_07_26_crm_supplier_hazard_capability_task_5", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L331", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_5", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_13", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L344", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_5", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_14", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L395", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability", "target": "plans_2026_07_26_crm_supplier_hazard_capability_task_6", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L420", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_task_6", "target": "plans_2026_07_26_crm_supplier_hazard_capability_codeblock_15", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L430", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability", "target": "plans_2026_07_26_crm_supplier_hazard_capability_task_7", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L486", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_crm_implementation_plan", "target": "plans_2026_07_26_crm_supplier_hazard_capability_spec", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L495", "weight": 1.0}, {"source": "plans_2026_07_26_crm_supplier_hazard_capability_crm_implementation_plan", "target": "plans_2026_07_26_crm_supplier_hazard_capability_510", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/docs/superpowers/plans/2026-07-26-crm-supplier-hazard-capability.md", "source_location": "L510", "weight": 1.0}], "input_tokens": 0, "output_tokens": 0}
|