There would be no attendant - what for, you can't walk inside of one anyway. Those are sit-only capsules. You probably can't exit your seat at all.
When it comes to emergency response, the default scenario is to reach the destination if mechanically possible. The whole system is designed to complete the journey of all capsules enroute with no external power and no sunlight - there's a lot of power-smoothing batteries at the accelerator sites. They have enough power not only for propulsion, but also to run all of the other systems, possibly for hours. If there was a local blackout, the stations would likely stay up as if nothing happened, the capsule traffic would merely be halted if there was no sunlight.
If further traver is not mechanically possible (many reasons here), the solution is to (mechanically) brake and crawl to the nearest station or emergency access point. There will be small electric motors and wheels to push you along at a modest pace (say 60mph?). The tube repressurization is a passive thing, so not a big concern - if a capsule signals that the onboard life support is down and the backups are down as well, a bunch of valves open and that's the end of it. Probably the repressurization could also be used as a stand-in for mechanical braking; the air-induced drag would surely stop the capsule rather quickly. A failure of the compressor would do the same thing although probably too slowly, there's storage for gas bearing air such that whatever braking mode is used, the gas bearings wouldn't run dry, so to speak. I'm sure the system would be engineered to behave. That's what engineering is for.
The whole "trapped passengers" issue is I'd think a bit overblown. The major active systems in a capsule are mostly not unlike those on a locomotive and on an airplane: a compressor, an electric motor, control and power electronics, a battery bank. Propulsion is external - the capsule merely has an aluminum stator sticking out from it. Due to low drag, the capsule is coasting without propulsion for 98% of the length of the route. For it to keep coasting, the compressor needs to keep on spinning, and you must have no leaks in the water coolant loops. They're not sure yet to what extent the active tilt control would be used.
The idea is nifty, and it's sorely needed. I think that if nobody else in the western world would pick it up, we'll end up seeing it somewhere in Asia. I'd like to be among the first passengers once it's open to the public :)