Track work in Azure DevOps or GitHub

Point Arcane at Azure DevOps or GitHub with --tracking-mode and --external-provider, so spell-plan records the work item or issue each PRD belongs to.

Documented for v1.24.1 · Checked

Written against v1.14.0; current release is v1.24.1.

Tell Arcane which tracker holds your work, so spell-plan asks for the work item or issue and records it with each PRD.

Prerequisites

  • A git repository with Arcane installed and everything committed. spell update refuses to run over uncommitted changes.
  • A project in Azure DevOps, or the repository on GitHub. For Azure DevOps, the Azure CLI (az) signed in: the planning spell uses it to read the project and its work items.

Steps

  1. Record the tracker. In a repository that already runs Arcane, answer the tracking question with flags; use ado for Azure DevOps or github for GitHub.

    spell update --tracking-mode external --external-provider github
    
    Recorded from flags:
        tracking_mode: "external"
        external_provider: "github"
    

    A flag answers the question only while it has no answer: if .arcane.json already records a tracking mode, edit it there instead. In a new repository, pass the same flags to spell init, for example spell init --profile full --tracking-mode external --external-provider ado.

  2. Commit the change to .arcane.json.

    git add .arcane.json
    git commit -m "Track work in GitHub"
    
  3. Plan your next feature in your AI client.

    /spell-plan
    

    With Azure DevOps it requires the work item id, records it as adoWorkItemId in the PRD's tracking block, and names the folder after it, as in features/133-<slug>/PRD.md. With GitHub an issue number is optional, recorded as githubIssueId when you give one.

Verify it worked

The tracker is recorded in .arcane.json.

grep -E '"(tracking_mode|external_provider)"' .arcane.json
  "tracking_mode": "external",
  "external_provider": "github"

After step 3, the new PRD's tracking block carries the work item id or issue number you gave.

Was this page helpful?

Your answer

Please don't include personal information.