Skip to content

fix: restore contracts facade source-size compliance - #922

Merged
Brad-Edwards merged 2 commits into
devfrom
SEM-220-contracts-export-facade
Jul 26, 2026
Merged

fix: restore contracts facade source-size compliance#922
Brad-Edwards merged 2 commits into
devfrom
SEM-220-contracts-export-facade

Conversation

@Brad-Edwards

Copy link
Copy Markdown
Collaborator

Summary

  • extract the contracts facade public-name manifest into a dedicated private module
  • reduce contracts/__init__.py from 501 lines to 362 lines without changing its 311 exported names or their order
  • add a facade parity test that rejects duplicate or unresolved exports
  • fix the source-size policy failure observed in the dev to main promotion PR Dev #919 without adding an allowlist exception

Verification

  • canonical nox -s verify graph passed against origin/dev
  • 4,992 unit tests passed; 1 skipped
  • 55 integration tests passed; 2 environment-dependent tests skipped
  • total coverage: 92%
  • Sphinx documentation build passed
  • staged pre-commit gate passed

@Brad-Edwards Brad-Edwards changed the title Refactor contracts facade export manifest fix: restore contracts facade source-size compliance Jul 26, 2026
@Brad-Edwards
Brad-Edwards merged commit 932a447 into dev Jul 26, 2026
12 checks passed
@Brad-Edwards
Brad-Edwards deleted the SEM-220-contracts-export-facade branch July 26, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant