Skip to content

Bidirectional upstream sync#447

Closed
tamirdresher wants to merge 2 commits intobradygaster:devfrom
tamirdresher:feat/upstream-auto-sync
Closed

Bidirectional upstream sync#447
tamirdresher wants to merge 2 commits intobradygaster:devfrom
tamirdresher:feat/upstream-auto-sync

Conversation

@tamirdresher
Copy link
Copy Markdown
Collaborator

Summary

Extends squad upstream with auto-sync (parent → child) and bidirectional propose (child → parent).

What's included

  • watcher.ts — hash-based change detection, configurable polling interval
  • proposer.ts — packages child changes (skills, decisions, governance) for upstream PR
  • sync-types.ts — TypeScript interfaces + defaults for sync & propose configs
  • New CLI subcommands: squad upstream watch [--interval N] [--auto-pr] + squad upstream propose <name> [--skills] [--decisions] [--governance] [--all]
  • GitHub Action template: squad-upstream-sync.yml (cron + workflow_dispatch)
  • 40 new tests covering both phases
  • Feature doc: docs/features/upstream-sync.md
  • Blog post: docs/blog/2026-03-17-upstream-sync.md

Test results

  • 40/40 new tests pass, 29/29 existing upstream tests pass, 0 regressions

Refs #357
cc @bradygaster

Copilot and others added 2 commits March 17, 2026 17:12
Phase 1 - Auto-sync (parent -> child):
- upstream watch subcommand with --interval and --auto-pr flags
- Polling-based change detection using file hash comparison
- GitHub Action template (squad-upstream-sync.yml)

Phase 2 - Bidirectional (child -> parent):
- upstream propose subcommand with --skills/--decisions/--governance/--all flags
- Scope control via .squad/upstream-config.json
- Proposal packaging with branch naming and summary

SDK additions: watcher.ts, proposer.ts, sync-types.ts
Tests: 40 new tests covering both phases

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

Closing — bidirectional upstream sync is shelved (see #357). Will reopen when unblocked.

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