Skip to content

archive_session

Archive a Polygraph session.

Once archived, no further modifications, new PRs, or status changes can be made to the session. Optionally removes local session worktrees with the clean flag to reclaim disk space. Replaces the former complete_session tool.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID, or a Polygraph app session URL (/s/<session-id> or /orgs/<org-id>/sessions/<session-id>).
cleanbooleannoRemove local session worktrees after archiving the session. Defaults to false.