Parent: #335 Depends on: #338, #339, #340, #341, #342, #343, #344, #345, #349 Roadmap: #134
Connect the completed typed cell/root rewriters to zig-gc and expose only a fail-closed stop-the-world compaction entrypoint.
Scope
- Add exact
CellKindrelocation dispatch and the complete Context-root hook toGcBinding. - Define a checked eligibility policy for quiescent heaps; refuse movement across conservative native-stack, active native/JIT, running-thread, concurrent-marker, or unregistered raw-pointer boundaries.
- Keep mixed pinned/movable behavior explicit and deterministic.
- Add end-to-end cyclic/representative graph, stable-handle, identity, accounting, repeated-compaction, and planning-OOM tests.
- Update the relocation inventory/docs only when the executable policy matches them.
Acceptance
- All nine cell kinds dispatch to an exact mutating companion.
- Unsupported/unsafe runtime states fail closed without mutation.
- Successful compaction leaves no stale old-space address in audited roots/edges.
- Focused normal, ReleaseSafe, leak, and TSan checks pass.
- Full GitHub Actions matrix passes before parent closure.