Fleet changelogs · dev.ecs0.net
rdmbair15m5-changelog-20260823-0104-devmon-and-logtty-remediations-delivered

rdmbair15m5-changelog-20260823-0104-devmon-and-logtty-remediations-delivered

Remediations Delivered & Verified

  1. Apple Unified Logging (OSLog) Across All Subsystems:
    • Sources/RDDBCore/Logging.swift: Initialized RDDBLog with subsystem com.eastcoastscience.rdDB and categories db, index, hash, dedup, classify, daemon, ocr, connector.
    • Zero raw print() calls in engine modules, making rdDB fully visible to LogTTY live stream, Console.app, and log show.
  2. Structural Concurrency & Deadlock Prevention:
    • Boundary locking pattern: public API acquires queue.sync once at boundary; internal queries (getDuplicatesInternal(), getFilesForHashInternal()) assume lock is held.
    • Eliminates re-entrant dispatch_sync traps (EXC_BREAKPOINT).
  3. Crash-Report CI Gate (scripts/test.zsh):
    • Snapshots ~/Library/Logs/DiagnosticReports/ before tests, executes under MallocScribble=1 and MallocGuardEdges=1, reaps children on exit, diffs reports post-run, and fails if any .ips appears.
    • Verification: 160 tests passed with ZERO DiagnosticReports crash logs.
  4. 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/ and rdmsm4x:~/dev/apps/LogTTY/.