Skip to content

ADO configurable work item types#444

Merged
bradygaster merged 3 commits intobradygaster:devfrom
tamirdresher:feat/ado-configurable-items
Mar 20, 2026
Merged

ADO configurable work item types#444
bradygaster merged 3 commits intobradygaster:devfrom
tamirdresher:feat/ado-configurable-items

Conversation

@tamirdresher
Copy link
Copy Markdown
Collaborator

Summary

Makes the ADO platform adapter configurable for different Azure DevOps project types.

What's included

  • WorkItemTypeInfo interface + getAvailableWorkItemTypes() for process template introspection
  • validateWorkItemType() with case-insensitive matching
  • Config cascade: workItemType, areaPath, iterationPath — all configurable, all with sensible defaults
  • Enhanced squad init — auto-detects available work item types from ADO process template
  • 28 new tests covering config, validation, introspection, and creation
  • Feature doc: docs/features/ado-configurable-work-items.md
  • Blog post: docs/blog/2026-03-17-ado-configurable-work-items.md

Test results

  • 120 tests pass (92 existing + 28 new), 0 regressions

Refs #240
cc @bradygaster

KalebCole pushed a commit to KalebCole/squad that referenced this pull request Mar 17, 2026
KalebCole pushed a commit to KalebCole/squad that referenced this pull request Mar 17, 2026
Session: 2026-02-24T0430-prs-merged
Requested by: Brady

Changes:
- Merged 6 decision inbox files into decisions.md (Cheritto, Fenster, Kovash, Marquez, McManus, Waingro)
- Deleted all inbox files (now empty)
- Created .squad/identity/prd-next-waves.md (4-wave execution plan: A=Polish, B=Reliability, C=Testing, D=Delight)
- Updated .squad/identity/now.md to reflect Wave A focus
- Created session log: .squad/log/2026-02-24T0430-prs-merged.md

PRs merged this session: bradygaster#444, bradygaster#445, bradygaster#446, bradygaster#447
Issues closed: bradygaster#400, bradygaster#389, bradygaster#417, bradygaster#391, bradygaster#402, bradygaster#405, bradygaster#404, bradygaster#407, bradygaster#431, bradygaster#429
Issues filed: bradygaster#448-bradygaster#459 (Wave A Polish items)

Process directive: All work through PRs with squad member review before merge

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot and others added 3 commits March 20, 2026 03:05
…radygaster#240)

- Add getAvailableWorkItemTypes() for process template introspection
- Add validateWorkItemType() for pre-creation type validation
- Add WorkItemTypeInfo interface for type metadata
- Enhance AzureDevOpsAdapter with instance introspection/validation methods
- Support optional validateType flag in createWorkItem()
- Enhance squad init to introspect ADO types and populate config
- Support adoConfig in InitOptions for explicit settings during init
- Graceful fallback to default types when az CLI unavailable
- Add 28 new tests covering all new functionality

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The getAvailableWorkItemTypes() call needs non-nullable strings, but
regex match groups (parsed[1], parsed[2]) are string | undefined. Add
explicit truthy checks so TypeScript narrows the types correctly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster bradygaster force-pushed the feat/ado-configurable-items branch from be5dced to 0291a8f Compare March 20, 2026 10:06
@bradygaster bradygaster merged commit 1446050 into bradygaster:dev Mar 20, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants