Atomic fabber = chip fabs making things on ~10 atom scales
3D printing homes is possible now, just a bit niche
And it also contained the text of every other book ever written, of course.
And arguably it was that character’s mother too.
I’m going to have to reread this one soon; it’s such a good story.
Environmental sensing is a little weak in our own devices, but in theory your cell phone could listen to everything you do and (externally) analyze it for things like a bad diet. You'd have to point the camera intentionally at things you're doing for it to capture that information.
Now, no one is going to make a product that shocks people holding it, yet this isn't an impossibility. Failing to login, or having the camera capture the wrong person is using could very easily be designed in to the product. No one is going to do that for fear of lawsuits.
But remember the subtlety of it; the constable didn’t have his face recognized, or log in, he literally made a promise to the book while pretending to talk to the owner. It’s still mostly science fiction :)
One of the hibernation screens for one of my ebook readers reads "Don't Panic", for all the obvious reasons. (Different franchise, similar concept.)