Skip to content

chore: Setup squad as a repo assistant#724

Merged
michaelawyu (michaelawyu) merged 2 commits into
mainfrom
ster/squad-init
Jun 1, 2026
Merged

chore: Setup squad as a repo assistant#724
michaelawyu (michaelawyu) merged 2 commits into
mainfrom
ster/squad-init

Conversation

@serbrech

@serbrech Stéphane Erbrech (serbrech) commented May 22, 2026

Copy link
Copy Markdown
Contributor

Description of your changes

This PR sets up Squad for the KubeFleet repository as a trial of human-led AI agent teamwork for issue triage, routing, and contribution support.

Squad adds a persistent team definition to the repo so future Copilot/Squad sessions can reuse shared project context instead of rediscovering KubeFleet each time. The goal is to let Squad help with coordination, issue routing, repetitive triage, and contribution prep while keeping humans accountable for priorities, review, and merge decisions.

Squad composition

The initial team is defined in .squad/team.md and routed by .squad/routing.md:

Member Role Primary responsibility
Squad Coordinator Routes work, enforces handoffs, and assembles final responses/artifacts.
Ripley Lead Architecture, scope control, PR/code review, and higher-level trade-off decisions.
Dallas Backend Dev Controllers, reconcilers, rollout, bindings, and work applier changes.
Kane Backend Dev Scheduler, plugins, APIs, CRDs, and scheduler snapshots.
Lambert Tester Unit/integration/E2E test coverage, Ginkgo/Gomega failures, and validation gaps.
Parker DevRel Docs, README/examples, tutorials, and contributor onboarding.
Scribe Session Logger Records decisions, session history, and handoff notes.
Ralph Work Monitor Watches issues/PR events, triages squad-labeled issues, and routes work to members.
Copilot Coding Agent Available for well-scoped implementation issues; auto-assignment is currently disabled.

The team context identifies KubeFleet as a Go/Kubernetes/controller-runtime project, with open GitHub issues from kubefleet-dev/kubefleet as the connected issue source.

Why this is structured this way

Squad has mutable memory: decisions, agent histories, session logs, routing notes, and work-monitor state. That state should not pollute normal KubeFleet feature PRs, so this repo is configured with Squad's two-layer state backend:

  • durable Squad state is stored on the dedicated squad-state branch
  • commit-scoped notes can capture short-lived context without appearing in PR diffs
  • only the static bootstrap/configuration needed to run Squad is committed here

Relevant Squad docs/context:

What changed

  • Added .github/agents/squad.agent.md so GitHub Copilot can run the Squad coordinator.
  • Added .squad/ team configuration, agent charters, routing rules, templates, and skills.
  • Configured .squad/config.json with stateBackend: "two-layer".
  • Added Squad GitHub workflows for heartbeat, issue assignment, triage, and label sync.
  • Added .gitattributes union merge rules for append-only Squad state files.
  • Added .gitignore entries for local/runtime Squad state that should not be committed.

How has this code been tested

Not code-path tested. This is repository automation/configuration scaffolding generated by Squad for the KubeFleet trial.

@github-actions github-actions Bot added the title-needs-formatting Used by PR title checker. label May 22, 2026
@serbrech Stéphane Erbrech (serbrech) changed the title setting up squad [chore]: Setup squad as a repo assistant May 22, 2026
@serbrech Stéphane Erbrech (serbrech) removed the title-needs-formatting Used by PR title checker. label May 22, 2026
@github-actions github-actions Bot added the title-needs-formatting Used by PR title checker. label May 22, 2026
@serbrech Stéphane Erbrech (serbrech) changed the title [chore]: Setup squad as a repo assistant chore: Setup squad as a repo assistant May 22, 2026
@github-actions github-actions Bot added title-needs-formatting Used by PR title checker. and removed title-needs-formatting Used by PR title checker. labels May 22, 2026
@codecov

codecov Bot commented May 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions github-actions Bot removed the title-needs-formatting Used by PR title checker. label May 26, 2026
Signed-off-by: Stephane Erbrech <stephane.erbrech@gmail.com>
Key change: two-layer state backend now uses squad_state_* MCP tools
instead of raw git notes / orphan branch commands. Agents no longer
hand-write mutable state — the runtime abstracts storage via
squad_state_read/write/append/delete/list/health.

Also adds: memory governance, new workflows, fact-checker template,
loop template, and refactored templates into on-demand references.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Stephane Erbrech <stephane.erbrech@gmail.com>

@michaelawyu michaelawyu (michaelawyu) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed offline ;) Let's merge this and explore a bit more

@michaelawyu michaelawyu (michaelawyu) merged commit 2b79699 into main Jun 1, 2026
17 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