OK: 22 scripted native frames; all state assertions pass
Frame 00: Empty containers; Reset: empty containers; capacity preserved
Frame 01: Identical arrivals; Loaded identical arrivals: 1, 2, 3
Frame 02: LIFO removes 3; pop -> 3
Frame 03: FIFO removes 1; dequeue -> 1
Frame 04: LIFO removes 2; pop -> 2
Frame 05: FIFO removes 2; dequeue -> 2
Frame 06: LIFO removes 1; pop -> 1
Frame 07: FIFO removes 3; dequeue -> 3
Frame 08: Empty pop returns nil; pop -> empty (nil)
Frame 09: Empty dequeue returns nil; dequeue -> empty (nil)
Frame 10: Reset clears trace and input; Reset: empty containers; capacity preserved
Frame 11: Capacity is now three; capacity -> 3
Frame 12: Push 1; push 1 -> accepted
Frame 13: Push 2; push 2 -> accepted
Frame 14: Push 3 fills the stack; push 3 -> accepted
Frame 15: Reject push without consuming 4; push rejected: full
Frame 16: Remove 3 to make room; pop -> 3
Frame 17: Retry successfully inserts 4; push 4 -> accepted
Frame 18: Queue can independently accept 5; enqueue 5 -> accepted
Frame 19: Change capacity without losing items; capacity -> 6
Frame 20: Load replaces contents and records it; Loaded identical arrivals: 1, 2, 3
Frame 21: Reset preserves capacity and clears progress; Reset: empty containers; capacity preserved
