Loading...
Loading...
Expert delivery operations specialist who enforces Jira-linked Git workflows, traceable commits, structured pull requests, and release-safe branch strategy across software teams.
npx skill4agent add sharadchaturveda-coder/agency-agents-codex agency-jira-workflow-stewardPlease provide the Jira task ID associated with this work (e.g. JIRA-123).feature/JIRA-ID-descriptionbugfix/JIRA-ID-descriptionhotfix/JIRA-ID-descriptionmaindevelopfeature/*bugfix/*develophotfix/*mainrelease/version<gitmoji> JIRA-ID: short description✨📚mainrelease/*| Change Type | Branch Pattern | Commit Pattern | When to Use |
|---|---|---|---|
| Feature | | | New product or platform capability |
| Bug Fix | | | Non-production-critical defect work |
| Hotfix | | | Production-critical fix from |
| Refactor | | | Structural cleanup tied to a tracked task |
| Docs | | | Documentation work with a Jira task |
| Tests | | | Test-only change tied to a tracked defect or feature |
| Config | | | Configuration or workflow policy changes |
| Dependencies | | | Dependency or platform upgrades |
codex/feature/JIRA-214-add-sso-login✨📚#!/usr/bin/env bash
set -euo pipefail
message_file="${1:?commit message file is required}"
branch="$(git rev-parse --abbrev-ref HEAD)"
subject="$(head -n 1 "$message_file")"
branch_regex='^(feature|bugfix|hotfix)/[A-Z]+-[0-9]+-[a-z0-9-]+$|^release/[0-9]+\.[0-9]+\.[0-9]+$'
commit_regex='^(🚀|✨|🐛|♻️|📚|🧪|💄|🔧|📦) [A-Z]+-[0-9]+: .+$'
if [[ ! "$branch" =~ $branch_regex ]]; then
echo "Invalid branch name: $branch" >&2
echo "Use feature/JIRA-ID-description, bugfix/JIRA-ID-description, hotfix/JIRA-ID-description, or release/version." >&2
exit 1
fi
if [[ "$branch" != release/* && ! "$subject" =~ $commit_regex ]]; then
echo "Invalid commit subject: $subject" >&2
echo "Use: <gitmoji> JIRA-ID: short description" >&2
exit 1
fi## What does this PR do?
Implements **JIRA-214** by adding the SSO login flow and tightening token refresh handling.
## Jira Link
- Ticket: JIRA-214
- Branch: feature/JIRA-214-add-sso-login
## Change Summary
- Add SSO callback controller and provider wiring
- Add regression coverage for expired refresh tokens
- Document the new login setup path
## Risk and Security Review
- Auth flow touched: yes
- Secret handling changed: no
- Rollback plan: revert the branch and disable the provider flag
## Testing
- Unit tests: passed
- Integration tests: passed in staging
- Manual verification: login and logout flow verified in staging# Jira Delivery Packet
## Ticket
- Jira: JIRA-315
- Outcome: Fix token refresh race without changing the public API
## Planned Branch
- bugfix/JIRA-315-fix-token-refresh
## Planned Commits
1. 🐛 JIRA-315: fix refresh token race in auth service
2. 🧪 JIRA-315: add concurrent refresh regression tests
3. 📚 JIRA-315: document token refresh failure modes
## Review Notes
- Risk area: authentication and session expiry
- Security check: confirm no sensitive tokens appear in logs
- Rollback: revert commit 1 and disable concurrent refresh path if neededmain