feat(i18n): per-entity content, per-group UI, page manifests (spec-v4-data-organization)

- split content.json -> content/{profile,skills,experience,projects}.json and
  ui.json -> 14 feature-group files (vi+en); index.ts merges both trees and
  asserts the merge against the group lists; merged CONTENT verified
  byte-identical against pre-split baseline dumps
- src/data/pages/*.json: 8 per-route manifests + pages.ts loader +
  PageId/PageManifestClaim/PageManifest types; validate.ts rules 1-4 (unknown
  entity, unknown ui group, unresolvable field path, orphan text field,
  missing manifest) - all five rejects verified by a throwaway harness
- draft.ts: data-driven registry of the 12 writable documents (4 structure +
  8 text); describeField() names the per-entity file; smoke-draft fixtures
  follow the new registry (8/8)
- EditBar: 'appears on' page annotations computed from the manifests
- remove JsonPanel.tsx + panel labels (inline-editing task 8); docs: AGENTS.md
  Data Layer / Live Edit Mode / Component Structure, v4 spec progress tables
This commit is contained in:
dong.nguyen committed 2026-10-23 10:55:29 +07:00
1 parent dad5f3edd7
commit 939260e4fb
69 files changed
+1816 -1596

No files matched your search

+100
View File
@@ -0,0 +1,100 @@
{
"iot-dws-integration": {
"title": "Tích hợp hệ thống IoT-DWS",
"summary": "Thiết kế và triển khai hệ thống integration giữa IoT devices và DWS (Dimensioning Weighing Scanning) machines cho 16 sortations.",
"role": "Senior Software Engineer — System Owner",
"metrics": [
"Đã triển khai tại 16 sortations"
],
"sections": {
"context": {
"title": "Context",
"content": "Tiếp nhận và nhanh chóng làm chủ một hệ thống IoT-DWS sau khi thành viên phụ trách trước đó rời project. Cần hiểu nhanh architecture hiện tại và tiếp tục phát triển integration solution."
},
"problem": {
"title": "Problem",
"content": "Cần integration giữa các IoT devices (sensors, cameras) và DWS machines — hệ thống vật lý phức tạp với nhiều protocol khác nhau (HMI, FTP, HTTP)."
},
"solution": {
"title": "Solution",
"content": "Thiết kế HTTP-based integration engine với HMAC security, RocketMQ messaging, và protocol adapters cho HMI/FTP/HTTP."
},
"architecture": {
"title": "Architecture",
"content": "```text\nIoT Devices\n ↓\nProtocol Adapters (HMI/FTP/HTTP)\n ↓\nHTTP Engine + HMAC Security\n ↓\nRocketMQ\n ↓\nDWS Machines\n```"
},
"challenges": {
"title": "Challenges",
"content": "Nhiều protocol khác nhau, security requirements (HMAC signature), real-time data processing, production reliability."
},
"result": {
"title": "Result",
"content": "Giải pháp được triển khai cho 16 sortations, ổn định trong production, hỗ trợ 3 protocols (HMI, FTP, HTTP)."
}
}
},
"awb-detection": {
"title": "AWB Detection / Computer Vision",
"summary": "Ứng dụng Computer Vision và Machine Learning để tự động phát hiện và OCR shipping label từ hình ảnh camera trên sortation.",
"role": "Senior Software Engineer — ML Engineering",
"metrics": [
"Xử lý 70.000 ảnh/tháng"
],
"sections": {
"context": {
"title": "Context",
"content": "Sortation machines chụp ảnh packages khi di chuyển trên băng chuyền. Cần tự động đọc AWB (Air Waybill) từ ảnh để tracking và sorting."
},
"problem": {
"title": "Problem",
"content": "White label trên white package — traditional CV methods không đủ robust. Cần ML-based detection."
},
"pipeline": {
"title": "Pipeline",
"content": "```text\nImage\n ↓\nAWB/Label Detection (YOLO)\n ↓\nBounding Box / OBB\n ↓\nRotation Correction\n ↓\nCrop\n ↓\nOCR\n ↓\nText Extraction\n```"
},
"challenges": {
"title": "Challenges",
"content": "White label on white package, rotated labels, varying lighting conditions, real-time inference requirements."
},
"result": {
"title": "Result",
"content": "Model fine-tuned cho AWB detection, xử lý 70,000 images/month. Presentation tại Tech Talk workshop."
}
}
},
"facility-management": {
"title": "Facility Management Platform",
"summary": "Xây dựng nền tảng digital twin cho logistics facilities — mô hình hóa facility, theo dõi real-time, và recommendation system.",
"role": "Senior Software Engineer — Platform Design",
"sections": {
"vision": {
"title": "Vision",
"content": "Chuyển đổi từ manual operations sang Operation Intelligence Platform — thu thập data, monitor, analyze, recommend, decide."
},
"architecture": {
"title": "Architecture",
"content": "```text\nPhysical Facility\n ↓\nData Collection\n ↓\nFacility Model\n ↓\nDigital Twin\n ↓\nSimulation\n ↓\nAnalytics\n ↓\nRecommendation\n ↓\nOperation Decision\n```"
},
"result": {
"title": "Result",
"content": "Platform hỗ trợ facility modeling, real-time visibility, và recommendation cho capacity planning."
}
}
},
"local-llm-experiments": {
"title": "Local LLM Experiments",
"summary": "Technical exploration về running local MoE LLMs với llama.cpp — GPU offloading, VRAM optimization, performance tracing.",
"role": "Engineering Experiment",
"sections": {
"exploration": {
"title": "Exploration",
"content": "Technical exploration về MoE (Mixture of Experts), expert routing, GPU offloading, VRAM optimization, prefill/decode pipeline."
},
"learnings": {
"title": "Lessons Learned",
"content": "Understand the system → Measure → Analyze → Optimize. Không phải khoe hardware — mà thể hiện engineering approach."
}
}
}
}