You should bend them and the length should be equal to development length of a hook. Below is the concept:
Normally, the width of wall should be kept enough wide that you are able to achieve the ldh length and from the face of the wall you need to extend the rebar a distance of ld. You can find the values of Ldh also called development length of hooked bar and ld - development length of straight bar in your Russian code. For US Code, you can use this link:
https://structuralcalc.com/rebar-development-length-calculator-to-aci-318/
If you extend your wall bars a distance of Ld from the face of the wall, you need to just place the slab/ beam bars to the end as your wall reinforcement which is bent will take of of flexural moment at end of slab. No need to connect or anything.. Just extend your slab bar to the end of wall horizontally using a straight bar.
This can also be correct because in houses the loads are small and if you aren't in seismic zone, and the design is over-reinforced the development lengths can be reduced. Also, not bending the wall reinforcement into slab means that your slab will have more positive moment. Nothing is wrong with this approach.