Repository navigation
docs: convert removed shipped surfaces to sunset behaviour in a normal release - #458
Merged
Merged
Conversation
…l release The deprecation policy's matrix told a shipped surface whose upstream endpoint had been removed to keep serving, warn, and be deleted only on a major. That row now reads: convert to the sunset behaviour in a normal release. Upstream's removal is not our breaking change — the endpoint is gone whether or not aimock reflects it, and the only thing in our hands is whether the user finds out in CI or in production. A major protects aimock's own interface; fidelity to upstream is our job, not our interface, so correcting a mock to match reality is not an API break on our part. Tying every upstream removal to a major would also make majors either meaningless or perpetual. And the old row contradicted rule 1 outright: a shipped surface mocking a dead endpoint for success is the exact false-green the policy exists to prevent. Rule 1 now states that it binds shipped surfaces as it binds proposals. Rule 2 makes the sunset conversion the required path for shipped surfaces, not merely a permitted one for new contributions. The asymmetry that survives is narrower and stated as such: still quick to decline and slow to delete, but the route is converted to tell the truth rather than ripped out. The prose on the add-vs-delete asymmetry and the contributor-facing closing paragraph follow. The README section already declined the success path for removed APIs without qualification, which matches the corrected reading; unchanged. Gates (exit codes by redirect, not through a pipe): - npx prettier --check . -> 0 - npx eslint . -> 0 - pnpm typecheck -> 0 - npx vitest run -> 0 (197 files passed / 1 skipped; 6011 tests passed / 46 skipped), including docs-clean-urls.test.ts
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The deprecation policy published in #457 had one row of its matrix wrong. Removed / sunset x surface already shipped read "Keep serving, warn, delete only on a major." That row is replaced:
Return what the real API returns now — the 404/410/rejection — so the surface stays useful for testing shutdown handling instead of lying.
Why the old row was wrong
What else changed
README
Verified, unchanged. It already says aimock "declines to mock the success path of APIs that have actually been removed" without qualification — that is the stricter corrected reading, and it never mentioned majors or keeping shipped success mocks. No conflict. The subtitle
publish-release.ymlextracts is untouched.Notion
https://www.notion.so/copilotkit/3dc3aa38185281e995c8c06d508f8998 updated to match.
Gates (exit codes by redirect, not through a pipe)
npx prettier --check .-> 0npx eslint .-> 0pnpm typecheck-> 0npx vitest run-> 0 (197 files passed / 1 skipped; 6011 tests passed / 46 skipped), includingdocs-clean-urls.test.tsnpx commitlint --from origin/main --to HEAD-> 0🤖 Generated with Claude Code
https://claude.ai/code/session_015QWy4PB5DCVZp6tQt1mw4x