Skip to content

feat: expose plans and masking on the client facade, bump to 0.9.0 - #27

Merged
AminChirazi merged 1 commit into
mainfrom
feat/facade-and-0.9.0
Jul 28, 2026
Merged

feat: expose plans and masking on the client facade, bump to 0.9.0#27
AminChirazi merged 1 commit into
mainfrom
feat/facade-and-0.9.0

Conversation

@AminChirazi

Copy link
Copy Markdown
Collaborator

Recovers work that was orphaned when #26 merged. That PR landed the plans and masking_policies route clients; this commit was pushed to the branch a few minutes after the merge, so it never reached main.

Version 0.8.1 → 0.9.0

A minor bump rather than a patch: this adds surface, it does not fix anything.

It also completes #26, which had a real gap

Every other resource is reachable both ways - client.sets.get_sets() and client.get_sets() - but #26 wired plans and masking as properties only.

Two consequences, and the second is the one that matters:

  1. They read differently from every other resource.
  2. artifacts/autocomplete-types.ts is generated from the facade, so they were invisible to the editor autocomplete that ships to users. The artifact goes from 89 methods to 98 once the facade methods exist.

So the resources were in the package but absent from the surface users actually discover them through.

The artifact is regenerated here, not in a follow-up push

That is the hygiene #25 established: the artifact is committed so consumers can fetch it at a tagged ref, and a tag cut at the version-bump commit permanently carries whatever artifact was in the tree at that moment. Leaving it to a follow-up is exactly how the v0.8.0 tag ended up carrying the 0.8.0 method set stamped 0.7.0.

Verification

  • 69 tests pass, 24 skipped.
  • Facade methods resolve on a constructed client.
  • ruff check --select F,E9 reports 7 findings across the package, identical to main - all pre-existing.

After merge, 0.9.0 reaches PyPI via a GitHub release, and the runner's version floor needs bumping separately.

Version 0.8.1 -> 0.9.0. A minor bump rather than a patch: this adds surface,
it does not fix anything.

Also completes the previous commit, which had a real gap. Every other resource
is reachable BOTH as `client.sets.get_sets()` and as `client.get_sets()`, but
plans and masking policies were only wired as properties. Two consequences:
they read differently from every other resource, and - the part that actually
matters - `artifacts/autocomplete-types.ts` is generated from the facade, so
they were invisible to the editor autocomplete that ships to users. The
artifact went from 89 methods to 98 once the facade methods existed.

The artifact is regenerated here rather than left to a follow-up push, which
is the hygiene #25 established: it is committed so consumers can fetch it at a
tagged ref, and a tag cut at the bump commit permanently carries whatever
artifact was in the tree at that moment.

69 tests pass, 24 skipped. `ruff check --select F,E9` reports 7 findings across
the package, identical to the count on main - all pre-existing, none from this
change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 28, 2026 08:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@AminChirazi
AminChirazi merged commit e5fb5b7 into main Jul 28, 2026
6 checks passed
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.

2 participants