ADR: Azure DevOps backend #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #23.
Goal
Record the design of the Azure DevOps backend as
docs/decisions/0017-azure-devops-backend.md. No code changes.Decisions to record (from #23, comment 418)
dev.azure.com. No issues (work items come from a tracker over MCP, ADR 0006), no CI, no end-to-end tests.base_url(https://dev.azure.com/<org>).-repois<project>/<repo>, soforge.RepoandParseRepo(internal/forge/forge.go:72, :82) stay unchanged:Ownerholds the Azure project,Namethe repository. Names with charactersrepoPartdoes not allow ([A-Za-z0-9_.-], e.g. spaces) are unsupported for now.FACTORY_FORGE_TOKENholds the already encoded credential (printf ':%s' "$PAT" | base64, done once on the host).GitAuthorization(token)returns"Basic " + token, and the API client sends the same header. The factory encodes nothing, so a proxy can swap a placeholder (ADR 0013).GetIssue,ListIssuesandSetLabelsreturn a clear error: not supported on Azure DevOps, use a tracker.CommentOnIssueon a pull request number creates a pull request thread.forgetestgets a capability that skips the issue tests for backends without issues."reviews": "interactive". In interactive sessions the agent proposes comments and posts only those the person approves. Enforced inforge.WithPolicy.Done criteria