Here’s the reality for custom GPTs (the “GPTs” feature inside ChatGPT):
🔹 What a GPT can rememberA custom GPT can have its own “custom instructions” (like a built-in memory note).
You can embed persistent textual knowledge there — e.g.,
“This GPT uses the official Harbour function YAML dataset from https://github.com/EricLendvai/harbour-language-for-ai-training to ensure all code generation references only known functions.”
You can even upload small files (< 20 MB total) as part of the GPT’s knowledge base.
Those files remain stored with that GPT and are reloaded automatically for every session.
It cannot dynamically sync with your GitHub repo unless you re-upload or re-link the ZIP yourself.
It cannot run the validator code or re-parse YAML automatically at runtime (it can only reference pre-uploaded knowledge).
So:
✅ Yes, you could embed your YAML file (or a compacted JSON form of it) in your GPT’s knowledge base — that would make it persist across all sessions and enforce “no invented functions.”
🚫 But it won’t auto-update if you push a new revision to GitHub; you’d need to re-upload the new version to that GPT.