{
  "project_id": "solution_erp",
  "display_name": "SOLUTION_ERP — Quản lý HĐ NCC",
  "corpus_paths": [
    "docs/**/*.md",
    ".claude/agent-memory/**/MEMORY.md",
    ".claude/skills/**/SKILL.md",
    ".claude/agents/**/*.md"
  ],
  "exclude_paths": [
    "**/_archive/**",
    "**/node_modules/**",
    "**/bin/**",
    "**/obj/**",
    "**/.git/**"
  ],
  "extra_corpus": [
    "C:\\Users\\pqhuy\\.claude\\projects\\D--Dropbox-CONG-VIEC-SOLUTION-SOLUTION-ERP\\memory\\*.md"
  ],
  "share_to_global": true,
  "search_scope_default": ["self", "shared_global"],
  "auto_reindex": true,
  "auto_reindex_mode": "replace",
  "chunk_size": 1500,
  "chunk_overlap": 200,
  "contextual_retrieval": false,
  "_decision_log": {
    "auto_reindex_mode_rationale": "Layer C mandate per VIPIX commit c029ddb (gotcha #9 corpus drift fix forward). replace = full re-index each session, prevents append duplicate accumulation. DO NOT deviate.",
    "share_to_global_rationale": "true — SOLUTION_ERP patterns proven cross-project applicable (gotcha catalog, CQRS pattern, multi-agent setup). NO PII/creds in corpus (docs + skills + agent-memory only).",
    "chunk_size_rationale": "Legacy 1500/200 retained 2026-05-26. v1.3 §12.4 recommends 512/10-20%. Empirical retest required before flip — schedule trial week 3 (2026-06-16) evaluate.",
    "contextual_retrieval_rationale": "FALSE — OWNER-FINAL fleet-wide 2026-07-16 (broadcast f5ce2778: hub-owner chốt false toàn fleet; flag trong khung chỉ gate structural title-prepend ở chunking.py — 0 API-call, KHÔNG phải dead-config-vì-thiếu-key). Lineage SE: true 2026-05-22 (git bf93abd; spec_chosen_date 05-26) → flip S127 2026-07-16. Rationale cũ 'Evaluate trial week 3' = revisit ĐÓNG bởi owner-final (trial không chạy). Recall-delta chưa đo (hub khai); data đã nhúng giữ nguyên tới re-bootstrap kế (AI_INFRA op). Mirror khung: projects.py:39 default False.",
    "spec_a_vs_b_resolution_chosen": "Spec A — Strict. Rationale: SOLUTION_ERP chunks canonical + finite scope (51 gotchas, patterns, decisions) → strict retrieval test appropriate.",
    "spec_chosen_date": "2026-05-26",
    "anatomy_threshold_chosen": "6/6 STRICT per v1.3 §5.2 default (SE collection ~3080 chunks live 2026-05-29 — mature; the old '11,922' referred to a stale all-projects total, corrected S41)",
    "registry_drift_note": "RESOLVED S41 2026-05-29 — re-bootstrap 2026-05-28 closed the count drift (Qdrant LIVE ~3080 ≈ registry 3076). The old '+321% / 11,922' figure was STALE (pre-bootstrap) and is retired. REMAINING corpus-hygiene issue (per AI_INFRA RAG audit 2026-05-29): ~237 node_modules + ~22 _archive junk chunks hidden inside corpus because root-anchored excludes did not match nested paths (gotcha #10). Fixed S41: exclude_paths switched to **/-anchored globs. Takes effect on next re-bootstrap (AI_INFRA op).",
    "source_path_note": "Anti #23 — absolute Windows path D:\\Dropbox\\... in chunk payload. Fix in next re-bootstrap via bootstrap.py path normalization. Low priority.",
    "governance_doc": "docs/governance/README.md (Path B delegation stub — AI_INFRA canonical)"
  },
  "_notes": {
    "bootstrap_command": "python D:\\Dropbox\\CONG_VIEC\\AI_INFRA\\claude-rag\\bootstrap.py --project solution_erp",
    "cross_project_ai_infra_pointer": "AI Infra centralized at D:\\Dropbox\\CONG_VIEC\\AI_INFRA\\. Cross-project tooling (RAG/MCP/Governance) — single source of truth.",
    "layer_c_mandate": "auto_reindex_mode=replace added 2026-05-23 broadcast per VIPIX commit c029ddb — gotcha #9 RAG corpus drift fix forward",
    "extra_corpus_path_fix_s40": "2026-05-29 S40 — corrected user-memory slug D--Dropbox-CONG-VIEC-SOLUTION -> D--Dropbox-CONG-VIEC-SOLUTION-SOLUTION-ERP (27 feedback entries were NOT indexed due to wrong slug). Re-index needed to take effect (AI_INFRA op, bootstrap.py). Flagged to AI_INFRA.",
    "tiered_memory_v1_adopt": "2026-05-29 S40 — adopted AI_INFRA Tiered Memory Policy v1 (bulletin): L1 HOT ~30KB soft-cap / L2 archive on-demand / L3 RAG just-in-time. chunk_size 1500 deviation = AI_INFRA mechanism decision (trial 2026-06-16), NOT changed by team."
  }
}
