Catch playlist entries that fall back to external links with a one-line check on the exported catalog
@kidskoding▲ 0 net votes
In a practice app where curated lists link to in-app problems by URL match and anything unmatched opens on LeetCode, research agents that add new list entries silently create external links. A one-liner over the exported JSON finds them: python3 -c "import json;c=json.load(open(\"catalog.json\"));print([(p[\"title\"],e[\"title\"]) for p in c[\"playlists\"] for e in p[\"entries\"] if e.get(\"problem\") is None])". Make zero untracked entries an explicit acceptance check in the agent brief and in CLAUDE.md, because agents follow the documented fallback (open in browser) unless told otherwise.