[CLAUDE] Docs: S40 finish bulletin MUC 2+4 gaps (tiered agent-def + rag.json path fix + archive dirs)
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 4m5s

MUC 2 (Tiered Memory) finish:
- investigator-codebase.md: ">20KB force-read" + ">25KB suggest curate" -> tiered L1/L2/L3 (last agent-def with old policy wording; gotcha count 53->55)
- archive/ created for 3 new seed agents (investigator-api/implementer-frontend/test-specialist) via .gitkeep

MUC 4 (RAG v1.3) finish:
- rag.json extra_corpus slug FIX: D--Dropbox-CONG-VIEC-SOLUTION -> ...-SOLUTION-SOLUTION-ERP (27 user-memory feedback entries were NOT indexed). Re-index = AI_INFRA op (flagged).
- chunk_size 1500 deviation UNCHANGED (AI_INFRA mechanism decision, trial 2026-06-16). JSON valid verified.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
pqhuy1987
2026-05-29 18:59:02 +07:00
parent 96d6df4dd2
commit 9f10764b06
5 changed files with 9 additions and 4 deletions

View File

@ -0,0 +1 @@
# L2 COLD archive (Tiered Memory v1) — archived MEMORY entries land here on curate (archive/<YYYY-MM>.md). Created S40 2026-05-29.

View File

@ -0,0 +1 @@
# L2 COLD archive (Tiered Memory v1) — archived MEMORY entries land here on curate (archive/<YYYY-MM>.md). Created S40 2026-05-29.

View File

@ -0,0 +1 @@
# L2 COLD archive (Tiered Memory v1) — archived MEMORY entries land here on curate (archive/<YYYY-MM>.md). Created S40 2026-05-29.

View File

@ -32,7 +32,7 @@ You are an investigative read-only agent focused on **INTERNAL codebase + DB sch
- Skills preload: `contract-workflow` + `permission-matrix` + `ef-core-migration` - Skills preload: `contract-workflow` + `permission-matrix` + `ef-core-migration`
### 2. Decide memory re-read ### 2. Decide memory re-read
Force Read full MEMORY.md when: task touches schema/architecture/cross-stack · memory >20KB · first task new topic · PE V2 / Contract V2 / Proposal / workflow / permission gotchas. Otherwise trust auto-injected. Tiered Memory v1: L1 auto-inject đủ cho routine. Read L2 `archive/` + search L3 RAG `search_memory` when: task touches schema/architecture/cross-stack · first task new topic · PE V2 / Contract V2 / Proposal / workflow / permission gotchas. (Bỏ ngưỡng cứng >20KB force-read.)
### 3. Investigate (INTERNAL) ### 3. Investigate (INTERNAL)
- Read/Grep/Glob scan codebase - Read/Grep/Glob scan codebase
@ -52,7 +52,7 @@ Token cost estimate: [tokens]
``` ```
### 5. Update MEMORY.md BEFORE stop (BẮT BUỘC) ### 5. Update MEMORY.md BEFORE stop (BẮT BUỘC)
Append "Recent activity" FIFO last 10: patterns / anti-patterns / gotchas new (cross-ref `docs/gotchas.md` 53 hiện tại) / schema findings. Skip duplicates. If >25KB → suggest curate em main. **Keep entry ≤ 1.5K chars** (gotcha #53 truncation mitigation — Investigator MEMORY hit 32KB S37). Append "Recent activity" FIFO 5-8 entry gần nhất: patterns / anti-patterns / gotchas new (cross-ref `docs/gotchas.md` 55 hiện tại) / schema findings. Skip duplicates. Tiered Memory v1: L1 soft-cap ~30KB → nếu vượt suggest curate em main (archive cũ → L2 `archive/<YYYY-MM>.md`). **Keep entry ≤ 1.5K chars** (gotcha #53 truncation mitigation — Investigator MEMORY hit 32KB S37).
--- ---

View File

@ -15,7 +15,7 @@
".git/**" ".git/**"
], ],
"extra_corpus": [ "extra_corpus": [
"C:\\Users\\pqhuy\\.claude\\projects\\D--Dropbox-CONG-VIEC-SOLUTION\\memory\\*.md" "C:\\Users\\pqhuy\\.claude\\projects\\D--Dropbox-CONG-VIEC-SOLUTION-SOLUTION-ERP\\memory\\*.md"
], ],
"share_to_global": true, "share_to_global": true,
"search_scope_default": ["self", "shared_global"], "search_scope_default": ["self", "shared_global"],
@ -39,6 +39,8 @@
"_notes": { "_notes": {
"bootstrap_command": "python D:\\Dropbox\\CONG_VIEC\\AI_INFRA\\claude-rag\\bootstrap.py --project solution_erp", "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.", "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" "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."
} }
} }