Skip to content

Engineering workflow

This page tells you how maintainers, contributors and agents work together on Agent Landing Zone. Use it to take one feature from an issue to a validated release.

The workflow combines a Kanban board, GitFlow branching and spec-driven development for issues labeled spec-driven, with GitHub Copilot working at each step. Work is pulled from the board when someone has capacity, and releases go out when a set of changes is ready.

The process applies to these repositories:

  • Azure/agent-landing-zone (main repository)
  • Azure/agent-app-mcp
  • Azure/agent-app-ui
  • Azure/agent-app-orchestrator
  • Azure/agent-app-ingestion

All work is tracked in Agent Landing Zone Roadmap.

This workflow was written for the Agent Landing Zone open-source project, but nothing in it is specific to this project. You can reuse it in your own project: copy the issue templates, the issue-triage workflow and the release validation, then change the repository names and the Azure checks.

Overview

The diagram shows the decisions and loops from issue to validated release. Milestones are planning groups, not release gates. The maintainer can release a ready set of changes before a Milestone is complete. The small numbered circles match the steps below.

Agent Landing Zone activity diagram

Roadmap board

Column Meaning Moved by
Triage New issue waiting for triage The Project, when the issue is added
Backlog Triaged and accepted, not started yet Maintainer
In progress Work started, no PR open to develop yet Maintainer, or Roadmap sync when a PR is closed without merge
In Review Linked PR open to develop and under review Roadmap sync
Ready for release Merged, waiting for a Latest release Roadmap sync
Done Shipped in a validated Latest release, or closed The Roadmap Item closed workflow

Roadmap sync is a maintainer automation that runs every hour with a maintainer's GitHub credentials. It recalculates each issue's column from the PRs to develop that link it, so it uses no labels or tracking comments:

  • An open, non-draft linked PR moves the issue to In Review.
  • When all linked PRs are merged, the issue moves to Ready for release.
  • When the Latest release contains all of them, the sync comments with the release link and closes the issue.
  • An issue in In Review or Ready for release without a PR that justifies it goes back to In progress.

It never changes issues in Triage, Backlog or Done without a linked PR, and it never reopens a closed issue. Moving a card by hand is safe. If the PRs say otherwise, the next run corrects it.

Steps

1. Create the issue

Who: Anyone. A person or Copilot can open the issue. Status: Triage.

  1. Go to Issues > New issue in the affected repository.
  2. Select a template.
  3. Write the problem, the expected result and the acceptance criteria. Each criterion must be verifiable by a test or a manual check. For a bug, the expected behavior is the criterion.

If you do not know the repository, use agent-landing-zone. The Project adds the issue and sets the status to Triage.

2. Check the issue

Who: Copilot (issue-triage workflow). Status: Triage.

The issue-triage workflow is centralized in Azure/agent-landing-zone. The component repositories direct issue reports to that repository. Triage runs when an issue is opened or transferred, when its author answers a needs-info question, and when a maintainer manually dispatches the workflow with an issue number.

Outcome on the issue:

  • The issue type is set to Bug, Feature or Task, if it has no type.
  • One Automated triage comment is added. It is a table with the type, affected repositories, possible duplicates, missing information, acceptance criteria (verifiable, not verifiable or missing) and suggested path (direct or spec-driven, with a reason).
  • The triaged label is added. The workflow may also add spec-driven using the criteria below, unless it was previously removed.
  • If information needed to reproduce the problem or understand the requested outcome is missing, the comment asks the requester and adds needs-info. Maintainer-only investigation details do not trigger questions.

To prepare the comment, the agent searches the five repositories for duplicates, identifies the affected repositories and checks the issue for missing information.

Requester reply. When the requester answers in a comment or edits the issue, triage runs again. If the answers are complete, the agent removes needs-info without repeating them in another comment. Otherwise it asks the open questions again. After two rounds of questions, it removes needs-info and a maintainer follows up. Comments from other people do not start triage.

Manual reassessment. For an already triaged issue, the workflow updates the suggested path and its reason in the existing Automated triage comment instead of adding another comment. It preserves the rest of the comment, keeps a present spec-driven label and does not restore one a maintainer removed. If the existing comment cannot be identified or edited, the run fails rather than creating a new one.

The agent does not change the Milestone, the status or the assignee. It does not close the issue. A maintainer can add or remove spec-driven. Triage does not automatically re-add it after a removal.

3. Set the direction

Who: Maintainer. Human approval. Status: Triage to Backlog.

  1. Open Agent Landing Zone Roadmap and filter by Status: Triage.
  2. Read the triage comment.
  3. If you have guidance, write it on the issue now. Start the comment with Maintainer guidance:. Guidance can be a solution idea, a limit or the result of a talk with the requester. The agent reads only what is on GitHub.
  4. Select one result:
Result Action
Accept Add, keep or remove spec-driven to confirm the path. Set the Milestone. Move the issue to Backlog.
Need more information Wait for the requester to answer the triage questions (needs-info). Add your own questions in a comment if needed. Keep the issue in Triage.
Duplicate Close the issue with a link to the original issue.
Not planned Close the issue as not planned. Give a short reason.

Triage applies these criteria:

  • Feature: add spec-driven by default. Skip it only for static content or an existing capability exposed without new product rules or open behavior decisions, when the expected result and any option defaults are specified.
  • Task: do not add spec-driven automatically, even for complex work.
  • Bug: use the bug workflow without spec-driven by default. Add it only when the issue explicitly identifies at least two open behavior decisions needed for the fix, each with two observable alternatives.

Repository, file, PR or parameter counts do not independently determine the path. Triage explains its recommendation, and the current label is the maintainer's final decision. See the triage workflow for the complete criteria.

Do triage two times each week, or more.

4. Plan the work

Who: Copilot or a contributor, and the maintainer. Human approval. Status: Backlog.

Prepare a plan for the work. Use the current spec-driven label to select the path. The maintainer answers questions and approves the spec before implementation, or the short plan in the implementation PR:

Label Path Result
No spec-driven label Issue with acceptance criteria, then a PR. The short plan is at the top of the implementation PR (step 6).
spec-driven Full Spec Kit flow. A spec PR with spec.md, plan.md and tasks.md.

Record a hard-to-reverse architecture decision in an ADR in docs/adr/, regardless of which path the label selects.

Direct path. Record the short plan in the implementation PR. Go to step 5 to assign the work.

Spec-driven path. Spec Kit is central. Use it only in agent-landing-zone, also when the code changes in a component repository. The Spec Kit skills run in this sequence:

  1. speckit-specify: what to build and the acceptance criteria.
  2. speckit-clarify: questions about open points. The maintainer answers them.
  3. speckit-plan: the technical plan and the affected repositories.
  4. speckit-tasks: the tasks, each with its repository.
  5. speckit-analyze: a check that the three files agree.

Ask GitHub Copilot to plan the issue from develop. When it has questions, it writes them as numbered questions and stops. Answer all of them at once. Copilot then completes the plan.

The result is a PR to develop with specs/<number>-<name>/spec.md, plan.md and tasks.md.

Planning can read the affected repositories, where access is available, but writes only the spec in agent-landing-zone. It does not change component code.

Request for Copilot:

Use Spec Kit for this issue. Write spec.md, plan.md and tasks.md in specs/.
Give the repository for each task. Do not change code.
Round 1: run specify and clarify. Write numbered questions in the PR,
with options and a suggestion. Stop until I answer.
Round 2: save my answers in spec.md. Then run plan, tasks and analyze.

Approval. For the spec-driven path, merge the spec PR to develop. For the direct path, approve the implementation PR.

Each plan must have a "Maintainer guidance" section. It tells how the agent used each guidance item, or why it did not. Do not approve the plan until all items have an answer.

ADR (only if necessary). If the plan has a decision that is hard to reverse, ask Copilot to write an ADR in docs/adr/ in the plan PR. Examples are repository boundaries, contracts, identity, data and deployment topology. The maintainer reviews the options and sets the ADR status to Accepted when they approve the plan.

5. Assign the issue

Who: Maintainer. Status: Backlog to In progress.

Move the issue to In progress and assign it to a person or Copilot. When assigning Copilot, use base branch develop.

6. Implement and open the PR

Who: The assigned person or Copilot. Status: In progress to In Review.

The assignee implements the approved scope, updates tests and documentation, and opens a PR to develop. Make the affected repositories available in the working session and use a feature/<name> branch in each repository that changes. One session can coordinate the implementation, but each repository still has its own PR, checks and review. For infrastructure changes, keep Bicep and Terraform aligned.

Bug fixes. The agent-landing-zone repository includes the Spec Kit bug extension. Start the session there and make the affected code repository available. Use the same slug for all three skills:

  1. /speckit-bug-assess: investigate the report and propose a fix without changing source code.
  2. /speckit-bug-fix: implement the reviewed fix. If the issue is spec-driven, approve its plan before implementation.
  3. /speckit-bug-test: repeat the original reproduction and run relevant tests. If the reproduction was not run, report the result as partial.

The skills write their reports under .specify/bugs/<slug>/. Keep the reports together and summarize the diagnosis and verification evidence in the implementation PR rather than posting a separate issue comment for each step.

Maintainer: Make sure that user-facing documentation is updated in AI Landing Zones.

Keep the central issue and spec as the coordination point for multi-repository work. Link every implementation PR to them. Separate sub-issues are optional for tracking and do not require separate Copilot assignments.

Request for Copilot:

Implement this issue from develop.
Plan: <link to the spec, if there is one>. ADRs: <links, if there are any>.
Start the PR description with the plan: what changes, how to verify it, and the risks.
If the issue has maintainer guidance, add a "Maintainer guidance" section.
Tell how you used each item, or why you did not.
Change only the approved scope. Include tests and documentation.
Map each acceptance criterion to the test that covers it, or to the manual check and its evidence.
Tell what you validated and what you could not validate.

If implementation needs Azure access, make sure GitHub Copilot runs in an environment authenticated to Azure.

When the PR is ready, the maintainer:

  1. Confirm that it targets develop and links to the issue in Development. Add the link if necessary.
  2. Click Approve and run workflows if approval is required.
  3. Mark the PR Ready for review if it is still a draft. Within an hour, Roadmap sync moves the issue to In Review.

GitHub does not close issues from a PR to develop, because main is the default branch. Roadmap sync reads the link instead. Without the link, the issue does not move and does not close at release. In agent-landing-zone, use the Development section or Fixes #N. In a component repository, write Fixes Azure/agent-landing-zone#N in the PR description.

7. Review and merge the feature PR

Who: Maintainer, Copilot code review and the person or Copilot implementing the change. Human approval. Status: In Review to Ready for release.

  1. In Reviewers, select Copilot. Copilot code review writes review comments.
  2. Read the diff, the checks and the comments.
  3. Ask the assignee to address the findings. If Copilot is the assignee, use an @copilot comment. A person or Copilot makes the fixes on the same branch.
  4. Compare the PR with the spec and the ADRs. Copilot code review does not do this.
  5. Check that each acceptance criterion has a test or manual evidence in the PR description. This is the Definition of Done.
  6. When the PR is correct and the checks pass, approve and merge it to develop.
  7. Do not close the issue. Within an hour of the merge, Roadmap sync moves it to Ready for release. It stays there until the release is validated in Azure.

If an issue has more than one PR, it moves to Ready for release only when all of them are merged.

8. Prepare the release PR

Who: Maintainer and Copilot. Status: Ready for release.

The Milestone is the plan, not a release gate. The maintainer decides when to prepare a release, including an intermediate release before all Milestone issues are finished. The PRs included in the release confirm what is delivered. An issue goes into the release only if its PR is in the release commit.

  1. Create the branch release/x.y.z from develop.
  2. Create a release issue. Assign it to Copilot with the base branch release/x.y.z.
  3. Copilot, or the maintainer, updates CHANGELOG.md and the release notes. For an Agent Landing Zone release, also update manifest.json.
  4. Build the issue list by comparing the planned Milestone with the PRs merged into the release branch since the previous release. Check each PR's linked issues and confirm that the relevant changes are in the release commit. In the release notes, add an ## Issues included section with each included issue from this repository:

    ## Issues included
    - #123
    - #130
    

    The person or Copilot preparing the release compiles this list from the issues in Ready for release. The list documents the release. Issue closure does not depend on it.

  5. If Copilot made a preparation PR, review and merge it to release/x.y.z.

  6. Open a PR from release/x.y.z to main. Add one Refs #N line for each issue. Do not use Closes, because the merge to main must not close the issues.

If the release needs a new component version, release the component first. Then point manifest.json to the published version.

9. Review and merge the release PR

Who: Maintainer. Human approval. Status: Ready for release.

Review the versions, the changelog and the Issues included list against the Milestone and merged PRs. Check that the required CI and tests pass. Approve and merge the release PR to main. The issues stay open in Ready for release.

10. Cut the release

Who: Maintainer, or a local agent with approval. Human approval. Status: Ready for release.

These steps apply to the Agent Landing Zone release. Release components first if needed. Cut the release after the release PR is merged:

  1. Confirm the version and component versions, and prepare the release notes, including ## Issues included and ## Component versions from manifest.json.
  2. Publish a pre-release from the release commit on main, using that version for the tag and title, for example v1.2.3.

    gh release create vX.Y.Z --prerelease --title vX.Y.Z --target <release commit> --notes-file notes.md
    

GitHub Copilot can run this command with maintainer approval and the exact tag.

11. Validate in Azure

Who: GitHub Actions, or the maintainer for a manual run. Status: Ready for release.

The scheduled release-validation.yml workflow runs daily at 09:00 UTC. It selects the highest pre-release newer than Latest and validates it. The maintainer can instead start it manually with release_tag=vX.Y.Z, providers=both and promote=true.

The workflow deploys and tests the release in Azure with Bicep and Terraform, one provider at a time. If both pass, it attaches the evidence and makes the release Latest. If there is no newer pre-release, the daily run revalidates Latest without promotion.

Planned: AI quality and safety. Before a release becomes Latest, the validation will also evaluate the deployed solution:

  • Quality evaluations, for example groundedness and relevance, with Foundry evaluations.
  • Safety evaluations, for example jailbreak attempts and harmful content.
  • A red teaming run with the AI Red Teaming Agent against the deployed endpoint.

A release will pass when the results meet a minimum threshold and are not worse than the previous release. The results will be published with the release as a transparency note.

If candidate validation fails, the release stays a pre-release. Do not make a release Latest manually.

The workflow classifies failures from the failed command's error codes and Azure Service Health incidents that overlap the run and affect the region and a service mentioned in the command. A known product error opens or updates a regression issue in agent-landing-zone, with the provider and evidence link. Azure availability or executor failures produce a warning, not a regression issue, regardless of how many days they last.

When the cause is unclear for a candidate, the workflow dispatches a Latest baseline run with the same failed providers, region and hosted-agent resource scope, without promotion. If the baseline passes, it reports a candidate regression with links to both runs. A failing or inconclusive baseline does not prove an Azure outage. The evidence remains visible for maintainer investigation. A regression issue for a tag closes automatically only when that exact tag passes with both providers.

Select one action:

Cause Action
Temporary Azure problem, for example quota, capacity or a timeout Start release-validation.yml again for the same tag.
Code or configuration must change Fix it on a feature branch from develop. Make a new version and validate it.

12. Close the issues

Who: Roadmap sync and the Roadmap. Status: Ready for release to Done.

Roadmap sync reads the Latest release and the component commits pinned in its manifest.json. When the release contains every PR linked to an issue, it comments with the release link and closes the issue as completed. This works for PRs from all five repositories. A pre-release never counts, so an issue stays in Ready for release while its release waits for validation.

The Roadmap Item closed workflow then moves the item to Done. Milestone closure is a separate planning decision, not a consequence of publishing a release. Unreleased issues can remain in the Milestone or move to another one when the plan changes.

Hotfixes

Use a hotfix only when the Latest release has a defect that blocks users or a security vulnerability, and no workaround exists. All other fixes follow the normal steps.

  1. Create the issue in agent-landing-zone and explain why it cannot wait for the next release.
  2. Create the branch release/x.y.z from the Latest release tag, not from develop. Use the next patch version.
  3. Make the smallest fix on a feature/<name> branch from that release branch, and open a PR to it. Review and merge it as in step 7. If the fix is in a component, release the component first and update manifest.json.
  4. Open the release PR to main and cut the pre-release, as in steps 8 to 10.
  5. Start release-validation.yml manually with release_tag=vX.Y.Z, providers=both and promote=true. The daily run picks the highest pre-release, which can be a different version.
  6. Merge the release branch back into develop with a PR that has Refs #N in its description.
  7. When the hotfix is Latest, close the issue with a link to the release. Roadmap sync tracks only PRs to develop, so it does not close hotfix issues.

Practices and safeguards

These practices apply to every change, in all five repositories:

  • Human approval at the gates. A maintainer approves the direction, the plan or spec, each PR and each release. Agents propose and implement. They do not publish releases or approve their own work, and they merge only Code Quality maintenance PRs that passed the quality gate.
  • Choose the planning path. Use Spec Kit for issues labeled spec-driven and a short plan in the implementation PR for other issues. Record hard-to-reverse architecture decisions in an ADR, regardless of the path.
  • Protected branches. Rulesets protect main and develop from deletion and force pushes, and every change arrives through a PR. Only release/x.y.z branches can merge to main. Version tags v* cannot be moved or deleted.
  • Required quality gate. The quality-gate check must pass before a PR merges to develop or main. It runs each repository's tests, lint, build and contract checks, and it validates the agents and skills.
  • Copilot code review. The maintainer requests a Copilot code review on each PR before reviewing it.
  • Infrastructure parity. Bicep and Terraform stay aligned, and the release is deployed and tested in Azure with both before it becomes Latest.
  • Security and quality scanning. These GitHub features run automatically on each repository:
    • CodeQL code scanning for Python, GitHub Actions and, where the repository has it, JavaScript and TypeScript. It runs on PRs and on the default branch.
    • Secret scanning for credentials committed to the repository.
    • Dependabot alerts for vulnerable dependencies, and Dependabot version updates that open weekly PRs to develop for packages and GitHub Actions.
    • Code Quality findings for maintainability and reliability issues.
  • Daily security summary. The maintainer receives a daily summary of open security alerts and Code Quality findings across the five repositories.

Automated maintenance

Security alerts, Dependabot alerts and Code Quality findings follow a separate flow that runs in parallel with feature work. It uses the same quality gate and the same release. The automation guide and prompt explain how to reproduce it.

  1. Collect. A daily GitHub Copilot automation is configured to read the open Code Quality findings, CodeQL alerts and Dependabot alerts of each repository. It runs locally with the maintainer's GitHub CLI credentials, without a separate PAT secret in the repository. The computer and app must be available.
  2. Fix. In each repository it fixes up to 15 findings, on a branch from develop, in two PRs: one for Code Quality and one for security. It runs the local checks before pushing. It never dismisses an alert, adds a suppression or disables a rule. It explains findings that it could not fix safely.
  3. Merge. The automation attempts to merge the Code Quality PR to develop after the quality-gate and other required checks pass, provided GitHub permits the merge. The security PR always waits for maintainer review, as in step 7.
  4. Dependabot. Dependabot alerts that already have a Dependabot PR are left to that PR. The maintainer merges it after the quality gate passes.
  5. Secrets. Secret scanning alerts go to the maintainer only.
  6. Release. The fixes go out with the next release.

The automation sends a summary to the maintainer in Teams when there are new actions, skipped findings or failures. A security alert with high or critical severity in the Latest release follows the hotfix path.

© 2026 Azure AI Landing Zones