Runtime file tracing
LD_PRELOAD loads the interceptor into every test process and its children, so forked work stays attributed. The test runner sets a scope per test file through an external API. The hot path only appends a record, and all indexing happens later, outside the syscall.