Repository navigation
refactor: remove obsolete alpha compatibility paths - #1725
Merged
Merged
Conversation
JAORMX
marked this pull request as ready for review
September 21, 2026 19:54
rdimitrov
approved these changes
Sep 22, 2026
Contributor
Author
|
Tests:
|
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Use canonical exact-run HTTP control routes and valid compatibility feature inventories in the incoming MCP authorization tests. Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Keep current-only readers and fail-closed validation while returning JSONL, Redis, and memory storage to their established addresses. No compatibility conversion or automatic data mutation is added. Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
JAORMX
force-pushed
the
cleanup/alpha-compat-cleanup-20260921
branch
from
September 23, 2026 06:43
4a66ca6 to
41ca171
Compare
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
6 of 21 tasks
This was referenced Sep 23, 2026
This was referenced Oct 7, 2026
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.
Summary
Completes the approved alpha compatibility cleanup across protocol, server, storage adapters, clients, TypeScript SDK, generated contracts, API baselines, tests, and living documentation. Obsolete pre-release APIs and specialized lifecycle paths are removed rather than restored.
This is separate from process fix #1720.
What changed
Save; ownership-required composition rejects drivers that cannot provide atomic creation.Session snapshot loading
Snapshots written by the previous current writer remain readable. Snapshot decoding uses standard Go JSON behavior: canonical fields are decoded and validated, unknown fields are ignored, and an omitted optional
token_usageledger decodes to its zero value. Canonical malformed data and invalid session state still fail closed.Real previous-writer fixtures exercise session listing, transcript restore, retry disposition, permanent-failure recovery notice, token accounting, retry, and unchanged on-disk bytes after reads. This is reader compatibility only: the PR adds no migration, conversion, adoption, startup wipe, or automatic rewrite.
Storage scope
The established storage addresses remain unchanged:
sid-v1/sid-v1-<sanitized-id>-<hash>families, with the bounded.session.jsonsnapshot and matching.events.jsonl,.tools.jsonl, family-lock, and inventory paths.mecatl:session:<id>,mecatl:events:<id>,mecatl:events-gen:<id>,mecatl:tools:<id>,mecatl:ledger:<id>,mecatl:session-metadata:*, andmecatl:session-lineage:*families.memory.json,memory.lock, and.memory-*.json.tmppaths.Unrelated artifacts are not scanned, promoted, deleted, or rewritten.
Verification and review evidence
Local verification completed successfully:
task linttask testtask api:checktask docstask site:buildtask ac-trace-stricttask sdk:testgo run ./cmd/mecademogit diff --checkTwo independent security and QA reviews found no findings. Known pre-existing acceptance-plan traces remain report-only and do not fail the gates.
Implementation is complete and ready for review.