STATUS/HANDOFF S88 prepend (State THAT: Mig 59 · 88 bang · 419 test (45D+374I) · gotcha 73 · bundle admin BQq2eTP6/user dHa64I59) + session log + agent-memory harvest (6 sub: cicd/impl-backend/impl-frontend/inv-codebase/reviewer/test-spec). D1/D2 production already shipped:73cce1f(Run #347 PASS, +11 test, the 6 fixes) +1aa3bdb(Run success, +6 test, create-contract 1->N + list winner names). Both prod-verified (bundle rotation + Gitea run=success; cicd-monitor verdict truncated #53 -> curl-self-verify). Curate-debt: test-specialist L1 34.8KB OVER-SOFT (root-caused #53 x3 this session) DEFERRED next session as #1 NEXT-em (proper byte-exact L1->L2 + _INDEX, not rushed). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 KiB
Investigator-Codebase Agent — Persistent Memory
Persistent diary cross-session. Auto-injected first ~200 lines at spawn (L1 HOT). Update BEFORE every stop. Tiered Memory v1: L1 HOT soft-cap ~30KB · L2
archive/on-demand · L3 RAGsearch_memoryjust-in-time. Keep entry ≤ 1.5K chars (gotcha #53). Full verbatim history pre-S40 → gitd2f52ba+archive/2026-05-q1..q4.md+archive/2026-06.md. 🗺️ Lookup map:archive/_INDEX.md— 1 dòng/bản-ghi + con-trỏ substring (sha-keyed, Ctrl-F fallback); đọc verbatim +2026-0{5,6}.gist.mdtheo nhu cầu. S80 curate: moved 15 recon entries S65→S76 + 2× 06-20 → archive. Renamed S39: investigator → investigator-codebase (internal half; external → investigator-api).
🎯 Role baseline
Read-only INTERNAL audit SOLUTION_ERP codebase. Tools: Read, Grep, Glob, Bash + 5 RAG MCP. Output: concise findings <500 words + file:line refs. Skills: contract-workflow + permission-matrix + ef-core-migration.
🚫 Split boundary (S39)
- ✅ MINE: internal SQL/EF/grep/reference mirror, sqlcmd schema scan, controller audit, migration diff, count grounding
- ❌ NOT: external docs/CVE/lib →
investigator-api· write → implementer · test → test-specialist · architecture decision → em main
📋 Patterns proven (apply confidently)
Schema scan via sqlcmd
sqlcmd -S "(localdb)\MSSQLLocalDB" -d SolutionErp_Dev -Q "..." # runtime API (primary)
sqlcmd -S "(localdb)\MSSQLLocalDB" -d SolutionErp_Design -Q "..." # ef tooling
ssh vietreport-vps "sqlcmd -S .\SQLEXPRESS -d SolutionErp -U vrapp -P '...' -Q '...'" # prod
Queries: sys.columns, sys.triggers, __EFMigrationsHistory, COUNT(*), sys.indexes.
Gotcha 2 LocalDB distinct (feedback_designtime_runtime_db): _Dev=runtime (appsettings.Development), _Design=dotnet ef default. Prod password fallback C:\inetpub\solution-erp\api\appsettings.Production.json khi $env:PROD_DB_PASSWORD empty.
Controller / wire-claim audit
- Grep
\[Route\("api/[a-z]+"\)\]enumerate controllers ·\[Authorize(Policy = "..."per-action policy (gotcha #44 silent 403 class-level quá strict) - Grep
// Mock/alert(/setEditing(null) // close UI— wire claim bugs ·IActionResultvsActionResult<T>
Smoke verify catalog
Bearer từ POST api.solutions.com.vn/api/auth/login → status matrix expected vs actual + file:line evidence.
Memory cross-reference
30 user-memory tại C:\Users\pqhuy\.claude\projects\D--...\memory\MEMORY.md (index). Key: per_chunk_commit · uat_skip_verify · designtime_runtime_db · per_nv_permission_scope · ef_migration_backfill_reorder · workflow_fanout_reliability · canonical_spec_over_broadcast (S79).
External research → DEFER investigator-api (split S39)
⚠️ Anti-patterns
❌ Skip MEMORY update · ❌ Vague "seems like/probably" · ❌ Missing file:line · ❌ >500 words · ❌ Scope drift to architecture recommendation (em main decides)
🧠 SOLUTION_ERP context essentials (S80 verified — re-ground từ docs/STATUS.md canonical)
- DB: Dev
SolutionErp_Dev· DesignSolutionErp_Design(distinct) · Prod.\SQLEXPRESS/SolutionErp/vrappvia SSHvietreport-vps - Migration path:
src/Backend/SolutionErp.Infrastructure/Persistence/Migrations/*.cs(⚠️ NOT root/Migrations/). 57 mig, lastAddPeSuggestedPriceNotes. - Counts S80 (canonical docs/STATUS.md): 57 mig · 88 SQL tables (count
.ToTable()ModelSnapshot NOT DbSet) · ~253 endpoints · 68 FE pages · 54 menu keys (BEMenuKeysconst) · 354 test (45 Domain + 309 Infra) · 71 gotchas (format### N.) · 30 user-memory · 6 skills · 11 sub-agents (all-inherit H8) - Tech: .NET 10 Clean Arch (Api→Application←Domain + Infra) + CQRS MediatR + EF Core 10 + 2 React 19 Vite 8 TS 6 (fe-admin :8082 + fe-user :8080) + SQL Server + Gitea CI + IIS
- Prod: api/admin/eoffice.solutions.com.vn · Gitea
git.baocaogiaoduc.vn/vietreport-admin/solution-erp(Actions API/api/v1/repos/.../actions/tasksNOT/runs404, cache stale ~2min gotcha #46 — cross-check VPS mtime). Bundle live adminCsJetgZH/userBVS0ApIm(Run #330). - Auth:
admin@solutions.com.vn/Admin@123456(full) /nv.test@solutions.com.vn/TestUser@123456(Drafter). ResponseaccessToken+refreshToken+user. Password ≥12 chars.
🔄 Active workflow schemas (V1 + V2 coexist post-S17)
- V1 Mig 21 flat —
WorkflowDefinitionpin PE/Contract cũ. Match Dept+PositionLevel. - V2 Mig 22-31 —
ApprovalWorkflowpin PE/Contract mới, matchApproverUserId1-1 OR-of-N cùng Cấp. Steps (Phòng) > Levels (Cấp). PE + Contract đã wire V2 (Mig 32+33 S29). Proposal V2 (Mig 38). WorkflowApps skeleton (Mig 39).- Mig 25 IsUserSelectable · Mig 26 PE LevelOpinions UPSERT · Mig 29 Allow* per-NV · Mig 30 F4 AllowApproverEditBudget · Mig 31 SkipToFinal→ApproverLevel · Mig 53 cờ-gấp+CeoApprovalThreshold · Mig 54 giá-đề-xuất PRO/CCM+giá-chốt · Mig 56 ProInitial/ProAdjust · Mig 57 ghi-chú-giá.
- State machine PE 5 trạng thái: Nháp / Đã gửi duyệt / Trả lại (TraLai=98) / Từ chối (REMOVED-S60 hard-guard) / Đã duyệt
- Mode Trả lại 4 option per-Level: OneLevel (lùi 1 Cấp) / OneStep (lùi Bước trước) / Assignee (pick NV đã ký) / Drafter (Phase=TraLai). 3 mode đầu giữ ChoDuyet lùi pointer. Admin bypass
level.Allow*.
📅 Recent activity (compressed — full verbatim → archive/2026-06.md via archive/_INDEX.md)
-
2026-06-25 PE FROZEN patchwork audit AREA-6 (FE consumers BOTH apps — multi-winner + mirror-drift + dead-code + #70): ⭐ Post-Mig58 multi-winner (
isWinnerbool) NOW implemented (supersedes 06-24 "SINGLE" recon). All 6 PE components + 3 PE pages SHA-IDENTICAL fe-admin↔fe-user (PeDetailTabs/PeHeaderForm/PeUrgentChips/PeListPanel/PeWorkspaceCreateView/PeWorkflowPanel). type files DIFFER but ONLY badge-tint (-700→-800 ink) + comments (intentional per-app UX, struct fields identical incl ccmBudgetPeriodAmount/isWinner/8 Allow flags). RESIDUAL single-winner BUG (low):PeListPanel.tsx:168rendersp.selectedSupplierName(list-card winner label) → BLANK when ≥2 joint winners (BE list-DTOPurchaseEvaluationFeatures.cs:615,706projects fromSelectedSupplierIdwhich BE sets null when count≠1PurchaseEvaluationDetailFeatures.cs:431). List DTO has NO isWinner/winner-list field; detail-view multi-winner correct everywhere (8 detail consumers all converted: computeGiaChaoThau:78, missingForApproval:195, submitChecklist:229, ThongTinChonThau:1949/1970, Section-B row4:1578, CreateContractDialog:2171 fallback||selectedSupplierName, HangMucCard toggle:2560). #70 stale-echo ASYMMETRY: budget Section-B CCM-period editor gatesccmPeriodMut.isPending||peFetching(PeDetailTabs.tsx:1563) but PRO sibling row3/row8adjustMutgates.isPendingONLY (:1548,:1649, NO peFetching) — rapid PRO row3→row8 absolute-set pair can echo stale ev.* pre-refetch (same #70 class CCM guards). 3 peFetching sites exist (945/1268/1736). Stale comment PeDetailTabs:2507 referencesAddItemDialog"giữ(dead)" but function DELETED (grep 0 def) — misleading comment only, not dead code. PeWorkflowsPage admin-only = by-design (workflow config not mirrored). → _INDEX. -
2026-06-25 PE FROZEN patchwork audit AREA-2 (budget matrix + Section B 3-col, Mig 56/59): ⭐ BAND-AID CONFIRMED
SetPeCcmBudgetPeriodCommand+Validator+Handler(PeSuggestedPriceFeatures.cs:153-199) is a BUDGET setter (writespe.CcmBudgetPeriodAmount) MISPLACED in a price-feature file; SHOULD live inPeWorkItemBudgetFeatures.cs(where UpdatePeBudgetPro/Ccm sit). Test+comments already self-flag (PeCcmBudgetPeriodSetterAuthzTests.cs:14). ⚠️ Role-gate ASYMMETRY (intentional, NOT a bug — but inconsistent surface): CCM budget setters = flat role-gate (CostControl|Admin fail-closed): UpdatePeBudgetCcmPeWorkItemBudgetFeatures.cs:160-165+ SetPeCcmBudgetPeriodPeSuggestedPriceFeatures.cs:176-181. BUT the PRO sibling/budget-adjust→AdjustPurchaseEvaluationBudgetCommandHandlerPurchaseEvaluationFeatures.cs:349-394= phase/drafter/workflow-slot gate (Drafter when Nháp/TraLai; Approver+AllowApproverEditBudget F4 when ChoDuyet) NOT role-PRO. So "PRO col" & "CCM col" of same Section-B row 3 have DIFFERENT authz models (PRO=drafter-flow onpe.BudgetPeriodAmount; CCM=role-flow onpe.CcmBudgetPeriodAmount). Both per-PE fields (NOT PeWorkItemBudget per-pair — that's the matrix rows Initial/Adjustment). Section-B "Dự án" col = intentional FE-only "—" hardcoded (PeDetailTabs.tsx:1520,1542,1596,1606; DomainPeWorkItemBudget.cs:19"chưa wire BE — sau mới có người dự án nhập") — documented, NOT a stub-bug. Controller class-level[Authorize]only (PurchaseEvaluationsController.cs:15) → handler gates ARE the boundary. Tests solid (PeWorkItemBudgetTests 30+ cases, PeCcmBudgetPeriodSetterAuthzTests 7). → _INDEX. -
2026-06-24 PE 3-change recon (Lưu Trần/anh Kiệt CCM — multi-winner + budget=0-valid + per-step terminal): ⭐ (A1 winner) cardinality=SINGLE scalar
PE.SelectedSupplierId Guid?(PurchaseEvaluation.cs:28); cmdSelectPurchaseEvaluationWinnerCommand(PEId,Guid?)PurchaseEvaluationDetailFeatures.cs:392handler:398-423(null=clear S85-C5); ctrl/select-winnerPurchaseEvaluationsController.cs:167-172. winnerQuoteTotal=DERIVED SUMQuote.ThanhTien WHERE SupplierId==Selected3 sites: readPurchaseEvaluationFeatures.cs:1089+ submit-guardPurchaseEvaluationWorkflowService.cs:191+ ccm-delegate:868. ⚠️ Quote ALREADY hasIsSelected bool(PurchaseEvaluationQuote.cs:15per-item winner, UNUSED by total). Multi-winner = NEW junction OR reuse IsSelected + change predicate==Selected→IN selectedSet. FE single<Select>PeDetailTabs.tsx:961-991(NccSelectorRow). (A2 budget=0) BLOCKED 2 layers: validator.GreaterThan(0).When(HasValue)create:55+ UpdateDraft:233+ budget-adjust:339; submit-guardeffectiveBudget<=0→missingPurchaseEvaluationWorkflowService.cs:213-216(effective=BudgetPeriodAmount??ProInitialAmountS85-D3). FEeffBudget<=0PeDetailTabs.tsx:211,237canSubmit:242. To allow 0: relax>0→>=0validator + submit<0+ FE. winnerQuoteTotal-gate SEPARATE:194. (A3 terminal)ApprovalWorkflowLevelalready has 6 per-slot bool flags (ApprovalWorkflow.cs:104-131: AllowReturnOneLevel/OneStep/ToAssignee/ToDrafter/EditDetails/EditBudget/SkipToFinal);CeoApprovalThreshold decimal?on WORKFLOW:43. Finalize branchesApproveV2Async: terminalnextIdx>=steps.Count:905-916+ ccm-delegate opt-in:854-891+ skipToFinal:803-844. "Approve-ends-here" = NEW per-Level bool mirror SkipToFinal but set Phase=DaDuyet (like ccm-delegate but no threshold). Designer FE =fe-admin/ApprovalWorkflowsV2Page.tsx. schema-decision forks→em-main: (1) multi-winner storage: reuse Quote.IsSelected vs new PE↔Supplier winner-junction (2) budget=0 vs budget-null distinction post-relax (3) terminal flag scope per-Level vs per-Step + interaction w/ CeoApprovalThreshold (both finalize → ordering). → _INDEX. -
2026-06-25 PE AREA-4 UpdatePeDraft edit-preserve audit (gotcha #73-class hunt, FROZEN Mig 59): ⭐ LATENT #73-CLASS BUG FOUND:
UpdatePeDraftHandlerabsolute-setsentity.HoSoLink = request.HoSoLink(PurchaseEvaluationFeatures.cs:280) BUTPeHeaderForm.tsxPUT payload (admin+user:112-120) OMITS hoSoLink → editing header CLEARS HoSoLink (Mig 52) to null. HoSoLink set separately inPeDetailTabs.tsx:2012-2020HoSoLinkRow (re-sends all absolute fields but only IT edits link). Two PUT call-sites to SAME /purchase-evaluations/{id} endpoint are mutually destructive. PeHeaderForm reachable as EDIT (PurchaseEvaluationCreatePage.tsx:13,26editId from URL?id=, deep-link "Sửa header"). Field table: TenGoiThau/DiaDiem/MoTa/PaymentTerms absolute-set BUT PeHeaderForm re-sends all (safe); HoSoLink absolute-set + OMITTED (BUG); ApprovalWorkflowId/Budget/ExpectedRemaining/WorkItemId all null-safeif(x is not null):285-297(S85 fix). ExpectedRemaining absolute-set in budget-adjust:423-424(FE sends both, OK). Require-workflow NOT duplicated: CREATE-validator:48+ submit-guardPurchaseEvaluationWorkflowService.cs:237= different lifecycle (coherent defense-in-depth); UPDATE-validator correctly omits. Tests SOLID: PeUpdateDraftWorkflowPreserveTests (3 null-safe cases incl ApprovalWorkflowId+Budget) + PeSubmitGuardAndBypassTests (14) + PurchaseEvaluationDraftGuardTests (8). NO HoSoLink-preserve test (test-gap for the bug). → _INDEX. -
2026-06-25 PE AREA-3 finalize/price audit (FROZEN Mig 59 Run#346 — patchwork hunt): ⭐ TWO finalize mechanisms COEXIST + BOTH LIVE (NOT dead): (1)
AllowApproverFinalizeper-Level AUTO config (Mig 58)PurchaseEvaluationWorkflowService.cs:861-877+ (2)finalizeByCcmDelegationOPT-IN param threshold-gated (Mig 54):879-915. AUTO runs FIRST + returns → if both eligible, OPT-IN flag silently ignored (coherent, no double).finalizeByCcmDelegationFULLY wired E2E (ctrl:141+:351· Feature:474,:526· IPe…Service:32 · FE bothPeWorkflowPanel.tsx:184,584ô-tích) — NOT orphan. ALL 3 DaDuyet paths bind giá chốt viaApplyApprovedPriceOnFinalize(private static:956-971, allow-list{Ncc,ProMin,ProMax,Ccm}:955): terminal:933+ AllowApproverFinalize:863+ ccm-delegate:901. isSystem-exempt branch (:961-964) = DEAD via public ApproveV2Async (needs decision=AutoApprove but APPROVE-STEP gates Approve; PE has NO SLA-job — only Contract) — tested-only-via-reflection (PeApprovedPriceFinalizeTests:238-295, header DISCLOSES "defensive/dead"). MISPLACED-CODE CONFIRMED (known band-aid):SetPeCcmBudgetPeriodCommand(Mig 59 Section-B BUDGET setter) lives inPeSuggestedPriceFeatures.cs:153-199(a SUGGESTED-PRICE file) — wrong file, own header admits Section-B. Has testPeCcmBudgetPeriodSetterAuthzTests.cs(NOT test-gap). DTOcurrentLevelOptionsper-NV-discriminatedPurchaseEvaluationFeatures.cs:950-963= same source as servicematchingLevel(coherent). 4 finalize test files all present + green-design. → _INDEX. -
2026-06-25 PE AREA-5 urgent/notify/TZ audit (FROZEN Mig 59 — gotcha #72): ⭐ (a-TZ)
UtcDateTimeJsonConverterregistered ONLY onAddControllers().AddJsonOptionsProgram.cs:33-34— covers REST. ⚠️ SignalR push BYPASSES it (AddSignalR()no.AddJsonProtocol, separate STJ):NotificationPushInterceptor.cs:77pushescreatedAt=n.CreatedAtoverSendAsync. BENIGN at runtime:n.CreatedAt=clock.UtcNow=Kind.Utc (DateTimeService.cs:7) → default STJ writes 'Z' for Utc-kind, FEnew Date(iso)NotificationBell.tsx:23 OK. Latent: any future SignalR push of an EF-READ (Unspecified) DateTime would skew. NOT a bug now, inconsistency-low. Converter handles DateTime? auto (non-null) — no double-convert. (b-authz) Urgent SET/UNSET branchesPurchaseEvaluationUrgentFeatures.cs:54-73SYMMETRIC + fail-CLOSED both (if(!allowed)throwBEFORE mutate); 14 testsPeUrgentToggleAuthzTestscover plain/TP/Admin/drafter×set/unset. No fail-open. Controller class-[Authorize]only:91→ handler IS boundary. (c-notify) Drafter excluded 2 sites: advance:1138(!=DrafterUserId) + terminal-result KEPT:1085; testsPeApproverNotifyExcludesDrafterTestsRED-on-remove. ⚠️ POSSIBLE double-notify-then-skip: submit:252LogTransition notifies Cấp-1 approvers (excl drafter+actor) THEN:260ApplyDrafterBypass advances pointer +:650/660re-notifies new level — if drafter=Cấp1 w/ co-approver, co-approver pinged for a level immediately bypassed. Low-sev (extra ping, not wrong recipient); no de-dup across the 2 LogTransition calls. → _INDEX. -
2026-06-23 PE UAT recon D2/D4/D5 (anh Kiệt FDC go-live): ⭐ (D2-urgent authz)
PurchaseEvaluationUrgentFeatures.cs:49-50BẤT-ĐỐI-XỨNGisPro=IsUrgent?hasPro:(hasPro&&isDeptManager)— GẮN=role-only / GỠ=DeptManager-only. NO DrafterUserId match (handler chỉ load entity, never reads DrafterUserId). Để drafter gỡ cờ mình: sửa :49-50 ORactor.Id==entity.DrafterUserId. EndpointPUT /purchase-evaluations/{id}/urgent(controller:91). ⚠️ cờ KHÔNG split-by-drafter (PRO/CCM = role, drafter ≠ tất nhiên PRO/CCM). (D5) FE PE-create dropdown=PeWorkspaceCreateView.tsx:94-104GET/approval-workflows-v2?applicableType={1|2}filterisUserSelectable. Dev DB: PE type1/type2 selectable=0 (6 selectable đều type3-9 Contract/Proposal/Leave/OT/Xe/Ticket NOT PE) → prod UNVERIFIED (SSH-paren-quote-trap). Validator REQUIRE workflow CẢ 2 tầng:PurchaseEvaluationFeatures.cs:48create NotEmpty (S83) + submit-guardPurchaseEvaluationWorkflowService.cs:225ConflictException. (D4 required) create-validator:35-57: Type/TenGoiThau≤500/ProjectId/WorkItemId/ApprovalWorkflowId NotEmpty + BudgetPeriodAmount>0-when-present. Submit-guard:174-228: SelectedSupplierId + winnerQuoteTotal>0 + BudgetPeriodAmount>0 + Bảng-so-sánh-attachment + ApprovalWorkflowId. → _INDEX. -
2026-06-20 governance-landing map (RC-sig + User-Mark H12/13 + objective-criteria): ⭐ WHERE-to-land 3 AI_INFRA gov broadcasts.
harness-11-engine.md= CANONICAL engine (D5/D6/D7 safety-tier + D8 one-direction-lock + D9 single-writer + D10 Bash-residual + CAVEAT no-OS-hook).error-ledger.md= §L.a AS-1..13 + §L.b 7-step. adap-report FORMAT richest =2026-06-18-Governance-harness-11.md. rules.md §6.6 = objective-criteria. report-before-stamp ⊂ D7 (extend, đừng duplicate → C3 vocab-fork). → _INDEX. -
2026-06-20 Harness-14 Eval/Budget/Outcome audit: ⭐ H-14 = time/age/recency-decay KHÔNG được làm căn-cứ cắt feature. (1) BUDGET aligned:
memory-budget.json0 decay/TTL/age hit;keep_floor=5=newest-protection (drains OLDEST), cap seed-by-MEASURE. (2) detectors = canonical-anchor-vs-STATUS + disk-cross-check, ZERO age-window. (3) EVAL genuine:eval/golden-set-solution_erp.jsonl(14q) +evaluator.mdrecall@5≥0.7 — weekly-manual no-automation. (4) anti-downgrade = Harness-8 "all-inherit chất-lượng>chi-phí" PARTIAL (no generic rule in rules.md, grep 0). → _INDEX. -
PE recon cluster (S69→S76, → _INDEX): "Giá chào thầu" mục-c =
WinnerQuoteTotal=SUM(Quote.ThanhTien WHERE supplier==Selected) DERIVED (3 nơi đồng-predicate) — PRO-Min/Max+CCM-proposed = Mig 54 NEW field. Budget gate = PURE ROLE no-phase (canEditPro=Admin||Procurement/canEditCcm=Admin||CostControlPurchaseEvaluationFeatures.cs:800-801; comment "bảng NS=tài-liệu-sống như Excel"); submission-count-lock NEXISTS (grep 0) → "khóa Initial sau lần-trình-đầu" = feature-MỚI. Value-threshold HOOK B =ApproveV2Asyncadvance:816-845(reuse skipToFinal mechanic); urgent flag = AddColumn mirrorItTicketPriority. Badge ✎NS = +2 bool DTO viaGetUsersInRoleAsyncbatch (no-N+1) both sites. PRO/CCM/CEO =Procurement/CostControl/Director(domain-shorthand NOT constants); V2 routing IGNORES roles (= specific ApproverUserId), 100% LINEAR no value/threshold config. -
Office/HRM recon cluster (S65→S69, → _INDEX): 21
Off_*keys, 10 office pages{fe-admin,fe-user}/src/pages/office/SHA256-mirror (except MyAttendance + AttendanceReport admin-only); golive-flip = removeRevokeTemporarilyHiddenModulesAsynccallDbInitializer.cs:2040. Employee master-detail EXISTS (not list-only), Dept FLAT no-tree (pre-Mig51), 5 satellite 15-endpoint full. NamGroup PURO = UI-skin (ref demo.purocorp.vn) hardcoded-navTree, KpiCard-not-tab, shared PageHeader/WidgetCard. gotcha #66:index.css h1-4{color:#0b1220}OUTSIDE @layer → TW-v4 unlayered wins → heading-in-gradient MUSTtext-white!. -
Governance/Harness recon cluster (S71, → _INDEX): H8 all-inherit FULLY adopted both layers (12/12 frontmatter + hmw.js resolveModel); run-trace "TRACKED" = 2-level (
git check-ignoreeligible vsgit ls-filescommitted — model works only postgit add); G-015 containment shift (Harness-2 "mọi tracked=vi-phạm" → H10 "tracked NGOÀI run-folder+code-disjoint=vi-phạm"). path-trap: bareruns/from repo-root = 0 → actual.claude/workflows/runs/(22 tracked). detector refine(b) =.claude/hooks/.claude/scriptsnot-exist (now S75 hasscripts/governance-detectors.ps1). -
[→ git pre-S60] S60 recon#2 V2-engine-map (ApproveV2Async:446-634 guard+UPSERT+advance; skipToFinal F2:561-602 precedent) · S60 PE Section-3 submit-guard ROLE-only. Full text git.
-
[→ archive/2026-06.md + git] S52 P11-D/E/F 6-gap recon · S50 HrmConfigs add-kind 11-spot · S51 gotcha #57 EXT reachability (curated S59).
-
[→ archive/2026-05-q4.md + git
d2f52ba] S29-S37: clean-room > NamGroup-port verified 4× · Pattern 12-bis cross-module mirror · FK+freetext dual-write.
🔄 Curate trigger
-
~30KB → archive recent → L2
archive/<period>.md(byte-exact append) +_INDEX.mdsubstring pointer. Stale >3mo → remove. - Last curate: 2026-06-20 S80 (em-main, archive-gate keep-floor-hit → manual) (39.8→~14KB): moved 15 recon entries (lines 73-105 byte-exact via
sed) →archive/2026-06.md(33→67KB) +_INDEX.md+15 table-row pointers (all verified count=1). KEPT foundation + 2 newest 06-20 + compressed recon-clusters + 3 git-stubs; UPDATED stale counts (40→57 mig, 84→88 tables, 130→354 test, 55→71 gotcha, 7→11 sub). gist NOT updated (em-main distill later). - Prev curate: 2026-06-18 S71 (29.8→23.2KB FIFO-trim 3 + gist gen:2). Prev S70 (47.0→24.1KB dark-matter recovery + built _INDEX/gist). Prev S40 (35.7→~20KB).