Skip to content

test: extend public api contract#176

Merged
rlippmann merged 2 commits into
mainfrom
tighten-authority-layer
Jun 25, 2026
Merged

test: extend public api contract#176
rlippmann merged 2 commits into
mainfrom
tighten-authority-layer

Conversation

@rlippmann

@rlippmann rlippmann commented Jun 25, 2026

Copy link
Copy Markdown
Owner

What changed

  • tightened the portable core API contract with explicit export kind metadata, forbidden package-root exports, and minimal deterministic shape probes for selected stable helpers
  • extended the API contract verifier to fail loudly on export-kind drift, forbidden export drift, exact all drift, exact engine public-member drift, and callable signature drift
  • refined the contract so every intended package-root public import is classified intentionally, including type_alias entries for typing-style runtime exports, while keeping deeper engine/controller behavior coverage in the existing behavioral fixture suites

Why

  • make Python-to-TypeScript API contract syncing more exact and auditable
  • catch accidental public-surface drift earlier and with clearer contract failures
  • align the core API harness more closely with the directive-drafter contract style without pulling deeper behavior checks into the API fixture layer

Checklist

  • pre-commit run (uv run pre-commit run --all-files)
  • tests pass (uv run pytest)

@rlippmann
rlippmann merged commit 131af92 into main Jun 25, 2026
14 checks passed
@rlippmann
rlippmann deleted the tighten-authority-layer branch June 25, 2026 05:52
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