REQ-API-014: Header is the generator input for the Python wrapper; drift is a commit gate

← Requirements

What it requires

  1. [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).
  2. Injecting a new ENTROPIC_EXPORT into the parsed header surface without updating the wrapper makes the check return non-zero.
  3. 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 --check exits 0 against the committed tree (in-tree state is at equilibrium with the generator). - Injecting a synthetic ENTROPIC_EXPORT declaration 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

Where it lives

  • scripts9

See it on the map

How it is met

implemented bytestsresultcheck_outputsgeneratemainparse_enumparse_functionsparse_structrender_bindingsrender_manifestwrite_outputs

Show on the map

Implemented by

Flows through it