Skip to main content
/pm:tracker makes PM aware of an external issue tracker. Once configured, PM shapes the sync instructions in your CLAUDE.md rules block — telling your Claude Code agent which epics need issues created and when to transition them. The engine itself never calls the tracker; your agent does, using whatever tooling you have (an MCP server, the GitHub CLI, a REST client).

Detection

PM detects tracker signals before asking — but it is careful not to over-infer. Hosting a repo on GitHub, GitLab, or Bitbucket is NOT a signal. The mere presence of a remote does not mean your team manages work in that platform’s issue tracker. PM treats the following as real signals that a tracker is in active use:
  • A connected issue-tracker MCP that is in use — mcp__jira__*, mcp__linear__*, a GitHub Issues/Projects tool, or similar.
  • Real issue-key conventions in commit or branch history — for example, PROJ-123 or #42.
  • An explicit statement in CLAUDE.md or README that “we track work in <X>”.
When a signal is found, PM offers the connection as a choice — it never assumes. Saying no changes nothing about local tracking; the conductor still records every epic, status, priority, and story in .conductor/state.json and PROJECT.md.

Configuring a tracker

Use the set-tracker subcommand to record or update tracker settings for the repo:
Re-running set-tracker merges — only the flags you pass change. The CLAUDE.md rules block is refreshed automatically.

statusIntent mapping

--intent maps PM’s lifecycle statuses to semantic goals, not literal workflow-transition names. Your agent resolves the actual transition using its own tooling at sync time. For example, active:in-progress means “when an epic is active, move its linked issue toward an in-progress state” — PM does not care whether your Jira board calls that transition “Start Progress” or “Begin”. A fully configured tracker block in state.json looks like this:

Direction decides what PM emits — not the vendor

Behavior change in 0.27.0. Direction used to be inferred from the tracker’s vendor: github-issues was hardcoded inward-only and every other system got the outward mirror. It is now an explicit direction recorded on the tracker entry, and that value is what every emitter reads.A new primary tracker registered without --direction now defaults to inward, whatever the vendor. set-tracker --system jira --project PROJ produced the outward mirror in 0.26.0 and produces the inward pull in 0.27.0. Outward creation of issues in someone else’s tracker is the consequential default and has to be chosen, not inherited. The whole remedy is one line:
Existing repos are unaffected. /pm:upgrade stamps each tracker with the direction it already behaves with — github-issues primary to inward, any other primary to outward, every secondary to inward — and an explicitly set value is never overwritten.
A secondary tracker is pinned to inward — it is pull-only by definition, so --role secondary --direction outward is refused. An unrecognized value exits non-zero and writes nothing. A tracker with no recorded direction keeps the behavior its vendor produced before direction existed, whether or not the repo has been through /pm:upgrade. Direction alone does not turn a section on: an inward section is emitted only when the tracker also names a scope to read — a repo for github-issues, a repo or --project for anything else. A tracker naming no scope gets no inward section, because PM may not emit a command line with an unfilled placeholder.

Outward mirroring

Where direction includes outward, the CLAUDE.md rules block instructs your agent to:
  1. Create an issue for any epic that lacks an externalId, then record the returned key:
  2. Transition the issue toward the statusIntent target each time the epic’s status changes — resolving the real workflow transition with your own tooling.
  3. Link child epics to a parent tracker epic when a hierarchy is involved.

Inward pull, worked through on GitHub Issues

Any tracker whose direction includes inward pulls open items in as new untriaged epics during /pm:sync — the same pattern PM uses to auto-register OpenSpec changes found on disk. github-issues is not special here; it is simply the one system whose CLI PM can name concretely, so it makes the clearest example. Every other system receives the same steps phrased as “list open items in <system> (<scope>) with your own tooling”.
During /pm:sync, your agent:
  1. Lists open issues with gh issue list --repo <repo> --state open --json number,title,url,labels.
  2. Checks whether an epic already carries that item’s externalUrl — if so, skips it. externalUrl is globally unique; a bare externalId is only unique within one tracker/repo.
  3. Registers each new issue as an epic, using the recipe the rules block emits — which runs as written:
    If the issue carries a P0/P1/P2/P3 label, use that label’s priority instead of the P2 default.
  4. add-epic itself rejects a duplicate (exits non-zero, writes nothing) as a second line of defense against a stale local view producing one.
Three things about that recipe are deliberate:
  • --id is derived, not invented<system>-<scope>-<number>, so the same item yields the same epic id in every repo and every session, and a re-run is refused as a duplicate rather than landing under a slug the agent made up from the title. Back when the emitted recipe omitted the required --id, two sessions hit exactly that failure the same afternoon.
  • <lane> comes from lane routing (suggest-lane "<issue-title>"), never a hardcoded claude-code. The lane decides whether the work leaves any spec, plan, or gate record — hardcoding it decided that silently for every mirrored item. Override where routing is wrong and record why with update-epic <id> --notes "...".
  • --external-updated-at carries the item’s own updated timestamp, so a freshly mirrored epic starts with a freshness watermark instead of immediately polluting the “never re-read” count.

Primary + secondary trackers

A repo has exactly one primary tracker — everything above — plus, optionally, one or more secondary trackers. Secondary trackers cover a different case: your real dev tracker is Jira, but you also want to watch a GitHub repo for inbound issues, for example from outside contributors, or from another internal repo publishing cross-project notifications (a service filing a GitHub issue in a downstream repo to flag a breaking change). A secondary tracker gets exactly two behaviors:
  1. Inward pull — open issues become untriaged epics, the same shape as the inward pull above, deduped by externalUrl (globally unique) rather than bare externalId (only unique within one tracker/repo — two secondary trackers can each have an issue numbered #42 without colliding).
  2. Completion status writeback — when an epic sourced from a secondary tracker reaches archived, your agent closes the linked issue there too.
A secondary tracker never gets outward-created issues. That direction stays exclusive to the primary tracker.
Identify a secondary entry the same way you’d identify the primary tracker — --system plus --repo or --project. Re-running set-tracker --role secondary with a matching system + repo/project merges into the existing entry instead of adding a duplicate. --remove against a key with no match exits non-zero and changes nothing. Once configured, the CLAUDE.md rules block gains one “Secondary tracker sync” section per entry, in addition to — never instead of — the primary tracker’s own section.

Resyncing after completion

Where at least one configured tracker has an emittable inward procedure — its direction includes inward and it names a scope to read — the rules block also gains a “Sync after completing tracker-linked work” section: after your agent closes or transitions a tracker-linked issue as part of completing an epic, it re-syncs with your tracker(s) (/pm:sync) right away, since it’s already doing tracker I/O for that epic. The instruction is phrased tracker-count-agnostic — “re-sync with your tracker(s)” — so it reads correctly whether a repo has one tracker configured or several. The session briefing mirrors this with a one-line, non-blocking nudge on the same condition. This is only ever a reminder; PM never runs a sync itself, and there’s no lastSyncedAt tracking behind it — just a prompt for your agent to decide whether it’s worth the round trip.
Changed in 0.27.0. Both used to fire more widely — the reminder appeared in every rules block that had a tracker at all, citing “the writeback steps above” that the same block never emitted, and the briefing’s nudge appeared whenever any tracker existed. An outward-only repo now gets neither.

Freshness and the refresh gate

A tracker-linked epic carries externalUpdatedAt — the tracker’s own updated timestamp as of the last time your agent actually read that item. Seeing it in a list response is not reading it: advancing the watermark from a listing erases the drift the watermark exists to find. Before an epic becomes the active piece of work, its source of truth gets re-read and the obligation is cleared with:
The gate keys on provenance — does this epic have an external origin — never on direction. An issue filed by a third party and an epic born from a local spec have different sources of truth in the same repo on the same day. An epic with no externalId re-reads its local source (its plan, or its proposal plus tasks) and record-tracker-refresh refuses it by name.

TRACKER SYNC briefing line

In the session briefing, the TRACKER SYNC line lists only epics with an active status that still lack an externalId. PM never fabricates transition state — it cannot see the tracker’s current workflow position and will not guess at it.
Tracker awareness is additive. The conductor always tracks everything locally. A tracker only adds an external mirror — saying no to a tracker prompt changes nothing about local tracking, issue counts, or epic statuses.