Follow-ups from Argus review on PR #906. These were non-blocking for the rc4 schema update, but should be tracked before the next schema regen that introduces named open-payload classes.
- Extend
scripts/post_generate_fixes.py _set_class_extra_allow to handle compact model_config = ConfigDict(extra=...) forms and add a unit test for compact extra='forbid' -> extra='allow'.
- Harden
_ensure_configdict_import for files without an existing from pydantic import ... line.
- Rework
_open_payload_class_names title-less root fallback so it cannot target the first enum in a multi-class generated file.
- Revisit
tests/test_extra_policy.py::_schema_allows_extra handling of x-adcp-open-payload: false; either leave it unhandled until the spec lands or fail CI if source schemas set it.
- Document the rc4
verify_brand_claim(s) success response change where signed_response is now required.
- Consider stabilizing or documenting
PricingCurrency, which is codegen-derived from an inline schema.
- Improve
SCHEMA_DELTAS.md output for human-readable rc.2 -> rc.4 changes instead of reporting only "No field-shape changes detected."
Source: PR #906 Argus review, submitted 2026-05-30.
Follow-ups from Argus review on PR #906. These were non-blocking for the rc4 schema update, but should be tracked before the next schema regen that introduces named open-payload classes.
scripts/post_generate_fixes.py_set_class_extra_allowto handle compactmodel_config = ConfigDict(extra=...)forms and add a unit test for compactextra='forbid'->extra='allow'._ensure_configdict_importfor files without an existingfrom pydantic import ...line._open_payload_class_namestitle-less root fallback so it cannot target the first enum in a multi-class generated file.tests/test_extra_policy.py::_schema_allows_extrahandling ofx-adcp-open-payload: false; either leave it unhandled until the spec lands or fail CI if source schemas set it.verify_brand_claim(s)success response change wheresigned_responseis now required.PricingCurrency, which is codegen-derived from an inline schema.SCHEMA_DELTAS.mdoutput for human-readable rc.2 -> rc.4 changes instead of reporting only "No field-shape changes detected."Source: PR #906 Argus review, submitted 2026-05-30.