The black-haired girl featured in this chapter is an AI from Masaki's grandma.
The sister died. They visited his sister's grave. The grandma is still alive.
"Before we go home" probably referred to his grandma's home.
They do know each other, but live separately. At the end, he returns to his...