Remove limiting onItemCreated checks
https://github.com/DFHack/dfhack/blob/develop/library/modules/EventManager.cpp#L573 If a user wants to only catch items that were created that moment and not incoming items, then they should just do that checklist themselves. The current code prevents a lot of potential uses for onItemCreated like correcting NPC items when they don't conform to certain mod behaviours.
I take it these are the checks you're referring to?
The branch name (develop) in the URL points to the most recent commit on that branch, which can change easily. You can press y to get a permalink to a specific commit. https://docs.github.com/en/repositories/working-with-files/using-files/getting-permanent-links-to-files