Skip to content

feat: Workflow dual-path support for .squad/ migration (#103)#109

Merged
bradygaster merged 3 commits intodevfrom
squad/103-workflow-dual-path
Feb 20, 2026
Merged

feat: Workflow dual-path support for .squad/ migration (#103)#109
bradygaster merged 3 commits intodevfrom
squad/103-workflow-dual-path

Conversation

@bradygaster
Copy link
Copy Markdown
Owner

Summary

This PR implements dual-path support for GitHub Actions workflows to handle both .ai-team/\ and .squad/\ directories during the v0.5.0 transition.

Changes

Guard Workflow (squad-main-guard.yml)

  • Now blocks both .ai-team/\ AND .squad/\ from main/preview branches
  • Updated error message to mention both paths
  • Updated fix instructions to include removal commands for both paths

Preview Validation (squad-preview.yml)

  • Now checks for both .ai-team/\ and .squad/\ tracked files
  • Rejects preview if either directory is tracked

Read-Based Workflows

All workflows that READ from team state (heartbeat, triage, assign, label-sync) now:

  • Check .squad/\ first, fall back to .ai-team/\
  • Update error messages to reference both paths
  • squad-heartbeat.yml: custom_instructions references both paths
  • sync-squad-labels.yml: trigger includes both paths

Template Sync

  • All changes applied symmetrically to both .github/workflows/\ and \ emplates/workflows/\
  • Maintains sync invariant for consumer repos

Acceptance Criteria Met

✅ All 6+ workflows handle both .ai-team/ and .squad/ paths
✅ Guard workflow blocks .squad/** entirely
✅ Preview validation checks both directories
✅ Read workflows implement fallback pattern
✅ Both .github/workflows/ and templates/workflows/ kept in sync

Fixes #103

bradygaster and others added 3 commits February 19, 2026 22:57
Session: 2026-02-20-v050-status-and-error-diagnosis
Requested by: bradygaster

Changes:
- Logged v0.5.0 readiness assessment (scope, risks, timeline)
- Logged network/model error diagnosis (Kujan investigation)
- Merged 3 inbox decisions to decisions.md (Keaton, McManus, Verbal)
- Deleted merged inbox files (3 items)
- Archive entries older than 2026-02-21 to decisions-archive.md
- Reduce decisions.md from 342.01 KB (6277 lines) to 37.48 KB (675 lines)
- Keep only 2 most recent days of decision entries in main file
- Fixes context overflow errors causing network interrupted + model unavailable
- Related to: CI/CD stability, agent reliability

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Update squad-main-guard.yml to block both .ai-team/ and .squad/ from main/preview
- Update squad-preview.yml to validate neither .ai-team/ nor .squad/ are tracked
- Update squad-heartbeat.yml to check .squad/team.md first, fall back to .ai-team/
- Update squad-triage.yml to check .squad/team.md and .squad/routing.md first
- Update squad-issue-assign.yml to check .squad/team.md first with fallback
- Update sync-squad-labels.yml to trigger on both .squad/ and .ai-team/ paths
- Sync all changes to templates/workflows/ to maintain sync invariant

Fixes #103

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster bradygaster merged commit 57dcfe6 into dev Feb 20, 2026
1 check passed
@bradygaster bradygaster deleted the squad/103-workflow-dual-path branch February 27, 2026 01:08
joniba pushed a commit to joniba/squad that referenced this pull request Mar 26, 2026
…radygaster#132, bradygaster#133, bradygaster#109)

Orchestration Logs:
- Gimli: notify-feature-complete.ps1 + notify-blocked.ps1 (26 tests pass, commit 846d753)
- Bilbo: DGrep CLI docs (336+107 lines, POC validated 322 tests)

Updated Agent Histories:
- Gimli: Appended notifications MVP completion (2026-03-24T02:36:28Z)
- Bilbo: Appended DGrep documentation delivery (2026-03-24T02:36:28Z)

Session Log: Manifest processing record created

Decision Inbox: Empty (no merge required)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
joniba pushed a commit to joniba/squad that referenced this pull request Mar 26, 2026
…radygaster#132, bradygaster#133, bradygaster#109)

Orchestration Logs:
- Gimli: notify-feature-complete.ps1 + notify-blocked.ps1 (26 tests pass, commit 846d753)
- Bilbo: DGrep CLI docs (336+107 lines, POC validated 322 tests)

Updated Agent Histories:
- Gimli: Appended notifications MVP completion (2026-03-24T02:36:28Z)
- Bilbo: Appended DGrep documentation delivery (2026-03-24T02:36:28Z)

Session Log: Manifest processing record created

Decision Inbox: Empty (no merge required)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant