Complete backport of all features from apollo_nxt-trcaa repository: - Three-tier shell execution safety system (Tier 1: auto, Tier 2: approve, Tier 3: deny) - Ollama function calling with tool use support - AI provider tool calling auto-detection - kubectl binary bundling and management - kubeconfig upload and context management - Shell approval modal with real-time UI - MCP protocol HTTP transport with custom headers - Enhanced security audit logging - Comprehensive test coverage (275+ tests) - Updated CI/CD workflows for Gitea Actions - Complete documentation (ADRs, wiki, release notes) Sanitization applied to all files: - Removed all MSI, Motorola, VNXT, Vesta references - Replaced internal infrastructure references with TFTSR equivalents - Updated all URLs and API endpoints - Sanitized commit history references in documentation Technical changes: - New modules: shell/classifier, shell/executor, shell/kubectl, shell/kubeconfig - Enhanced AI providers: ollama.rs, openai.rs with function calling - New Tauri commands: shell execution, kubeconfig management, tool calling detection - Database migrations: shell_execution_audit table - Frontend: ShellApprovalModal, ShellExecution, KubeconfigManager pages - CI/CD: kubectl bundling, multi-platform builds, Gitea Actions integration Version: 1.0.8 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7.1 KiB
Azure Boards + GitHub Integration
Issue
When using AB#727547 syntax in PR titles or commit messages, the work item reference is not automatically converted to a clickable link to Azure DevOps.
Root Cause
The AB# syntax requires the Azure Boards GitHub App to be installed and configured for this repository.
Current Status
❌ Azure Boards app not installed on tftsr/apollo_nxt-trcaa
AB#references in titles/commits are not linked- Manual URL links work:
https://dev.azure.com/tftsr/Apollo/_workitems/edit/727547
How Azure Boards + GitHub Integration Works
When properly configured:
AB#727547in PR title → Automatically converted to clickable linkAB#727547in commit message → Linked to work item- PR/commit status → Appears in ADO work item "Development" tab
- PR merge → Can auto-transition work item state
Setup Instructions
Step 1: Install Azure Boards GitHub App
Option A: Organization-Level Installation (Recommended)
- Go to: https://github.com/marketplace/azure-boards
- Click "Set up a plan" or "Install it for free"
- Select tftsr organization
- Choose "All repositories" or select specific repos
- Click "Install"
Option B: Repository-Level Installation
- Go to: https://github.com/apps/azure-boards
- Click "Configure"
- Select tftsr organization
- Under "Repository access", select "Only select repositories"
- Choose apollo_nxt-trcaa
- Click "Save"
Step 2: Connect to Azure DevOps
- After installation, you'll be redirected to Azure DevOps
- Sign in with your TFTSR account:
VFK387@tftsr.com - Select Azure DevOps organization:
dev.azure.com/tftsr - Select Project:
Apollo - Authorize the connection
Step 3: Configure Repository Mapping
- In Azure DevOps, go to:
https://dev.azure.com/tftsr/Apollo/_settings/boards-external-integration - Click "+ Add connection"
- Select GitHub as the source
- Choose the repository: tftsr/apollo_nxt-trcaa
- Configure settings:
- ✅ Enable automatic work item linking
- ✅ Enable state transition on PR merge
- ✅ Enable mentions validation
Step 4: Verify Integration
After setup, test the integration:
# Create a test branch
git checkout -b test/azure-boards-link
# Create a commit with AB# reference
git commit --allow-empty -m "test: verify Azure Boards linking AB#727547"
# Push and create PR
git push -u origin test/azure-boards-link
gh pr create --title "Test: Azure Boards Integration AB#727547" --body "Testing AB# linking"
Expected results:
- ✅
AB#727547in PR title is a clickable link - ✅ PR appears in ADO work item 727547 "Development" tab
- ✅ Commit with
AB#appears in work item history
Available Syntax
Once installed, these formats work:
In PR Titles and Descriptions
AB#727547 # Basic link
Fixes AB#727547 # Closes work item on merge
Resolves AB#727547 # Closes work item on merge
Closes AB#727547 # Closes work item on merge
In Commit Messages
git commit -m "feat: add feature AB#727547"
git commit -m "fix: resolve bug (fixes AB#727547)"
Multiple Work Items
feat: implement features AB#727547 AB#744142
State Transitions
Configure automatic state transitions on PR events:
| GitHub Event | ADO Work Item State Transition |
|---|---|
PR created with AB# |
No change (or → Active) |
PR merged with Fixes AB# |
→ Resolved or Closed |
PR merged with AB# |
No change (configurable) |
| PR closed without merge | No change |
Current Workaround
Until Azure Boards app is installed, use full URLs:
In PR Description (already done in PR #27):
**Work Item**: https://dev.azure.com/tftsr/Apollo/_workitems/edit/727547
In Commits:
git commit -m "feat: add feature
Work Item: https://dev.azure.com/tftsr/Apollo/_workitems/edit/727547"
Benefits of Azure Boards Integration
For Developers
- ✅ Quick navigation from PR to work item
- ✅ See all PRs/commits linked to a work item
- ✅ Automatic work item state updates
- ✅ Reduced manual ADO updates
For Project Management
- ✅ Visibility into code changes per work item
- ✅ Traceability from requirement → code → deployment
- ✅ Automated status updates
- ✅ Better sprint velocity tracking
For Compliance
- ✅ Audit trail of code changes per work item
- ✅ Traceability for security/compliance requirements
- ✅ Automated documentation of development activity
Verification Commands
After installation, verify with:
# Check if Azure Boards app is installed
gh api repos/tftsr/apollo_nxt-trcaa/installation
# View PR with AB# reference
gh pr view 27
# Check work item in ADO for linked PRs
az boards work-item show --id 727547 --org https://dev.azure.com/tftsr | jq '.relations'
Troubleshooting
AB# Not Linking
Problem: AB#727547 shows as plain text, not a link
Solutions:
- Verify Azure Boards app is installed for the repo
- Check Azure DevOps connection is active
- Ensure repo is mapped in ADO project settings
- Verify
AB#format is correct (no spaces)
PRs Not Appearing in ADO
Problem: PR created but doesn't show in work item "Development" tab
Solutions:
- Check if
AB#was in PR title or description - Verify ADO project connection is active
- Wait 5-10 minutes for sync (can be delayed)
- Manually link PR in ADO if needed
State Transitions Not Working
Problem: PR merged but work item state unchanged
Solutions:
- Verify state transition rules are configured in ADO
- Check if
Fixes AB#syntax was used (not justAB#) - Ensure PR was merged (not closed without merge)
- Check ADO project settings for transition rules
Security Considerations
- Azure Boards app requires read/write access to repos
- OAuth token is stored in Azure DevOps
- App can read PR content and commit messages
- All activity is logged in both GitHub and ADO audit logs
References
Action Items
To enable AB# linking on this repo:
- Install Azure Boards GitHub app on tftsr organization or apollo_nxt-trcaa repo
- Connect to Azure DevOps (dev.azure.com/tftsr)
- Map repository in Apollo project settings
- Configure state transition rules (optional)
- Test with a sample PR using
AB#syntax - Update team documentation with
AB#syntax usage
Contact
For questions about Azure Boards integration or GitHub app installation:
- GitHub Organization Admins: @tftsr admins
- Azure DevOps Project Admins: Apollo project leads
- DevOps Team
Last Updated: 2026-06-02 Status: Azure Boards app not installed - manual URL links required Repository: tftsr/apollo_nxt-trcaa ADO Organization: dev.azure.com/tftsr ADO Project: Apollo