Initialize a Polygraph session for the selected repositories.
Clones session worktrees for the given repository IDs and registers the session with Polygraph. Call list_repos first to obtain valid repo IDs, then pass them as selectedRepoIds. An optional setSessionId overrides the auto-generated ID derived from the current git branch name.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
setSessionId | string | no | Override the auto-generated session ID. Only use this for resuming an existing session or advanced use cases. By default, a unique ID is generated from the local git branch name with a short UUID suffix. |
selectedRepoIds | array | yes | Required list of repo IDs to include in the session. Use list_repos to discover available repos first. |