e939fab50ab24c2cb772049bc46619251a2bfe14
/sleep-recovery-memory-l2 all (S88). Phase 0 scan: 18/19 L2 verbatim SKIP (14x 2026-05-qN.md already in aggregate 2026-05.gist.md gen:1, verified by reading source-decl; 4x 2026-06.md double-distill guard gen 1-2; 5 subs empty archive). 1 distilled: test-specialist activity-s51-s52.md (gen-0 orphan, no gist) -> activity-s51-s52.gist.md (distill-gen:1), 4 records -> 3 clusters (C-A merges the 2 gotcha#57 episodes). reviewer Fidelity-gate FAIL v1 -> re-distill: C-A merge had mis-attributed the whole fix to "Mig 45"; verbatim ties Mig 45 to HRM-only (LeaveTypes/ ShiftPatterns), Master (Dept/Project/Supplier) = Mig 47 per canonical CLAUDE.md. Split per-episode -> PASS. coverage-diff 26/26, G-009 clean, ratio 97% (signal-dense, report-not-target). last_sleep_at -> 2026-06-25. +reviewer self-harvest: merge-distill false-specificity anti-pattern (presence-gate blind to cross-episode shared-token mis-attribution). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SOLUTION_ERP
Hệ thống quản lý Hợp đồng Nhà cung cấp / Thầu phụ / Tổ đội cho Công ty TNHH Xây dựng Solutions.
📘 AI context:
CLAUDE.md(pointer) →docs/CLAUDE.md(full)
Quick start (dev)
Yêu cầu: .NET 10 SDK, Node 20+, SQL Server (local hoặc qua Docker).
# 1. DB — chạy SQL Server qua Docker (nếu chưa có local)
docker compose up -d
# 2. Backend — migration + run Api (port 5443)
dotnet ef database update --project src/Backend/SolutionErp.Infrastructure --startup-project src/Backend/SolutionErp.Api
dotnet run --project src/Backend/SolutionErp.Api
# 3. Frontend admin (port 8082) — terminal mới
cd fe-admin
npm install
npm run dev
# 4. Frontend user (port 8080) — terminal mới
cd fe-user
npm install
npm run dev
Admin mặc định (sẽ seed sau Phase 1): admin@solutionerp.local / Admin@123456
Architecture
fe-admin (:8082) fe-user (:8080)
│ │
└────── /api proxy ──────┘
▼
SolutionErp.Api (:5443)
│
┌──────────────┼──────────────┐
▼ ▼ ▼
Application Domain Infrastructure ── SQL Server
Tech stack
- Backend: .NET 10 + Clean Architecture + CQRS (MediatR) + FluentValidation + AutoMapper + EF Core + ASP.NET Identity + JWT
- Frontend: React 18 + Vite + TypeScript + Tailwind + shadcn/ui + TanStack Query
- DB: SQL Server 2022
- Deploy: Windows Server + IIS
Roadmap
| Phase | Tuần | Focus |
|---|---|---|
| 0 Draft | T1 | Scaffold, parse FORM + QUY_TRINH |
| 1 Alpha Core | T2-4 | Auth, Permission, CRUD master |
| 2 Form Engine | T5-6 | Render template docx/xlsx |
| 3 Workflow | T7-9 | State machine 9 phase |
| 4 Report + Polish | T10-11 | Dashboard + Excel export |
| 5 Production | T12-13 | CI/CD IIS, UAT, go-live |
Chi tiết ở docs/changelog/migration-todos.md.
License
Proprietary — Công ty TNHH Xây dựng Solutions.
Description
Languages
C#
53.5%
TypeScript
38%
PowerShell
6.8%
Python
0.7%
JavaScript
0.4%
Other
0.6%