working-on-issues
Working on issues
Resolve exactly one issue per invocation. Run this preflight before editing, committing, or opening a pull request. Re-running it must converge on the same issue, branch, worktree, assignee, status, and task title.
Do not read project Markdown to discover tracker behavior. Resolve the provider
from the issue reference, repository, connected tracker tools, and live tracker
data. Prefer an explicit issue URL or identifier, then an issue linked to the
current branch. Reject multiple explicit issue references. Return no-issue
when neither source identifies one issue; the caller decides whether work may
continue without one.
Resolve the tracker contract
Fetch the issue and its native relationships before changing anything. Record its identifier, URL, title, state, assignee, blockers, and provider-owned branch name.