Thanks for the advice, DavDarkelf. Yes, both LeeS and I had tracked down the PECH reference already, though it took me hours of frustrating screen-staring. As you might have read above, I'd been using the Windows 10 search and that had highlighted other occurences of the string but not this one. Weird, but the suggested AgentRansack from LeeS (and probably your own suggestion of Notepad++) seems to resolve the ineffective search problem.
I am basing my first civ off slicelonger's PECH civilization, then researching other mods (and using help that LeeS and Horem have provided) to work through ideas and problems. That's how I've discovered you can't change the palace easily, you can't have a leader create an improvement (they're tied to civs not leaders unlike most other things which can be tied to anything), and that many checks are missing from the original Civ6 code (like Horem having to write a check for the presence of farms). I find myself posting more requests for advice than I expected, but the community has some extremely kind members for whom I'm grateful.
Actually, I suspect that's one of the things that stands me in good stead compared to those who wrote mods in earlier games. I have many advantages. First I'm retired (early), so I can put time in whenever I want. Second I'm an ex-programmer (though it's over 20 years ago and was in things like TAL, COBOL, BASIC, C etc, never XML). Third, and most importantly, is the vibrant and helpful community as mentioned before. I know without you all I'd end up getting nowhere fast.
I'll certainly look into GitHub, thanks for that one. I guess in the end any tools that help are very much to be valued, especially since Firaxis have put out NONE. Disappointing, gentlemen, very disappointing indeed.