Skip to content

test(manager): enforce normalized state snapshots - #39

Merged
kauandotnet merged 1 commit into
mainfrom
codex/document-runtime-snapshot-contract
Aug 30, 2026
Merged

test(manager): enforce normalized state snapshots#39
kauandotnet merged 1 commit into
mainfrom
codex/document-runtime-snapshot-contract

Conversation

@kauandotnet

Copy link
Copy Markdown
Contributor

Summary

  • document McpRuntimeStateSnapshot as a normalized immutable projection
  • specify that optional fields are absent instead of explicitly undefined
  • assert manager-produced states and nested capabilities remain frozen

Validation

  • pnpm --filter @nestm/mcp-manager typecheck
  • pnpm --filter @nestm/mcp-manager test -- runtime-manager.test.ts

@kauandotnet kauandotnet self-assigned this Aug 30, 2026
@kauandotnet
kauandotnet merged commit 34a15fc into main Aug 30, 2026
5 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.

1 participant