--- model: gpt-5.6-sol provider: openai service: opencode timestamp: 2026-07-27T21:59:06Z git_ref: 689df816 diff_cmd: git diff HEAD~1..HEAD --- > `git diff HEAD~1..HEAD -- tests/conftest.py tests/test_shm_cleanup.py .claude/skills/run-tests/test-harness-reference.md` Added function-scoped SHM ownership tracking around Tractor's test-process factory. The fixture records only successful creators, removes ownership records during normal Tractor teardown, verifies POSIX object identity before fallback unlink, restores the token-cache baseline, and fails after cleaning any leak. Regressions reproduce allocation failure before actor lifetime registration and prove external attachments remain untouched. Verification generated with the patch: - SHM cleanup regressions: 2 passed - combined SHM, NativeDB, and history set: 25 passed - Ruff: passed - `git diff --check`: passed - final adversarial review: no findings