Commit tracking
Commit tracking keeps your project's record complete: every commit that reaches your tracking branch is linked to the task it belongs to, so you know exactly what is in a release. When a commit lands without one, such as a quick fix someone pushed without planning it first, DevSpec gives the agent that made it a chance to link it, and if it stays unlinked, opens an incident so the work can't reach a release unnoticed. There's nothing to set up: it works for every GitHub repository connected to a project.
Tagged and untagged commits
A commit is tagged when its message names a task, like this:
Fix the retry banner on slow connections [devspec:<id>]
<id> is the item's ID, in full or its first eight characters, and one commit can name several items. A tagged commit links to its item on any branch and shows up in the item's Linked activity. Linking it costs nothing. The tag stays with the commit's message, so the link survives a rebase or squash that gives the commit a new ID.
A commit is untagged when its message names no item. What happens depends on where it lands:
- On the tracking branch, DevSpec first gives the agent that made the commit a heads-up, and allows a one-hour grace period to link the commit to the right task before opening one Unlinked work incident for it. For an open pull request into the tracking branch, DevSpec tells the contributing agent while it is connected (or opens the incident right away when no connected agent for that contributor is reachable, or once that follow-through expires or is escalated). See Unlinked work incidents. When your tracking branch requires DevSpec's pull-request check on GitHub, commits on an open pull request that have no linked task hold the check before merge instead of slipping onto the tracking branch untagged.
- In a dependency update from Dependabot or Renovate, no task is needed. See Dependency updates need no task.
- On an experiment's branch, the work stays accountable to the experiment and its decisions.
- On any other branch, nothing happens until the work heads for the tracking branch.
Merge commits are skipped: their work is already covered by the commits they bring in.
Dependency updates need no task
A task is for something someone has to do: change your project, or take a step outside it. A routine version bump isn't, and neither is waiting for the right day, so a dependency update doesn't need one:
- A pull request Dependabot or Renovate opened that changes only dependency files (manifests and lockfiles, and version pins in workflow or container files) needs no linked task. DevSpec's check doesn't hold it for one, and it never opens an Unlinked work incident. If it changes anything else, including the bot's own configuration, it's checked like any other change.
- A pull request an agent opens to carry the same update, for example to move it onto your tracking branch, needs no task either once the agent has recorded its review of it, as long as it goes into your tracking branch and changes only the same dependency lines in place, even when that is just the lockfile. A lockfile it regenerates must not bring in a package or source the project didn't already have; if it does, it's checked like any other change.
- An upgrade that only works with a change to your code is real work: the agent creates a task for it and makes the change in its own pull request.
- An upgrade that needs a step outside your code (such as a setting in a supplier's dashboard) gets a task too, and the update waits until that step is done.
- An upgrade that only has to wait for the right day gets no task: a wait isn't work. It's held back until its date, shown as, for example, not before 1 January 2027, and DevSpec brings it back on that day (a calendar day in UTC) so it lands like any other update.
What the agent found when it reviewed the update is kept on the pull request itself: open it and read its Dependency review. See Delivery for how routine updates are reviewed and landed.
Commits your agent makes
When an agent works through the DevSpec plugin for Claude Code, Antigravity or Pi, DevSpec sees each commit the agent makes. It records that agent as the commit's author, and when the agent records its work, DevSpec links the agent's commits to the task. Nobody needs to copy commit IDs.
Full commit tracking (every commit reported to DevSpec and tagged with its task automatically) works on macOS, Linux, and Windows through WSL. On native Windows, without WSL, it depends on the agent:
- Pi: full tracking on native Windows too, through Git Bash.
- Claude Code: full tracking on native Windows once Claude Code's PowerShell tool is turned off, with this entry in its
settings.json:"env": { "CLAUDE_CODE_USE_POWERSHELL_TOOL": "0" }. With the PowerShell tool on, only plain single-line commits made through the Bash tool are caught. - Antigravity: use WSL. On native Windows, only plain single-line commits are caught, in a folder linked to a DevSpec project.
Most DevSpec plugins also add the tag to the agent's commit message, when the plugin recognizes the repository as part of your project and the agent is working on exactly one task. The tag still has to be written into the message, by the agent or by you, when:
- the agent is working on more than one task at once, so the plugin can't tell which one a commit belongs to
- the plugin doesn't recognize the repository as part of your project, or doesn't add tags
- you commit yourself, from your own terminal or editor
Your agent knows this: when its plugin adds the tag, the plugin says so, and otherwise the agent writes the tag itself.
Unlinked work incidents
An Unlinked work incident appears on the Incidents tab of Delivery. It lists the commits or pull request that reached the tracking branch without a task, who made them, and the files they changed. While it's open, it holds production releases, until every commit in it is linked to a task and has cleared its checks.
DevSpec hands the incident to one of your team's agents whose owner has ticked Unlinked commits for it on Agent setup, or, if none is available, checks the commits itself (the card shows Being checked by DevSpec). Either way, the commits are linked to an existing task when they clearly belong to one; when nothing fits, the commits look accidental, or they go against an agreed decision, the incident moves to Needs your decision instead. No new task is made up for the commits.
On the incident's card, Discuss (or Discuss decision) opens a session with the incident's details already in it, so you can talk it through with your agent, Dev or your team. You can also link a commit yourself by naming its task, as described above. Once every commit is linked to a task and has cleared its checks, the incident closes by itself. See Incidents.
Work linked after it lands is checked for conflicts and duplicates too. Without pull-request enforcement on your tracking branch, late-linked work gets one final check when it lands rather than a separate check on every intermediate commit. Linking a commit does not approve a change to someone else's decision. See Review.
Set up commit tracking
There's nothing to switch on. Commit tracking works for every GitHub repository connected to a project, on its tracking branch, from the moment the repository is connected. You don't need a deployment target.
What you control is which branch counts: change the repository's Tracking branch on its card in Project settings → Repositories. See Repositories and GitHub.
DevSpec learns about commits when you push them to GitHub. If the repository card says Pushes aren't arriving, updates may appear late. Use Fix on the repository card to restore normal delivery.
What commit tracking costs
Linking commits is free, and so is checking for commits that landed without a task, including DevSpec's own check of unlinked commits when none of your agents is available. See Billing, usage and limits.