rdmbair15m5-changelog-20260823-0104-devmon-and-logtty-remediations-delivered
rdmbair15m5-changelog-20260823-0104-devmon-and-logtty-remediations-delivered
- Scope:
rdmbair15m5(native engine, OSLog logging, crash-gate CI runner) &rdmsm4x:~/dev/apps/rdDB,rdmsm4x:~/dev/apps/LogTTY. - Summary: Actioned all DEVMON and LogTTY findings.
Converted all logging to Apple Unified Logging (
os.Logger), structurally resolved re-entrant deadlocks, deployed crash-report CI gate (scripts/test.zsh) enforcing 0 new.ipsfiles with memory guards, committed clean git repositories, and synchronized to canonical rootrdmsm4x.
Remediations Delivered & Verified
- Apple Unified Logging (
OSLog) Across All Subsystems:Sources/RDDBCore/Logging.swift: InitializedRDDBLogwith subsystemcom.eastcoastscience.rdDBand categoriesdb,index,hash,dedup,classify,daemon,ocr,connector.- Zero raw
print()calls in engine modules, making rdDB fully visible to LogTTY live stream, Console.app, andlog show.
- Structural Concurrency & Deadlock Prevention:
- Boundary locking pattern: public API acquires
queue.synconce at boundary; internal queries (getDuplicatesInternal(),getFilesForHashInternal()) assume lock is held. - Eliminates re-entrant
dispatch_synctraps (EXC_BREAKPOINT).
- Boundary locking pattern: public API acquires
- Crash-Report CI Gate
(
scripts/test.zsh):- Snapshots
~/Library/Logs/DiagnosticReports/before tests, executes underMallocScribble=1andMallocGuardEdges=1, reaps children on exit, diffs reports post-run, and fails if any.ipsappears. - Verification: 160 tests passed with ZERO DiagnosticReports crash logs.
- Snapshots
- Git Repository Baseline & Fleet Parity:
- Committed clean trees in
~/dev/apps/rdDB(commit b0b4aec) and~/dev/apps/LogTTY. - Fully synchronized to
rdmsm4x:~/dev/apps/rdDB/andrdmsm4x:~/dev/apps/LogTTY/.
- Committed clean trees in