Skip to content

Declare domain operation exports - #810

Merged
morluto merged 1 commit into
mainfrom
agent/declare-domain-operation-exports
Aug 8, 2026
Merged

Declare domain operation exports#810
morluto merged 1 commit into
mainfrom
agent/declare-domain-operation-exports

Conversation

@morluto

@morluto morluto commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Fixes #734.

Nine domain operation modules were function libraries with implicit public surfaces. This adds sorted __all__ manifests for their defined functions and PolynomialOutputBudgetError, excluding imported models and backend types.

A structural unit test verifies each manifest exactly matches the module-defined public symbols, preventing additions or removals from silently drifting. The seven existing bundle-only operation modules already have their own exports and are intentionally outside this test.

Validation:

  • make test-unit TESTS=tests/unit/domains/test_operation_exports.py
  • make lint-full

The repository test plan selected suite fallback because the operation modules are transitively imported; this change is export metadata plus the focused structural regression test only.

@morluto
morluto marked this pull request as ready for review August 8, 2026 04:32
@cursor

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@morluto
morluto merged commit 2d4195b into main Aug 8, 2026
35 checks passed
@morluto
morluto deleted the agent/declare-domain-operation-exports branch August 8, 2026 04:32
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.

[Tech debt]: Add explicit __all__ exports to domain operations modules

1 participant