TC
Thaddeus Mwai
LC // DIAGNOSTIC LEDGER & FIELD NOTES

The learning curves ledger

Polished releases only tell half the story. This ledger catalogs the OpenStack lock contentions, HAR contract drifts, and mental model shifts that forged my engineering reflexes.

6 of 6 documented curves
Curve difficulty:
Architecture & SystemsModerate curve
LC // 01·

TCP Socket Backpressure in High-Concurrency Scrapers

Short summary of the bug, challenge, or architectural puzzle

Obstacle encountered

The wall hit: What broke or failed unexpectedly? What was the confusing symptom?

Diagnostic breakthrough

The turning point: What specific mental model shift, RFC, or source code inspection solved it?

DebuggingArchitectureSystems
Read field notes
Concurrency & OS PipesSteep curve
LC // 02·

The Silent Deadlock: Diagnosing Node.js Child Process Buffer Starvation

Why our background runner froze without logging an error, and the IPC pipeline shift that cured it

Obstacle encountered

Long-running automation scripts hung indefinitely when output exceeded 64KB, without emitting errors or rejection signals.

Diagnostic breakthrough

Child processes stream stdout/stderr into internal OS OS pipe buffers (typically 64KB on Linux/macOS). Without explicit async drains, overflowing buffers block the child execution loop.

Node.jsOperating SystemsDebuggingStreams
Read field notes
Browser Rendering & PerformanceModerate curve
LC // 03·

Taming Real-Time Layout Thrashing in Live Telemetry Dashboards

Recovering smooth 60fps rendering under 2,000 WebSocket packets/sec

Obstacle encountered

Our network telemetry viewer dropped from 60fps to under 18fps whenever testing high-throughput network bursts.

Diagnostic breakthrough

Decoupling network ingest from DOM updates using an in-memory ring buffer with `requestAnimationFrame` render throttling.

PerformanceWebSocketsCSSBrowser Internals
Read field notes
Cloud Infrastructure & Wire DebuggingSteep curve
LC // 04·

Hunting Silent Failures Below the UI: OpenStack Stack Lock Contention & Teardown Mismatches

How digging beneath frontend timeouts revealed OpenStack database lock contention and an API argument type mismatch

Obstacle encountered

Automated end-to-end test suites intermittently froze during CloudTemplate stack teardown in staging, throwing generic 60-second browser timeout errors.

Diagnostic breakthrough

Correlating live browser HAR captures with platform OpenStack Heat logs revealed two hidden root causes: simultaneous teardown calls caused stack lock contention, while a payload argument type mismatch silently aborted cleanup.

OpenStackPythonPlaywrightHAR CaptureCloud InfrastructureDebugging
Read field notes
Test Architecture & API GovernanceModerate curve
LC // 05·

Eliminating API Drifts with HAR-Driven Wire Contract Verification

Why we abandoned pure DOM-based assertions and built wire-level HTTP Archive validation for CYBER RANGES

Obstacle encountered

Frontend test suites gave green checkmarks while production API endpoints broke due to payload drift, missing headers, and undocumented schema changes across 50+ client deployments.

Diagnostic breakthrough

Intercepting HTTP traffic at the Playwright browser context layer, saving certified HAR Golden Baselines, and asserting on strict wire contracts rather than fickle DOM nodes.

PlaywrightPythonHAR Wire CaptureAPI TestingArchitectureQA Automation
Read field notes
Access Governance & Technology RiskModerate curve
LC // 06·

The $450K Blindspot: Why We Shifted from Quarterly Audits to Revocation Latency Metrics

How identifying the gap between departure notifications and actual credential deprovisioning closed a major security exposure

Obstacle encountered

Compliance audits reported 100% adherence to access controls, yet offboarded consultants and reassigned team members retained access to sensitive environments for days.

Diagnostic breakthrough

Shifting the primary governance metric from 'did we complete a quarterly review' to 'how many hours elapse between an offboarding event and privilege revocation' exposed quantifiable risk.

Access GovernanceRBACRisk ManagementSecurity OperationsPython
Read field notes