feat(cli): contract & service lifecycle extensions — v2 versioning, remove, add-route/add-handler, inspect --json, --with-client#743
Merged
Conversation
This was referenced Jul 12, 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.
Closes #706. Closes #702 (completes its remaining version-evolution acceptance on top of the merged #716 add-seam).
contract version add <name> --from v1 --to v2: createsversions/v2/, copies/renames symbols, generates the v2 aggregate + root re-export;ContractVersionunion relaxed — proven live in a generated workspace withcontract listshowing both versions and typecheck greencontract remove/service remove [--keep-contract]: real billing add→remove smoke leaves aggregates, appsettings, workspace membership, generated client, and Aspire helpers consistent (generateddeno task checkgreen after removal)contract add-route <contract> <procedure> --method --path+service add-handler: livepingprocedure compiled and consumed through the generated typed clientcontract inspect <name> --json: per-procedure name/method/path/input/outputservice add --with-client(p3): generated client/query lib; fixed a real legacy-path bug (app/lib→ workspace discovery) found by the smokeEvidence (worklog
.llm/runs/feat-706-contract-service-lifecycle--codex/worklog.md): 11 semantic tests + 5 BDD steps green; scoped check/lint overpackages/cli(638 files) 0 findings; live generated-workspace lifecycle smoke end-to-end green; docs:links 96/0; lock unchanged. Built on post-#716/#717 main (6f5484d2).Slice authored by WSL Codex thread
019f54b6-4e03(sol/high) under the beta-9 orchestrator; Tier-A reviewed.