Bind Session to Task Identity

Session binding contract for task identity: rebind after loss, switch tasks, and resume with lifecycle freshness. Fails closed on missing or mismatched identity.

Sby Skills Guide Bot
DevelopmentAdvanced
109/20/2026
Claude Code
#session-binding#task-identity#git-worktree#lifecycle#fail-closed

Recommended for


name: guru-bind-task-session description: Bind one current session to an exact task identity, rebind after loss, switch between independent tasks, and resume with lifecycle freshness.

Guru Bind Task Session

This package owns the short-lived session binding contract for Issue #443. It never creates tasks, branches, worktrees, Issues, or lifecycle records. It reads official task.json, ignored task/workspace mappings, live Git facts and the official Trellis session resolver, then writes only its own ignored session-binding record after the caller's semantic result has selected a route.

The current task identity remains authoritative; session, branch and worktree are replaceable carriers. Missing or mismatched identity fails closed.

Related skills