You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pm contracts omits the new workspace command group, so agents cannot discover snapshot/restore machine-readably #805
pm --help lists workspace ("Manage portable workspace-level SDK primitives") and pm workspace snapshot --help works, but command_summaries has no workspace entry, and commands is empty unless --selected is passed.
Why it matters
pm contracts is the documented capability-discovery path for agents — it is how an agent decides what it is allowed to call without spending tokens on --help sweeps. An agent that enumerates contracts to plan its work concludes that snapshot/restore does not exist, which is exactly the wrong conclusion for the feature whose stated purpose (GH-787) is "cheap reproducible evaluation episodes" for agents.
The asymmetry also makes the omission hard to notice: eval shipping in the same release is present, so a spot check on the release notes looks fine.
Expected
workspace (and its snapshot subcommand actions: create/inspect/list/restore/delete) appears in pm contractscommand_summaries like every other command group, so capability discovery matches the actual CLI surface.
Suggestion
If the contract generator enumerates a static command registry, workspace is presumably registered through a different path than the top-level commands (it has no options of its own, only a subcommand dispatcher — same shape as item, which is listed). A regression test asserting command_summaries covers every name in the top-level program would fail closed on the next such addition.
#456 - Expose SDK runtime action client [merged] #483 - Add agent list windows and contracts summary [merged] #491 - Harden init target safety and package install verification [merged] #753 - feat(sdk): universal context, concurrency, and discovery primitives [merged] #777 - Unify SDK runtime contracts, MCP profiles, resources, and atomic extensions [merged]
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
Activity
coderabbitai commentedon Jul 29, 2026
🔗 Related PRs
#456 - Expose SDK runtime action client [merged]
#483 - Add agent list windows and contracts summary [merged]
#491 - Harden init target safety and package install verification [merged]
#753 - feat(sdk): universal context, concurrency, and discovery primitives [merged]
#777 - Unify SDK runtime contracts, MCP profiles, resources, and atomic extensions [merged]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
unbraind commentedon Jul 29, 2026
Tracked by pm-1jrdri and now active in the broad SDK/CLI context-contract delivery.