REQ-API-014: Header is the generator input for the Python wrapper; drift is a commit gate¶
What it requires
- [REQ-API-014] Running the generator against the committed header produces byte-identical output to the committed
_bindings.py/_bindings_manifest.py(check returns 0). - Injecting a new ENTROPIC_EXPORT into the parsed header surface without updating the wrapper makes the check return non-zero.
- The Python IntEnums for error codes, hook points, and agent states have exactly the C enumerators with matching values and no Python-only entries. [REQ-PROD-004] -
inv gen-bindings --checkexits 0 against the committed tree (in-tree state is at equilibrium with the generator). - Injecting a syntheticENTROPIC_EXPORTdeclaration into the parsed header changes the generator's output — proving the check would fire, rather than passing vacuously. - The pre-commit hook is wired to the header/wrapper/generator file globs and is never skipped.
- tier
- MISSING
How it is met
Implemented by
check_outputsscripts/gen_bindings.py:906generatescripts/gen_bindings.py:780mainscripts/gen_bindings.py:931parse_enumscripts/gen_bindings.py:313parse_functionsscripts/gen_bindings.py:567parse_structscripts/gen_bindings.py:343render_bindingsscripts/gen_bindings.py:824render_manifestscripts/gen_bindings.py:850write_outputsscripts/gen_bindings.py:895