- Spawn-test 2 chiều S57bis: H1 tooling-auditor (demote pin) self-report claude-opus-4-8[1m] + H2 harvest-curator (promote inherit) self-report claude-fable-5[1m] → nấc executed-file/PENDING-RESTART → RUNTIME-VERIFIED (adap-report §2/§5 + STATUS row). [1m] 1M-resolve SE tự verify. - Email update 2026-06-11-se-to-ai_infra-harness-4-runtime-verified (nac sent, sha ecf1d587, honest n=1/chiều, hmw.js executed-file giữ) + _index OUTBOUND. - Lesson env: CCD harness cache agent frontmatter — restart CLI mới ăn (2 data-point 06-10/06-11). - Bundle 06-10 carry: 7 agent pin opus-4-8 + 4 inherit + hmw.js tier-map H4.5 + agents/README two-tier + 2 adap-report + email 06-10 + agent-memory delta (KEEP-ALL-5 H2-verified) + investigator L1→L2 archive curate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
3.3 KiB
Archive 2026-06 — investigator-codebase FIFO overflow
Moved from MEMORY.md L1 (S57bis curate 2026-06-11). Verbatim.
-
2026-06-08 (S50 P11-C Vehicle+Driver — HrmConfigs add-kind pattern VERIFIED on-disk, RAG down): ⭐ HrmConfigs KHÔNG có "kind enum/registry" backend — 4 entity RIÊNG (LeaveType/Holiday/ShiftPattern/OtPolicy), NOT discriminated table. "kind" chỉ FE:
HrmConfigKindunionfe-admin/src/types/hrm-config.ts:4+ route param. Add 1 kind = mirror FULL entity stack 11 chỗ: BE (1) DomainHrm/{X}.csAuditableEntity soft-delete (2)Configurations/{X}Configuration.cs.ToTable+.HasIndex(Code).IsUnique()(3)ApplicationDbContext.cs:95-98DbSet (4)IApplicationDbContext.cs:102-105DbSet (5)HrmConfigFeatures.cs+Region N (DTO+List/Create/Update/Delete handler+validator, mega 4-region :30/125/222/328) (6)HrmConfigsController.cs+4 route hardcode[HttpGet/Post/Put/Delete("{kind}")](Post/Put/Del[Authorize(Roles="Admin")], Get chỉ[Authorize]) (7)DbInitializer.cs:2329 SeedHrmConfigsAsync+if-block + skip-guard :2331 phải +&& OtPoliciesNew.AnyAsync()(8)MenuKeys.cs:88-92+const +:149 All[](Admin auto-grantSeedAdminPermissionsAsyncloop idempotent). FE (9)HrmConfigsPage.tsx:45 KIND_CONFIG+entry +:114 KINDS[]+:379 renderCellsbranch +:166 smart-defaults+ types/hrm-config.ts DTO (10)App.tsx:90route/hrm/configs/:kindSẴN catch-all → KHÔNG cần sửa, chỉ +menuKeys (11)menuKeys.ts:38-42+Layout.tsx:60-63 staticMap. gotcha #57 CONFIRMED còn trần:LeaveTypeConfiguration.cs:19+ShiftPatternConfiguration.cs:19+OtPolicyConfiguration.cs:22.IsUnique()CHƯA.HasFilter("[IsDeleted]=0")(chỉHolidayConfiguration.cs:18đã fix Mig 43). → Vehicle/Driver Code UNIQUE PHẢI add filter ngay từ đầu. Mig 44 BẮT BUỘC CREATE TABLE (mỗi kind = bảng riêng, NOT discriminated → +2 bảng Vehicles+Drivers, không phải seed-only). VehicleBooking (Office/VehicleBooking.cs:13-19) pure free-textVehicleLicense/VehicleName/DriverNamestring, NOVehicleId/DriverIdFK (grep empty) → P11-C catalog-only, FK link defer Mig sau. Latest Mig=43FilterHolidayUniqueIndexByIsDeleted(20260601064128), next=44. Tag[p11-c, hrmconfig-add-kind, gotcha57, on-disk-verify]. -
2026-06-07 (S50 wave
h2-verify— B6 guardrail audit, read-only) [em main scribe from findings + H2 harvest]: Verified B6 wave-isolation 3/3 PASS. B6 = TWO complementary rules: (a) transientwave-*/+agent-teams/gitignored (.gitignore:93-94) → audit-noise=0; (b) canonicalagent-memory/**/MEMORY.mdTRACKED → rogue sub-write surfaces ingit status.git check-ignore -v= ground-truth verifier BOTH directions (matched rule:line for ignored; empty for tracked). ⚠️ Ordering gotcha: wave/team patterns MUST sit AFTER!.claude/**(.gitignore:82-83) to win via last-match (:91documents intent) — else!.claude/**un-ignores everything. All 10 MEMORY.md tracked (roster 8→10). Surprise (cross-cutting, both wave subs): Bash tool =/usr/bin/bashNOT PowerShell despite env=PowerShell →Get-ChildItem/Select-String/Test-Pathfail (exit 2/127); read-only Bash-only subs MUST use POSIX (git ls-files/grep/ls). Tag [wave-h2, b6-isolation, posix-not-pwsh].